Go Back   vb.org Archive > vBulletin Modifications > Archive > Modification Graveyard

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
  #372  
Old 07-20-2008, 09:36 PM
Subah's Avatar
Subah Subah is offline
 
Join Date: Feb 2006
Location: KUWAIT
Posts: 393
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Is ther any way to make it auto template edit ?
Reply With Quote
  #373  
Old 07-21-2008, 03:58 AM
FalkinPro's Avatar
FalkinPro FalkinPro is offline
 
Join Date: Jan 2006
Location: United States
Posts: 21
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Call me a n00b but I can't find the edit box in admin panel that corresponds to $ad_headerLogo.

The only box under "Advertisement System (Header & Footer) is "Header Advertisement Code" but that only displays code for $ad_headerEnd. Where is the box that corresponds to $ad_headerLogo?

EDIT: If I am correct the edit template box is under "Advertisement System (Settings & Slideshow) which means slideshow has to run through $ad_headerlogo? (ie is there no way to turn of slideshow and simply run several banners in rotation under headerlogo)?

Second question, I want to make $ad_headerEnd (or other locations) to 468 x 60 px instead of 729 x 90 px. How do I go about doing this?
Reply With Quote
  #374  
Old 07-21-2008, 04:47 AM
UaECasher UaECasher is offline
 
Join Date: May 2008
Location: Dubai
Posts: 131
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hello, I have installed every thing and added the codes to templates but when i add the Ad code it don't appear on my forums (here is my forums link Casherz Forums)

If any one can help please reply

Thank you
Reply With Quote
  #375  
Old 07-21-2008, 05:11 PM
angusv angusv is offline
 
Join Date: Dec 2007
Posts: 25
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi,

I am trying to edit the header code and can't find:

Code:
<td align="$stylevar[right]" id="header_right_cell">
		<if condition="$ad_location['ad_header_logo']">$ad_location[ad_header_logo]<else />&nbsp;</if>
	</td>
or:

Code:
<if condition="$show['dst_correction']">
All I have is:

Code:
<meta http-equiv="Page-Exit" content="BlendTrans(Duration=0)" />
<meta http-equiv="Page-Enter" content="BlendTrans(Duration=0)" />

<!-- content table -->
$spacer_open

$_phpinclude_output

$ad_location[ad_header_end]
Any help would be greatly appreciated!
Reply With Quote
  #376  
Old 07-21-2008, 05:48 PM
karim004's Avatar
karim004 karim004 is offline
 
Join Date: Aug 2007
Location: Connecticut
Posts: 172
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by FalkinPro View Post

Second question, I want to make $ad_headerEnd (or other locations) to 468 x 60 px instead of 729 x 90 px. How do I go about doing this?
style manager , your style , edit templates , ad location , ad_headerEnd
and change 729 to 468 and 90 to 60
Quote:
Originally Posted by UaECasher View Post
Hello, I have installed every thing and added the codes to templates but when i add the Ad code it don't appear on my forums (here is my forums link Casherz Forums)

If any one can help please reply

Thank you
check pm
Reply With Quote
  #377  
Old 07-21-2008, 09:21 PM
imedic's Avatar
imedic imedic is offline
 
Join Date: Mar 2008
Location: Romania
Posts: 178
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I have install and edit the templates but I have 3 problems:

1. Header banner is lower then the logo taking more space (see here) Banner is " width="612" height="75" because it does not enter otherwise in line with the logo. I would like to be in line with the logo.

Header is:
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[left]"><center><div align="right"><if condition="$ad_headerLogo"><center>$ad_headerLogo</center><else />&nbsp;</if></center>

<td align="$stylevar[right]">
        &nbsp;
	</td>
</tr>
</table>
<!-- /logo -->

<!-- content table -->
$spacer_open

$_phpinclude_output

$ad_headerEnd
2. The banner in footer (sponsored links is working) does not want to show up (I have tested with the same banner as the top)
EDIT: It shows but after 1-2 min waiting, in all browsers. (it is a svf file)
Footer is:
Code:
$ad_footerStart
<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>
				<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>
<!--/Start Trafic.ro/-->
<script type="text/javascript">t_rid="eugenol";</script>
<script type="text/javascript" src="http://storage.trafic.ro/js/trafic.js"
></script><noscript><a href="http://www.trafic.ro/top/?rid=eugenol"
 target="_blank"><img border="0" alt="trafic ranking"
 src="http://log.trafic.ro/cgi-bin/pl.dll?rid=eugenol"/></a>
<a href="http://www.trafic.ro">Statistici web</a>
</noscript>
<!--/End Trafic.ro/-->
</form>


$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>
3. Top banner does not show in forum announcements (like after logout) But it shows on registration page where I understand it is suppose not to show.

I use VB 3.7.0 on the site.
Problems appear on IE and Opera. Firefox I have a problem with it and I am not shure how it is.
Any ideas what is wrong... Thanks
PS Nice work ... please consider adding a link below all ads How to remove this add directing to join a specific group. It was in the previous mod and it was usefull.
Reply With Quote
  #378  
Old 07-21-2008, 10:21 PM
wyllomoon wyllomoon is offline
 
Join Date: Jun 2008
Posts: 3
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Been working with phpBB for years, but I'm fairly new to vBulletin. I can't seem to get this working at all. I'm using 3.7.2 and I can't find the right lines of code in the header file of the cutsom or default styles. I've been working at it for days, but I'm getting no where fast.

Could be just me, but I find the instructions for this a little difficult to understand. I do appreciate all the work that's been done on this mod and I understand that all of your time is offered freely, but I think I'm going to have to uninstall for now.

I really just want a simple script for rotating ad banners under my navbar and above my photoplog thumb gallery. Can anyone point me in the right direction?
Reply With Quote
  #379  
Old 07-22-2008, 12:32 AM
karim004's Avatar
karim004 karim004 is offline
 
Join Date: Aug 2007
Location: Connecticut
Posts: 172
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by imedic View Post
I have install and edit the templates but I have 3 problems:

1. Header banner is lower then the logo taking more space (see here) Banner is " width="612" height="75" because it does not enter otherwise in line with the logo. I would like to be in line with the logo.

Header is:


2. The banner in footer (sponsored links is working) does not want to show up (I have tested with the same banner as the top)
EDIT: It shows but after 1-2 min waiting, in all browsers. (it is a svf file)
Footer is:


3. Top banner does not show in forum announcements (like after logout) But it shows on registration page where I understand it is suppose not to show.

I use VB 3.7.0 on the site.
Problems appear on IE and Opera. Firefox I have a problem with it and I am not shure how it is.
Any ideas what is wrong... Thanks
PS Nice work ... please consider adding a link below all ads How to remove this add directing to join a specific group. It was in the previous mod and it was usefull.

for header try this
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> &nbsp; &nbsp; &nbsp; $ad_headerEnd</td>
	


<td align="$stylevar[right]">
        &nbsp;
	</td>
</tr>
</table>
<!-- /logo -->

<!-- content table -->
$spacer_open

$_phpinclude_output
for registration page go to admincp , vbulletin options , Advertisement System (Settings & Slideshow) , Do NOT display advertisements for scripts and enter :
register|search|login

i will include remove advertisements in v2.5 .
Reply With Quote
  #380  
Old 07-22-2008, 12:52 AM
karim004's Avatar
karim004 karim004 is offline
 
Join Date: Aug 2007
Location: Connecticut
Posts: 172
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by wyllomoon View Post

I really just want a simple script for rotating ad banners under my navbar and above my photoplog thumb gallery. Can anyone point me in the right direction?
install simple rotation after that go to style manager , your style , navbar
at the end of your template add :
Code:
ad_navbarBelow
template header
after
Code:
$_phpinclude_output
add
Code:
$ad_headerEnd
footer
before
Code:
ad_footer_start
add
Code:
ad_footerStart
before
Code:
ad_footer_end
add
Code:
ad_footerEnd
go now to vbulletin option :
1=Advertisement System (Settings & Slideshow) ,
Enable advertisements system in your forum? yes
2=Advertisement System (Header & Footer)
Enable header advertisements in the main forum? yes
Enable header advertisements in the archives? yes if you want add advert in archieve
* add Header advertisement code If you want to use random rotations, enter your ad codes here separated by |
example :

Code:
<a href="http://www.link1.com" target="_blank"><img src="http://www.link1.com/banner.jpg"></a> |
<a href="http://www.link2.com" target="_blank"><img src="http://www.link1.com/banne2r.jpg"></a>
do samething for navbar & footer
Reply With Quote
  #381  
Old 07-22-2008, 06:09 AM
imedic's Avatar
imedic imedic is offline
 
Join Date: Mar 2008
Location: Romania
Posts: 178
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thx Karim
It did not work either with you suggestion. I have moved $ad_headerEnd to the next td looking like this :

Code:
<td align="$stylevar[right]">
        &nbsp; $ad_headerEnd
	</td>
Works like a charm , hope it didnt mess smting else because my knowledge on coding is very limited (close to ) )
Hope it helps others.
Many thanks
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 02:15 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.05701 seconds
  • Memory Usage 2,337KB
  • Queries Executed 27 (?)
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
  • (15)bbcode_code
  • (4)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
  • (2)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_postinfo_query
  • fetch_postinfo
  • 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