vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Requests/Questions (Unpaid) (https://vborg.vbsupport.ru/forumdisplay.php?f=112)
-   -   Preventing members from using multiple !!! (https://vborg.vbsupport.ru/showthread.php?t=66283)

glenvw 06-18-2004 04:43 PM

Preventing members from using multiple !!!
 
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

Quote:

Originally Posted by NTLDR
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

but heres the hack

Remove multiple !!! or ??? from thread titles

glenvw 06-28-2004 08:16 PM

Quote:

Originally Posted by NTLDR
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.


All times are GMT. The time now is 11:22 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.01066 seconds
  • Memory Usage 1,717KB
  • 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
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (5)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