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

Reply
 
Thread Tools
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
  #2042  
Old 12-14-2007, 12:46 PM
RedTyger's Avatar
RedTyger RedTyger is offline
 
Join Date: Nov 2006
Location: UK
Posts: 1,310
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

The method for adding a column was changed in this version to speed it up slightly. Open up global_start.php.

FIND:
Code:
						$spacer_open = '<table width="'.$stylevar['outertablewidth'].'" border="0" cellpadding="0" cellspacing="0" align="center"><tr><td valign="top">'.$spacer_open;
						// Legacy column insertion. If you're having trouble adding your column in the right place, comment out the line
						// above (add // in front of it), uncomment the 2 lines below and change '$spacer_open' to something else in your header template to do a search-and-add on. 
						// $rc_str_replace = '<table width="'.$stylevar['outertablewidth'].'" border="0" cellpadding="0" cellspacing="0" align="center"><tr><td valign="top">';
						// $vbulletin->templatecache['header'] = str_replace('$spacer_open', $vbulletin->db->escape_string($rc_str_replace).'$spacer_open', $vbulletin->templatecache['header']);
REPLACE WITH:
Code:
						// $spacer_open = '<table width="'.$stylevar['outertablewidth'].'" border="0" cellpadding="0" cellspacing="0" align="center"><tr><td valign="top">'.$spacer_open;
						// Legacy column insertion. If you're having trouble adding your column in the right place, comment out the line
						// above (add // in front of it), uncomment the 2 lines below and change '$spacer_open' to something else in your header template to do a search-and-add on. 
						 $rc_str_replace = '<table width="'.$stylevar['outertablewidth'].'" border="0" cellpadding="0" cellspacing="0" align="center"><tr><td valign="top">';
						 $vbulletin->templatecache['header'] = str_replace('$spacer_open', $vbulletin->db->escape_string($rc_str_replace).'$spacer_open', $vbulletin->templatecache['header']);

That should just put it back the way it was before, I don't recall changing what I replaced.
Reply With Quote
  #2043  
Old 12-14-2007, 01:07 PM
tekguru tekguru is offline
 
Join Date: May 2007
Posts: 366
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

My thanks that has fixed it nicely
Reply With Quote
  #2044  
Old 12-14-2007, 01:14 PM
netcommander netcommander is offline
 
Join Date: Dec 2004
Location: Turkey/Antalya
Posts: 110
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by RedTyger View Post
Unfortunately I can only understand English. I'm not sure a translation would be enough, but if anyone gets it in English I'll deal with it.
I will add new atachment for you

error code is invalid character if I've close adsense everything is good I dont see error message ? how can I do.?
Reply With Quote
  #2045  
Old 12-14-2007, 02:06 PM
bjpembo bjpembo is offline
 
Join Date: Oct 2007
Posts: 3
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Howell
Just installed 4.02 and i'm now getting the following at the top of my showthread.php pages???

Warning: mt_rand() expects parameter 2 to be long, string given in /includes/vb_ad_management/functions_vb_ad_management.php on line 139
I'm having the same issue, upgraded from 3.14 to 4.02
Reply With Quote
  #2046  
Old 12-14-2007, 03:48 PM
bjpembo bjpembo is offline
 
Join Date: Oct 2007
Posts: 3
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I've tried to search for the answer to this but i havent really found what I'm looking for, only a way to completely remove the link instead of modifying where it points.

right now when you click on the "remove ads" link it directs you to register.php, how do i change it to direct to payments.php? the way my site is set, buying a premium subscription removes the ads, not simply registering.

Thanks for your help.
Reply With Quote
  #2047  
Old 12-14-2007, 03:51 PM
bjpembo bjpembo is offline
 
Join Date: Oct 2007
Posts: 3
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by bjpembo View Post
I'm having the same issue, upgraded from 3.14 to 4.02
just found that this has something to do with the ad refresh option, i turned that part off and the issue went away.
Reply With Quote
  #2048  
Old 12-14-2007, 03:57 PM
understyle understyle is offline
 
Join Date: May 2007
Posts: 13
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

work perfect but

in admincp say this

Quote:
Warning: Invalid argument supplied for foreach() in /admincp/vb_ad_management.php on line 346
help ?
Reply With Quote
  #2049  
Old 12-14-2007, 04:11 PM
Slingblade61 Slingblade61 is offline
 
Join Date: Aug 2004
Posts: 32
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

My admin cp is malfuctioning.

The menu reads like this....

Quote:
vB Ad Management
*[setting_adintegrate_global]*
*[setting_adintegrate_ad_sharing]*
*[setting_adintegrate_headernavbar]*
*[setting_adintegrate_leftright]*
*[setting_adintegrate_postbit]*
*[setting_adintegrate_forumbitthreadbit]*
*[setting_adintegrate_footersponsors]*
*[setting_adintegrate_fullpage]*
*[setting_adintegrate_archive]*
*[setting_adintegrate_custom]*
Reply With Quote
  #2050  
Old 12-14-2007, 05:20 PM
redlabour's Avatar
redlabour redlabour is offline
 
Join Date: Mar 2004
Location: Wuppertal, NRW, Germany
Posts: 1,541
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by redlabour View Post
Thats what i did.

See here (Settings are after every 4 Post - before Update it only shows them on the first Page - now not on any Page) :

http://www.politikstube.de/forum/fun...t_haetten.html
Anything new about this Bug ?

Think you have only to check the parts again you edit at last Update for Postbit.

Quote:
Originally Posted by Slingblade61 View Post
My admin cp is malfuctioning.

The menu reads like this....
Read the Instructions.
Reply With Quote
  #2051  
Old 12-14-2007, 05:40 PM
Slingblade61 Slingblade61 is offline
 
Join Date: Aug 2004
Posts: 32
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Read the Instructions.
Funny.

I did read them. I uninstalled an earlier version first and followed the install instructions.

Perhaps you could be more specific

never mind...... corrupted upload
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 12:45 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.07034 seconds
  • Memory Usage 2,323KB
  • 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
  • (9)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
  • (5)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