Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.6 > vBulletin 3.6 Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Prevent Character Abuse In Posts Details »»
Prevent Character Abuse In Posts
Version: 1.1, by Dismounted Dismounted is offline
Developer Last Online: Apr 2023 Show Printable Version Email this Page

Category: New Posting Features - Version: 3.6.x Rating:
Released: 04-10-2007 Last Update: 04-11-2007 Installs: 48
Uses Plugins
 
No support by the author.

Prevent Character Abuse In Posts

Description:
Prevents multiple characters from being used in posts.

Request:
https://vborg.vbsupport.ru/showthread.php?t=144317

Installation:
All the installation information is in the package.

Changes:
3 Plugins
13 Phrases

Change Log:
12/04/2007 - Version 1.1
- Added A Heap Of Requested Features

11/04/2007 - Version 1.0
- Initial Release

Supporters / CoAuthors

Show Your Support

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

Comments
  #12  
Old 04-12-2007, 08:41 AM
TheMilkCarton TheMilkCarton is offline
 
Join Date: Jan 2007
Posts: 294
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Wow amazing job!!

Will install! Thank you so much for this.
Reply With Quote
  #13  
Old 04-12-2007, 02:26 PM
bitdefuser bitdefuser is offline
 
Join Date: Mar 2007
Location: C:\WINDOWS
Posts: 149
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Wow, I must say; this is pretty good! I'll provide some examples for those skeptical users.
Quote:
Example for thread title (Before):
Code:
Test...... @@@@ !!!! #### $$$$ %%%%% !@#$%.
After:
Code:
Test. @ ! # $ % !
Quote:
For posts (Before):
Code:
test

Test...... @@@@ !!!! #### $$$$ %%%%% !@#$%.
Test...... @@@@ !!!! #### $$$$ %%%%% !@#$%.
Test...... @@@@ !!!! #### $$$$ %%%%% !@#$%.
Test...... @@@@ !!!! #### $$$$ %%%%% !@#$%.
Test...... @@@@ !!!! #### $$$$ %%%%% !@#$%.

.......
.....

This is a test. I love tests!!! . Tests are cool. Jim walked down the street.
Jim. Jim. Jim. I love Jim. The cat! Wow, the cat! I love cats! ! ! ! ! Test test@@@
@#$%!.

ARGH!!@@!#@##$@#!$..1.1.1..1
After:
Code:
test

Test. @ ! # $ % !
Test. @ ! # $ % !
Test. @ ! # $ % !
Test. @ ! # $ % !
Test. @ ! # $ % !

.
.

This is a test. I love tests! . Tests are cool. Jim walked down the street.
Jim. Jim. Jim. I love Jim. The cat! Wow, the cat! I love cats! ! ! ! ! Test test@
@

ARGH!1.1.1.1
Great work!
Edit: My banned characters are: !@#$%.
Reply With Quote
  #14  
Old 04-26-2007, 03:40 PM
xlguy's Avatar
xlguy xlguy is offline
 
Join Date: Feb 2004
Location: UK
Posts: 168
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It kind of works, but...

If a user writes "Hello!!!???" and you have a limit of 1, then it strips out all the ???. Instead it *should* make it "Hello!?"

HTH.
Reply With Quote
  #15  
Old 04-27-2007, 06:13 AM
Dismounted's Avatar
Dismounted Dismounted is offline
 
Join Date: Jun 2005
Location: Melbourne, Australia
Posts: 15,047
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

That's how it works I'm afraid. I'll have a look to get around it, but that's how the regex works.
Reply With Quote
  #16  
Old 04-27-2007, 09:46 AM
xlguy's Avatar
xlguy xlguy is offline
 
Join Date: Feb 2004
Location: UK
Posts: 168
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks for looking in to it, I wonder whether it can loop the routine on each character or something?
Reply With Quote
  #17  
Old 04-28-2007, 10:45 PM
4x4 Mecca 4x4 Mecca is offline
 
Join Date: Feb 2007
Posts: 396
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Does this add a query to the threaddisplay?
Reply With Quote
  #18  
Old 04-29-2007, 05:33 AM
Dismounted's Avatar
Dismounted Dismounted is offline
 
Join Date: Jun 2005
Location: Melbourne, Australia
Posts: 15,047
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

No, all the required information is already fetched in $vbulletin->options.
Reply With Quote
  #19  
Old 04-29-2007, 06:48 PM
djbaxter djbaxter is offline
 
Join Date: Aug 2006
Location: Ottawa, Canada
Posts: 2,601
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Any plans for a slightly more aggressive companion add-on to this one called "Prevent Character Assassination in Posts"?
Reply With Quote
  #20  
Old 04-30-2007, 05:56 AM
Dismounted's Avatar
Dismounted Dismounted is offline
 
Join Date: Jun 2005
Location: Melbourne, Australia
Posts: 15,047
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

What would be different?
Reply With Quote
  #21  
Old 05-02-2007, 12:14 AM
paul41598's Avatar
paul41598 paul41598 is offline
 
Join Date: Jun 2004
Location: MI
Posts: 732
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

The comma seperated exempt option doesnt work b.t.w. You can put in 1 usergroup ID, but you can't do more than 1 with a comma. Seems your missing a line or two of code
Reply With Quote
Reply


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 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.10486 seconds
  • Memory Usage 2,305KB
  • 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
  • (4)bbcode_code
  • (2)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)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
  • (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_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete