Back to vBulletin 3.7 Template Modifications

Hide Instant Messaging Info from Guests and Bots
Mod Version: 1.00, by obmob

This modification is in the archives.
vB Version: 3.7.2 Rating: (1 vote - 5.00 average) Installs: 10
Released: 11 Jul 2008 Last Update: Never Downloads: 1
Not Supported Template Edits  

Well... I recall a fancy way to hide contact info from visitors and bots, Iused to have it installed on my 3.6 styles, but now on vB 3.7 i siimply reverted everything to start overwith the new member templates.

I tried finding a "Can View Member Profile" config in the usergoups, but i can't seem tofind any, that's why I made a simple modification to a template, just to hide the instant messaging from regular visitors, and probably some email catching bots.

If you want to hide this, enter your Style Manager and find this template in the Member Info Templates group

Open memberinfo_block_contactinfo

Find:
Code:
	<if condition="$prepared['hasimdetails']">
		<fieldset>
			<legend>$vbphrase[instant_messaging]</legend>
			<div class="fieldset_padding floatcontainer">
				<div><phrase 1="$prepared[username]">$vbphrase[send_instant_message_to_x_using]</phrase></div>
				<ul class="list_no_decoration" id="instant_messaging_list">
					$block_data[imbits]
				</ul>
			</div>
		</fieldset>
	</if>
Replace it with:

Code:
<if condition="$show['member']">
	<if condition="$prepared['hasimdetails']">
		<fieldset>
			<legend>$vbphrase[instant_messaging]</legend>
			<div class="fieldset_padding floatcontainer">
				<div><phrase 1="$prepared[username]">$vbphrase[send_instant_message_to_x_using]</phrase></div>
				<ul class="list_no_decoration" id="instant_messaging_list">
					$block_data[imbits]
				</ul>
			</div>
		</fieldset>
	</if>
</if>
That's it, that might do the trick in a simple way.

Maybe this is useful for someone... or maybe you can tell me where to set those permissions

Thanks!

Download

No files for download.

Similar Mods

Profile Enhancements hide Instant Messaging from profile page and show it to Administrators only vBulletin 3.6 Template Modifications
Hide User Contact Info From Guests vBulletin 3.5 Template Modifications
Hide User Contact Info From Guests vBulletin 3.0 Template Modifications

vblts.ru supports vBulletin®, 2022-2024