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
vB Ad Management Details »»
vB Ad Management
Version: 5.02, 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: 03-09-2009 Installs: 740
Uses Plugins Auto-Templates
Additional Files Translations  
No support by the author.

This modification allows you to add advertisements to your vBulletin software. It's very easy to use, very quick and allows almost unlimited customisation. 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 plus another 25 custom blocks.
- Default ad blocks for some of the most popular alternative formats; columns, full-page, sponsors.
- 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.

For software-specific management (i.e. threads on a forum, comments on a blog) and/or ad (revenue) sharing you will additionally need the appropriate module.

Additional modules:
Forum
Blog

This modification is supported with a link back to my homepage in the footer. Unbranded is per vBulletin license to be used with, see here for details.

Installation instructions:
Installation
Upgrading from an older version

Download Now

File Type: zip vb_ad_management_502.zip (33.8 KB, 5693 views)

Screenshots

File Type: jpg vbam_block_500.jpg (90.3 KB, 0 views)

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Благодарность от:
yousufkanan

Comments
  #72  
Old 02-08-2009, 04:16 PM
bluecolored bluecolored is offline
 
Join Date: Feb 2009
Posts: 18
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Fix/Solution for vBSEO Problem:

Quote:
Originally Posted by vBSEO Support
OUt of curiosity, I've checked the vB ad mod code and after changing this line in "ajax_start" hook:
if ($vbam->do['createad'] !== false)
to:
if ($vbam->do['createad'] != false)

it started working (not sure if that's the best way to resolve the issue in that mod though).


THIS WORKS!!!
Reply With Quote
  #73  
Old 02-09-2009, 06:18 AM
Riccardo83's Avatar
Riccardo83 Riccardo83 is offline
 
Join Date: May 2007
Posts: 95
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hey guys, I get this:

Quote:
Fatal error: Class 'vbam_forum' not found in /home/riccardo/domains/alizee-forum.com/archive/index.php(267) : eval()'d code on line 8
What is this about?
Reply With Quote
  #74  
Old 02-09-2009, 10:00 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 bluecolored View Post
THIS WORKS!!!
Ah, good for them. Odd little problem.

Quote:
Originally Posted by Riccardo83 View Post
What is this about?
That's from the forum module, or should be. It means the file that goes in the includes folder is missing.

Quote:
Originally Posted by sub_ubi View Post
Great mod! Thank you so much for your work.

One bug we've run across, the option Allow HTML in shared adcode does not work when set to YES, as HTML is not parsed.
"Does not work" is a small understatement, I forgot to put the code back in for it. Duly noted for the next update.
Reply With Quote
  #75  
Old 02-09-2009, 10:10 PM
Jon Tolzien Jon Tolzien is offline
 
Join Date: Nov 2008
Location: Grand Forks, ND
Posts: 87
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

For some reason my edit button would not work any more, until i disabled this mod. Any ideas???
Reply With Quote
  #76  
Old 02-10-2009, 01:59 AM
GoTTi GoTTi is offline
 
Join Date: Jun 2002
Posts: 1,346
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

dunno if im doing something wrong or dont understand this thing....

i just installed this, put the ad in the header, enabled the header ad, and nothing is showing. am i suppose to do something special? put a $header_ad or something in a template or is this auto insert?

i tried it in the header, didnt work. i tried it with PM's and nothing as well.
Reply With Quote
  #77  
Old 02-10-2009, 03:19 AM
ppriyaraju ppriyaraju is offline
 
Join Date: Feb 2009
Posts: 5
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

How to display adsense after first post

Please help me
Reply With Quote
  #78  
Old 02-10-2009, 04:09 AM
bluecolored bluecolored is offline
 
Join Date: Feb 2009
Posts: 18
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Jon Tolzien View Post
For some reason my edit button would not work any more, until i disabled this mod. Any ideas???
https://vborg.vbsupport.ru/showpost....6&postcount=71
Reply With Quote
  #79  
Old 02-11-2009, 01:29 AM
Bravo Bravo is offline
 
Join Date: Nov 2006
Posts: 67
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

The auto refresh doesnt work, and on IE on the bottom left is shows errors so I searched the lines that were causing errors (3 of them) it states it as a syntax error

Code:
<script type="text/javascript">setInterval(function(){recreatead("header", "ajax.php", , "header")}, 10190)</script>
it appears to have to do with the auto refresh, which explains why it dont refresh.

so I found the code in the php file but not sure how to fix it

Code:
return '<script type="text/javascript">setInterval(function(){recreatead("'.$adcode_name.'", "'.$file.'", '.(string) $is_bit.', "'.$setting_name.'")}, '.$refresh.')</script>';
or could it be the
Code:
function recreatead(id, file, is_bit, setting_id)
thats in the .js file?

Can you double check if its the code or a setting that went wrong?

Thanks
Reply With Quote
  #80  
Old 02-11-2009, 05:58 AM
RedTyger's Avatar
RedTyger RedTyger is offline
 
Join Date: Nov 2006
Location: UK
Posts: 1,310
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Excellent detective work, that certainly is the problem. Try this, I can't test it at the moment:

FIND:
Code:
function refreshad_js($adcode_name, $file, $is_bit = false, $setting_name = '')

REPLACE WITH:
Code:
function refreshad_js($adcode_name, $file, $is_bit = 'false', $setting_name = '')

FIND:
Code:
// Avoid getting stuck in a loop if the value is no good.
if ($vbulletin->options['vbam_'.$setting_name.'_refresh'] < 10)
{
	return false;
}

BELOW, ADD:
Code:
// Force boolean string conversion more effectively.
if ($is_bit !== 'false')
{
	$is_bit = 'true';
}

FIND:
Code:
'.(string) $is_bit.'

REPLACE WITH:
Code:
"'.$is_bit.'"
Reply With Quote
  #81  
Old 02-11-2009, 10:43 AM
Bravo Bravo is offline
 
Join Date: Nov 2006
Posts: 67
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hehe it is my field of interest

anyway that did fix the syntax errors , now it does refresh but the new problem is that when it refreshes it just disappears so for example I see the first ad for 10 seconds and then it goes away, and I am separating the ads using the "|" delimiter.

Any clue?

Thanks
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 07:28 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.04733 seconds
  • Memory Usage 2,349KB
  • 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
  • (9)bbcode_code
  • (6)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
  • (1)pagenav_pagelinkrel
  • (11)post_thanks_box
  • (1)post_thanks_box_bit
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (2)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
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • 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