Log in

View Full Version : Preventing members from using multiple !!!


glenvw
06-18-2004, 04:43 PM
I know it is purely anal of me but it drives me nuts when a member posts a billion exclamation marks after their post. Or sometimes sixty billion periods.

Is it possible to mod the VB3.1 so it post only one of the exclamations or periods?

NTLDR
06-21-2004, 01:51 PM
Kier released this for vB2, the changes needed are pretty similar for vB3.

glenvw
06-21-2004, 02:15 PM
Kier released this for vB2, the changes needed are pretty similar for vB3.

can you point me to it?

sketch42
06-22-2004, 02:05 AM
you can use the search to find all posts by kier ya know Find all posts by Kier (https://vborg.vbsupport.ru/search.php?searchid=443469)

but heres the hack

Remove multiple !!! or ??? from thread titles (https://vborg.vbsupport.ru/showthread.php?t=33979)

glenvw
06-28-2004, 08:16 PM
Kier released this for vB2, the changes needed are pretty similar for vB3.

I cannot see how to get it to work on 3.1

Original hack says:

It couldn't be simpler really - edit newthread.php and find this:
Code:

$username = $HTTP_POST_VARS['username'];
$password = $HTTP_POST_VARS['password'];

and right after it, add the following code:
Code:

$subject = preg_replace("/([\?\!]+)/e", "substr('\\1',0,1)", $subject);


I am lost.

Really want to get this working.

Please help.