Back to vBulletin 3.8 Add-ons

Mass Censor Usergroup's Entire Post Content
Mod Version: 1.00, by ImNotKibs

vB Version: 3.8.x Rating: (0 vote - 0 average) Installs: 1
Released: 13 Aug 2010 Last Update: Never Downloads: 0
Not Supported Template Edits Re-usable Code Translations  

Something I ran across when pranking a staff member, which might be useful for an alternative to Banning or Tachy Goes to Coventry.

I couldn't find anything similar here, so let me know if someone already covered this one~

The basic idea is to replace a single user(group's) post contents with...really whatever you want.

To do this:
1. Create a usergroup you wish to censor/screw with.

2. Add the user(s) you wish to be censored into that usergroup, and make sure it's set as their display group, or it won't work.

They can be left in whatever usergroups they are already a part of, as this only affects users whose display group is the censored group.

3. Under postbit, or postbit_legacy find:
Code:
		<!-- message -->
		<div id="post_message_$post[postid]">
			$ad_location[ad_showthread_firstpost_start]
			$post[message]
</div>
		<!-- / message -->

4. And replace with:
Code:
		<!-- message -->
		<div id="post_message_$post[postid]">
<if condition="($post[displaygroupid]== <Group ID you wish to censor>)">
<Whatever you want their entire post to be replaced with>
<else />
			$ad_location[ad_showthread_firstpost_start]
			$post[message]
</if>		
</div>
		<!-- / message -->

5. Hit Save!
More effects can obviously be added to different usergroups by adding different conditionals.

No demo is available, since I'll be removing it some time tomorrow.

Download

No files for download.

Screenshots

Click image for larger version
Name:	contents.jpg
Views:	133
Size:	94.2 KB
ID:	120740   Click image for larger version
Name:	result.PNG
Views:	128
Size:	371.4 KB
ID:	120741  

Similar Mods

Allow users to self-censor thread titles and post content vBulletin 3.5 Add-ons

vblts.ru supports vBulletin®, 2022-2025