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
  #792  
Old 04-01-2007, 10:03 AM
andmcgr andmcgr is offline
 
Join Date: Mar 2007
Posts: 10
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Where do I put my adsense code?
Reply With Quote
  #793  
Old 04-01-2007, 11:18 AM
RedTyger's Avatar
RedTyger RedTyger is offline
 
Join Date: Nov 2006
Location: UK
Posts: 1,310
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

AdminCP > vBulletin Options > vBulletin Options > vB Ad Management (Pick a section) and paste it into the static adcode box.
Reply With Quote
  #794  
Old 04-02-2007, 04:24 AM
BrettMo BrettMo is offline
 
Join Date: Feb 2007
Posts: 33
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I finally found the theme between the links that are failing. I Have been getting quite a few of these errors again.

http://
www.
russophile
.com/russia_news_feeds/390-yahoo_russia_denies_offering_host_joint_missile_sh ield_reuters-post408.html
.com/russia_blog/6-reasons_study_russian-post8.html
.com/study_russian/151-catalog_russian_programs_united_states-post168.html
com/other_russia_blogs/406-very_russian_tochka_hundredth_post-post423.html

So the common theme seems to be that they point to a particular post. Sometimes if I hit refresh the page will appear and other times it will error again.

I hope that this helps...

When you take a minute to look at those, could you do it in firefox and see if the ads show up for you? I think that I have a problem with my Firefox, but I don't have another PC to check it on.

Here is my code for the header ad:

<script type="text/javascript"><!--
google_ad_client = "#shared#";
google_ad_width = 234;
google_ad_height = 60;
google_ad_format = "234x60_as";
google_ad_type = "text";
//2007-03-28: russ_header
google_ad_channel = "number";
google_color_border = "869BBF";
google_color_bg = "FFFFFF";
google_color_link = "FF3300";
google_color_text = "000099";
google_color_url = "000099";
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>

I replaced a long number with the word number above because I was not sure if this number is unique to me or not.
Reply With Quote
  #795  
Old 04-02-2007, 12:12 PM
milsirhc's Avatar
milsirhc milsirhc is offline
 
Join Date: Jan 2007
Posts: 206
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I think I found another bug Redtyger!

Not sure if i'm the only one having the problem.. but if you try going to a user profile page and click on his last post, you will encounter a SQL error (randomly). I tried 5 times and it hit me.

The reason why I believe this is the plugin that causing it (i could be wrong) is that I disabled all my plugins and enable them one by one and I got the error when i enabled the ad management plugin.

Hmm. can someone else confirm?

Thanks!

Opps: Edited (Same bug as what Brettmo is having!)
Reply With Quote
  #796  
Old 04-02-2007, 03:13 PM
KipLarson KipLarson is offline
 
Join Date: Jul 2005
Posts: 191
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hey, I don't think you answered my question about premium yearly subscriptions. Is there support for this? i.e. pay to get into the premium usergroup?
Reply With Quote
  #797  
Old 04-02-2007, 04:45 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 milsirhc View Post
I think I found another bug Redtyger!

Not sure if i'm the only one having the problem.. but if you try going to a user profile page and click on his last post, you will encounter a SQL error (randomly). I tried 5 times and it hit me.

The reason why I believe this is the plugin that causing it (i could be wrong) is that I disabled all my plugins and enable them one by one and I got the error when i enabled the ad management plugin.

Hmm. can someone else confirm?

Thanks!

Opps: Edited (Same bug as what Brettmo is having!)
I'm 99% certain now that it's vBSEO that is causing these problems. Not a problem with their software, but I'm guessing that it alters thread and post details enough to cause an error in my modification, which uses the default details.

I don't mind implementing a workaround for vBSEO users if it's not too arduous, but it might be a bit tricky to deal with, since I have no testing copy of vBSEO and I can't look at their code to help with fixes anyway because they encrypt it all.

If either of you is able to get support from vBSEO, you could ask on my behalf and see if they can tell you what the problem is. Just tell them that you're trying to pull details from the database using:

Code:
SELECT post.userid, userfield.field7, user.usergroupid
FROM post AS post, userfield AS userfield, user AS user
WHERE threadid = 
AND userfield.userid = post.userid
AND user.userid = post.userid
ORDER BY post.dateline DESC
LIMIT 1;
and as you can see the threadid is not being used, it's blank. It works correctly on a non-vBSEO forum.

Oh and don't forget to post here if you've asked them so they don't get lots of enquiries. I guess if it's not vBSEO that's the problem I'll soon know about it.


Quote:
Originally Posted by KipLarson View Post
Hey, I don't think you answered my question about premium yearly subscriptions. Is there support for this? i.e. pay to get into the premium usergroup?
Yes, just use the default vBulletin Usergroups and the vB Ad Management Usergroup settings. You can restrict access by Usergroup very easily.
Reply With Quote
  #798  
Old 04-02-2007, 04:53 PM
karel1985 karel1985 is offline
 
Join Date: Mar 2007
Location: Belgium
Posts: 101
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

maybe i looked over it but is there a possibily to use Ad managment block as a block in vbadvanced? exaple in left column?

gtz karel
Reply With Quote
  #799  
Old 04-02-2007, 04:56 PM
RedTyger's Avatar
RedTyger RedTyger is offline
 
Join Date: Nov 2006
Location: UK
Posts: 1,310
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yes, it'll work. Just use, for instance, $GLOBALS['header_advertisement'] instead of $header_advertisement when doing your template edits.
Reply With Quote
  #800  
Old 04-02-2007, 06:18 PM
KipLarson KipLarson is offline
 
Join Date: Jul 2005
Posts: 191
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by RedTyger View Post
Yes, just use the default vBulletin Usergroups and the vB Ad Management Usergroup settings. You can restrict access by Usergroup very easily.
But how do I set it up for them to pay in the first place? Like I want to be able to have my users pay to be premium members which will in turn put them in a usergroup I will set up to show less ads.
Reply With Quote
  #801  
Old 04-02-2007, 06:20 PM
RedTyger's Avatar
RedTyger RedTyger is offline
 
Join Date: Nov 2006
Location: UK
Posts: 1,310
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Oh I see. vBulletin's subscriptions I suppose, I don't know if you can automatically promote someone to a different usergroup if they have a subscription, I've never used it. I assume you can, it would be an odd thing for them to have left out.
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 01:12 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.07298 seconds
  • Memory Usage 2,315KB
  • 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
  • (1)bbcode_code
  • (4)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