![]() |
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 :) |
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; |
Actually == is for comparisons, not assigning variables, it's the spelling mistake that's breaking it.
PHP Code:
PHP Code:
|
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? |
No worries, I solved it by running a SQL query.
|
All times are GMT. The time now is 08:18 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|