Snitz Forums 2000
Snitz Forums 2000
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Snitz Forums 2000 MOD-Group
 MOD Add-On Forum (W/O Code)
 add your own avatar along side login/out button
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

GarethMoore1979
Junior Member

United Kingdom
220 Posts

Posted - 14 May 2008 :  18:19:42  Show Profile  Reply with Quote
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?<

Shaggy
Support Moderator

Ireland
6780 Posts

Posted - 15 May 2008 :  04:50:54  Show Profile  Reply with Quote
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.

<

Search is your friend
“I was having a mildly paranoid day, mostly due to the
fact that the mad priest lady from over the river had
taken to nailing weasels to my front door again.”
Go to Top of Page

cripto9t
Average Member

USA
881 Posts

Posted - 15 May 2008 :  08:02:07  Show Profile  Reply with Quote
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.<

    _-/Cripto9t\-_
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.1 seconds. Powered By: Snitz Forums 2000 Version 3.4.07