Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
Prevent Post Formatting Abuse Details »
Prevent Post Formatting Abuse
Mod Version: 1.2.3, by MarkFL (Coder) MarkFL is offline
Developer Last Online: Dec 2018 I like it Show Printable Version Email this Page

vB Version: 4.2.x Rating: (3 votes - 5.00 average) Installs: 12
Released: 19 Nov 2016 Last Update: 17 Dec 2016 Downloads: 29
Not Supported Uses Plugins Additional Files Translations  

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

Only licensed members can download files, Click Here for more information.

Screenshots

Click image for larger version

Name:	markfl_ppfa_acp.jpg
Views:	248
Size:	73.0 KB
ID:	155560  

Show Your Support

  • To receive notifications regarding updates -> Click to Mark as Installed.
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Similar Mod
Mod Developer Type Replies Last Post
New Posting Features Prevent Character Abuse In Posts Dismounted vBulletin 3.6 Add-ons 40 05 Feb 2009 06:51

  #16  
Old 08 Nov 2018, 21:19
Budget101 Budget101 is offline
 
Join Date: Jul 2008
Originally Posted by MarkFL View Post
Locate the plugin with this product titled "Fix Old Posts Being Viewed" and withing that plugin's code, immediately after the line:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Add this line, and let me know if that works, please:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.
Yes, that seemed to do the trick! You are AWESOME.
Reply With Quote
  #17  
Old 08 Nov 2018, 21:24
MarkFL's Avatar
MarkFL MarkFL is offline
 
Join Date: Feb 2014
Real name: Mark
Originally Posted by Budget101 View Post
Yes, that seemed to do the trick! You are AWESOME.
Okay, great!

If I publish an update to this product, I will include this fix. Thanks for your feedback.
__________________
Former vBulletin.org Staff Member



Support for my products (as well as updates/new product publishing) has been moved to MHB - vBulletin Products and TAZ - Add-ons
Reply With Quote
  #18  
Old 09 Nov 2018, 17:45
Zelda-King's Avatar
Zelda-King Zelda-King is offline
 
Join Date: Nov 2002
Nice! Got it installed fine on 4.2.5. The only thing that didn't pass my initial test was that thread titles seem immune to the punctuation check. I was able to have a thread title with a significant number of consecutive "!" in spite of setting the limit to 3. This works fine for actual post content of course. The title was however de-shouted just fine.

(I didn't test with other products disabled yet.)
__________________
Sig

Last edited by Zelda-King; 09 Nov 2018 at 17:54.
Reply With Quote
  #19  
Old 09 Nov 2018, 18:52
MarkFL's Avatar
MarkFL MarkFL is offline
 
Join Date: Feb 2014
Real name: Mark
Originally Posted by Zelda-King View Post
Nice! Got it installed fine on 4.2.5. The only thing that didn't pass my initial test was that thread titles seem immune to the punctuation check. I was able to have a thread title with a significant number of consecutive "!" in spite of setting the limit to 3. This works fine for actual post content of course. The title was however de-shouted just fine.

(I didn't test with other products disabled yet.)
This product is for post content, not thread titles. For thread titles, please check out the sites in my sig for my "Good Thread Titles" product.
__________________
Former vBulletin.org Staff Member



Support for my products (as well as updates/new product publishing) has been moved to MHB - vBulletin Products and TAZ - Add-ons
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Mod Options

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


New To Site? Need Help?

All times are GMT. The time now is 14:28.

Layout Options | Width: Wide Color: