vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=113)
-   -   Usergroup Specific Adverts (https://vborg.vbsupport.ru/showthread.php?t=83081)

Chris M 07-13-2005 09:10 PM

Just add the $advert variable multiple times ;)

Or duplicate the plugin code, changing the template name and variable ;)

@Gio - You can add it anywhere within those 3 templates ;)

Satan

Gio 07-13-2005 09:19 PM

Installed it works great also. Can I do the same thing by adding the phpadsnew code to the plugin code area?

Chris M 07-13-2005 11:56 PM

Quote:

Originally Posted by Gio
Installed it works great also. Can I do the same thing by adding the phpadsnew code to the plugin code area?

Without ever having used PhpAdsNew, I cannot comment as to whether it would or would not work :ermm:

My intial response is that it is unlikely :speechless:

Satan

TrentTech 07-15-2005 01:09 PM

Nice job on the hack satan, now my VIP members won't have to see ads!

Chris M 07-15-2005 01:18 PM

Thank you :)

I'm sure they'll be glad of that;)

Satan

Holidazed 07-15-2005 09:00 PM

OK, I understand I just need to ad the advert cde to the template I want the advert in. Is there a way to make it show a different advert each time the advert code is dsplayed?

Chris M 07-15-2005 09:18 PM

Quote:

Originally Posted by bitg
OK, I understand I just need to ad the advert cde to the template I want the advert in. Is there a way to make it show a different advert each time the advert code is dsplayed?

I'll release a rotational version at some point soon :)

Other than that, the only way is to have a rotational banner code:p

Satan

shiva 07-16-2005 07:21 AM

very nice, had a problem with the usergroups, but after rereading managed to get it to work perfectly.

Been something I have been looking for for quite a while, so thanks again.

Chris M 07-16-2005 01:28 PM

You're welcome shiva :)

Satan

Chris M 07-26-2005 11:24 PM

[high]Update[/high]
RC1: Update to confirm that this plugin works with vBulletin 3.5.0 RC 1:)

Satan


All times are GMT. The time now is 09:48 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.01025 seconds
  • Memory Usage 1,729KB
  • 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_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (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