Can one of the resident Jelsoft wizards take a look at this please and tell me if I am doing something wrong, either in function or merely syntax?
It is part of a template modification that generates a welcome panel. In the welcome panel I refer to some code stashed in the phpinclude_start template that extracts the whereabouts of the user's avatar. Namely, if they even have one and, if so, if it is a pre-defined avatar or a custom avatar.
If it is a custom avatar, I set a variable as follows...
For some reason, on my server and the servers of a few other folks, this is working just fine. But on some, the IMG src tag ends up garbled somewhat and the \" are not removing themselves from the code. It ends up breaking the IMG tag and the properties look like this:
Clearly something isn't parsing properly in the PHP on those select few servers. I've asked the server admins to let me know what version of PHP they are using thinking that perhaps it is a quirk with versions other than 4.3.2.
Any ideas? Comments, thoughts?
It is part of a template modification that generates a welcome panel. In the welcome panel I refer to some code stashed in the phpinclude_start template that extracts the whereabouts of the user's avatar. Namely, if they even have one and, if so, if it is a pre-defined avatar or a custom avatar.
If it is a custom avatar, I set a variable as follows...
Code:
$welcomeavatar = "<img src=\"image.php?u=$bbuserinfo[userid]&dateline=$avatar[dateline]\" title=\"\" border=\"0\" />";
Code:
[url="http://forums.mydomain.com/"]http://forums.mydomain.com/"image.php?u=$bbuserinfo[userid]&dateline=$avatar[dateline]/[/url]"
Any ideas? Comments, thoughts?
Comment