Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.6 > vBulletin 3.6 Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
vB Ad Management 4 Details »»
vB Ad Management 4
Version: 5.00, by RedTyger RedTyger is offline
Developer Last Online: Nov 2022 Show Printable Version Email this Page

Category: Major Additions - Version: 3.6.8 Rating:
Released: 11-08-2006 Last Update: 12-12-2007 Installs: 1791
DB Changes Uses Plugins Template Edits Auto-Templates
Additional Files  
No support by the author.


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:
* Find <!-- post $post[postid] popup menu --> and paste $postbit_advertisement above it in your postbit & postbit_legacy templates.
* Paste $forumbit_advertisement at the bottom of your forumhome_forumbit_level1_post and forumhome_forumbit_level2_post templates.
* Paste $threadbit_advertisement at the bottom of your threadbit template.
* Paste $footer_advertisement at the top of your footer template.
* Find $spacer_close in your footer template and below it paste $rightcolumn_advertisement.
* Find &nbsp; in your header template and replace it with $header_advertisement.
* Find $spacer_open in your header template and below it paste $leftcolumn_advertisement.

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #1012  
Old 05-02-2007, 07:31 PM
Jaiixx Jaiixx is offline
 
Join Date: Apr 2007
Posts: 3
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Okay that sounds good to me. Thanks for your help and the information. I appreciate it.
Reply With Quote
  #1013  
Old 05-03-2007, 08:55 AM
exes_slayer exes_slayer is offline
 
Join Date: Apr 2007
Posts: 31
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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?
Reply With Quote
  #1014  
Old 05-03-2007, 11:47 AM
RedTyger's Avatar
RedTyger RedTyger is offline
 
Join Date: Nov 2006
Location: UK
Posts: 1,310
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #1015  
Old 05-03-2007, 04:00 PM
The Librarian's Avatar
The Librarian The Librarian is offline
 
Join Date: Dec 2006
Posts: 79
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by RedTyger View Post
The Librarian, files are attached. Untested, but it should work.
Thanks RedTyger.... I've downloaded and installed this, but I'm not seeing where I'm to put the code $navbar_advertisement.

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!
Reply With Quote
  #1016  
Old 05-03-2007, 04:08 PM
RedTyger's Avatar
RedTyger RedTyger is offline
 
Join Date: Nov 2006
Location: UK
Posts: 1,310
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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>
A donation is not necessary, support is free.
Reply With Quote
  #1017  
Old 05-03-2007, 04:53 PM
DieselMinded's Avatar
DieselMinded DieselMinded is offline
 
Join Date: Mar 2007
Posts: 1,655
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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>
With the test.gif being my end caps

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
Reply With Quote
  #1018  
Old 05-03-2007, 05:01 PM
The Librarian's Avatar
The Librarian The Librarian is offline
 
Join Date: Dec 2006
Posts: 79
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by RedTyger View Post
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.A donation is not necessary, support is free.
Ok... we're getting closer... just a bit of tweaking should do it. I've attached a pic of what we have now. It's all the way to the right.... but I want it just to the left of the name, in the light colored part. Any suggestions?
Reply With Quote
  #1019  
Old 05-03-2007, 08:12 PM
The Librarian's Avatar
The Librarian The Librarian is offline
 
Join Date: Dec 2006
Posts: 79
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by The Librarian View Post
Ok... we're getting closer... just a bit of tweaking should do it. I've attached a pic of what we have now. It's all the way to the right.... but I want it just to the left of the name, in the light colored part. Any suggestions?
Guess what! I figured out where it goes. Check this location out:
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>&nbsp;</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']">
That puts it in the proper place. :up:

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!
Reply With Quote
  #1020  
Old 05-04-2007, 02:12 PM
RedTyger's Avatar
RedTyger RedTyger is offline
 
Join Date: Nov 2006
Location: UK
Posts: 1,310
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by DiesellMinded View Post
<snip!>
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.
Reply With Quote
  #1021  
Old 05-04-2007, 09:50 PM
DieselMinded's Avatar
DieselMinded DieselMinded is offline
 
Join Date: Mar 2007
Posts: 1,655
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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>
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 04:06 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.10301 seconds
  • Memory Usage 2,362KB
  • Queries Executed 25 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (2)bbcode_code
  • (2)bbcode_html
  • (5)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (6)pagenav_pagelinkrel
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete