Hi all, i´ve like this hack.
A little question, i´ve replace the link on a forumhome last topics template:
OLD WAS
<a href="showthread.php?$session[sessionurl]threadid=$thread[threadid]" title="$thread[preview]"><strong>$thread[title]</strong></a>
<em>$vbphrase[last_post]:</em> $thread[date]
NEW CODE
<a href="t-$thread[threadid]-$thread[title].html" title="$thread[preview]"><strong>$thread[title]</strong></a>
<em>$vbphrase[last_post]:</em> $thread[date]
Problem, the thread title was:
Willkommen, gabby
He makes: t-9020-Willkommen,%20gabby!.html
I don´t like ",%" on the url
Psycho Beat Project would be:
t-9019-Psycho%20Beat%20Project.html
I want replace signs like "" "," "." or "/20" with a "-" sign.
Example t-9019-Psycho-Beat-Project.html or much better
Psycho-Beat-Project.html
Update: I´ve created a $ttitle with replace string the signs like "!"...
I think it´s not the best way, because i must replace also $lastthread strings like "!" on the forumhome...
|