The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
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. |
#2
|
|||
|
|||
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 ==.
|
#3
|
|||
|
|||
Yeah I changed that to see if maybe a single = would work but still didn't work.
|
#4
|
|||
|
|||
I don't see anything else wrong - are you sure $vbulletin and $canviewquote are in scope?
|
#5
|
||||
|
||||
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'; $canviewquote = true; |
#6
|
|||
|
|||
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. |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|