![]() |
|
Article Options |
#61
|
|||
|
|||
nvm figured it out
No members have liked this post.
Last edited by psypher; 19 Jan 2010 at 18:42. |
#62
|
||||
|
||||
I have read all posts and dont know how to call 3 templates in one page.
I have this code:
No members have liked this post.
|
#63
|
||||
|
||||
I would fetch it before...
F. No members have liked this post.
|
#64
|
|||
|
|||
Thanks for this, hopefully i'll be able to know what to do.
No members have liked this post.
|
#65
|
||||
|
||||
does anyone know how i can insert this into a template using plugin manager
to be placed in header
__________________
http://www.multihunters.co.uk - all your coding needs No members have liked this post.
|
#66
|
||||
|
||||
n/m I figured I was missing $templater->render();
No members have liked this post.
Last edited by OcR Envy; 25 Jan 2010 at 16:46. |
#67
|
||||||||||||
|
||||||||||||
I am not much of a coder at all, and hence need your help big time.
I want to call a simple php file to be placed just under the navbar. So, I created a plugin: Product: vBulletin Title: Insert Simple PHP Execution order: 5 (it was default) Hook Location: global_start PHP code:
Plugin is active: Yes Now, I went to the NAVBAR template and inserted
just under the code
Questions: * Where does the 'register/pre-register' come? * What is the exact change I need to make here? Thanks for your help! No members have liked this post.
|
#68
|
||||
|
||||
Great article!
but i have a problem. I have a template which i want to show inside another template, and it seems to work with every template except for the header. This is the plugin i used:
the hook location is: process_templates_complete. of course i have a template called TopPanel which i created, and it works great in vbcms_page for example but not in header. Do you have an idea why is that? Thanks in advance. No members have liked this post.
|
#69
|
||||
|
||||
As the name suggests, the hook you use is called when vB-internal template processing is already completed. No use in preregistering templates then anymore. Since that hook did not exist in 4.0.1 as far as I can see, you're using 4.0.2. Another hook that got added in 4.02 is template_register_var, and that would be the right one to use.
__________________
Please note that there will be no further updates to my addons, especially they will not be upgraded for vB5. I'm leaving vB, since IB choose to go the banana-way yet again. http://www.roma-antiqua.de No members have liked this post.
|
#70
|
||||||||||||||||
|
||||||||||||||||
Originally Posted by moonray
Try this in the plugin:![]()
__________________
Please note that there will be no further updates to my addons, especially they will not be upgraded for vB5. I'm leaving vB, since IB choose to go the banana-way yet again. http://www.roma-antiqua.de No members have liked this post.
|
#71
|
|||
|
|||
cellarius & moonray - you are both stars!!!
![]() Thanks you! Al No members have liked this post.
|
#72
|
||||||||||||
|
||||||||||||
FINAL WORKING CODE:
Product: vBulletin Title: Insert Simple PHP Execution order: 5 Hook Location: global_start PHP code:
Plugin is active: Yes Now, go to the NAVBAR template and insert
just under the code
No members have liked this post.
|
#73
|
||||||||
|
||||||||
I'm hoping someone can help me.. I'm having trouble displaying Openx Ads in various locations. For example in the header template.
This is the php code that Openx generates:
This is the code I'm trying to use:
__________________
Jim - Webadmin 3:33am Paranormal Research - History will always repeat itself but sometimes the past never leave vb4.x Email Reminders for Inactive Users, Add Mass Child Forums for vb3.8.6 & vb4.1.2 No members have liked this post.
|
#74
|
||||
|
||||
No comments on my last post?
__________________
Jim - Webadmin 3:33am Paranormal Research - History will always repeat itself but sometimes the past never leave vb4.x Email Reminders for Inactive Users, Add Mass Child Forums for vb3.8.6 & vb4.1.2 No members have liked this post.
|
#75
|
||||
|
||||
This is what I'm using.
No members have liked this post.
|
![]() |
«
Previous Article
|
Next Article
»
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Article Options | |
|
|
New To Site? | Need Help? |
All times are GMT. The time now is 21:03.