Note: You must be registered in order to post a reply. To register, click here. Registration is FREE! Before posting, make sure you have read this topic!
T O P I C R E V I E W
GarethMoore1979
Posted - 14 May 2008 : 18:19:42 I already have the avatar mod on my forums, but what I want to do is at the top of the forum where you have the login/out button and it says "You are logged on as xxx", alongside that I wanted it to display the users own avatar. Has anyone done this before or know what code I should use?<
2 L A T E S T R E P L I E S (Newest First)
cripto9t
Posted - 15 May 2008 : 08:02:07 Snitzbitz - Scroll down the page and look for Avatar add-ons by Cripto9t. There are four separate mods in the zip and requires Avatars 3.4 by Hamlin.
It uses a separate query in inc_header.asp to the get url. I should update the mod to grab it in the chkUser function as Shaggy suggested.<
Shaggy
Posted - 15 May 2008 : 04:50:54 Easiest way to to it would be to dim a new variable in config.asp or inc_header.asp to hold the URI of the members' avatar. You would then need to edit the chkUser function in inc_func_common.asp to retrieve the URI from the MEMBERS table and assign it as the value of this new variable. Finally, you would need to edit the section of inc_header.asp that displays that line and use your new vraible to display the image.