vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=194)
-   -   New Posting Features - Prevent Character Abuse In Posts (https://vborg.vbsupport.ru/showthread.php?t=144549)

TheMilkCarton 04-12-2007 08:41 AM

Wow amazing job!!

Will install! Thank you so much for this. :)

bitdefuser 04-12-2007 02:26 PM

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: !@#$%.

xlguy 04-26-2007 03:40 PM

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.

Dismounted 04-27-2007 06:13 AM

That's how it works I'm afraid. I'll have a look to get around it, but that's how the regex works.

xlguy 04-27-2007 09:46 AM

Thanks for looking in to it, I wonder whether it can loop the routine on each character or something?

4x4 Mecca 04-28-2007 10:45 PM

Does this add a query to the threaddisplay?

Dismounted 04-29-2007 05:33 AM

No, all the required information is already fetched in $vbulletin->options.

djbaxter 04-29-2007 06:48 PM

Any plans for a slightly more aggressive companion add-on to this one called "Prevent Character Assassination in Posts"?

Dismounted 04-30-2007 05:56 AM

What would be different?

paul41598 05-02-2007 12:14 AM

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 ;)


All times are GMT. The time now is 02:00 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.01215 seconds
  • Memory Usage 1,735KB
  • 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
  • (4)bbcode_code_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)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