The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
![]()
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 |
#2
|
|||
|
|||
![]()
You do it using plugins. Check the articles section for a tutorial on template hooks
|
#3
|
|||
|
|||
![]()
Thanks, I finally figured out how to get the template to execute. Now I having problems with the following code
PHP Code:
|
#4
|
|||
|
|||
![]()
Take out the apostrophes in $post['userid']
i.e. $post[userid] ![]() |
#5
|
|||
|
|||
![]()
Apostrophes in plugins
None in templates ![]() Try changing $post[itrader_total] To $post['itrader_total'] |
#6
|
|||
|
|||
![]()
Read his code again
![]() Did you miss the syntax highlighting as well? hehe |
#7
|
|||
|
|||
![]()
Oh yea my bad
![]() |
#8
|
|||
|
|||
![]()
Still does not work.. even after I removed all the quotes...
|
#9
|
|||
|
|||
![]()
So you have
PHP Code:
|
#10
|
|||
|
|||
![]() Quote:
That does not work either... |
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|