vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=194)
-   -   Major Additions - vB Ad Management 4 (https://vborg.vbsupport.ru/showthread.php?t=131150)

djbaxter 06-14-2007 01:16 AM

Quote:

Originally Posted by onehost (Post 1268034)
would this ad system show adsense?

Yes. Certainly.

Tourmeister 06-14-2007 02:31 AM

Works great for me. But now I have a question!

I want to have a usergroup called "Advertiser". Users use the VB subscription system to pay a fee and automatically be added to this usergroup. Then, when I add banner images to the list in the Admin control panel Ad Management options, I'd like to be able to associate the entries to the users in the Advertiser usergroup. Thus, at the end of their subscription term, their entry on the list is automatically overlooked and no longer displays.

Example:

When random image selected, check to see if associated user is member of Advertiser usergroup

-- Yes, then display image normally
-- No, then do not display image and repeat random selection

This way, I don't have to be so heavily involved in keeping track of when peoples banners should no longer display or when they should be reactivated if they renew their advertiser status.

Anyone have any ideas?

RedTyger 06-14-2007 11:48 AM

Tourmeister, vBulletin doesn't do promotions automatically based on subscriptions as far as I'm aware. There's certainly no facility for it with this modification, sorry.

Quote:

Originally Posted by djbaxter (Post 1268101)
This latest version of global_start.php fixed the problem for me.

Excellent! At last! Update forthcoming then...

Tourmeister 06-14-2007 03:23 PM

Quote:

Originally Posted by RedTyger (Post 1268333)
Tourmeister, vBulletin doesn't do promotions automatically based on subscriptions as far as I'm aware. There's certainly no facility for it with this modification, sorry.

Sure it does ;) When you create a subscription, there is an option to change the user's usergroup in the upper right corner. When people donate, I put them into a Forum Supporter usergroup (as "Additional member" and not as "Primary"). When their donation term expires, they are automatically removed from the Forum Supporter usergroup. I do the same thing for the Advertisers usergroup. So if there is some way to associate a banner entry on the list in the Ad Management control panel with the user, and then check for their usergroup status... it all becomes automated very nicely!

Yvgeniy 06-15-2007 01:25 AM

I'm still experiencing problems with the vB Ad Management credit at the bottom of the page. You released a small fix for it before to prevent the problem of it recreating itself more than once (meaning, you'd have like 3 in a row at the bottom there), however, the fix doesn't really prevent it from continuing to multiply. Basically, what I have to do is rewrite the XML file every once in a while when I notice that it starts making copies of itself again. Could you release another fix to prevent the process entirely, or have you already done that and I somehow missed it? Let me know.

djbaxter 06-15-2007 02:07 AM

Quote:

Originally Posted by Yvgeniy (Post 1268735)
I'm still experiencing problems with the vB Ad Management credit at the bottom of the page. You released a small fix for it before to prevent the problem of it recreating itself more than once (meaning, you'd have like 3 in a row at the bottom there), however, the fix doesn't really prevent it from continuing to multiply. Basically, what I have to do is rewrite the XML file every once in a while when I notice that it starts making copies of itself again. Could you release another fix to prevent the process entirely, or have you already done that and I somehow missed it? Let me know.

Which fix was that?

The first "fix" did not work. A couple of days later, the author released a second fix which did the job.

Scan backwards in this thread or use the version attached below (upload it to \includes\vb_ad_management\global_start.php).

The latest file should probably be added to the downloads post in this thread, to avoid confusion.

TrIn@dOr 06-15-2007 12:27 PM

Ok, upgraded from 3.04 to 3.13, all ok but this:

Quote:

Find   in your header template and replace it with $header_advertisement.
I don?t have that code in that template.

vB 3.6.7 PL1

djbaxter 06-15-2007 12:43 PM

Quote:

Originally Posted by TrIn@dOr (Post 1268994)
Ok, upgraded from 3.04 to 3.13, all ok but this:

I don?t have that code in that template.

vB 3.6.7 PL1

Just place the tag $header_advertisement wherever you want the ad to appear.

TrIn@dOr 06-15-2007 01:10 PM

Quote:

Originally Posted by djbaxter (Post 1268999)
Just place the tag $header_advertisement wherever you want the ad to appear.

like down $_phpinclude_output ?

djbaxter 06-15-2007 01:16 PM

Sure, if you like. Experiment. Move it around until it's where you want it to be.


All times are GMT. The time now is 11:35 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.02517 seconds
  • Memory Usage 1,746KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (7)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (6)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete