@Boofo, sorry I meant functions_newpost.php
For the [you] part I think he means [you] appears and isn't the next to get the username.
To fix thread titles, find again in functions_newpost.php:
PHP Code:
$threadinfo['title'] = unhtmlspecialchars($threadinfo['title']);
Add after:
PHP Code:
$temptitle = $threadinfo['title'];
Find: (you added this code from the above instructions)
PHP Code:
$pagetext = preg_replace('/{bbusername}/i', $touser['username'], $pagetext);
Add after:
PHP Code:
$threadinfo['title'] = preg_replace('/{bbusername}/i', $touser['username'], $threadinfo['title']);
Find (again you added this from the above posts instructions):
PHP Code:
$pagetext = $temptext;
Add after:
PHP Code:
$threadinfo['title'] = $temptitle
To get [you] working as I think you want it too, try this it should work:
in newreply.php find:
PHP Code:
$pagetext = htmlspecialchars_uni($postinfo['pagetext']);
Add before:
PHP Code:
$pagetext = preg_replace('/{bbusername}/i', '\[you\]', $pagetext);