I am having a problem adding the users avatar image to a block. I'm thinking i haven't declared a variable somewhere but haven't been able to figure it out.
I've copied the files via LAN. The variable I'm trying to call is not showing up ($userinfo[user_avatar]). The link to the image folder is good, but there is no filename on the end.
for example...
global $userinfo;
$content .= "<img src=\"modules/Forums/images/avatars/$userinfo[user_avatar]\"><br>\n";
... this just gives me a broken link (the size of the avatar) and the path is example.com/nuke/modules/forums/images/avatars/ .
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum