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

Reply
 
Thread Tools
Prevent Post Formatting Abuse Details »»
Prevent Post Formatting Abuse
Version: 1.2.3, by MarkFL MarkFL is offline
Developer Last Online: Jun 2020 Show Printable Version Email this Page

Category: New Posting Features - Version: 4.2.x Rating:
Released: 11-18-2016 Last Update: 12-16-2016 Installs: 15
Uses Plugins
Additional Files Translations  
No support by the author.

Overview:

This product allows you to prevent your users from using some commonly seen post formatting practices, which I've come to think of as abusive. For example, some users will begin and end their posts with padding in the form of a period followed by multiple line breaks at the beginning and multiple line breaks followed by a period at the end, to thwart the trimming of whitespace from the beginning and end of posts. Another example is an excessive number of line breaks between paragraphs. These practices serve to make posts taller than they need to be, requiring others to scroll farther to read threads.

I have included the post formatting abuses that have bothered me in the past, and I am open to suggestions for other abuses to prevent (so please feel free to request them). The abuses I have initially included are:

Post Padding: Using non-alphanumeric characters followed by line breaks at the beginning and/or end of a post to pad the content, making the post unnecessarily tall.
Excessive Line Breaks: More line breaks than you define as allowable in succession anywhere in a post.
Excessive Spacing: More spaces than you define as allowable in succession following a word or sentence.
Excessive Punctuation: More successive strings of punctuation than you define below.
Shouting: Two or more successive words all uppercase will be converted to lowercase.
Case Mixing: Words containing a mix of cases are converted to lowercase with the case of the first letter being preserved.
Text Speak: Abbreviations common to text messaging (although any unwanted abbreviation can be defined).
Wall Of Text: A large number of sentences without any line breaks.

These can each be independently selected as abuses to be prevented. When selected, they will be corrected/removed from the post content before a post is saved, and you can also choose to fix older (pre-existing) posts as they are viewed. Because of post caching, it may take some time before the changes are reflected in the display of the older posts. This could affect forum performance, and I would recommend against using it unless you have a large number of posts you want fixed. Once you think they are fixed, then I recommend turning off this feature. Another option would be for you to simply edit such posts, as long as you are not exempt from the product, by simply clicking "Edit" and then saving the post without making any manual changes, and the post will be fixed automatically.

You can choose to exempt certain forums from this product, as well as certain usergroups.

Updates:

Version 1.1:
  • Added setting for excessive punctuation.

Version 1.2:
  • Added setting for walls of text.

Version 1.2.1:
  • Fixed bug with walls of text.

Version 1.2.2:
  • Removed "Fix Old Posts" option.

Version 1.2.3:
  • Restored "Fix Old Posts" option after fixing issue for some installations.

Compatibility:

Tested and working on VB 4.2.x and may work on all 4.x versions of vBulletin.

Backup/Warning:

This product does not alter the structure of your database, however it is always good practice to make regular backups and you should make a backup before installing ANY new mod.

As always, products are USE AT YOUR OWN RISK. I will provide support and do my best to help but no absolute guarantee is offered.

To Install:
  1. Download and extract the attached .zip file.
  2. Upload the contents of the "upload" folder to your forum's root directory.
  3. Follow AdminCP -> Plugins & Products -> Manage Products -> Add/Import Product.
  4. Click on "Choose File" and browse to the product .xml file that was packaged in the .zip file.
  5. Click "Import."
  6. You MUST enable the product in the settings before it will function.
  7. Configure the remaining settings to your liking. Each setting has a detailed explanation of its use.



Support for this product can be found here:

Download Now

File Type: zip MarkFL - Prevent Post Formatting Abuse v1.2.3.zip (7.6 KB, 32 views)

Screenshots

File Type: jpg markfl_ppfa_acp.jpg (73.0 KB, 0 views)

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.
5 благодарности(ей) от:
Alan_SP, Dragonsys, In Omnibus, RichieBoy67, z3r0

Comments
  #2  
Old 11-19-2016, 10:19 AM
In Omnibus's Avatar
In Omnibus In Omnibus is offline
 
Join Date: Apr 2010
Location: Inside A Blade Server
Posts: 840
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Brilliant for this feature alone: Text Speak: Abbreviations common to text messaging (although any unwanted abbreviation can be defined).

I want to slap the stupid out of people who post like this.
Reply With Quote
Благодарность от:
Internetcafe
  #3  
Old 11-20-2016, 08:02 PM
Snowhog's Avatar
Snowhog Snowhog is offline
 
Join Date: Oct 2011
Location: Andover, MN
Posts: 423
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Would you add To Many Periods to this? We have a member who likes to 'post loquacious' and liberally uses long strings of periods throughout his posts, like many people who use way to much salt on their food.
Reply With Quote
  #4  
Old 11-21-2016, 06:01 PM
MarkFL's Avatar
MarkFL MarkFL is offline
 
Join Date: Feb 2014
Location: St. Augustine, FL
Posts: 3,853
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Update - Version 1.1:
  • Added setting for excessive punctuation.
Reply With Quote
  #5  
Old 11-22-2016, 11:28 AM
Alan_SP's Avatar
Alan_SP Alan_SP is offline
 
Join Date: Nov 2009
Posts: 1,122
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Wow, this is excellent. Great idea. :up:
Reply With Quote
Благодарность от:
MarkFL
  #6  
Old 11-22-2016, 09:09 PM
Snowhog's Avatar
Snowhog Snowhog is offline
 
Join Date: Oct 2011
Location: Andover, MN
Posts: 423
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thank you for adding excessive punctuation.

For those using an Apple PC (I have an iMac), the Ctrl key doesn't work for multi-selection (Exempt Usergroups). You have to use the command key instead; at least I have to.
Reply With Quote
Благодарность от:
MarkFL
  #7  
Old 12-11-2016, 01:44 AM
bazookajoe's Avatar
bazookajoe bazookajoe is offline
 
Join Date: Dec 2008
Location: USA
Posts: 106
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

And then there are those that post one giant wall of words with not a paragraph break in site! Drives me nuts on my forum .
Reply With Quote
  #8  
Old 12-15-2016, 10:10 AM
MarkFL's Avatar
MarkFL MarkFL is offline
 
Join Date: Feb 2014
Location: St. Augustine, FL
Posts: 3,853
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Update - Version 1.2:
  • Added setting for walls of text.
Reply With Quote
  #9  
Old 12-16-2016, 04:29 AM
MarkFL's Avatar
MarkFL MarkFL is offline
 
Join Date: Feb 2014
Location: St. Augustine, FL
Posts: 3,853
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Update - Version 1.2.1:
  • Fixed bug with walls of text.
Reply With Quote
  #10  
Old 12-17-2016, 02:51 PM
Snowhog's Avatar
Snowhog Snowhog is offline
 
Join Date: Oct 2011
Location: Andover, MN
Posts: 423
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

There is only the markfl_postabuse.php file in the MarkFL - Prevent Post Formatting Abuse v1.2.3 > upload > markfl_postabuse folder.

Is this update simply a replacement of that file? Once replaced, are steps 3 - 5 of Installation instructions required:

3. Follow AdminCP -> Plugins & Products -> Manage Products -> Add/Import Product.
4. Click on "Choose File" and browse to the product .xml file that was packaged in the .zip file.
5. Click "Import."
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 05:05 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.04832 seconds
  • Memory Usage 2,327KB
  • Queries Executed 24 (?)
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
  • (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
  • (1)pagenav_pagelink
  • (10)post_thanks_box
  • (8)post_thanks_box_bit
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (4)post_thanks_postbit
  • (10)post_thanks_postbit_info
  • (9)postbit
  • (2)postbit_attachment
  • (10)postbit_onlinestatus
  • (10)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
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • 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