View Full Version : Banner Ad on Forum Index page?
MorrisMcD
10-15-2004, 03:40 PM
Is it possible to get a module or banner ad on the index of the forums.. I know how to manipulate modules and templates for all CMPS pages, but obviously not on the forum index..
Sorry if this has been asked.. I couldnt find anything.
DoKOK
10-16-2004, 08:49 PM
Forum index as on all pages?
MorrisMcD
10-16-2004, 09:57 PM
Forum index as on all pages?
Yea.. That would be best.. I guess I shouldnt have said forum index.. Yea.. Every forum page I guess would be most easily accomplished with code going in one spot.. Can you help me out with that?
Thanks for replyin
lewekleonek
10-25-2004, 01:51 AM
I am writing this hack now for one of my clients. If you need this to show up in every forum page + home page (driven by vBadvenced CMPS), you need to place your banner code somewhere in the top nav bar template.
/LL
Fiber
10-25-2004, 12:24 PM
This hack is over at vb.org
interfx
11-22-2004, 08:23 PM
Can you share the link to the VB.org hack... I searched on your user name, but nothing came up...
Thanks -
InterFX
restless
11-23-2004, 12:07 AM
how is this even a hack?
if this is for portal page, simply create a new template called "adv_portal_banner".
in the template put:
<center><a href="http://www.whateversite.com" target="_blank"><img src="images/banner.gif" border="1" width="468" height="60"></a></center>
<br />
create a new module called "banner", put it in the center column in whatever order you'd like, include the template "banner" and that's it.[list=1]
---------------------------
if this is for all pages, and you have room... put it beside your forum title graphic.
edit the "header" template. see the part that says:
<!--
NEW HEADER & 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.
-->
take that out and put in the same code (minus the <center> tags) as i said to put in the adv_portal_banner template.
Fiber
11-23-2004, 12:11 AM
IF you just want one (the same) banner then it would be a template edit, but if you wanted multiple it would be a hack.
restless
11-23-2004, 12:13 AM
IF you just want one (the same) banner then it would be a template edit, but if you wanted multiple it would be a hack.i disagree. i think people give themselves too much credit.
the changes to vbulletin are going to be the same regardless of whether you have one or rotation banners. the only difference is what you use to rotate the banner.
you can use a simply java-script... or you can use something like phpadsnew. either way, you just putting simple code into vbulletin templates.. not hacking anything.
animeonline
11-23-2004, 11:14 AM
Why not simply install PHPadsnew and put the code inside your VB header template? No hacking required ;)
Brian
11-23-2004, 12:16 PM
PHPadsnew also adds about 10 queries per page, per banner.
Artayick
11-23-2004, 12:33 PM
just get a jscript to rotate the banners.. add the code to the header and be done with it.. or footer..
animeonline
11-23-2004, 01:20 PM
PHPadsnew also adds about 10 queries per page, per banner.
I used to run it on a site with 27,000 members, and about 60 thousand monthly uniques, without this ever being a problem
Artayick
11-23-2004, 02:41 PM
^^^ what kind of server do you have.. im guessing dedicated or atleast semi... a lot of folks use shared hosting.. those queries will make a difference to them..
Brian
11-23-2004, 02:45 PM
It does also depend on the size of the queries as well. It's been quite a while since I've looked at their script, so I have no idea how well formed the queries and such are. For most people though I would think the script is a little bloated for their needs.
vBulletin® v3.8.4, Copyright ©2000-2012, Jelsoft Enterprises Ltd.