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)

dendrob 05-01-2007 08:01 PM

I have a photopost gallery installed and I have some google ads there. I also offer paid subscriptions, where if you pay and support the forum you don't get google ads. Problem is that the ads still show up in the photopost. Is it possible to have it where paid members don't see the ads in photopost? I could really use that functionality, so any help would be greatly appreciated

RedTyger 05-01-2007 08:42 PM

You can exclude those paid-for Usergroups in Global Settings, yes. That will affect all adverts displayed anywhere.

Collectors 05-02-2007 09:53 AM

Quote:

Originally Posted by RedTyger (Post 1239097)


In global_start.php

FIND:
text-align:....

Thanks! :up:

dendrob 05-02-2007 01:30 PM

Quote:

Originally Posted by RedTyger (Post 1239227)
You can exclude those paid-for Usergroups in Global Settings, yes. That will affect all adverts displayed anywhere.


I guess I need to specify the custom ad code, say.. $photopost_adcode and insert it into the photopost template, right?

btw, will I need to edit all the files and create a new custom ad code again after an upgrade to a later version of the mod?

RedTyger 05-02-2007 01:33 PM

Quote:

Originally Posted by dendrob (Post 1239720)
I guess I need to specify the custom ad code, say.. $photopost_adcode and insert it into the photopost template, right?

btw, will I need to edit all the files and create a new custom ad code again after an upgrade to a later version of the mod?


1) No, but if you should use $GLOBALS['thissection_adcode'] for areas external to the vBulletin forum. This works fine for vB Advanced I assume it would be the same for Photopost.

2) You will, yes.

RedTyger 05-02-2007 01:41 PM

The Librarian, files are attached. Untested, but it should work.

Jaiixx 05-02-2007 04:10 PM

Is there a way to only allow a certain user group to enter there sponsor code.

i,e only allow moderators to input there code and to all other groups hide the input field or disallow them to input their code somehow.

thanks in advance,

RedTyger 05-02-2007 04:29 PM

I'll look into that, I do not know of any way to restrict custom profile fields by usergroup. But you can restrict adsharing by usergroup which has the same result. It just means they'll be able to enter a number even if it doesn't work.

Jaiixx 05-02-2007 04:32 PM

Okay thanks for your quick reply, i'll give it a shot. See I was under the impression restricting the adsharing by group just stopped those usergroups from seeing the ads not actually stopping them from having their code displayed. correct me if i am wrong, and if i am im sure i can make a work around for it based on this.

thanks,

RedTyger 05-02-2007 04:34 PM

There are two usergroup restrictions available. The first restricts usergroups from seeing ads entirely. The second restricts usergroups from participating in adcode sharing meaning their personal code will not be used, but they will still see ads and still see ads from users who are allowed to share adcode.


All times are GMT. The time now is 10:55 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.07861 seconds
  • Memory Usage 1,737KB
  • 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