![]() |
what hook location should i use for this?
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:
|
In vB4, all variables must be registered for use in a template. Did you (pre)register that variable?
|
Thanks. I got it working.
|
All times are GMT. The time now is 03:23 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:
|