The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
IF Conditions
HTML Code:
<if condition="$post[posts] > 550"> <if condition="$show['customtitleoption']"> <fieldset class="fieldset"> <legend><label for="tb_customtext">$vbphrase[custom_user_title]</label></legend> <table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0" width="100%"> <tr> <td colspan="2">$vbphrase[title_appears_beneath_your_name]</td> </tr> <tr> <td>$vbphrase[your_current_user_title_is]:<br /><strong>$bbuserinfo[usertitle]</strong></td> <td align="$stylevar[right]"><label for="cb_resettitle"><input type="checkbox" name="resettitle" value="yes" id="cb_resettitle" />$vbphrase[reset]</label></td> </tr> <tr> <td>$vbphrase[custom_user_title]:<br /><input type="text" class="bginput" name="customtext" id="tb_customtext" value="" size="50" maxlength="$vboptions[ctMaxChars]" /></td> </tr> </table> </fieldset> </if> </if> It's in the Profile settings for the custom user title. |
#2
|
|||
|
|||
found this; <if condition="$bbuserinfo['posts']>550"> without the space it works
|
#3
|
||||
|
||||
Just to let you know:
This will NOT stop your members with less then 550 posts to have custom titles, it will just hide the input control. If you want to prevent users with less then 550 posts to not have a custom title you should use usergroup permissions and promitions, eg. create an additional usergroup which gives the right to have a custom title and create a promition so users with > 500 posts will be promoted to this usergroup. |
#4
|
|||
|
|||
Hey, thanks
But, if they can't see it, how will they input a custom title? |
#5
|
||||
|
||||
Easy:
Save the HTML, add the missing fields to the form, fill it out and submit it |
#6
|
|||
|
|||
But how would they do that with no access to the server?
|
#7
|
||||
|
||||
Well ...
|
#8
|
|||
|
|||
Ok .... thanks I made promotions
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|