Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.6 > vBulletin 3.6 Add-ons
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
  #272  
Old 01-15-2007, 04:55 PM
John W Smith John W Smith is offline
 
Join Date: Apr 2006
Posts: 8
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by RedTyger View Post
That I couldn't tell you, I don't actually use advertisements myself so I'm not au fait with Adsense's TOS. But I believe roughly speaking they require original "content" on a page displayed with advertisements. So search results, registration pages, redirection pages and so on where there is none would be a no-go.

Don't take my word for it though, be sure to look it up yourself.
Specifically, if I wish to prevent an ad on a login page, which script would I enter in the exclude. How can I tell which script produces which page. Is there a list somewhere?
Reply With Quote
  #273  
Old 01-15-2007, 05:27 PM
project-Buckfas project-Buckfas is offline
 
Join Date: Jul 2006
Location: Ireland
Posts: 204
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hope this helps....

Quote:
Originally Posted by John W Smith View Post
Specifically, if I wish to prevent an ad on a login page, which script would I enter in the exclude. How can I tell which script produces which page. Is there a list somewhere?
Code:
<if condition="!(
(THIS_SCRIPT == 'login') OR
(THIS_SCRIPT == 'register') OR
(THIS_SCRIPT == 'usercp') OR
(THIS_SCRIPT == 'private') OR
(THIS_SCRIPT == 'subscription') OR
(THIS_SCRIPT == 'payments') OR
(THIS_SCRIPT == 'invites') OR
(THIS_SCRIPT == 'memberlist') OR
(THIS_SCRIPT == 'online') OR
(THIS_SCRIPT == 'member') OR
(THIS_SCRIPT == 'spiders') OR
(THIS_SCRIPT == 'psistats') OR
(THIS_SCRIPT == 'profile') OR
(THIS_SCRIPT == 'faq') OR
(THIS_SCRIPT == 'sendmessage') OR
(THIS_SCRIPT == 'arcade') OR
(THIS_SCRIPT == 'showgroups') OR
(THIS_SCRIPT == 'calendar') OR
(THIS_SCRIPT == 'calendar') AND $_REQUEST['do'] == 'add') OR
(THIS_SCRIPT == 'misc') AND $_REQUEST['moderator_stats'] == '') OR
(THIS_SCRIPT == 'search') AND $_REQUEST['searchid'] == '') OR
(THIS_SCRIPT == 'THIS_SCRIPT')
Reply With Quote
  #274  
Old 01-15-2007, 06:15 PM
Reece^B Reece^B is offline
 
Join Date: Jan 2006
Location: Essex
Posts: 406
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Sweet hack mate, just a few questions.

The left column, how can I make it so it only displays on the forumhome.
Reply With Quote
  #275  
Old 01-15-2007, 06:29 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 Reece^B View Post
Sweet hack mate, just a few questions.

The left column, how can I make it so it only displays on the forumhome.
Edit the leftcolumn_advertisement template. Surround the contents with:

Code:
<if condition="THIS_SCRIPT == 'forumhome'">
Contents of template
</if>
Reply With Quote
  #276  
Old 01-15-2007, 07:04 PM
Reece^B Reece^B is offline
 
Join Date: Jan 2006
Location: Essex
Posts: 406
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Cheers bud, I tried this but no joy, where exactly should I place it?

PHP Code:
<table border="0" width="100%" cellpadding="0" cellspacing="0" align="center">
    <
tr>
        <
td valign="top" align="left" style="padding-right:12px;">
            <
br />
            <
table align="left" border="1px" cellpadding="$stylevar[cellpadding]cellspacing="$stylevar[cellspacing]class="tborder">
                <
tr>
                    <
td class="thead">
                        
$adtitle
                    
</td>
                </
tr>
                <
tr>
                    <
td class="alt1">
                        
$leftcolumn_adcode
                    
</td>
                </
tr>
            </
table>
        </
td>
        <
td valign="top">
            <
table width="100%" cellpadding="0" cellspacing="0" border="0">
            <
tr>
                <
td valign="top"
Reply With Quote
  #277  
Old 01-15-2007, 07:09 PM
RedTyger's Avatar
RedTyger RedTyger is offline
 
Join Date: Nov 2006
Location: UK
Posts: 1,310
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Oh, I forgot. The column templates actually spread across two templates, not one. And also I gave you the wrong conditional. Faux pas, sorry 'bout that.

Because the columns use multiple templates, this means that you can't do the usual technique of just excluding it from a page because it would exclude everything between that template and the footer as well. Which is a lot.

So for a bit of a rough workaround, we can remove the adcode and just hide the table instead.

Replace the contents of the leftcolumn_advertisement template with:

PHP Code:
<table border="0" width="100%" cellpadding="0" cellspacing="0" align="center" <if condition="THIS_SCRIPT == 'index'">style="display:none;"</if>>
    <
tr>
        <
td valign="top" align="left" style="padding-right:12px;">
            <
br />
            <
table align="left" border="1px" cellpadding="$stylevar[cellpadding]cellspacing="$stylevar[cellspacing]class="tborder">
                <
tr>
                    <
td class="thead">
                        
$adtitle
                    
</td>
                </
tr>
                <
tr>
                    <
td class="alt1">
                        <if 
condition="THIS_SCRIPT == 'index'">$leftcolumn_adcode</if>
                    </
td>
                </
tr>
            </
table>
        </
td>
        <
td valign="top">
            <
table width="100%" cellpadding="0" cellspacing="0" border="0">
            <
tr>
                <
td valign="top"
That should just hide the column and remove the adverts on the index page and shouldn't break XHTML validation either.
Reply With Quote
  #278  
Old 01-15-2007, 08:26 PM
Reece^B Reece^B is offline
 
Join Date: Jan 2006
Location: Essex
Posts: 406
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

umm I added the code, but consequently it removed all my forums just leaving the header and footer, lol.
Reply With Quote
  #279  
Old 01-15-2007, 08:29 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 Reece^B View Post
umm I added the code, but consequently it removed all my forums just leaving the header and footer, lol.


Sorry, not my best time of night for clear thinking. Ok, try this:

PHP Code:
<table border="0" width="100%" cellpadding="0" cellspacing="0" align="center">
    <
tr>
        <
td valign="top" align="left" <if condition="THIS_SCRIPT == 'index'">style="padding-right:12px;"</if>>

<if 
condition="THIS_SCRIPT == 'index'">
            <
br />
            <
table align="left" border="1px" cellpadding="$stylevar[cellpadding]cellspacing="$stylevar[cellspacing]class="tborder">
                <
tr>
                    <
td class="thead">
                        
$adtitle
                    
</td>
                </
tr>
                <
tr>
                    <
td class="alt1">
                        
$leftcolumn_adcode
                    
</td>
                </
tr>
            </
table>
        </
td>
        <
td valign="top">
</if>
            <
table width="100%" cellpadding="0" cellspacing="0" border="0">
            <
tr>
                <
td valign="top"
Reply With Quote
  #280  
Old 01-15-2007, 09:08 PM
Reece^B Reece^B is offline
 
Join Date: Jan 2006
Location: Essex
Posts: 406
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Brilliant, cheers for that mate. Just one more thing, when you view a thread it's all centred, how can I make it so its the same as the default, see below.

Centred (not right)

New default style, correctly aligned.
Reply With Quote
  #281  
Old 01-15-2007, 09:33 PM
Lordy Lordy is offline
 
Join Date: Oct 2002
Posts: 9
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

is there a way that you can have it display certain ads for certain usergroups?
Reply With Quote
Reply

Thread Tools

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 01:05 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.06616 seconds
  • Memory Usage 2,356KB
  • 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
  • (3)bbcode_php
  • (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
  • (4)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