Back to vBulletin 3.6 Template Modifications

Hide Banned User's Home Page
Mod Version: 1.00, by cheat-master30

This modification is in the archives.
vB Version: 3.6.8 Rating: (0 vote - 0 average) Installs: 4
Released: 22 Oct 2007 Last Update: Never Downloads: 3
Not Supported Template Edits Re-usable Code Translations  

This removes their home page from topics and also their homepage, email and PM link from their profile if the member is banned. You can likely also use a version to remove ALL contact info for banned users.

Advantages:

1. Keeps privacy for banned users, stops their enemies from annoying them and also removes need to request privacy by them.

2. Allows mods to take user home pages out of the public forum when a spammer gets banned before an admin can reach the Admin CP.

3. Can be used to your advantage to advertise sites of yourself or friends as well as to put advertisements. Cruel but a way to find new resources.

4. Can be used to put something funny in that position...

How to add:

In Postbit find:

Code:
 <if condition="$show['homepage']">
        <tr><td class="vbmenu_option"><a href="$post[homepage]"><phrase 1="$post[username]">$vbphrase[visit_xs_homepage]</phrase></a></td></tr>
    </if>
Replace with:

Code:
<if condition="$show['homepage']">
<if condition="is_member_of($post, 8)">
<tr><td class="vbmenu_option">Home Page Removed</td></tr>
<else />
        <tr><td class="vbmenu_option"><a href="$post[homepage]"><phrase 1="$post[username]">$vbphrase[visit_xs_homepage]</phrase></a></td></tr>
    </if>
</if>
In Postbit Legacy find:

Code:
 <if condition="$show['homepage']">
        <tr><td class="vbmenu_option"><a href="$post[homepage]"><phrase 1="$post[username]">$vbphrase[visit_xs_homepage]</phrase></a></td></tr>
    </if>
Replace with:

Code:
<if condition="$show['homepage']">
<if condition="is_member_of($post, 8)">
<tr><td class="vbmenu_option">Home Page Removed</td></tr>
<else />
        <tr><td class="vbmenu_option"><a href="$post[homepage]"><phrase 1="$post[username]">$vbphrase[visit_xs_homepage]</phrase></a></td></tr>
    </if>
</if>
MEMBERINFO

Find:

Code:
<if condition="$show['homepage']">
Add above:
Code:
<if condition="is_member_of($post, 8)">
<strong>Member Information Removed</strong>
<p>Member has been banned, therefore home page and email has been removed from public view.</p>
<else />
Find:

Code:
1="$userinfo[username]">$vbphrase[send_private_message_to_x]</phrase></a>
                    </td>
                </tr>
                </if>
Add below:

Code:
</if>
Terms

The same as before. Re release and use as you wish across any forum you wish with credit.

Screenshots:

See attached

Download

No files for download.

Screenshots

Click image for larger version
Name:	contactinforemoved.PNG
Views:	131
Size:	3.0 KB
ID:	71364   Click image for larger version
Name:	homepageremoved.PNG
Views:	154
Size:	10.8 KB
ID:	71365  


vblts.ru supports vBulletin®, 2022-2024