Heres one for you guys, i'm trying to replace certain characters from the 'file title' with spaces. It was quite a simple procedure for the forum but the code i used will not work with this mod as it doesnt appear to use functions_newpost. Ive been battling with the downloads.php without any success. Here is the code i thought would work (yeah i know there is an easier way to right that but i forgot how to do it)...
PHP Code:
$post['dname'] = str_replace('.', ' ', $post['dname']);
$post['dname'] = str_replace('-', ' ', $post['dname']);
$post['dname'] = str_replace('_', ' ', $post['dname']);
.. so where or how should it be placed?
In a nut shell this is what im wanting...
User posts this title 'Remove.unwanted-chars_from.title'
Code should return 'Remove unwanted chars from title'
Any help would be hugely appreciated.