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)

giorgioarmani 01-04-2007 02:39 PM

Im using Google Adsense

RedTyger 01-04-2007 03:07 PM

Try something like a simple image instead, does that show up?

giorgioarmani 01-04-2007 04:24 PM

No images either....

This is what Ive got:

Static advertisement code (put Google Adsense code here)

Ooops.. I cant believe it.. I just got to:

Display advertisements with posts?
Choose Yes to have advertisements display with posts.

And realised it was on no :surprised:

Sorry to bother you for nothing, RedTyger

sgrynd 01-04-2007 09:23 PM

Question for a possible future release:
Would it be possible to make it so you could specify ads per group? For example, I would want my unregistered users to see header/footer and posbit ads, and just regular users see the header ads.

This is a great mod, thanks for all the work!

RedTyger 01-04-2007 09:28 PM

Quote:

Originally Posted by sgrynd (Post 1150911)
Question for a possible future release:
Would it be possible to make it so you could specify ads per group? For example, I would want my unregistered users to see header/footer and posbit ads, and just regular users see the header ads.

This is a great mod, thanks for all the work!

That's the reason all the ads are templated, so people can make further customisations if they need to. It was made with that in mind. :)

Surround the contents of the templates you want to alter with a conditional. Put this at the top of each template you want to alter:

Code:

<if condition="is_member_of($bbuserinfo, 1,2,3)">
And this at the bottom:

Code:

</if>
Replace 1,2,3 with the Usergroup IDs of the ones you want to see the advert, or put an ! between the " and is_member_of to change it to the usergroups you don't want to see the advert.

sgrynd 01-04-2007 09:44 PM

perfect! thank you sooo much!

triphp 01-05-2007 06:41 AM

Quote:

Originally Posted by RedTyger (Post 1146862)
I ran into a problem or two doing it. But I've done most of it so I assume it'll be included whenever the next update is.

No estimates, done when it's done. :)

Thanks for it. Can't wait to see it :)

Mecho 01-05-2007 03:00 PM

i dunno why but Forumbit ads doesnt show up in default style . any idea plz ?

p.s. i edited all templates , and i set id no. of forum !

RedTyger 01-05-2007 03:20 PM

Quote:

Originally Posted by Mecho (Post 1151367)
i dunno why but Forumbit ads doesnt show up in default style . any idea plz ?

p.s. i edited all templates , and i set id no. of forum !

Quote:

Originally Posted by RedTyger (Post 1147975)
Sorry, I will not give support to piracy or warez sites.

....

Mecho 01-05-2007 04:23 PM

Ok , np

thanks anyway for ur great mod .


All times are GMT. The time now is 10:01 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.04988 seconds
  • Memory Usage 1,740KB
  • 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
  • (2)bbcode_code_printable
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (4)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