The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
If Condition=$Post?
Hi all,
I made a profile field (radio) that lets a user choose whether or not his profile is "Public" (seen by all members) or "Private" (only those with the link can see it). I understand I'll have to find each instance of a link to someone's profile page and wrap something like this code around it: <vb:if condition="$post['field15'] != 'Private'">display link</vb:if> I tried this out in postbit_legacy and it works only if the person viewing the thread is the thread starter. I'm looking for a way to change that so that each time a post comes up & the post creator has his profile field marked as "Private" the link his profile will not be shown. It may just be a matter of switching "$post" with something different. Grateful for the help! |
#2
|
||||
|
||||
Radio buttons are stored as a bitfield. 1 2 4 8 16 32, etc.
|
#3
|
|||
|
|||
In the profile field, check to make sure "Private Field" is set to No. If it's a private field, then the value won't be available when someone else is viewing the information.
You're thinking of checkboxes. |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|