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
  #152  
Old 03-06-2009, 01:28 AM
Deyth's Avatar
Deyth Deyth is offline
 
Join Date: Sep 2003
Posts: 152
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

If the ad refresh is enabled, does each refresh count as a new ad impression?
Reply With Quote
  #153  
Old 03-06-2009, 03:34 PM
morrow's Avatar
morrow morrow is offline
 
Join Date: Mar 2002
Location: NJ
Posts: 370
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Just when I thought everything was working perfect...

On my photopost pages and reveiwpost pages; The ads display but then after 5-10 seconds or so, I receive the following:

Photopost:
Quote:
Warning: require_once(./global.php) [function.require-once]: failed to open stream: No such file or directory in /home/njfly/public_html/photopost/ajax.php on line 37

Fatal error: require_once() [function.require]: Failed opening required './global.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/njfly/public_html/photopost/ajax.php on line 37
Reviewpost:
Quote:
Warning: require_once(./global.php) [function.require-once]: failed to open stream: No such file or directory in /home/njfly/public_html/reviewpost/ajax.php on line 37

Fatal error: require_once() [function.require]: Failed opening required './global.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/njfly/public_html/reviewpost/ajax.php on line 37
I remember receiving the same error message a few months ago and posting about it on the photopost site. They said it's not their problem.

Any ideas?
Reply With Quote
  #154  
Old 03-06-2009, 09:59 PM
a squared's Avatar
a squared a squared is offline
 
Join Date: Jul 2005
Posts: 51
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I've tried adding a banner in a particular forum with the following code. And I get nothing. What have I missed?

Code:
<if condition="in_array($forum, array(39))">
<br />
<a href="http://www.example.com" target="_blank"><img src="images/banners/large/example.gif" alt="example" border="0"></a>
<br /><br />
</if>
Reply With Quote
  #155  
Old 03-06-2009, 10:39 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 morrow View Post
A few requests... Any way to display an ad if a certain keyword is entered?
I'm afraid not. That's a whole different ballgame really.

The other thing is... I'm receiving page errors (vb3.8) (vbam_ajax is undefined) but only if google ads are being displayed. I'm using phpads or openads and those dont seem to have this issue.[/QUOTE]

Page errors as in on the actual page? Or a pop-up javascript error? If the latter, make sure you have the latest javascript files uploaded, they changed in the latest version. Otherwise I need to see the whole message.

Quote:
Originally Posted by Deyth View Post
If the ad refresh is enabled, does each refresh count as a new ad impression?
It's just the same as a page load, so unless they have something to detect differences it almost certainly will do.

Quote:
Originally Posted by morrow View Post
Just when I thought everything was working perfect...
Does it say anything further in your server logs?

Quote:
Originally Posted by a squared View Post
I've tried adding a banner in a particular forum with the following code. And I get nothing. What have I missed?

Code:
<if condition="in_array($forum, array(39))">
<br />
<a href="http://www.example.com" target="_blank"><img src="images/banners/large/example.gif" alt="example" border="0"></a>
<br /><br />
</if>
Try changin $forum to $foruminfo[forumid]
Reply With Quote
  #156  
Old 03-06-2009, 10:54 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 testbot View Post
just an fyi, every time i enable this mod my cpu goes from 0.98 or so to 2.8+
Hmmmm. I was told this was much more efficient than the others, although that was an earlier version. Is there any obvious pattern or cause? Or does it leap simply when it's turned on doing nothing?

Quote:
Originally Posted by paintballer.ie View Post
Does this track clicks or provide any stastics?

Thanks
No stats. There's no way any modification is going to be able to do anything remotely as good as a third party tracking system, I'm not even going to try. It wouldn't be in anyone's best interest. Look into Google Analytics or something similar.
Reply With Quote
  #157  
Old 03-07-2009, 01:24 AM
a squared's Avatar
a squared a squared is offline
 
Join Date: Jul 2005
Posts: 51
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

RedTyger, thanks for the quick reply.

Tried your suggestion and no change.



Quote:
Originally Posted by RedTyger View Post
Try changin $forum to $foruminfo[forumid]

Quote:
Originally Posted by a squared View Post
I've tried adding a banner in a particular forum with the following code. And I get nothing. What have I missed?

Code:
<if condition="in_array($forum, array(39))">
<br />
<a href="http://www.example.com" target="_blank"><img src="images/banners/large/example.gif" alt="example" border="0"></a>
<br /><br />
</if>
Reply With Quote
  #158  
Old 03-07-2009, 01:43 AM
morrow's Avatar
morrow morrow is offline
 
Join Date: Mar 2002
Location: NJ
Posts: 370
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by RedTyger View Post
Page errors as in on the actual page? Or a pop-up javascript error? If the latter, make sure you have the latest javascript files uploaded, they changed in the latest version. Otherwise I need to see the whole message.

Does it say anything further in your server logs?
These errors appear on the main page, not in a popup window. Here's a clip from my server log.

Quote:
[Fri Mar 06 20:59:59 2009] [error] [client xxx.xxx.xxx.xxx] PHP Fatal error: require_once() [<a href='function.require'>function.require</a>]: Failed opening required './global.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/njfly/public_html/reviewpost/ajax.php on line 37, referer: http://www.njflyfishing.com/reviewpost/index.php
[Fri Mar 06 20:59:59 2009] [error] [client xxx.xxx.xxx.xxx] PHP Warning: require_once(./global.php) [<a href='function.require-once'>function.require-once</a>]: failed to open stream: No such file or directory in /home/njfly/public_html/reviewpost/ajax.php on line 37, referer: http://www.njflyfishing.com/reviewpost/index.php
[Fri Mar 06 20:59:48 2009] [error] [client xxx.xxx.xxx.xxx] PHP Fatal error: require_once() [<a href='function.require'>function.require</a>]: Failed opening required './global.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/njfly/public_html/reviewpost/ajax.php on line 37, referer: http://www.njflyfishing.com/reviewpost/index.php
[Fri Mar 06 20:59:48 2009] [error] [client xxx.xxx.xxx.xxx] PHP Warning: require_once(./global.php) [<a href='function.require-once'>function.require-once</a>]: failed to open stream: No such file or directory in /home/njfly/public_html/reviewpost/ajax.php on line 37, referer: http://www.njflyfishing.com/reviewpost/index.php
[Fri Mar 06 20:59:37 2009] [error] [client xxx.xxx.xxx.xxx] PHP Fatal error: require_once() [<a href='function.require'>function.require</a>]: Failed opening required './global.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/njfly/public_html/reviewpost/ajax.php on line 37, referer: http://www.njflyfishing.com/reviewpost/index.php
[Fri Mar 06 20:59:37 2009] [error] [client xxx.xxx.xxx.xxx] PHP Warning: require_once(./global.php) [<a href='function.require-once'>function.require-once</a>]: failed to open stream: No such file or directory in /home/njfly/public_html/reviewpost/ajax.php on line 37, referer: http://www.njflyfishing.com/reviewpost/index.php
[Fri Mar 06 20:59:26 2009] [error] [client xxx.xxx.xxx.xxx] PHP Fatal error: require_once() [<a href='function.require'>function.require</a>]: Failed opening required './global.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/njfly/public_html/reviewpost/ajax.php on line 37, referer: http://www.njflyfishing.com/reviewpost/index.php
[Fri Mar 06 20:59:26 2009] [error] [client xxx.xxx.xxx.xxx] PHP Warning: require_once(./global.php) [<a href='function.require-once'>function.require-once</a>]: failed to open stream: No such file or directory in /home/njfly/public_html/reviewpost/ajax.php on line 37, referer: http://www.njflyfishing.com/reviewpost/index.php
[Fri Mar 06 20:59:15 2009] [error] [client xxx.xxx.xxx.xxx] PHP Fatal error: require_once() [<a href='function.require'>function.require</a>]: Failed opening required './global.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/njfly/public_html/reviewpost/ajax.php on line 37, referer: http://www.njflyfishing.com/reviewpost/index.php
[Fri Mar 06 20:59:15 2009] [error] [client xxx.xxx.xxx.xxx] PHP Warning: require_once(./global.php) [<a href='function.require-once'>function.require-once</a>]: failed to open stream: No such file or directory in /home/njfly/public_html/reviewpost/ajax.php on line 37, referer: http://www.njflyfishing.com/reviewpost/index.php
[Fri Mar 06 20:59:04 2009] [error] [client xxx.xxx.xxx.xxx] PHP Fatal error: require_once() [<a href='function.require'>function.require</a>]: Failed opening required './global.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/njfly/public_html/reviewpost/ajax.php on line 37, referer: http://www.njflyfishing.com/reviewpost/index.php
[Fri Mar 06 20:59:04 2009] [error] [client xxx.xxx.xxx.xxx] PHP Warning: require_once(./global.php) [<a href='function.require-once'>function.require-once</a>]: failed to open stream: No such file or directory in /home/njfly/public_html/reviewpost/ajax.php on line 37, referer: http://www.njflyfishing.com/reviewpost/index.php
You can see the error here (http://www.njflyfishing.com/reviewpost/index.php). Open the link, count to 10 and the error will display in place of the banner.

EDIT: I'd also like to point out that this seems to happen when the ad goes to refresh. If I increase the time to refresh than the error happens but take a while longer.

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

Quote:
Originally Posted by a squared View Post
RedTyger, thanks for the quick reply.

Tried your suggestion and no change.
What adcode block is this going in?

Quote:
Originally Posted by morrow View Post
I'd also like to point out that this seems to happen when the ad goes to refresh. If I increase the time to refresh than the error happens but take a while longer.

Thanks again.
It looks like my modification is conflicting with something in the reviewpost/photopost code, although I can't imagine how. I'd need to see a copy of the code.

There is some good news; using the refresh is against the Adsense TOS. So I'd stop using it right away if I were you.
Reply With Quote
  #160  
Old 03-07-2009, 01:54 PM
a squared's Avatar
a squared a squared is offline
 
Join Date: Jul 2005
Posts: 51
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It's in Navbar. Without the conditional it works fine. Of course it shows throughout the forum. I'm surprised it hasn't worked. On my live site I've hardcoded conditionals into the Navbar template using this code.

Code:
<if condition="$forumid == 39">
<br /><center>
<a href="http://www.example.com" target="_blank">
<img src="images/example.gif" alt="example" border="0">
</a>
</center><br /><br />
</if>

Quote:
Originally Posted by RedTyger View Post
What adcode block is this going in?
Reply With Quote
  #161  
Old 03-07-2009, 02:28 PM
morrow's Avatar
morrow morrow is offline
 
Join Date: Mar 2002
Location: NJ
Posts: 370
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by RedTyger View Post
What adcode block is this going in?



It looks like my modification is conflicting with something in the reviewpost/photopost code, although I can't imagine how. I'd need to see a copy of the code.

There is some good news; using the refresh is against the Adsense TOS. So I'd stop using it right away if I were you.
I didn't realize that, I'll turn it off now!

Again, I love this modification.
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 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.05163 seconds
  • Memory Usage 2,381KB
  • Queries Executed 28 (?)
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
  • (4)bbcode_code
  • (16)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
  • (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_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
  • 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