The Arcive of vBulletin Modifications Site. |
|
Hide Banned User's Home Page Details »»
|
|||||||||||||||||||||||||
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>
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>
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>
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>
Find: Code:
<if condition="$show['homepage']"> 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 /> Code:
1="$userinfo[username]">$vbphrase[send_private_message_to_x]</phrase></a>
</td>
</tr>
</if>
Code:
</if> The same as before. Re release and use as you wish across any forum you wish with credit. Screenshots: See attached Show Your Support
|
|||||||||||||||||||||||||
| Comments |
|
#2
|
|||
|
|||
|
You should to use $bbuserinfo in MEMBERINFO, not $post.
|
|
#3
|
||||
|
||||
|
This doesnt seem to be working for me... maybe you could specify the code to delete in postbit and postbit_legacy ???
|
|
#4
|
||||
|
||||
|
Ah, okay then.
In Postbit: Replace: 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>
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>
Replace: 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>
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>
|
|
#5
|
||||
|
||||
|
Gave more information on how to install this template edit.
|
|
#6
|
||||
|
||||
|
Thanks, works great now
|
|
#7
|
||||
|
||||
|
Quite useful. Thank you!
|
![]() |
|
|
| X vBulletin 3.8.12 by vBS Debug Information | |
|---|---|
|
|
More Information |
|
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|