Kill Attachments in Signatures
This modification is in the archives.
Replaces signature images using your board's attachements with a message telling them to stop.
open includes/functions_showthread.php find: (on lines 517 and 518) PHP Code:
$post['signature'] = parse_bbcode($post['signature'], 'nonforum', $vboptions['allowsmilies']);
PHP Code:
$post['signature'] = preg_replace("/\[img\](.*?)\/attachment.php(.*?)\[\/img\]/i", "[i]attached pictures not allowed in signatures.[/i]", $post['signature']);
PHP Code:
$post['signature'] = preg_replace("/\[img\](.*?)www.3.8mustang.com\/forum\/attachment.php(.*?)\[\/img\]/i", "[i]attached pictures not allowed in signatures.[/i]", $post['signature']);
Download No files for download. Screenshots
|