Code: Select all
'INTERESTS' => $data['interests'],
Code: Select all
'S_USER_NO_UCP_WEBSITE' =>($user->data['user_posts'] > 25) ? true : false,
Code: Select all
<dl>
<dt><label for="website">{L_WEBSITE}:</label></dt>
<dd><input type="text" name="website" id="website" maxlength="255" value="{WEBSITE}" class="inputbox" /></dd>
</dl>
Code: Select all
<!-- IF S_USER_NO_UCP_WEBSITE -->
<dl>
<dt><label for="website">{L_WEBSITE}:</label></dt>
<dd><input type="text" name="website" id="website" maxlength="255" value="{WEBSITE}" class="inputbox" /></dd>
</dl>
<!-- ENDIF -->
What exactly do you want? I have tested the code above at localhost,barryoneoff wrote:Sorry, the very last try over the weekend. Anyone?
Well according to how the mod reads, if the user has already inputted a web address but has less than 25 posts, then the web address will still show in viewtopic and viewing the uses profile...the input box will not show in the users control panel. So the website entries would have to be purged from the database easiest way would be to run a query on the database to do this, egMixstar wrote:Rich,
If the user has ALREADY added his web address pre-mod would it show?
Code: Select all
UPDATE phpbb_users SET user_website = ' ' WHERE user_posts < 25;