The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
vB Ad Management 4 Details »» | ||||||||||||||||||||||||||
What does it do? Features include global settings, advertisements allowing template conditionals, ad sharing and ad revenue sharing, timed advertisements, preset popular ad locations and functions such as sponsors, additional custom ad locations, random and static advertisements and its all very easy to use. You can use it for ordinary ads like adsense, banner rotations, or any content at all as well as using it to manage ads outside your forum too. You can read in more detail about these and other features in the manual, which also contains some helpful notes and instructions, as well as the installation and upgrade instructions If you are using autoinsertion and were using vB Ad Management before version 4.00, you will need to remove your old template edits or advertisements will appear multiple times. Just reverse the old instructions below. Quote:
Show Your Support
|
Comments |
#1012
|
|||
|
|||
Okay that sounds good to me. Thanks for your help and the information. I appreciate it.
|
#1013
|
|||
|
|||
as i saw above, it works with adsense also
how does the user implement his adcode? he enters pub-xxxxxxxx or does he need to enter the full adsense code? |
#1014
|
||||
|
||||
It's up to you how much you want to share. When you're entering the adsense code into the admin panel you replace part of it with #shared# (or your own specified code). #shared# is what will be replaced with the user's custom code.
So let's say your admin code is: Hello there, my name is #shared#. If your user's custom adcode is Ralph then the output will be Hello there, my name is Ralph. Or you could set your admin code as: Hello there, #shared#. If your user's custom adcode is Ralph then the output will be Hello there, Ralph. Or your user's custom adcode could be my name is Ralph and the output will again be Hello there, my name is Ralph. It's up to you how much you want to open up to user's to specify, but to keep things on the straight and narrow I'd generally recommend that you share the minimum amount of code possible. |
#1015
|
||||
|
||||
Quote:
I tried putting it under the Navbar code but that puts the ad between the navbar and the top of the forums just as before - except that this time it put it to the far left, rather than the center. What I really want is the code inside the Navbar to the far right next to the username. If this isn't possible I can live with it below, but I need it centered. Is there some easy code I can add that will center it? The code $footer_advertisement centers automatically. I'm sorry to be so terribly picky... but I like my library to look just right. My members count on it being a nice, neat-looking place, kwim? It's here if you want to see it: http://www.thehomeschoollibrary.com Right now I've got the footer ads showing up both in the footer and below the navbar. I'm just using that $footer_advertisement code twice. But I really want to have two different ads there, if possible. The goal is to put Adsense in the footer eventually. Thanks again...and I guess I need to make another donation, don't I! |
#1016
|
||||
|
||||
You can put $navbar_advertisement in any template anywhere you like, it is a global advertisement.
If you want to style/position it, edit the navbar_advertisement template to your taste. If you want it centered, change <div> to <div style="text-align:center;"> To put it in your navbar to the right (this is untested, but it's roughly the right approach if not quite correct) look in your navbar template for the following code and note the change I made which are highlighted in bold. Code:
<td class="alt2" valign="top" nowrap="nowrap"> <div class="smallfont"> <strong><phrase 1="$bbuserinfo[username]">$vbphrase[welcome_x]</phrase></strong><br /> <phrase 1="$pmbox[lastvisitdate]" 2="$pmbox[lastvisittime]">$vbphrase[last_visited_x_at_y]</phrase> <if condition="$show['pmstats']"><br /><phrase 1="$vbphrase[unread_x_nav_compiled]" 2="$vbphrase[total_x_nav_compiled]" 3="$session[sessionurl_q]">$vbphrase[private_messages_nav]</phrase></if> <if condition="$show['pmwarning']"><br /><strong><phrase 1="$vbphrase[pmpercent_nav_compiled]">$vbphrase[your_pm_box_is_x_full]</phrase></strong></if> </div> </td> <td class="alt2" valign="top" nowrap="nowrap"> $navbar_advertisement </td> <else /> <td class="alt2" nowrap="nowrap" style="padding:0px"> <!-- login form --> <form action="login.php?do=login" method="post" onsubmit="md5hash(vb_login_password, vb_login_md5password, vb_login_md5password_utf, $show[nopasswordempty])"> <script type="text/javascript" src="clientscript/vbulletin_md5.js?v=$vboptions[simpleversion]"></script> <table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0"> <tr> <td class="smallfont"><label for="navbar_username">$vbphrase[username]</label></td> <td><input type="text" class="bginput" style="font-size: 11px" name="vb_login_username" id="navbar_username" size="10" accesskey="u" tabindex="101" value="$vbphrase[username]" onfocus="if (this.value == '$vbphrase[username]') this.value = '';" /></td> <td class="smallfont" colspan="2" nowrap="nowrap"><label for="cb_cookieuser_navbar"><input type="checkbox" name="cookieuser" value="1" tabindex="103" id="cb_cookieuser_navbar" accesskey="c" />$vbphrase[remember_me]</label></td> </tr> <tr> <td class="smallfont"><label for="navbar_password">$vbphrase[password]</label></td> <td><input type="password" class="bginput" style="font-size: 11px" name="vb_login_password" id="navbar_password" size="10" tabindex="102" /></td> <td><input type="submit" class="button" value="$vbphrase[log_in]" tabindex="104" title="$vbphrase[enter_username_to_login_or_register]" accesskey="s" /></td> </tr> </table> <input type="hidden" name="s" value="$session[sessionhash]" /> <input type="hidden" name="do" value="login" /> <input type="hidden" name="vb_login_md5password" /> <input type="hidden" name="vb_login_md5password_utf" /> </form> <!-- / login form --> </td> <td class="alt2" valign="top" nowrap="nowrap"> $navbar_advertisement </td> |
#1017
|
||||
|
||||
Need a hand
I have the Ads Running Above the Whats Going On Box ... Thing is when ever The Window is Shrunk they go to 2 lines of ads instead of a single row , and it displays different on different screen sizes also , I set it up to be even with the forum on my computer but it always moved the last ad (mine) to below the rest , I had to make it to where i have 1/4 inch open on either side of my computer screen (when the window is maximized) just so it don't effect others . This is my lay out ... HTML Code:
<a href="http://www.dieselbombers.com/info/sponsors.htm" target="_blank" class="banner"><img src="bannerads/test.gif" width=20 height=108 border=1></a> <a href="http://www.warn.com" target="_blank" class="banner"><img src="bannerads/warnad.gif" width=100height=108 border=1></a> <a href="http://www.iceboxmanufacturing.com/" target="_blank" class="banner"><img src="bannerads/icebxl.gif" width=100height=108 border=1></a> <a href="http://www.mrbobsdistributing.com/siliconehoses.html" target="_blank" class="banner"><img src="bannerads/mrbobsad.gif" width=100height=108 border=1></a> <a href="http://www.dhraonline.com" target="_blank" class="banner"><img src="bannerads/dhraad.gif" width=100height=108 border=1></a> <a href="http://www.fixinrams.com" target="_blank" class="banner"><img src="bannerads/fixinramsadgears.gif" width=100height=108 border=1></a> <a href="http://www.dieselbombers.com/info/sponsors.htm" target="_blank" class="banner"><img src="bannerads/dbad.gif" width=100height=108 border=1></a> <a href="http://www.dieselbombers.com/info/sponsors.htm" target="_blank" class="banner"><img src="bannerads/dbad.gif" width=100height=108 border=1></a> <a href="http://www.dieselbombers.com/info/sponsors.htm" target="_blank" class="banner"><img src="bannerads/dbad.gif" width=100height=108 border=1></a> <a href="http://www.dieselbombers.com/info/sponsors.htm" target="_blank" class="banner"><img src="bannerads/test.gif" width=20 height=108 border=1></a> Is there a way for me to format it by a % so it always shows even with the forum no matter what screen/window size Thanks a Bazillion !! DM |
#1018
|
||||
|
||||
Quote:
|
#1019
|
||||
|
||||
Quote:
Code:
<!-- breadcrumb, login, pm info --> <table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center"> <tr> <td class="alt1" width="100%"> <if condition="is_array($navbits)"> <table cellpadding="0" cellspacing="0" border="0"> <tr valign="bottom"> <td><a href="#" onclick="history.back(1); return false;"><img src="$stylevar[imgdir_misc]/navbits_start.gif" alt="$vbphrase[go_back]" border="0" /></a></td> <td> </td> <td width="100%"><span class="navbar"><a href="$vboptions[forumhome].php$session[sessionurl_q]" accesskey="1">$vboptions[bbtitle]</a></span> $navbits[breadcrumb]</td> </tr> <tr> <td class="navbar" style="font-size:10pt; padding-top:1px" colspan="3"><if condition="$_SERVER['REQUEST_METHOD'] == 'POST'"><img class="inlineimg" src="$stylevar[imgdir_misc]/navbits_finallink.gif" alt="" border="0" /><else /><a href="$scriptpath"><img class="inlineimg" src="$stylevar[imgdir_misc]/navbits_finallink.gif" alt="$vbphrase[reload_this_page]" border="0" /></a></if> <strong>$navbits[lastelement]</strong></td> </tr> </table> <else /> <div class="navbar" style="font-size:10pt"><a href="$vboptions[forumhome].php$session[sessionurl_q]" accesskey="1"><img class="inlineimg" src="$stylevar[imgdir_misc]/navbits_start.gif" alt="" border="0" /></a> <strong>$vboptions[bbtitle]</strong></div> </if> </td> <td class="alt2" valign="top" nowrap="nowrap"> $navbar_advertisement </td> <if condition="$show['member']"> I had another mod that I'd downloaded a while back called "Banner Rotator by Redline" or "Banners_in_Navbar." I didn't like the program - it isn't sophisticated enough. But I figured I would check and see where he put the code. I stuck your bit in where he put all of his and it works like a charm. Check out the pic! Thanks so much RedTyger! I'm very pleased! |
#1020
|
||||
|
||||
No, images should be absolute sizes. Even if they could be set as percentages they would be distorted horribly. If you need more space, include fewer images or put them on another line.
|
#1021
|
||||
|
||||
I got it !!! it works Unless the window size goes less than 7 inches wide The ads now shrink and stay in place other than staying there defined sizes and going to a new line
HTML Code:
<a href="http://www.warn.com" target="_blank" class="banner"><img src="bannerads/warnad.gif" width="10%" border=1></a> <a href="http://www.iceboxmanufacturing.com/" target="_blank" class="banner"><img src="bannerads/icebxl.gif" width="10%" border=1></a> <a href="http://www.mrbobsdistributing.com/siliconehoses.html" target="_blank" class="banner"><img src="bannerads/mrbobsad.gif" width="10%" border=1></a> <a href="http://www.dhraonline.com" target="_blank" class="banner"><img src="bannerads/dhraad.gif" width="10%" border=1></a> <a href="http://www.fixinrams.com" target="_blank" class="banner"><img src="bannerads/fixinramsadgears.gif" width="10%" border=1></a> <a href="http://www.dieselbombers.com/info/sponsors.htm" target="_blank" class="banner"><img src="bannerads/dbad.gif" width="10%" border=1></a> <a href="http://www.dieselbombers.com/info/sponsors.htm" target="_blank" class="banner"><img src="bannerads/dbad.gif" width="10%" border=1></a> <a href="http://www.dieselbombers.com/info/sponsors.htm" target="_blank" class="banner"><img src="bannerads/dbad.gif" width="10%" border=1></a> <a href="http://www.dieselbombers.com/info/sponsors.htm" target="_blank" class="banner"><img src="bannerads/dbad.gif" width="10%" border=1></a> |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|