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)

mamboking 04-11-2006 03:44 PM

Hi everyone,

I have a question I hope someone can answer. Is there a benefit to loading banners this way opposed to call the javascript direct? I hope I am asking this coreectly.

I use a similiar script and was wonder if I would benefit from loading it this way My Site

DJCobol 04-25-2006 11:05 PM

Quote:

Originally Posted by attroll
Sorry it took so long to reply. If you are using CMPS for you front page then you need to go into your ADMINCP-->vBA CMPA-->Default Settings and scroll down until you see PORTAL OUTPUT GLOBAL VARIABLES and in that block put this

That didn't change anything. I tried adding "banner', then "$banner", then both, and nothing worked. Any other ideas? Its like the PHP code isn't even being evaluated in that section of code.

joeychgo 04-26-2006 10:32 AM

Nicely done.

I like this hack and reviewed it on vBulletin FAQ here: A Simple Random Banner Rotator

Good Job.

attroll 04-26-2006 03:55 PM

Quote:

Originally Posted by joeychgo
Nicely done.

I like this hack and reviewed it on vBulletin FAQ here: A Simple Random Banner Rotator

Good Job.

Thank you joeychgo. I did not know your site existed. I am in the middle of having a major addon created for my web site that has really consumed me and when I get a chance I will register on you site and check it out.

Thanks

Murty 04-27-2006 11:11 AM

Hey, cool hack. One query though. I want the rotating banner to be my main logo (eg [left]) this is my code for the header:

Quote:

<!-- logo -->
<a name="top" id="top"></a>
<table width="$stylevar[outertablewidth]" align="center" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="15" style="background-image:url($stylevar[imgdir_misc]/left.gif)"><img src="$stylevar[imgdir_misc]/left.gif" width="15" border="0" alt="" /></td>
<td width="100%">

<table border="0" width="100%" cellpadding="0" cellspacing="0" align="center" class="aria_header_bg">
<tr>
<td align="$stylevar[left]" valign="top" height="126"><a href="$vboptions[forumhome].php?$session[sessionurl]"><img src="$stylevar[titleimage]" border="0" alt="$vboptions[bbtitle]" /></a></td>
<!-- /logo -->
So yeah, i have tried a few things, any ideas?

Murty 04-27-2006 11:44 AM

Dont worry, i got it working. For anyone else wanting to do the same. do this:

1) take out this bita looking code:
Code:

<td align="$stylevar[left]" valign="top" height="126"><a href="$vboptions[forumhome].php?$session[sessionurl]"><img src="$stylevar[titleimage]" border="0" alt="$vboptions[bbtitle]" /></a></td>
2) put this in:
Code:

<td>$banner</td>

funinthesun 04-28-2006 07:02 PM

Excellent! Thank you very much!

CMY 04-30-2006 07:40 PM

Hi gys-

Am I doing something wrong in this particular section? I've followed all other directions perfectly but it's still not showing up. (VB 3.5.4)

Thanks,
Chris

mattyk72 05-01-2006 01:38 PM

Is it possible to have mutliple sets of rotators?

For example, can I have a banner rotator at the top of my page with lets say 5 ads going, and then a seperate rotator at the bottom of my page with 5 different ads going too?

mattyk72 05-03-2006 01:26 PM

Quote:

Originally Posted by mattyk72
Is it possible to have mutliple sets of rotators?

For example, can I have a banner rotator at the top of my page with lets say 5 ads going, and then a seperate rotator at the bottom of my page with 5 different ads going too?

anyone?


All times are GMT. The time now is 06:31 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.01222 seconds
  • Memory Usage 1,740KB
  • 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
  • (2)bbcode_code_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