The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Hide Profile Fields
Hey,
Is there away for member to hide the option to see all profile fields, What I mean is say a member doesn't want to see someone elses mini profile fields, like age, gender, and so on? Is there away that members can choose not to see other peoples stuff? Does this make since? |
#2
|
||||
|
||||
There is no default vbulletin option to do what you want. But, you could create a new profile field and allow users to say Yes or No to seeing mini profile fields and then put a condition around those things based on the users profile field.
|
#3
|
|||
|
|||
what do you mean by putting a condition around those things based on the users profile field? It sounds easy, but I'm just not understanding this part.
|
#4
|
||||
|
||||
Well, say I create a profile field and it's field x. Then I put a condition around stuff like:
HTML Code:
<if condition="$bbuserinfo[fieldx] === 'Yes'"><div>stuff</div></if> |
#5
|
|||
|
|||
Ok I'm trying to visual this in my head hehe...
Make a profile field called like "Single - Selection Radio Buttons" Title: (like) "Hide mini profile" Options: yes and no Would I use "Regular ExpressionYou may require the input field to match a regular expression"? Then in my postbit template, I add that condition, correct? |
#6
|
||||
|
||||
I cannot think of why you would want to use the regular expression field, so no.
Now see what profile field id is assigned to the field. Then find the template, and put the conditon around it based on the profile field. Or, a plugin may be better. Just play with it and see. |
#7
|
|||
|
|||
Ok I think I get it now, thanks I will come back if I fail miserably haha...
Edit: wait erm, where it says "Stuff" what stuff do I add? I get the fieldx but I'm not sure about the "Stuff"... |
#8
|
||||
|
||||
"Stuff" is the stuff you want to show or hide depending on the field option yes or no.
|
#9
|
|||
|
|||
There IS a much easier way. Under Profile Privacy, just have the user select which items they want viewable and to whom.
|
#10
|
|||
|
|||
Biker, yes, but some members do not want to see any icons in the mini profiles, on other posts, so not sure if that will work.
Thanks, Lynne, will see if this works |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|