I would like to display ad's in the top right hand corner of my forum "the same as digitalpoint"
You guys here have links there, so can you tell me exactly how its done please, and just where to put the code
Im not the best at modifiying vbulletin![]()
This is a discussion on ads in the top right hand corner within the Template Modifications forums, part of the vBulletin SEO Discussion category; I would like to display ad's in the top right hand corner of my forum "the same as digitalpoint" You ...
I would like to display ad's in the top right hand corner of my forum "the same as digitalpoint"
You guys here have links there, so can you tell me exactly how its done please, and just where to put the code
Im not the best at modifiying vbulletin![]()
You may want to think about installing your own AdServer, I prefer phpAdsNew.
Welcome to phpAdsNew / Open-source ad server
In the default vBulletin style, in your header template (see in bold):
Code:<!-- logo --> <a name="top"></a> <table border="0" width="$stylevar[outertablewidth]" cellpadding="0" cellspacing="0" align="center"> <tr> <td align="$stylevar[left]"><a href="$vboptions[forumhome].php$session[sessionurl_q]"><img src="$stylevar[titleimage]" border="0" alt="$vboptions[bbtitle]" /></a></td> <td align="$stylevar[right]"> Stick your ad here! </td> </tr> </table> <!-- /logo --> <!-- content table --> $spacer_open $_phpinclude_output
Juan Muriente / Crawlability Inc.
Security bulletin - Patch Level for all supported versions released
Unveiling the NEW vBSEO Sitemap Generator 3.0. - available NOW for vBSEO Customers!
thank you very much juan![]()
i use CSS to display my ad absolute positioned, so that the ad code is in the footer template, and loads last. view the source code on HS to see an example
Code:<!-- logo --> <a name="top"></a> <table border="0" width="$stylevar[outertablewidth]" cellpadding="0" cellspacing="0" align="center"> <tr> <td align="$stylevar[left]" background="<A href="http://www.traderslaboratory.com/forums/images/kirsch/misc/banner_02.jpg"><a">http://www.traderslaboratory.com/forums/images/kirsch/misc/banner_02.jpg"><a href="$vboptions[forumhome].php$session[sessionurl_q]"><img src="$stylevar[titleimage]" border="0" alt="$vboptions[bbtitle]" /></a> </td> </tr> </table> <!-- /logo --> <!-- content table --> $spacer_open $_phpinclude_output
How would I add the banner in this code? I tried adding it after </td> but did not work. Any help?
WTF is that? lol that's not htmlCode:background="<A onclick="urchinTracker ('/outgoing/http_www_traderslaboratory_com_forums_images_kirsch_misc_banner_02_jpg');" href="http://www.traderslaboratory.com/forums/images/kirsch/misc/banner_02.jpg"><a">
Throw this in your footer template just above </html>:
put this in your CSS file at the bottom in the custom box:Code:<div id="adframe"> PUT (valid) AD CODE HERE, such as: <a href="sponser.com"><img src="sponsor.jpg" alt="sponsor" /></a> </div>
Ignore all that table malarky.Code:#adframe { position: absolute; top: 5px; right: 10px; margin: 0; padding: 2px z-index: 99; }
Who use phpAdsNew? i've tried to install it but i have some problems how to set the campaign could someone help me?
Thanks
Edit template
Ad Location Templates
ad_global_header2
Add code:
Code:<div style="float: right;"> <!-- ad code here --> </div> <br style="clear:both;" />
Brian Cummiskey / Crawlability Inc.
Security bulletin - Patch Level for all supported versions released
Unveiling the NEW vBSEO Sitemap Generator 3.0. - available NOW for vBSEO Customers!
doesn't look quite right, can you have a looksie
-Link removed-
That is where the ad template is located, under the logo. Since you used an extended height logo, that obviously won't work.
You may need to use negative margins or absolute positioning.
try:
orCode:<div style="margin-top:-75px; float:right;">
You may need to tweak those numbers to fit better.Code:<div style="position:absolute; top:75px; right: 10px;">
Brian Cummiskey / Crawlability Inc.
Security bulletin - Patch Level for all supported versions released
Unveiling the NEW vBSEO Sitemap Generator 3.0. - available NOW for vBSEO Customers!
thanks i used
i was reading that vB 4 has an ad management feature, but cant seem to find wehre to management from, are you by any chance aware of that function?Code:<div style="margin-top:-75px; float:right;">
Sorry, i have limited experience with vb4 as of yet. I know there is a control panel for the ads right above the template nav item, but i haven't played with it.
Brian Cummiskey / Crawlability Inc.
Security bulletin - Patch Level for all supported versions released
Unveiling the NEW vBSEO Sitemap Generator 3.0. - available NOW for vBSEO Customers!
no problem
you have been very helpful
thank you again