The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
How to turn code on/off over UserCP?
Hello folks,
a little question of mine, how can i set up a profile field to let the users turn on/off a special feature (ads between the posts). I did a new profile filed, and set the following code in front of the ad-code, but i dont know how to get on ... Code:
if ($vbulletin->userinfo['field6'] == 'Off') { |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|