The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
I can't get this to work...
I am trying to create a new user option, so each user can choose whether they would like to see images in peoples signatures or not without having to turn off signatures altogether.
I have created the profile field, and done all the basic checks like for the ID etc... but it won't work I have..... Product: vBulletin Hook Location: global_start PHP Code:
Thanks Rob |
#2
|
|||
|
|||
You ned to use double == in php
You also have a typo in your code Code:
$vbulletin->options['allobbimagecode'] = 0; Code:
$vbulletin->options['allowbbimagecode'] == 0; |
#3
|
||||
|
||||
Actually == is for comparisons, not assigning variables, it's the spelling mistake that's breaking it.
PHP Code:
PHP Code:
|
#4
|
|||
|
|||
I am having problems with this now.
Despite the profile option settings suggesting otherwise, members are not having 'Yes' selected by default. And despite the menu reading 'Yes' in their options, it doesn't take effect until they next save changes. Any ideas? |
#5
|
|||
|
|||
No worries, I solved it by running a SQL query.
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|