ImNotKibs
08-12-2010, 10:00 PM
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:
<!-- message -->
<div id="post_message_$post[postid]">
$ad_location[ad_showthread_firstpost_start]
$post[message]
</div>
<!-- / message -->
4. And replace with:
<!-- 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. :)
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:
<!-- message -->
<div id="post_message_$post[postid]">
$ad_location[ad_showthread_firstpost_start]
$post[message]
</div>
<!-- / message -->
4. And replace with:
<!-- 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. :)