The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Welcome Message help
What I'm trying to do is set this up so if a user hasnt posted in a number of days it will show a message from the welcome_postmoreoften phrase list but am having problems getting this to work.
I put this in the FORUMHOME template and I have tried everything I can think of but just can not get this to work. Can any one help please? <if condition="$headerstime - 1209600 > $bbuserinfo[lastpost]"> <!-- never posted message --> <br /> <table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center"> <thead> <tr> <td class="alt1" colspan="6"> <phrase 1="$bbuserinfo[username]">$vbphrase[welcome_postmoreoften]</phrase> </td> </tr> </thead> </table> <!-- / never posted message --> |
#2
|
|||
|
|||
<if condition="$headerstime - 1209600 > $bbuserinfo[lastpost]">
Just of the top of my head... <if condition="($headerstime - 1209600) > $bbuserinfo[lastpost]"> |
#3
|
|||
|
|||
Quote:
Thanks Jolten, but I found out what I was doing wrong. I forgot to modify the phpinclude_start template to include the code $headerstime = time(); |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|