The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
|
#1
|
|||
|
|||
Custom User Profile Field Conditional Help Please
Guys,
I am going to be adding Intellitext to my VB message board, version 3.50. These are those annoying green lines under keywords. Because some people find them annoying I want to give each user the option of turning them off in the User CP. In addition, my place has a class of "Gold" members (people that have paid something to support the site). These guys get an advertising free site. The Intellitext is implented with three lines of code that need to be just above the </body> tag on each page. I tested it by putting at the end of the footer template and it works fine. Now I want to put a conditional in front of the code that executes Intellitext. In English, here is what I am trying to do: - If you are a member of Usergroups 1, 2, or 3 and if - The radio button in field9 (the new user profile field) is set to "yes" then you will see Intellitext stuff. If not, then you will not see it. Here is what field9 looks like in the UserCP, fwiw: I searched the board and could probably figure it out if I had all day. Would someone be kind enough to spoon feed it to me.... I really don't have all day to spazz my way through it. I have used this bit of code over and over for lots of stuff when I need to choose usergroups: <if condition="in_array($bbuserinfo[usergroupid], array(1,2,3))">, I just don't know how to add the custom user profile portion Many thanks. |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|