############################################################## ## MOD Title: 50 characters in message (Tips) ## MOD Author: Underhill (N/A) http://www.underhill.de/ ## MOD Download: http://www.underhill.de/downloads/phpbb2mods/50charsinmessage.txt ## Last change: 2006-12-31 ############################################################## ## ## For use in combination with: ## ## MOD Title: Chunk Longs URLs ## MOD Author: Joe Belmaati < belmaati@gmail.com > (Joe Belmaati) N/A ## MOD Description: Tired of long urls that strecth your phpBB layout? This mod will chunk long urls. ## MOD Version: 1.0.0 ## MOD Download: http://www.phpbb.com/phpBB/viewtopic.php?t=428992 ## ############################################################## # #-----[ OPEN ]------------------------------------------------------------------ # includes/functions_post.php # #-----[ FIND ]------------------------------------------------------------------ # if (!preg_match("/\[.*\//", $message_array[$x])) // Ignore BBCode... # #-----[ REPLACE WITH ]---------------------------------------------------------- # if (!preg_match('#(http://|https://|ftp://|www\.)#is', $message_array[$x])) // Ignore all types of URL... # #-----[ SAVE/CLOSE ALL FILES ]-------------------------------------------------- # # EoT