add your own avatar along side login/out button

Snitz™ Forums 2000
https://forum.snitz.com/forumTopic/Posts/67058?pagenum=1
05 November 2025, 12:58

Topic


GarethMoore1979
add your own avatar along side login/out button
14 May 2008, 18:19


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?<

 

Replies ...


Shaggy
15 May 2008, 04:50


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.
<
cripto9t
15 May 2008, 08:02


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.<
© 2000-2021 Snitz™ Communications