Quote:
Originally Posted by bananalive
Look at the vbulletin source code and you might see there is different variable being used for $username
You could add this line at top of plugin
PHP Code:
$username = $vbulletin->userinfo['username'];
|
Superb! Thank you, that worked a treat! I had
Quote:
$username = htmlspecialchars_uni($username);
|
inside the code, but replaced it for the code you posted and it works a charm.
Regarding the ' and " - I can see where your coming from, still need to get my head around them. Ive got a nice big php/sql book sitting here waiting for me to read it!