The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
![]()
I have this piece of code working perfectly fine in vb 3.8
But we recently upgraded to 4.0.3 and this code no longer works Can some one please help me in getting this to work ? This code goes in the header template <vb:if condition="is_member_of($bbuserinfo, 20)"> <br /> <div align="center" style="color: red; background-color: white; border: 1px solid black; padding:2px"> <h1>Your trial Membership has expired.</h1> <h1> You can Upgrade your Trial membership <a href="xxxxxxx">here</a>.</h1> </div> </vb:if> <vb:if condition="is_member_of($bbuserinfo, 2)"> <vb:if condition="$daysleft = (int)(($bbuserinfo[joindate] + 7*86400 - TIMENOW) / 86400)"> <br /> <div align="center" style="color: red; background-color: white; border: 1px solid black; padding:2px"> <h1>Your trial Membership expires in $daysleft days.</h1> <h1> You can Upgrade your Trial membership <a href="XXXXXXXXXXXXXXXX">here</a>.</h1> </div> </vb:if> </vb:if> |
#2
|
||||
|
||||
![]()
this works for me.. maybe you could change it.
Quote:
|
#3
|
|||
|
|||
![]() |
![]() |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|