Go Back   vb.org Archive > vBulletin Modifications > vBulletin 3.8 Modifications > vBulletin 3.8 Add-ons
Mass Censor Usergroup's Entire Post Content Details »»
Mass Censor Usergroup's Entire Post Content
Version: 1.00, by ImNotKibs ImNotKibs is offline
Developer Last Online: Jan 2015 Show Printable Version Email this Page

Category: Miscellaneous Hacks - Version: 3.8.x Rating:
Released: 08-12-2010 Last Update: Never Installs: 1
Template Edits
Re-useable Code Translations  
No support by the author.

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.

Screenshots

File Type: jpg contents.jpg (94.2 KB, 0 views)
File Type: png result.PNG (371.4 KB, 0 views)

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #2  
Old 08-12-2010, 11:46 PM
ImNotKibs ImNotKibs is offline
 
Join Date: Nov 2009
Posts: 16
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This should also probably be moved to template modifications. I do apologize
Reply With Quote
  #3  
Old 08-13-2010, 07:52 AM
Hornstar Hornstar is offline
 
Join Date: Jun 2005
Location: Australia
Posts: 2,469
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Interesting idea Just thinking if I would want to use this on trolls, spammers, or something else lol

With trolls, it might be okay with new trolls, but old trolls, I don't think it would be good with there old good posts as that would affect the flow and seo. But new trolls it could be useful, but might make them keep going. Sometimes its better to make them appear as they never existed lol

But thanks for sharing.
Reply With Quote
  #4  
Old 08-15-2010, 09:12 AM
ImNotKibs ImNotKibs is offline
 
Join Date: Nov 2009
Posts: 16
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by hornstar1337 View Post
Interesting idea Just thinking if I would want to use this on trolls, spammers, or something else lol

With trolls, it might be okay with new trolls, but old trolls, I don't think it would be good with there old good posts as that would affect the flow and seo. But new trolls it could be useful, but might make them keep going. Sometimes its better to make them appear as they never existed lol

But thanks for sharing.
In this case, their continued posting could be more entertaining than annoying, who cares if they bump every thread if all they can post is "I'm a massive tool" :P
Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 06:13 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04031 seconds
  • Memory Usage 2,248KB
  • Queries Executed 18 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (2)bbcode_code
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (4)post_thanks_box
  • (4)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (4)post_thanks_postbit_info
  • (3)postbit
  • (2)postbit_attachment
  • (4)postbit_onlinestatus
  • (4)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete