![]() |
|
|
Thread Tools |
|
#1
|
||||||||||||
|
||||||||||||
|
Var Plugin into template forumdisplay
I apologize for my bad English, we come to my problem
I created this plugin VB3 Hook: forum display_complete
The result was called into the template via this code
With vb4 I tried to change the code but not reported any results, the plug remained unchanged.
The $head_forum is no longer being charged and even the variable $ file. Why? Thanks No members have liked this post.
|
||||||||||||
|
#2
|
||||
|
||||
|
One of the big changes in vB4 is that you MUST register your variable for use in a template. It's basically like telling the system that you created a variable $head_forum that you want to use in template xxxxx. So, while rendering template xxxxx, you need to say "Oh, I've got a variable $head_forum that I want to use in here". You haven't done that. You are going to have to change your plugin to do this. See this tutorial along with several blog posts on vb.com about this subject - [HOW TO - vB4] Rendering templates and registering variables - a short guide. You will also have to register the variable file. Your template looks fine after you register the variables.
__________________
Try a search before posting for help. Many users won't, and don't, help if the question has been answered several times before.
W3Schools - Online vBulletin Manual If I post some CSS and don't say where it goes, put it in the additional.css template. I will NOT help via PM (you will be directed to post in the forums for help.) No members have liked this post.
|
|
#3
|
||||
|
||||
|
thanks for the answer I try with the guide, but not create a new template as it uses forumdisplay
--------------- Added 18 Nov 2009 at 19:07 --------------- Sorry for the double post, solved by adding the plugin
Thanks No members have liked this post.
Last edited by Asterix_ita : 18 Nov 2009 at 19:07. Reason: Auto-Merged DoublePost |
||||
![]() |
«
Previous Thread
|
Next Thread
»
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) |
| Thread Tools | |
|
|
| New To Site? | Need Help? |
All times are GMT. The time now is 08:12.


