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

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

Category: Major Additions - Version: 3.8.x Rating:
Released: 02-01-2009 Last Update: 02-25-2009 Installs: 286
Uses Plugins Auto-Templates
Additional Files Translations Is in Beta Stage  
No support by the author.

This modification allows you to add advertisements to your vBulletin forum. It is a module that extends the functionality of vB Ad Management. There is no restriction regarding the content you can use. Adsense, images, flash, plain text and you can use template conditionals and phrases as well. It will put anything, anywhere. Just about.

Features:
- Timed ads.
- Self-refreshing ads.
- Ad rotations.
- Ads using conditionals, phrases and templates.
- Ad sharing.
- Default ad blocks (typical ad block screenshot attached) for all the most popular locations.
- Ads for distributed content (emails and feeds).
- Instant previews before publishing.
- No template edits necessary.
- Compatibility with external pages and software.
- Appearance blending to make your ads look like part of your vBulletin templates.
- Alter hyperlinks to include your referral codes.
- Further details in the manual.

Unique to this module:
- Share your ad space with thread starters and posters.
- Default ad placement at customisable positions with forum listsing, thread listings, posts, announcements, feeds and "Send to a friend" and "Email member" emails as well as global placement for your forum archives.

Required plugins:
vB Ad Management

Other modules:
Blog

That's probably about it. If it's not enough, its modular format means you can extend it to suit yourself with comparative ease (relatively speaking).

vB Ad Management is supported with a link back to my homepage in the footer. This module does not add further branding.

Installation instructions:
Installation
Upgrading from an older version of vB Ad Management

Download Now

File Type: zip forum_ad_management_101_beta.zip (13.0 KB, 2201 views)

Show Your Support

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

Comments
  #62  
Old 08-19-2009, 01:23 PM
imedic's Avatar
imedic imedic is offline
 
Join Date: Mar 2008
Location: Romania
Posts: 178
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

If you want to place an ad after last post here what you can do:

- in Forum Ad Management / Posts screen in admin panel add in Postbit inclusion field (at bottom)
Code:
$vbam_location[whateveruwanthere]
- in Style Manger / Edit templates open Showthread templates / SHOWTHREAD template (you need to double click to see it in the list) and look for
Code:
<!-- / start content table -->
after add:
Code:
$vbam_location[whateveruwanthere]
<br />
Of corse whateveruwanthere can be replaced by individual name.
You also need to play with numbers of display and repeat number untill it show only one. My setting is 3 and 38 (don't ask why , it is working I don't bother )

It is looking clear as a last post. You can see it here

Aparently I run into some problems on IE , add is showing 3 times ?

There is no way I can make add show 1 time setting numbers in times to display. The edit worked fine but this mode has still bugs.
I leave it like this for when this mode will be upgraded if it will be.

Alternate way to do it (the hard way, ignoring most of this mod) but for postbit legacy (you can find in Advertisment templates the code for postbit)
Paste this:
Code:
<table class="tborder advertisement" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center" style="margin-top:6px">
<tr>
	<td class="thead" style="line-height:1.4em" colspan="2">
		&nbsp;
	</td>
</tr>
<tr valign="top">
	<td class="alt2" width="175px">
		<div>
			<a class="bigusername">$vboptions[bbtitle]</a>
		</div>
		<div class="smallfont">
			$vbphrase[vbam_advertisement]
		</div>
		<div>
			&nbsp;<br />
			<img src="$vboptions[showdeficon]" class="inlineimg" width="0" height="0" alt="$vbphrase[vbam_advertisement]" border="0" />
		</div>
	</td>
	<td class="alt1">
		<if condition="$show[messageicon] OR $post[title]">
			<div class="smallfont">
				<if condition="$show[messageicon]">
					<img src="$vboptions[showdeficon]" class="inlineimg" alt="$vbphrase[vbam_advertisement]" border="0" />
				</if>
				<if condition="$post[title]">
					<strong>$vbphrase[vbam_sponsored_links]</strong>
				</if>
			</div>
			<hr size="1" style="color:$stylevar[tborder_bgcolor]" />
		</if>	
		<div class="postbit_adcode adcode">
			$vbam_adcode[postbit]
PLACE INSTEAD OF THIS THE AD CODE ( GOOGLE AD ...) 
		</div>
	</td>
</tr>
</table><br />

instead of $vbam_location[whateveruwanthere] from steps described above.

Place your banner (google ad code ...) instead of bold caps lock text from above (you need to scroll to see it, fifth line from below up) .

This until a better solution is found using this mod.
Reply With Quote
  #63  
Old 08-22-2009, 04:02 PM
kevcj's Avatar
kevcj kevcj is offline
 
Join Date: Mar 2007
Location: East Texas
Posts: 334
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Is there a way for this modification to serve ads to other sites, such as wordpress blogs?

I have wordpress installed in a folder under vbulletin - it's being used as an articles section. It would be nice to have a script that could display the ads in the forum, as well as non-vb pages.
Reply With Quote
  #64  
Old 08-23-2009, 06:27 AM
Geek Specialtie's Avatar
Geek Specialtie Geek Specialtie is offline
 
Join Date: Jul 2009
Location: Bloomington, Minnesota
Posts: 26
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by kevcj View Post
Is there a way for this modification to serve ads to other sites, such as wordpress blogs?

I have wordpress installed in a folder under vbulletin - it's being used as an articles section. It would be nice to have a script that could display the ads in the forum, as well as non-vb pages.
I don't know about that, but I use Random Ads Plugin for Wordpress. Very easy to manage.
http://www.datafeedr.com/random-ads-plugin/
Reply With Quote
  #65  
Old 08-31-2009, 11:30 PM
ShawneyJ's Avatar
ShawneyJ ShawneyJ is offline
 
Join Date: Jul 2006
Location: Australia
Posts: 1,758
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

wow what mess, whens the next update coming out please? in the mean time i think i'll stick with the old mod.
Reply With Quote
  #66  
Old 09-07-2009, 04:48 AM
ianwatkinz ianwatkinz is offline
 
Join Date: Sep 2009
Posts: 1
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

The following dependencies were not met:
The product vbam must be installed before this product may be installed. (Compatible starting with 5.00)

What did I do wrong here? I uploaded the files and tried to add the .xml from the products folder.
Reply With Quote
  #67  
Old 10-21-2009, 12:29 AM
DinarMet DinarMet is offline
 
Join Date: Feb 2006
Posts: 38
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I am having a problem using this system with sharing Google AdSense.

My AdSense ads show, but the AdSense ads I share do not.

The problem is that it appears that the modification it does not take into account the google_ad_slot field.

The AdSense format looks like this (note xxxxxxxxxx is the Google account variable):
<script type="text/javascript"><!--
google_ad_client = "pub-xxxxxxxxxxxxx";
/* header */
google_ad_slot =
"032862920";
google_ad_width = 728;
google_ad_height = 90;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>

The google_ad_client field is the variable controlled by the system to determine who's ads to serve.

The google_ad_slot field controls the style of the ad and reports to the corresponding channels.

The variable placed in the code to control the ownership fo the ad looks like this in the Forum Ad Management module:
<script type="text/javascript"><!--
google_ad_client = "#field5#";
/* header */
google_ad_slot = "032862920
";
google_ad_width = 728;
google_ad_height = 90;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>

I am able to get the first variable to work properly but the shared codes all have different google_ad_slots which do not permit the ads to run properly except for
mine.

I created a 2nd variable for the google_ad_slot which is included in the member profile along with the google_ad_client:
<script type="text/javascript"><!--
google_ad_client = "#field5#";
/* header */
google_ad_slot = "#field6#";
google_ad_width = 728;
google_ad_height = 90;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
The problem is that the code now breaks at the google_ad_slot and doesn't show the ad.

Looks like this on the screen. There's ad space but no ads and this on the bottom:
032862920"; google_ad_width = 728; google_ad_height = 90; //-->
I believe the script is converting the " character to it's html equivalent &quot; thus rendering the javascript error.

I was able to remove the google_ad_slot from the code (which means all ads run default Google styles - blue-title / black-text / green-url), but I don't know if this is permissible under Google TOS. I would really prefer to blend my ads better with customized ads using the google_ad_slot field.

Any help here would be so greatly appreciated.
Reply With Quote
  #68  
Old 11-03-2009, 09:09 AM
softjury softjury is offline
 
Join Date: May 2008
Posts: 5
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi,

i'm running vBulletin 3.8.4, vB Ad Management 5.02, Forum Ad Management 1.01 and have issues with $stylevar.

I have this (example) in Forum Ad Management/Postbit adcode:

Code:
<table cellpadding="$stylevar[cellpadding]" width="100%">
which gets translated to

Code:
<table cellpadding="" width="100%">
when sent to the client - the $stylevar is replaced with an empty string.

I don't want to put numeric values in there like "6" but use the $stylevar variables.

What do i have to do to get template variables to work in postbit adcode?

Thanks,

Marcel.
Reply With Quote
  #69  
Old 11-16-2009, 05:09 PM
tuga-gsm tuga-gsm is offline
 
Join Date: Oct 2004
Posts: 23
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

hi.

forum ads does not work on 3.8.4 default theme

i get this error:

Quote:
Warning: Division by zero in [path]/includes/functions_forumlist.php(393) : eval()'d code on line 40
any idea how to fixit?
Reply With Quote
  #70  
Old 11-22-2009, 11:22 PM
mykkal's Avatar
mykkal mykkal is offline
 
Join Date: May 2007
Location: Atlanta, GA
Posts: 485
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by tuga-gsm View Post
hi.

forum ads does not work on 3.8.4 default theme

i get this error:



any idea how to fixit?
this is so unsupported. i'd go with another product.
Reply With Quote
  #71  
Old 12-12-2009, 03:37 AM
sleepyboy2004 sleepyboy2004 is offline
 
Join Date: Nov 2008
Posts: 28
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I get the same thing
Code:
    Warning: Division by zero in [path]/includes/functions_forumlist.php(393) : eval()'d code on line 40
Someone needs to jump on and find a fix or create a new mod like this one.
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 03:31 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.05465 seconds
  • Memory Usage 2,350KB
  • Queries Executed 26 (?)
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
  • (7)bbcode_code
  • (3)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
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (1)postbit_attachment
  • (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_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete