PDA

View Full Version : Request: Profile visible to buddies only


MikaK
07-29-2006, 03:41 PM
I wonder what kind of a template conditional I would need to create the following:

If a member defines their profile data private by selecting option "Buddies" at a userfield (fieldX) how should I make it visble only to those found at the buddylist of said member.

In other words How should I formulate the template conditional so it takes into account whether
1) the meber has limited the profile viewing to buddies only AND ADDITIONALLY
2) the member id (of the person who is looking at the member profile - the viewer is naturally logged in) is found at the PREFIXusertextfield.buddylist.

The profile info becomes viewable only if both conditions are met.

I know there is a hack "Hide User Contact Info From Guests" checking the Guest/Member status of the person browsing a profile page. This hack at least is basically a template hack only.

Thanks for any help and ideas,
-Mika