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)

subzonline 03-16-2007 06:48 PM

great mod, have used this mod for a couple of months now,

simple mod to install

yet on version 3 i seem to get 3 adverts in the header and 3 adverts in the footer

is there anyway to change this?


here is what i mean

www.basslineuk.com/forum

valdet 03-16-2007 06:56 PM

RedTyger this is a great add-on. however can we also have the option to select which usergroups can be served ads within posts,PM's and announcements.

I am suggesting to kind of move/migrate this Usergroup ads showing permissions from Global Settings into each of these particular settings (header&footer, threadbit&forumbit. posts,PM's&announcements,left&right,)

Maybe this is too much work , but just throwing an idea. :)

Thanks

RedTyger 03-16-2007 09:10 PM

You can do this yourself by using template conditions in the xbit_advertisement templates. Surround the contents of the template with:

<if condition="is_member_of($bbuserinfo, 1,2,3,4,5)">
Contents of template
</if>

Just change the numbers to the usergroups you want to deal with. Any template conditional may be used in the _advertisement templates.

milsirhc 03-17-2007 05:56 AM

hi,

is there anyway I can add an adsense sharing advertisement within a user first post?

Ie: in the postbit (left colum: user profile, center column: post content, right column: adsense)

Is there a way to implement this? I tried putting a adsense code with #shared# directly but it did not work.

subzonline 03-17-2007 09:56 AM

RedTyger have you seen my post about multiple banners being shown in header and footer?

RedTyger 03-17-2007 10:36 AM

Quote:

Originally Posted by subzonline (Post 1205497)
RedTyger have you seen my post about multiple banners being shown in header and footer?

Your adcode is wrong. Certainly you're separating it with the wrong character (currently a ,) when you should be using the custom delimiter (Global settings) to separate ALL settings and adcode.

Quote:

Originally Posted by milsirhc (Post 1205415)
hi,

is there anyway I can add an adsense sharing advertisement within a user first post?

Ie: in the postbit (left colum: user profile, center column: post content, right column: adsense)

Is there a way to implement this? I tried putting a adsense code with #shared# directly but it did not work.

Try moving $postbit_advertisement in the postbit template to immediately below the post (called $post[message] or something like that I suppose). You will also have to adjust the postbit_advertisement template to suit yourself. Don't know how well it will work, not tried.

subzonline 03-17-2007 11:12 AM

thanks for the help, managed to get the banners to appear correctly

kingele18 03-18-2007 07:29 AM

greaaaaaaat

milsirhc 03-18-2007 08:53 AM

Quote:

Originally Posted by RedTyger (Post 1205516)
Your adcode is wrong. Certainly you're separating it with the wrong character (currently a ,) when you should be using the custom delimiter (Global settings) to separate ALL settings and adcode.

Try moving $postbit_advertisement in the postbit template to immediately below the post (called $post[message] or something like that I suppose). You will also have to adjust the postbit_advertisement template to suit yourself. Don't know how well it will work, not tried.

Thanks RedTyger,

I tried and it work but i have difficulty creating a right side section within the post itself..

I want to right side where it's similar to http://forum.hardwarezone.com/showth...6#post22837686 rig spect section.

Does anyone here knows how to do it? Pleeeease guide me!

milsirhc 03-18-2007 10:32 AM

Fixed it.

Thanks!

I notice something.. not sure if it's a bug.

I put 100% (enter as "100") chance for the thread starter adsense to appear but if I logged out.. and come in as guest. I will still see the admin adsense ID only.

But if i logged in, I will see the thread starter adsense 100% of the time.

Do you know why?


All times are GMT. The time now is 04:59 PM.

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.08954 seconds
  • Memory Usage 1,745KB
  • 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
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (5)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