Hi TECK,
I don't know if there is a soloution to this or not, but my current work around is a very long one, so I thought I'd ask
On a board with FireFly's change { bbusername } to the viewers username hack installed and this one there is a section of code that allows you (at present) to either have this hack working or FireFly's.
PHP Code:
$findwords=array(0 => '{ getmicrostats }');
$replacewords=array(0 => $microstats);
$i=1;
while ($var=$DB_site->fetch_array($vars) and $i++) {
if ($var['findword']!="") {
$findwords[$i]=$var['findword'];
$replacewords[$i]=$var['replaceword'];
}
}
In the { bbusername } hack you have:
PHP Code:
$findwords=array(0 => '{ bbusername }');
$replacewords=array(0 => $bbuerinfo[username]);
As well as the microstats code, but which ever one is directly before the while loop works and the other one just displays {text} I have tried everything I can to get it to work, but have failed
Any ideas? Currently I have edited a whole bunch of files and used str_replace everywhere I can think of that { bbusername } could appear.