Quote:
Originally Posted by sabret00the
i'm interested.
also is this hardcoded with an option so it can't be used in certain forums? as i wouldn't like a disgruntled staff member downloading hacks and sending them to/posting for general members to see.
|
In the dt.php file
Find:
PHP Code:
$filename=preg_replace("/[.&!:\\\?\^\'\"\$]/", '', $thread[title]);
REPLACE it with:
PHP Code:
$filename = preg_replace('#[\/|*?:"<>\']#', '', $thread[title]);
This will strip the appropriate tags out of the thread title correctly for the filename.