The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
![]()
I know somehow vBulletin knows when someone subscribes, but what is the conditional I could put in postbit to display something based on whether or not somebody is a subscriber to X subsctiption ID??
Is this possible in a template mod or do I have to hack for it? Thanks. ~007 P.S. I should mention that I am talking about a subscription that doesn't change the usergroup, so conditionals based on usergroup won't help. |
#2
|
||||
|
||||
![]()
I believe the subscription features adds that user to a secondary usergroup. If you didn't want to go that route, im not sure what you would have to do.
|
#3
|
||||
|
||||
![]()
I have made it add a secondary usergroup now. How would I use a secondary usergroup in conditionals?
Is it the same as a normal usergroup conditional? I can't seem to find any examples of a secondary group, so I am wondering if I would just use the normal <if condition="$userinfo['usergroup'] = X"> ?? |
#4
|
||||
|
||||
![]()
I haf the sam eproblem, finally just moved subscribed to be a primamry user group and now it works fine.
|
#5
|
||||
|
||||
![]() Quote:
HTML Code:
<if condition="is_member_of($bbuserinfo, {usergroup ID})"> {do something} <else /> {do something else} </if> |
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|