First off I want to say thank you for everyones work on this hack, we've been molding this and the myspace layout for our site and so far its perfect!
I do have one question and please excuse me if it were touched on earlier in this thread but in the 16 pages I went through there wasn't much about them.
DONE 1.) I see in the examples how you are all using the user profiled field to select if you want your friends visible or not to the general public. My question is how do I craft an <if condition> that checks if someone is or isn't on someones buddy list? I want the if statement to basically check that if someone viewing another persons profile isn't on their buddy list than this would disallow them from viewing the friends (or whatever else I put within that if statement to not show them).
I'm fairly good with the if conditions I just never actually tried checking buddy lists like that. This is similar to how you would show one thing to members but not guests.. only my situation is if someone is actively on someone elses buddy list. I believe VB has default options for this for private messaging and pager where you can optionally select if people aren't on your buddy list they cannot PM or Pager you.
2.) I tried this a few times in the plugin using some postbit snippets for online status and that is getting an online status under the persons name/avatar in the friends list. If you're on MySpace you know that in a friends list it will say (Online!) under their picture in your friends list. I'd like to try to get that going also.
EDIT - I copied $post[onlinestatus] or $userinfo[onlinestatus] and it "kind of" works when its in the plugin code.. problem is its using the onlinestatus of the profile you're viewing, not the individual friends in the list. So its kind of there.. any other help someone can give?
EDIT 2 - Only friends/buddies can view profile was figured out.
Thank you so much for any help or direction you can point me to resolve a these little things. Other than that, well done guys you're doin great!
|