vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Requests/Questions (Unpaid) (https://vborg.vbsupport.ru/forumdisplay.php?f=112)
-   -   prevent users from using !!! ??? or HELP etc. in thread title (https://vborg.vbsupport.ru/showthread.php?t=256957)

yjeanrenaud 01-11-2011 07:18 PM

prevent users from using !!! ??? or HELP etc. in thread title
 
I would love to prevent my users from using bogus strings (like help, come on, you're in a support forum, you don't want to announce your marriage here, no?) and useless repetitions in their thread titles.

BirdOPrey5 01-11-2011 08:20 PM

I made a plugin for 3.x to stop repetitive use of ! or ? or even !? here: https://vborg.vbsupport.ru/showthread.php?t=255588

It's for VB 3.x but it will work the same on 4.x.

I really don't know how you'd even try to stop your other examples- there would be so many variations you can't block them all...

yjeanrenaud 01-13-2011 04:52 PM

true. but something like help is really quite useless, isnt' it?

BirdOPrey5 01-13-2011 05:08 PM

If it was only "help" then I would agree, but if it's like "I need help installing windows 7" then "help" in the title is fine... We could test for "help" and nothing else in the string but "help?" or "help!" would still be allowed. We can use regular expressions to test for "help" followed by any special character, but then "i need help" or "help me" or "please help" or any number of possible combinations would still pass- no regular expression can be "smart" enough to determine if a title with "help" is good or not.

This is best left as a reminder in the forum rules rather than trying to program a hundred different ways it might be said.


All times are GMT. The time now is 10:03 AM.

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.01454 seconds
  • Memory Usage 1,712KB
  • 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)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (4)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete