The vB Geek

Go Back   The vB Geek > vB Geek Products > Geek Advertising Banner System

Geek Advertising Banner System GAB is a highly configurable banner management system for vBulletin.

Advertisement
  Learn how to remove ads

Reply
 
Thread Tools Display Modes
  #11  
Old 07-16-2008, 02:40 PM
Morgan's Avatar
Morgan Morgan is offline
Administrator
 
Join Date: Jul 2006
Posts: 2,255
Geek Article and Review System License Holder GeekMart License Holder Geek Auto-Linker Pro License Holder Geek Advertising Banner License Holder Geek Gazette License Holder 
Default

Try $bbuserinfo[userid] instead of $show[member] in the template conditional.
__________________
Please use the forums for support, feature requests, and similar such things. Support does not include custom code, custom template edits, or third-party modifications. PMs and emails to me should be for private information only, such as login information. If you PM or email me a support question, chances are good that I'll ignore it. Thanks.
While the work or play is on, it is a lot of fun if while you are doing one you don't constantly feel that you ought to be doing the other. -- Franklin Pierce Adams
Reply With Quote
  #12  
Old 07-16-2008, 09:01 PM
smooth-c smooth-c is offline
Junior Member
 
Join Date: Jun 2008
Posts: 10
Geek Advertising Banner License Holder 
Default

Do I replace [userid] with something like [2] ?

Thanks
Reply With Quote
  #13  
Old 07-16-2008, 09:16 PM
Morgan's Avatar
Morgan Morgan is offline
Administrator
 
Join Date: Jul 2006
Posts: 2,255
Geek Article and Review System License Holder GeekMart License Holder Geek Auto-Linker Pro License Holder Geek Advertising Banner License Holder Geek Gazette License Holder 
Default

Nope, just use what is written in the post.
__________________
Please use the forums for support, feature requests, and similar such things. Support does not include custom code, custom template edits, or third-party modifications. PMs and emails to me should be for private information only, such as login information. If you PM or email me a support question, chances are good that I'll ignore it. Thanks.
While the work or play is on, it is a lot of fun if while you are doing one you don't constantly feel that you ought to be doing the other. -- Franklin Pierce Adams
Reply With Quote
  #14  
Old 07-16-2008, 09:28 PM
smooth-c smooth-c is offline
Junior Member
 
Join Date: Jun 2008
Posts: 10
Geek Advertising Banner License Holder 
Default

Okay, that works! Thank you!

All the best,

Greg
Reply With Quote
  #15  
Old 07-16-2008, 09:49 PM
smooth-c smooth-c is offline
Junior Member
 
Join Date: Jun 2008
Posts: 10
Geek Advertising Banner License Holder 
Default

One more thing, sorry - Can I define showing ads for certain usergroups?

For instance, i'd like to show 3 ads for guests/not logged in and 2 for regular members.

How would I achieve this?
Reply With Quote
  #16  
Old 07-17-2008, 02:33 PM
Morgan's Avatar
Morgan Morgan is offline
Administrator
 
Join Date: Jul 2006
Posts: 2,255
Geek Article and Review System License Holder GeekMart License Holder Geek Auto-Linker Pro License Holder Geek Advertising Banner License Holder Geek Gazette License Holder 
Default

No, the permissions at ACP -> GAB -> Settings are what is available, though untested, you might try using another template conditional where you place the $GAB_ads[X] variables:
Code:
<!-- 1, 2, 3 are usergroup IDs -->
<if condition="is_member_of($bbuserinfo, 1, 2, 3)">
	$GAB_ads[0]
<else />
	$GAB_ads[1]
</if>
__________________
Please use the forums for support, feature requests, and similar such things. Support does not include custom code, custom template edits, or third-party modifications. PMs and emails to me should be for private information only, such as login information. If you PM or email me a support question, chances are good that I'll ignore it. Thanks.
While the work or play is on, it is a lot of fun if while you are doing one you don't constantly feel that you ought to be doing the other. -- Franklin Pierce Adams
Reply With Quote
  #17  
Old 07-17-2008, 07:25 PM
smooth-c smooth-c is offline
Junior Member
 
Join Date: Jun 2008
Posts: 10
Geek Advertising Banner License Holder 
Default

Hey thank you soo soo much!

That works fine, and if anyone would like to define if they show an add to what usergroups or not, simply just use the top part of the code;

Code:
<!-- 1, 2, 3 are usergroup IDs -->
<if condition="is_member_of($bbuserinfo, 1, 2, 3)">
	$GAB_ads[0]
</if>
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Strange Bug ( Maybe ) Lizard King Geek Auto-Linker 5 11-10-2007 07:49 PM
more strange stuff indie Geek Article and Review System 2 03-13-2007 09:08 AM
Strange errors albn99 Geek Article and Review System 1 12-17-2006 08:52 PM
Here is a strange one Spikeman Geek Article and Review System 1 11-29-2006 09:06 PM
Strange Bug Lizard King Geek Auto-Linker 2 12-01-2005 01:54 PM


All times are GMT. The time now is 05:28 PM.


Powered by vBulletin® Version 3.8.5
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.