The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
![]()
I have a small famous quote table in my vb4 database. I want to get one quote randomly from the database, and post it on forumhome. so here is what i did.
I put this code in a plugin. and put $rand_quote in my forumhome template, but It doesn't work. I've tried to changed the hook location. global_start/complete/forumhome start/complete. What did I do wrong here. Thanks PHP Code:
|
#2
|
||||
|
||||
![]()
In vB4, all variables must be registered for use in a template. Did you (pre)register that variable?
|
#3
|
||||
|
||||
![]()
Thanks. I got it working.
|
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|