vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Requests/Questions (Unpaid) (https://vborg.vbsupport.ru/forumdisplay.php?f=112)
-   -   Rotational Banner in header (https://vborg.vbsupport.ru/showthread.php?t=97782)

HMBeaty 10-07-2005 02:06 AM

Rotational Banner in header
 
Is there a modification that allows me to add different banners to advertise others sites/businesses? Looking for one that goes directly to the right of the vBulletin logo. You can see what I mean here......

http://www.teckademicseast.com/forums/

Everytime you refresh the page, a new banner will show. Any help will be greatly appreciated. Thanks in advance :)

Zacarias 10-07-2005 03:36 AM

This would be a good one, and one I would get.

HMBeaty 10-09-2005 02:32 AM

Anybody have any info on this?

Ok, I DID find something from messing around with another forums files......

In style manager > header, find...

Code:

        <td align="$stylevar[left]"><a href="$vboptions[forumhome].php$session[sessionurl_q]"><img src="$stylevar[titleimage]" border="0" alt="$vboptions[bbtitle]" /></a></td>
after, add.....

Code:

<!--
  NEW HEADER &amp; NAVBAR
 
  Now that the nav buttons are in the
  navbar template, you can stick whatever
  you like into this space.

  This makes it much easier for novice
  admins to customize their header
  template without affecting important
  navigation elements.
-->
<td align=right>
<script language='JavaScript' type='text/javascript' src='http://URL_OF_SITE.com/phpAdsNew-2.0/adx.js'></script>
<script language='JavaScript' type='text/javascript'>
<!--
  if (!document.phpAds_used) document.phpAds_used = ',';
  phpAds_random = new String (Math.random()); phpAds_random = phpAds_random.substring(2,11);
 
  document.write ("<" + "script language='JavaScript' type='text/javascript' src='");
  document.write ("http://URL_OF_SITE.com/phpAdsNew-2.0/adjs.php?n=" + phpAds_random);
  document.write ("&amp;what=zone:5");
  document.write ("&amp;exclude=" + document.phpAds_used);
  if (document.referrer)
      document.write ("&amp;referer=" + escape(document.referrer));
  document.write ("'><" + "/script>");
//-->
</script><noscript><a href='http://URL_OF_SITE.com/phpAdsNew-2.0/adclick.php?n=aa0b68f3' target='_blank'><img src='http://URL_OF_SITE/phpAdsNew-2.0/adview.php?what=zone:5&amp;n=aa0b68f3' border='0' alt=''></a></noscript>


this worked on my forum (vB 3.5.0) but I need the full script or modifications/files for this. Can anyone help me out on this please?

Razasharp 10-09-2005 05:00 PM

How about phpadsnew?

Rich 10-09-2005 05:33 PM

Hello,

Phpadsnew does exactly what you are requesting. I use it.

jjrambo 10-09-2005 08:52 PM

Quote:

Originally Posted by iguanairs
Hello,

Phpadsnew does exactly what you are requesting. I use it.

Link to this would be awesome.

Razasharp 10-09-2005 09:07 PM

<a href="http://www.phpadsnew.com" target="_blank">www.phpadsnew.com</a>

Rich 10-09-2005 09:09 PM

Hello,

I am guessing you didn't try google, or: http://www.phpadsnew.com

HMBeaty 10-10-2005 05:29 AM

Well, I was referring to something more like this where everything is done in the admincp. If someone could code this for 3.5.0, you'll be my best friend forever. lol Thanks

https://vborg.vbsupport.ru/showthread.php?t=74621

HMBeaty 10-16-2005 12:10 AM

Can ANYONE make this work for 3.5.0?


All times are GMT. The time now is 01:46 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.01041 seconds
  • Memory Usage 1,737KB
  • 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
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)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