The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
Conditionas and stuff
Currently I have this:
Code:
<if condition="$show['guest']"> <!-- guest welcome message --> <table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center"> <thead> <tr> <td class="alt1" colspan="6"><font class="sf"> Welcome to <b>Invoid Forums</b>, a place to talk or discuss any topic you can think of. With thousands of members and posts, you'll always have something to do!<br /><br /> You are currently viewing our boards as a guest which gives you limited access to view most discussions, photo galleries and other site areas. By joining our <b>free</b> community you will have access to post topics, communicate privately with others (PM), respond to polls, upload your own photo gallery and access many other special features. Registration is fast, simple and absolutely free so please, <a href="register.php?"><b>join our community today</b></a>!<br /><br /> If you have any problems with the registration process or your account login, please <a href="sendmessage.php">contact support</a>.</font> </td> </tr> </thead> </table><br /> <!-- / guest welcome message --> <else /> <if condition="is_member_of($bbuserinfo, 3)"> <!-- / unconfirmed user message --> <table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center"> <thead> <tr> <td class="alt1" colspan="6"><font class="sf"> Hello <b>$bbuserinfo[username]</b>,<br /><br /> Your account is awaiting email confirmation. Please click the activation link in the email you were sent, or visit <a href="register.php?$session[sessionurl]do=requestemail"><b>this page</b></a> to resend the activation email. If you did not receive the email then it's possible it was blocked by your email client. In this case you can either disable your blocker software or enter a new email address in <a href="profile.php?$session[sessionurl]do=editpassword">your profile</a>.</font> </td> </tr> </thead> </table><br /> <!-- / unconfirmed user message --> <else /> <if condition="$bbuserinfo[posts]<1"> <!-- never posted message --> <table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center"> <thead> <tr> <td class="alt1" colspan="6"><font class="sf"> Hello <b>$bbuserinfo[username]</b>,<br /><br /> Our records indicate that you have never posted to our site before! Why not make your first post today by saying hello to our community in our <a href="forumdisplay.php?f=46"><b>Introduction</b></a> forum (Shinra Inn).<br /><br /> To access file attachments and public user groups you will need to make at least 1 post; to setup a custom avatar and profile picture you will need to make 25 posts. Why not start with your first post today and become an active part of our great community?</font> </td> </tr> </thead> </table><br /> <!-- / never posted message --> <else /> <if condition="$headerstime - 1209600 > $bbuserinfo[lastpost]"> <!-- never posted message --> <table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center"> <thead> <tr> <td class="alt1" colspan="6"><font class="sf"> Hello <b>$bbuserinfo[username]</b>,<br /><br /> Its been a few days since you made your last post. If you can't find a topic to participate in, feel free to create a new thread! We have several forums and sub-forums that should cover most of the topics you can think of, but if you can't find the right one, just post it in the <a href="forumdisplay.php?f=3"><b>Random Discussion</b></a> forum.</font> </td> </tr> </thead> </table><br /> <!-- / never posted message --> </if> </if> </if> </if> My question is what condition do I have to set to show a message to normal members? Should I just make it show the message to people with over X posts? |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|