Go Back   vb.org Archive > vBulletin Modifications > vBulletin 3.8 Modifications > vBulletin 3.8 Add-ons

Reply
 
Thread Tools
Disemvowelr? - A new passive-aggressive form of moderation.. Details »»
Disemvowelr? - A new passive-aggressive form of moderation..
Version: 1.3, by magnus magnus is offline
Developer Last Online: Feb 2012 Show Printable Version Email this Page

Category: Moderators Functions - Version: 3.8.1 Rating:
Released: 04-06-2009 Last Update: 05-26-2009 Installs: 50
DB Changes Uses Plugins Auto-Templates
Additional Files  
No support by the author.


Keywords: Disemvowel, Devowel, Revowel

Description:
Where to start? Basically, this modification will allow you (the moderator) to strip a post of it's vowels (ie. "disemvowel" -- get it? See what I did there? Oh yes..) Why would you want to do this? Well, I can think of a multitude of reasons.. none of them relevant, but I digress. Disemvoweling has been made e-famous by popular blog sites such as BoingBoing and Gizmodo.


Details:
So, what is disemvoweling exactly?

Here's what Wikipedia has to say about it:
Quote:
Originally Posted by Wikipedia
In the fields of Internet discussion and forum moderation, disemvoweling is a technique used to censor unwanted postings such as spam, internet trolling, rudeness or criticism and yet maintain some transparency, both of the act and the underlying word. Disemvoweling (also spelled disemvowelling) appears to model the word "disemboweling" and involves removing vowels from questionable text, either as a form of self-censorship or as a technique used by forum moderators and newsgroup operators. The net effect of disemvoweling text is illegibility or legibility only through significant cognitive effort; thus the technique helps to suppress unwanted comments.
Neat idea, huh? Yea.. I thought so, too.. and here we are!

Cliff-Notes (y'know, for the slow..):
This mod will turn this:
Quote:
This site sucks, you (and your dog) suck too. I'm going to go eat paper, bye!
... into this!:
Quote:
Ths st scks, y (nd yr dg) sck t. 'm gng t g t ppr by!
(FYI, if you need pictures.. I attached those too.)

[hr]-[/hr]
Installation:
  1. Download and unzip the attached archive.
  2. Upload included files to their respective directories.
  3. Import product-disemvowelr.xml via the Product Manager.
  4. ???
  5. Profit!

Notes:
All template edits are done automagically for you. However, if you'd like to do them yourself in an alternate location, color, whatever -- simply disable the auto-template editor plugin via the Plugin Manager.

[hr]-[/hr]
Comments:
As with all my hacks, this modification is provided free of charge. However, if you find this product useful and have money burning a hole in your pocket, feel free to make a small donation, I won't mind.. really.

Version History:
  • 1.0 - Initial release, here's to hoping..
  • 1.1 - Added a FAQ entry as to what disemvoweling is and linked to it from within the disemvoweled post.
  • 1.1.1 - Added auto-template support for postbit_legacy
  • 1.2 - Icons! Yay! Also included instructions for manual template edits (see README.TXT)
  • 1.3 - Fixed a problem when disemvoweling a post with quotes (or possibly any BBCODE). Now the post is stripped of BBCODES before disemvoweled. No more broken quote tags.

* Please note that this modification was developed on a forum with a userbase of 1 (myself). I've tested it for basic functionality but I cannot guarantee functionality or behavior on your forum. So, please -- make backups before installing this product!

Download Now

File Type: zip disemvowelr_1.3.zip (6.8 KB, 139 views)

Screenshots

File Type: jpg Picture 1.jpg (38.3 KB, 0 views)
File Type: jpg Picture 2.jpg (35.2 KB, 0 views)
File Type: png disemvowel_icons.png (13.5 KB, 0 views)
File Type: png revowel_icons.png (13.4 KB, 0 views)

Show Your Support

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

Comments
  #22  
Old 04-08-2009, 10:27 AM
magnus's Avatar
magnus magnus is offline
 
Join Date: Apr 2002
Location: Miami, FL
Posts: 1,107
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Hugo Holbling View Post
Am I reading the coding correctly insofar as this only functions with the default postbit, not postbit legacy?
Correct, the auto-template feature (currently) only modifies postbit, and not postbit_legacy. Edits would need to be made manually.

I'll include postbit in the auto-template edits in a quick update.

Quote:
Originally Posted by Hugo Holbling View Post
I agree and think it would be better to replace the postbit text with an icon.
I'm a programmer, not a designer. Plus, there are so many different styles out there -- finding an icon that goes well with all of them is a futile task. Hence, text.

I'll have an update with a few customization options. To choose between text or a user-specified icon, postbit or postbit legacy, etc.
Reply With Quote
  #23  
Old 04-08-2009, 11:23 AM
imedic's Avatar
imedic imedic is offline
 
Join Date: Mar 2008
Location: Romania
Posts: 178
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Great idea for a mod. I never have enough moderators tools to make my life easier .

I am too looking forward for a postbit legacy version.
Reply With Quote
  #24  
Old 04-08-2009, 12:08 PM
Hugo Holbling Hugo Holbling is offline
 
Join Date: Sep 2007
Posts: 53
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Great, thanks magnus. Looking forward to the update and the ability to choose postbit legacy.
Reply With Quote
  #25  
Old 04-08-2009, 07:00 PM
ericgtr's Avatar
ericgtr ericgtr is offline
 
Join Date: Apr 2003
Location: Portland, Oregon
Posts: 1,407
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by imedic View Post
Great idea for a mod. I never have enough moderators tools to make my life easier .

I am too looking forward for a postbit legacy version.
Quote:
Originally Posted by Hugo Holbling View Post
Great, thanks magnus. Looking forward to the update and the ability to choose postbit legacy.
Thirded.

Installed though.
Reply With Quote
  #26  
Old 04-08-2009, 09:08 PM
SoloX SoloX is offline
 
Join Date: Jun 2002
Posts: 135
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I changed postbit to postbit_legacy in the following code to make it work for legacy!
PHP Code:
<phpcode><![CDATA[if(isset($vbulletin->templatecache['postbit_legacy']))
{
    
$find '<strong>$post[postcount]</strong></a> &nbsp;") : (""))."';

    
$replace '<strong>$post[postcount]</strong></a> &nbsp;") : (""))."
        ".((can_moderate($thread[\'forumid\'], \'canmoderateposts\')) ? ("
            ".((!$post[disemvowel]) ? ("[&nbsp;<a href=\"disemvowelpost.php?do=disemvowel&p=$post[postid]\" name=\"vB::Disemvowel::$post[postid]\">$vbphrase[disemvowel]</a>&nbsp;]") : ("[&nbsp;<a href=\"disemvowelpost.php?do=revowel&p=$post[postid]\" name=\"vB::Revowel::$post[postid]\">$vbphrase[revowel]</a>&nbsp;]"))."
        ") : (""))."'
;

    
$vbulletin->templatecache['postbit_legacy'] = str_replace($find$replace$vbulletin->templatecache['postbit_legacy']);

    
$find '<!-- message -->';

    
$replace '".(($post[disemvowel]) ? ("
            <div align=\"center\" style=\"color: red; background-color: white; border: 1px solid black; padding:2px\">
                $vbphrase[this_post_has_been_disemvoweled]
            </div>
        ") : (""))."
        <!-- message -->'
;

    
$vbulletin->templatecache['postbit_legacy'] = str_replace($find$replace$vbulletin->templatecache['postbit_legacy']);
}]]></
phpcode
Reply With Quote
  #27  
Old 04-08-2009, 09:31 PM
ericgtr's Avatar
ericgtr ericgtr is offline
 
Join Date: Apr 2003
Location: Portland, Oregon
Posts: 1,407
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by SoloX View Post
I changed postbit to postbit_legacy in the following code to make it work for legacy!
PHP Code:
<phpcode><![CDATA[if(isset($vbulletin->templatecache['postbit_legacy']))
{
    
$find '<strong>$post[postcount]</strong></a> &nbsp;") : (""))."';

    
$replace '<strong>$post[postcount]</strong></a> &nbsp;") : (""))."
        ".((can_moderate($thread[\'forumid\'], \'canmoderateposts\')) ? ("
            ".((!$post[disemvowel]) ? ("[&nbsp;<a href=\"disemvowelpost.php?do=disemvowel&p=$post[postid]\" name=\"vB::Disemvowel::$post[postid]\">$vbphrase[disemvowel]</a>&nbsp;]") : ("[&nbsp;<a href=\"disemvowelpost.php?do=revowel&p=$post[postid]\" name=\"vB::Revowel::$post[postid]\">$vbphrase[revowel]</a>&nbsp;]"))."
        ") : (""))."'
;

    
$vbulletin->templatecache['postbit_legacy'] = str_replace($find$replace$vbulletin->templatecache['postbit_legacy']);

    
$find '<!-- message -->';

    
$replace '".(($post[disemvowel]) ? ("
            <div align=\"center\" style=\"color: red; background-color: white; border: 1px solid black; padding:2px\">
                $vbphrase[this_post_has_been_disemvoweled]
            </div>
        ") : (""))."
        <!-- message -->'
;

    
$vbulletin->templatecache['postbit_legacy'] = str_replace($find$replace$vbulletin->templatecache['postbit_legacy']);
}]]></
phpcode
Didn't work for me. This isn't too hard to figure out but it has to be picked apart so I'll do it when I get home and if magnus doesn't have it up by then I will share it. Many people use legacy so I am surprised it's not added.
Reply With Quote
  #28  
Old 04-08-2009, 09:52 PM
imedic's Avatar
imedic imedic is offline
 
Join Date: Mar 2008
Location: Romania
Posts: 178
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Unfortunately does not work.
If I copy paste your code it gives error on product upload. I have manually replace it and still no luck to see the link in postbit.
Reply With Quote
  #29  
Old 04-08-2009, 10:08 PM
magnus's Avatar
magnus magnus is offline
 
Join Date: Apr 2002
Location: Miami, FL
Posts: 1,107
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

The above code has been wrapped in <phpcode><![CDATA[ ... ]]></phpcode> tags. Those will need to be removed.

Anyway, I have postbit_legacy support finished .. I had intended to finish the other features before releasing, but since the demand is there, I'll release the minor changes. I'll have it posted tomorrow morning (the code is on my work machine).
Reply With Quote
  #30  
Old 04-09-2009, 12:00 PM
magnus's Avatar
magnus magnus is offline
 
Join Date: Apr 2002
Location: Miami, FL
Posts: 1,107
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

As promised, I made v1.1.1 available which will detect which postbit layout you're using and modify accordingly. Nothing else has changed.
Reply With Quote
  #31  
Old 04-09-2009, 03:16 PM
Hugo Holbling Hugo Holbling is offline
 
Join Date: Sep 2007
Posts: 53
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks, magnus - much appreciated. It works great.

I'll try to figure out how to replace the text (Disemvowel/Revowel) with icons; I suggest the famfamfam font_delete and font_add silk icons would work nicely.
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:58 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04485 seconds
  • Memory Usage 2,362KB
  • Queries Executed 26 (?)
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_php
  • (8)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (5)postbit_attachment
  • (11)postbit_onlinestatus
  • (11)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
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete