![]() |
How to access $template_hook[postbit_userinfo_left] ?
The $template_hook[postbit_userinfo_left] hook in the postbit_legacy seems like a good place to add some member badges, but how do you use it?
I went to "Add new plugin", and under the "Hook Location", I dont see this hook. The only postbit hooks I see are: postbit_dispaly_start postbit_dispaly_complete postbit_attachement postbit_imicons I just upgraded from 3.6.4 -> 3.6.8 |
You do it using plugins. Check the articles section for a tutorial on template hooks
|
Thanks, I finally figured out how to get the template to execute. Now I having problems with the following code
PHP Code:
|
Take out the apostrophes in $post['userid']
i.e. $post[userid] :p |
Apostrophes in plugins
None in templates ;) Try changing $post[itrader_total] To $post['itrader_total'] |
Read his code again :p
Did you miss the syntax highlighting as well? hehe |
Oh yea my bad :p
|
Still does not work.. even after I removed all the quotes...
|
So you have
PHP Code:
|
Quote:
That does not work either... |
All times are GMT. The time now is 04:53 PM. |
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:
|