vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=155)
-   -   Rotating banners (https://vborg.vbsupport.ru/showthread.php?t=106682)

She Unlimited 03-21-2006 05:13 AM

Where can I find the plug in system in the AdminCP?

attroll 03-21-2006 05:48 AM

Quote:

Originally Posted by She Unlimited
Where can I find the plug in system in the AdminCP?

It should be in the left menu area and the third one from the bottom.

She Unlimited 03-21-2006 05:55 AM

Hm, that is strange. The 3rd from the bottom is Tasks? Is that the main category name?

Thank you!

attroll 03-21-2006 06:17 AM

Quote:

Originally Posted by She Unlimited
Hm, that is strange. The 3rd from the bottom is Tasks? Is that the main category name?

Thank you!

I see your problem. You are running vBulletin 3.0.7. This hack was designed for 3.5 and higher. But I can tell you what to do to get it working on your version.

Replace step #2 in this hack with this.

2. Put the following command in your phpinclude_start template:
PHP Code:

eval('$banner = "' fetch_template('banner') . '";'); 


She Unlimited 03-21-2006 06:34 AM

Great, thank you, I have tried both in the header but they stretch out the template...I wonder if I can add this to the navbar?

snowman872 03-21-2006 10:25 PM

This hack seems to be working fine, but at the bottom of my board, I am getting the uncached template message:

Quote:

Uncached templates: banner (1)
Is this normal? Is there a way to make it go away?

Thanks!

Edit - Hmmm it was working, until I added more than one banner. Now no banners appear. Are we supposed to edit the "number=0" or "image[number++]" incrementially or something?

Wizardjv 03-21-2006 11:03 PM

Quote:

Originally Posted by trancetopia
I've got this to work now. For some reason if you put the width and hight attributes in the img tag, none of the banners will display. If nothing is showing just leave out these attributes and they will display.

How did you go about removing them....I dont have any attributes in the img tag and still refuses to work....Any help would be greatly appreciated

mattyk72 03-24-2006 03:18 PM

how do I cache the template?

DJCobol 03-26-2006 03:13 PM

Thanks for this. I've gotten it working on the header, but when I tried adding the "$banner" variable to my right column area it doesnt work. Any help?

Freak0204 03-29-2006 05:17 PM

This isn't working for me. Nothing is showing up.


All times are GMT. The time now is 07:35 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
  • Page Generation 0.01095 seconds
  • Memory Usage 1,739KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_php_printable
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete