Removing HomePage from usersinfo

by JMPRockFm - 08-06-2015, 02:50 AM
Suh Dude
Posts:
154
Joined:
Jun 2015
Likes:
3
Credits:
20
Reputation:
13
2 Years of Service
#1
OP
Posted: 08-06-2015, 02:50 AM
Hello Everyone, this has helped me stop spam in away and stop people from advertising  on there userinfo I have to give a credit to MarkFL on Vbulletin for helping me and I thought it might help some of you guys who want to know how to do this no downloads or plugins  required!

Let's start by going to
1.) "memberinfo_block_statistics"

Locate the code:
Code:
<vb:if condition="$prepared['homepage']">
<dl class="blockrow stats">
<dt>{vb:rawphrase home_page}</dt>
<dd> <a href="{vb:raw prepared.homepage}" target="_blank">{vb:raw prepared.homepage}</a></dd>
</dl>
</vb:if>

Either delete this code, or better yet, I recommend wrapping it in <vb:comment>...code here...</vb:comment> tags so that if you change your mind in the future, all you would need to do is remove the comment tags.

2.) "modifyprofile"

Locate the code:

Code:
<div class="blockrow">
<label for="tb_homepage">{vb:rawphrase home_page_url}:</label>
<input type="text" class="primary textbox" name="homepage" id="tb_homepage" value="{vb:raw bbuserinfo.homepage}" maxlength="200" dir="ltr" tabindex="1" />
<p class="description">
{vb:rawphrase let_other_visitors_know_url}
</p>
</div>

And either delete or comment out.

These 2 edits will prevent URLs already entered by users on their profiles from displaying and will prevent any new URLs from being entered.
The last reply on this thread is older than a month. Please do not unnecessarily bump it.
Register an account or login to reply
Create an account
Create a free account today and start posting right away. It only takes a few seconds.
Login
Log into an existing account.
1 Guest(s)