The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
$template_hook['postbit_userinfo_right'] not working
This is a continuation of my other question.
PHP Code:
|
#2
|
||||
|
||||
If it's a continuation of another question, then you should be posting it with the other question.
That plugin location won't work. It needs to be one of the postbit_* plugins. |
#3
|
|||
|
|||
Thanks, but I tried at both postbit_display_start and postbit_display_complete. With the same results.
|
#4
|
||||
|
||||
Did you try looking at this in the default style? Or did you verify that your custom style actually has that template hook in the postbit template you are using on your site?
|
#5
|
|||
|
|||
I can confirm that every style has that template hook.
Code:
{vb:raw template_hook.postbit_userinfo_right} |
#6
|
||||
|
||||
I just tested putting that into a hook using the postbit_display_complete hook location and it worked fine in a default template:
|
#7
|
|||
|
|||
Hm you're right that does work, the only other thing I think it could be is the if statements.
PHP Code:
--------------- Added [DATE]1341775474[/DATE] at [TIME]1341775474[/TIME] --------------- What's really strange is if I put: PHP Code:
|
#8
|
||||
|
||||
true and false are not strings. Try putting a word in there:
$result = "true"; |
#9
|
|||
|
|||
Got it, the problem was that it wasn't storing the fields as their integers like in the database but rather their value.
|
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|