vBulletin Tutorials

Removing HomePage from usersinfo

Submitted by JMPRockFm, , Thread ID: 4604

Thread Closed
JMPRockFm
Suh Dude
Level:
0
Reputation:
13
Posts:
147
Likes:
4
Credits:
24
08-06-2015, 03:50 AM
#1
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.

Users browsing this thread: 1 Guest(s)