![]() |
Plugin and/or php code not working
I have a plugin at global_start:
PHP Code:
If you can see anything wrong with how I did my code please let me know. |
I don't know if it's the only cause of the problems, but in the "if" where you check for 'below_forum', you have a single = instead of ==.
|
Yeah I changed that to see if maybe a single = would work but still didn't work.
|
I don't see anything else wrong - are you sure $vbulletin and $canviewquote are in scope?
|
You've got something wrong in your code because if you put these lines at the beginning, it works just fine:
HTML Code:
$vbulletin->options['pl9_qloc2'] = 'above_navbar'; |
Hmmm, Lynne, I am willing to post the plugins and templates, so give me a few to get those rounded up that pertain to that plugin.
kh99: Yeah I am sure they are in scope but can't figure what is going on why they are not working. --------------- Added [DATE]1263179897[/DATE] at [TIME]1263179897[/TIME] --------------- Here are the plugins: usergroup permissions - global_start - Excution Order = 2: PHP Code:
PHP Code:
--------------- Added [DATE]1263200185[/DATE] at [TIME]1263200185[/TIME] --------------- Ok so I might have a resolution to this but I won't know until I test it out after some sleep. I love when I find old mods that actually used similar code and worked. |
All times are GMT. The time now is 12:13 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:
|