vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=113)
-   -   Prevent SHOUTING and Posts With Annoying UPdown Text Like This (https://vborg.vbsupport.ru/showthread.php?t=115634)

Reynaldovb 05-14-2006 10:00 PM

Prevent SHOUTING and Posts With Annoying UPdown Text Like This
 
Long time ago I posted a mod written for 3.0.7 to stop SHOUTING and "Jumpy" text. Since I upgraded to 3.5.x my forums became once again full of posts in FULL CAPS and let's be honest, the bultin anti-shouting functionality sucks.

With vBulletin bultin anti-shouting, you have to choose between SHOUTING TEXT or Annoying Jumpy Text (caps on first word of each letter), which makes large blocks of text difficult to read.

Essentially, what this mod does is:

1) Switch SHOUTING from the body text and from title into "normal" text.

2) Switch "Jumpy" text from both the body and title into a more readable form. Example of "Jumpy" text is the following sentence:

Quote:

"This Sentence Is A Example Of 'Jumpy' Text. The Reason Why Some Users Like To Write Sentences In This Way Eludes Me. I Just Know That After A Few Lines, It Becomes Difficult To Read. This Sentence Is A Example Of 'Jumping' Text. The Reason Why Some Users Like To Write Sentences In This Way Eludes Me. I Just Know That After A Few Lines, It Becomes Difficult To Read. I Think By Now You Are Aware Of My Point."
Known behaviour:
a) For shouting text, the mod detects it if ALL the text is in caps. This behaviour will be changed on a next release to trigger it if 80% or more of the text is in caps.

b) For "Jumpy" text, the mod is triggered if at least 2 sets of 3 words are Wrote Using Jumpy Text. This 'could' also be changed to make it trigger based on a percentage of the text.

Installation:
STEP 1
Disable vBulletin bult-in anti-shouting by going to Admin CP => vBulletin Options => Message Posting and Editing Options

STEP 2
Download the included file: product-pst_reynaldovb.xml

STEP 3
Go to Admin CP => Plugin System => Manage Products => Add/Import Product
Click the Browse button and browse to where you downloaded the file.

STEP 4
Voila! from now on your forum should be SHOUTING free.
Now take a moment and click INSTALL :-)
Please keep in mind this plugin only applies to future posts. It does nothing against posts already in the forum. If interested let me know and I could post a MySQL line that will "fix" past posts.

Reynaldovb 05-15-2006 06:25 AM

- Place holder -

Tralala 05-15-2006 06:40 AM

Great idea! Thanks for coding this, and sharing.

Atakan KOC 05-15-2006 08:04 AM

Nice. Thanks.

Snake 05-15-2006 11:58 AM

Thanks a ton!

MissKalunji 05-15-2006 04:41 PM

sweet been looking for something like that

JaMBo 05-15-2006 07:17 PM

JuMPy TeXT? WHaTS WRoNG WiTH JuMPY TeXT...lol..j/k

Thnx

jugo 05-15-2006 09:08 PM

Go ahead and post the Mysql Code...

OndaReal 05-16-2006 12:12 AM

Cool Installed

TeddyKGB 05-16-2006 03:22 PM

Hmmmm I received this error so I had to uninstall. I disabled the vB default by setting it to 0 and then installed the xml file with the Manage Products screen.

Fatal error: Call to undefined function: myremoveshouting() in /home/XXXXXXX/public_html/forum/includes/functions_newpost.php on line 360

Any ideas? Thanks


All times are GMT. The time now is 07:30 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.01129 seconds
  • Memory Usage 1,729KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete