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
  #1342  
Old 07-27-2007, 10:26 AM
RedTyger's Avatar
RedTyger RedTyger is offline
 
Join Date: Nov 2006
Location: UK
Posts: 1,310
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

All the instructions are there I'm afraid, and I must admit they're rather weak. I am trying to make an effort for things to be clearer in the next version for that reason as well as the facts that the next version is more complicated in some ways. It's very user-friendly once you have a handle on how it works, but baffling when you don't.

If you need any general help, just post here.

Edit: Didn't notice you kind offer, I may ask for some feedback from everyone in that area at some point. For now, I'm making lots of changes so it's not really possible.
Reply With Quote
  #1343  
Old 07-27-2007, 12:11 PM
grahamsmythe grahamsmythe is offline
 
Join Date: Apr 2007
Location: Kent, United Kingdom
Posts: 66
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by RedTyger View Post
It's very user-friendly once you have a handle on how it works, but baffling when you don't.

If you need any general help, just post here.
Thanks for coming back to me RedTyger

Let's start with what we want to do - perhaps once I've got an idea of how to do that, the rest will fall into place.

I have a banner to size 234 x 60 that I'd love to put on the header of our forum. The file I have is a JPG. How do I insert that?

Graham
Reply With Quote
  #1344  
Old 07-27-2007, 01:25 PM
MomentumInc MomentumInc is offline
 
Join Date: Nov 2006
Posts: 14
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'm sorry if this has been asked before, but there are 90 pages to go through and I didn't find anything with a quick search.

Is there an easy way to use this plugin to put different ads on each forum (based on forum id)? Right now, we have this plugin installed on several sites, but still have to resort to putting a long list of conditionals in the templates in order to put specific ads on specific forums.

I know about the feature to only put ads on certain forums, but we need ads on every forum... just different code for each.

Thanks.
Reply With Quote
  #1345  
Old 07-28-2007, 07:59 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 grahamsmythe View Post
Thanks for coming back to me RedTyger

Let's start with what we want to do - perhaps once I've got an idea of how to do that, the rest will fall into place.

I have a banner to size 234 x 60 that I'd love to put on the header of our forum. The file I have is a JPG. How do I insert that?

Graham
Ah. That's really beyond the scope of a manual for this modification, that's general internetness.

Code:
<a href="LINK" /><img src="IMGLINK" alt="IMGDESCRIPTION" /></a>
LINK = Where you want to send people who click on the banner.
IMGLINK = Where the location of the image is.
IMGDESCRIPTION = A description of what the image is.

Put that in the header adcode section of the options, and ensure that it's enabled just above that. In general settings, the default is set to show advertisements to administrators only for testing (it says 6 in the usergroup settings, which is admin's usergroup id) so when you're ready you will have to adjust the numbers listed in that setting.


Quote:
Originally Posted by MomentumInc View Post
I'm sorry if this has been asked before, but there are 90 pages to go through and I didn't find anything with a quick search.

Is there an easy way to use this plugin to put different ads on each forum (based on forum id)? Right now, we have this plugin installed on several sites, but still have to resort to putting a long list of conditionals in the templates in order to put specific ads on specific forums.

I know about the feature to only put ads on certain forums, but we need ads on every forum... just different code for each.

Thanks.
Currently, no. Next version, almost certainly. But it will still be a long list of conditionals, there's really no other way to do it.
Reply With Quote
  #1346  
Old 07-28-2007, 02:10 PM
grahamsmythe grahamsmythe is offline
 
Join Date: Apr 2007
Location: Kent, United Kingdom
Posts: 66
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Wow! I didn't in my wildest dreams ever think it would be that easy!

I thought I'd have to get into changing lots more code and other techincal stuff, but all it took was a bit of html - thanks for that, but I could have done that on my own if I'd have known it was so easy!

I've got my advertising up there now. As and when I get some takers - maximum of four I hope, I'll send you a donation for using the mod. It's fantastic

Regards

Graham

PS - Have a look at my site http://www.vincentownersclub.co.uk/

Any idea how I can get the banner to move up a bit, so that it's centered?
Reply With Quote
  #1347  
Old 07-28-2007, 06:13 PM
mightyb mightyb is offline
 
Join Date: Dec 2005
Posts: 36
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Im a bit concerned about security issue. I want to allow my members to display their own adcode. How can i make sure they only use adsense, clicksor or any other trusted code rather than something malicious. Thanks a lot!
Reply With Quote
  #1348  
Old 07-28-2007, 06:38 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 grahamsmythe View Post
Wow! I didn't in my wildest dreams ever think it would be that easy!

I thought I'd have to get into changing lots more code and other techincal stuff, but all it took was a bit of html - thanks for that, but I could have done that on my own if I'd have known it was so easy!

I've got my advertising up there now. As and when I get some takers - maximum of four I hope, I'll send you a donation for using the mod. It's fantastic

Regards

Graham

PS - Have a look at my site http://www.vincentownersclub.co.uk/

Any idea how I can get the banner to move up a bit, so that it's centered?
No worries! Open your header template, find:

Code:
<td>
        &nbsp; (or it may be $header_advertisement now, I guess)
</td>
Replace with:
Code:
<td style="vertical-align:middle">
        &nbsp;
</td>
If you can't find the code you're supposed to find, you just have to add style="vertical-align:middle" to the <td> which holds the advertisement, whichever that may be.

Edit: And remove all those keywords from the bottom of your front page, Google will flay you alive for that! Sites have been banned for less.


Quote:
Originally Posted by mightyb View Post
Im a bit concerned about security issue. I want to allow my members to display their own adcode. How can i make sure they only use adsense, clicksor or any other trusted code rather than something malicious. Thanks a lot!
When creating a custom field, vBulletin provides an option called RegEx which you can apply to that field. Regex is an extremely powerful and extremely complicated, alas, way of limiting what is added to that field. So powerful that you can specify what characters are allowed, how many, in what order...more or less anything to be as limiting as you like. The more specific you are, the more secure you will be and it goes without saying don't use the allow HTML option.

If you can post examples of what code you would like people to be able to post, when I get a minute I'll see if I can come up with a RegEx code for you. Adsense is comparatively easy, others might not be.
Reply With Quote
  #1349  
Old 07-28-2007, 06:48 PM
Tiberonmagnus Tiberonmagnus is offline
 
Join Date: Jan 2003
Posts: 39
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I hope someone can help me solve this issue. I'm getting

Code:
Warning: explode() [function.explode]: Empty delimiter. in /includes/vb_ad_management/postbit_display_start.php on line 72
Each time I try viewing a thread from the front page (using vbadvanced) and also while inside the forum. It appears to give me a warning message for each post. My site is at www.sitefaust.com. If someone can give me a hand that would be great. It's probably something really simple too, I'm just not seeing it.



Edit: It appears to only do it when I enable "Display advertisement after first post on a page?". Hmmmm


Edit2: Ok, I fixed it.. I was just missing a "," lol
Reply With Quote
  #1350  
Old 07-28-2007, 11:01 PM
mightyb mightyb is offline
 
Join Date: Dec 2005
Posts: 36
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by RedTyger View Post
When creating a custom field, vBulletin provides an option called RegEx which you can apply to that field. Regex is an extremely powerful and extremely complicated, alas, way of limiting what is added to that field. So powerful that you can specify what characters are allowed, how many, in what order...more or less anything to be as limiting as you like. The more specific you are, the more secure you will be and it goes without saying don't use the allow HTML option.

If you can post examples of what code you would like people to be able to post, when I get a minute I'll see if I can come up with a RegEx code for you. Adsense is comparatively easy, others might not be.
I just had a look at a few codes and they look quite complected. Partly because you can not determine what format these are in by looking at the code as it looks to be dynamic. I don't quite fancy my members using huge banners etc...

Can i just have it accept adsense and 368x60 banners with affiliate links and nothing else? Thanks a lot!


-edit-

I tried installing this and i get a blank code for #shared#. Everything seems to work fine but when put #shared# in my ad code all i get is: Forum sponsors:

The rest is blank I will give it another try tomorrow morning.
Reply With Quote
  #1351  
Old 07-29-2007, 08:17 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 mightyb View Post
I just had a look at a few codes and they look quite complected. Partly because you can not determine what format these are in by looking at the code as it looks to be dynamic. I don't quite fancy my members using huge banners etc...

Can i just have it accept adsense and 368x60 banners with affiliate links and nothing else? Thanks a lot!
You can never determine how big an image will be, but you can put height="368" width="60" in your image code to force anything they put to be that size. As I said, anything is possible but that would be a super-complicated regex if you wanted either/or and it's not something I have time to work out at the moment I'm afraid.

The Adsense alone regular expression is quite simple (based on my own adsense id, you may need to adjust it), use this:
^ca-pub-[0-9]{16}$

That says the custom field must be ca-pub- then sixteen numbers between 0 and 9. No more, no less. Change {16} to {15-17} to allow 15 to 17 numbers, and so on.
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 02:00 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.05844 seconds
  • Memory Usage 2,339KB
  • 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
  • (4)bbcode_code
  • (8)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
  • (6)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