Harlequin
05-27-2004, 01:29 PM
Hey guys.
I know I haven't posted in awhile, but certainly due to all of your helpful efforts I've been coding tidbits in a frenzy. So when I tried this out, I collected (what I thought to be) a logical idea in my head.. and when I tried to code it, ultimately it failed (several times.)
Essentially, I've been attempting to use $bbuserinfo[buddylist] to pull the buddylist for a person viewing a page and if $bbuserinfo[userid] = a user in the buddylist of the page owner and the buddylist of the page viewer = the page owner userid, then display something on the page.
It's just a check to verify that both of you are buddies of each other in order to perform an event.
At any rate, is there any simplistic way to perform this? I had a query or two, a str_replace or two, and a bunch of if's in my trial and errors..
I know I haven't posted in awhile, but certainly due to all of your helpful efforts I've been coding tidbits in a frenzy. So when I tried this out, I collected (what I thought to be) a logical idea in my head.. and when I tried to code it, ultimately it failed (several times.)
Essentially, I've been attempting to use $bbuserinfo[buddylist] to pull the buddylist for a person viewing a page and if $bbuserinfo[userid] = a user in the buddylist of the page owner and the buddylist of the page viewer = the page owner userid, then display something on the page.
It's just a check to verify that both of you are buddies of each other in order to perform an event.
At any rate, is there any simplistic way to perform this? I had a query or two, a str_replace or two, and a bunch of if's in my trial and errors..