The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
![]()
In version 3.85 from template I call plugin named "myplugin", and then in template show the content of this plugin. Now, in 4.1 I made the same thing, but there is no content show, just name of plugin $myplugin. What is wrong?
|
#2
|
||||
|
||||
![]()
You need to register all variables for use in templates in 4.x. Also, you would not enter $myplugin, you would enter {vb:raw myplugin}
Cellarius wrote a really good article that you may be interested in - [vB4] Rendering templates and registering variables - a short guide |
#3
|
|||
|
|||
![]()
I have plugin "left_panel", hook location is global_start:
PHP Code:
|
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|