Go Back   vb.org Archive > vBulletin Modifications > Archive > Modification Graveyard
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Advertisement System V2.6 Aka Ad Management Details »»
Advertisement System V2.6 Aka Ad Management
Version: 2.6, by karim004 karim004 is offline
Developer Last Online: Dec 2009 Show Printable Version Email this Page

Category: Add-On Releases - Version: 3.7.x Rating:
Released: 05-12-2008 Last Update: 10-14-2008 Installs: 797
Uses Plugins Template Edits Auto-Templates
Additional Files Translations  
No support by the author.

Many forums are using the Ad management system, however the coder has stopped supporting the script. Therefore I have decided to release this modification. I will give support to those who need it and continue to make updates to the system.

====>> Live Demo
The Advertisement System was designed with the intent that anyone with any level of experience could use the system. It is easy to install and once installed, the templates are easy to use on a site. The advertisement system has several features that sites will enjoy such as it can be used on versions 3.6.x as well as 3.7.x. The ads can be placed in the following areas: header , footer , below whats going on, below the navbar , postbit , postbit legacy, pms, announcement, archive, left & right column in forum home , left column in member info and full page , threadbit , as well as forumbit. Also, the ability to not display advertisement on certain pages such as login, registration & the search page. This system allows you to personalize the system to better suit their needs such as setting permissions like ads after first post on a page, ads after last post on a page, ads after X post on a page, and ads every X posts on a thread. You may also display ads by forum ID, as well as customize the full page for your site. The system comes with a feature for auto refresh ads as well as Google analytics. Besides the features,there is constant support given to those who need it and of course, updates are made to the system in order to better serve the sites using the system.

10/15/2008 version 2.6

** ability to tun on /off the autorefresh : check the screen below

Yes : will enable the autorefresh
No : will enable a simple rotation
** fixed 2 bugs in [left & right column ]
*******************




Features :
* works for v3.7.x and also v3.6.x
*advertisement in header , footer , below whats going on ? , below the navbar , postbit , postbit_legacy , pms , announcement , archive , left & right column in forumhome , left column in memberinfo and full page , threadbit , forumbit
* flash rotation
* do not display advertisement on certain pages Such as login , register & search
* google analytics
* permissions by area : display advertisement or not for usergroup x in :
... area 1 : header , footer
... area 2 : navbar , left & right column
... area 3 : forumbit & threadbit
... area 4 : postbit,postbit legacy , pms & announcement
* for postbit & postbit_legacy you have the ability to set more permissions like :
.... ad after first post on a page
.... ad after last post on a page
.... ad after X post on a page
.... ad every X posts on a thread
.... Minimum thread postcount
.... Maximum user postcount
..... Display Advertisements as User
*** Full Page
****Auto refresh ads
Please remember to click Mark as Installed if you use this modification.
Support questions from members who have not marked this as installed will be considered low priority.

Show Your Support

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

Comments
  #642  
Old 10-21-2008, 08:39 AM
jack the lad jack the lad is offline
 
Join Date: Mar 2007
Posts: 30
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

My adverts are showing towards the left of my screen and not in the center (see picture) in both my Header and footer.



This is my Header code:

Quote:
<!-- 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]"><center><if condition="$ad_headerLogo"><center>$ad_headerLogo</center><else />&nbsp;</if></center> <td align="$stylevar[right]" id="header_right_cell">
<if condition="$ad_location['ad_header_logo']">$ad_location[ad_header_logo]<else />&nbsp;</if>
</td>
</tr>
</table>
<!-- /logo -->

<!-- content table -->
$spacer_open

$_phpinclude_output

$ad_location[ad_header_end]
$ad_headerEnd
And this is my footer code:

Quote:
$ad_footerStart
$ad_location[ad_footer_start]

<br />
<div class="smallfont" align="center">$vbphrase[all_times_are_gmt_x_time_now_is_y]</div>
<br />

$spacer_close
<!-- /content area table -->

<form action="$vboptions[forumhome].php" method="get">

<table cellpadding="$stylevar[cellpadding]" cellspacing="0" border="0" width="$stylevar[outertablewidth]" class="page" align="center">
<tr>
<if condition="$show['quickchooser']">
<td class="tfoot">
<select name="styleid" onchange="switch_id(this, 'style')">
<optgroup label="$vbphrase[quick_style_chooser]">
$quickchooserbits
</optgroup>
</select>
</td>
</if>
<if condition="$show['languagechooser']">
<td class="tfoot">
<select name="langid" onchange="switch_id(this, 'lang')">
<optgroup label="$vbphrase[quick_language_chooser]">
$languagechooserbits
</optgroup>
</select>
</td>
</if>
<td class="tfoot" align="$stylevar[right]" width="100%">
<div class="smallfont">
<strong>
<if condition="$show['contactus']"><a href="$vboptions[contactuslink]" rel="nofollow" accesskey="9">$vbphrase[contact_us]</a> -</if>
<if condition="$vboptions['hometitle']"><a href="$vboptions[homeurl]">$vboptions[hometitle]</a> -</if>
<if condition="$show['admincplink']"><a href="$admincpdir/index.php$session[sessionurl_q]">$vbphrase[admin]</a> -</if>
<if condition="$show['modcplink']"><a href="$modcpdir/index.php$session[sessionurl_q]">$vbphrase[mod]</a> -</if>
<if condition="$vboptions['archiveenabled']"><a href="archive/index.php">$vbphrase[archive]</a> -</if>
$template_hook[footer_links]
<if condition="$vboptions[privacyurl]"><a href="$vboptions[privacyurl]">$vbphrase[privacy_statement]</a> -</if>
<a href="#top" onclick="self.scrollTo(0, 0); return false;">$vbphrase[top]</a>
</strong>
</div>
</td>
</tr>
</table>

<br />

<div align="center">
<div class="smallfont" align="center">
<!-- Do not remove this copyright notice -->
$vbphrase[powered_by_vbulletin]
<!-- Do not remove this copyright notice -->
</div>

<div class="smallfont" align="center">
<!-- Do not remove $cronimage or your scheduled tasks will cease to function -->
$cronimage
<!-- Do not remove $cronimage or your scheduled tasks will cease to function -->

$vboptions[copyrighttext]
</div>
</div>

</form>

$ad_location[ad_footer_end]
$ad_footerEnd
<if condition="$show['dst_correction']">
<!-- auto DST correction code -->
<form action="profile.php?do=dst" method="post" name="dstform">
<input type="hidden" name="s" value="$session[sessionhash]" />
<input type="hidden" name="securitytoken" value="$bbuserinfo[securitytoken]" />
<input type="hidden" name="do" value="dst" />
</form>
<script type="text/javascript">
<!--
var tzOffset = $bbuserinfo[timezoneoffset] + $bbuserinfo[dstonoff];
var utcOffset = new Date().getTimezoneOffset() / 60;
if (Math.abs(tzOffset + utcOffset) == 1)
{ // Dst offset is 1 so its changed
document.forms.dstform.submit();
}
//-->
</script>
<!-- / auto DST correction code -->

</if>
<script type="text/javascript">
<!--
// Main vBulletin Javascript Initialization
vBulletin_init();
//-->
</script>
What am I doing wrong?

Any help much appreciated.
Reply With Quote
  #643  
Old 10-22-2008, 09:25 AM
jack the lad jack the lad is offline
 
Join Date: Mar 2007
Posts: 30
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

^^^^ Anyone any ideas where I am going wrong? ^^^^
Reply With Quote
  #644  
Old 10-22-2008, 11:50 AM
Simon Lloyd's Avatar
Simon Lloyd Simon Lloyd is offline
 
Join Date: Aug 2008
Location: Manchester
Posts: 3,481
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

That pictur looks like you have added your code to vbulletins ad locations in ad_header_logo, any code should be added directly in to the admincp VBulletin Options, scroll down to the ad system
Reply With Quote
  #645  
Old 10-22-2008, 06:44 PM
jack the lad jack the lad is offline
 
Join Date: Mar 2007
Posts: 30
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Simon Lloyd View Post
That pictur looks like you have added your code to vbulletins ad locations in ad_header_logo, any code should be added directly in to the admincp VBulletin Options, scroll down to the ad system
Hi Simon. The ad-code is in the right location ie AdminCP- Adsystem and show's fine in at the top and bottom of the screen it's just that it is not central in either location
Reply With Quote
  #646  
Old 10-23-2008, 01:38 PM
segwayon segwayon is offline
 
Join Date: Mar 2008
Posts: 152
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by jack the lad View Post
Hi Simon. The ad-code is in the right location ie AdminCP- Adsystem and show's fine in at the top and bottom of the screen it's just that it is not central in either location
I noticed that if I had auto-refresh off then the header ad was centered okay. When I turned auto-refresh on then the header ad moved over to the left (although it was always a blank box for me).
Reply With Quote
  #647  
Old 10-23-2008, 01:43 PM
karim004's Avatar
karim004 karim004 is offline
 
Join Date: Aug 2007
Location: Connecticut
Posts: 172
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by jack the lad View Post
Hi Simon. The ad-code is in the right location ie AdminCP- Adsystem and show's fine in at the top and bottom of the screen it's just that it is not central in either location
try this [template header ] to center the ads
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]"><center><if condition="$ad_headerLogo"><center>$ad_headerLogo</center><else />&nbsp;</if></center> <td align="$stylevar[right]" id="header_right_cell">
<if condition="$ad_location['ad_header_logo']">$ad_location[ad_header_logo]<else />&nbsp;</if>
</td>
</tr>
</table>
<!-- /logo -->

<!-- content table -->
$spacer_open

$_phpinclude_output

$ad_location[ad_header_end]
<center>$ad_headerEnd</center>
Reply With Quote
  #648  
Old 10-23-2008, 07:16 PM
jack the lad jack the lad is offline
 
Join Date: Mar 2007
Posts: 30
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks's guy's all your help, sorted now :up:
Reply With Quote
  #649  
Old 10-24-2008, 04:08 AM
fodvapor fodvapor is offline
 
Join Date: Dec 2007
Posts: 45
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Sweet mod dude !
Reply With Quote
  #650  
Old 10-24-2008, 07:07 AM
adnedarn adnedarn is offline
 
Join Date: Jan 2007
Location: Tucson, Arizona
Posts: 192
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hello, For the ads on the forum (forumbit) I have entered for 2 locations and only the first one is showing up.

Thanks,
Andrew
Reply With Quote
  #651  
Old 10-25-2008, 04:43 PM
wormman wormman is offline
 
Join Date: Aug 2008
Location: New Jersey
Posts: 4
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I love this but I can't get it to work. I've tried everything and it's installed properly. I just can't get it to display ads. I've even looked at the templates and the code is there. What am I doing wrong? Thanks!
Ken
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 08:23 AM.


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.09507 seconds
  • Memory Usage 2,329KB
  • 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
  • (1)bbcode_code
  • (5)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (3)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