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)
 Avatars for selected members only?
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

jfitz
Junior Member

USA
345 Posts

Posted - 29 December 2002 :  14:39:55  Show Profile
I would like to have avatars (photos, actually) for selected members of my forum (moderators, and ranking contributors). I think I can do this by storing the photos on my own server, using member id as the image file name, and then referencing those images through a code addition to topic.asp after (unmodified) line 583 (following this code:


if strShowRank = 2 or strShowRank = 3 then
   Response.Write	"                " & getStar_Level (Reply_MemberLevel, Reply_MemberPosts) & "<br />" & vbNewLine
end if
Response.Write	"                </p>" & vbNewLine & _
   "                <p>" & vbNewLine


Can someone tell me if I'm on the right track, or if this has already been done?

I didn't find anything exactly parallel to this in my search for avatar mods.

Thanks.

--Jördan
It's a wasted day if you don't spend at least part of it flying upside down.

laser
Advanced Member

Australia
3859 Posts

Posted - 29 December 2002 :  16:59:31  Show Profile
Which avatar mod did you use ? The one I have already has a "member reservation" feature, so I just choose which user it is for when adding the avatar to the list.
Go to Top of Page

jfitz
Junior Member

USA
345 Posts

Posted - 29 December 2002 :  19:01:42  Show Profile
I haven't actually done an avatar mod yet...still in the research phase. I've downloaded a couple of mods and scanned the code, but they seem a bit more involved than I was hoping for.

--Jördan
It's a wasted day if you don't spend at least part of it flying upside down.
Go to Top of Page

jfitz
Junior Member

USA
345 Posts

Posted - 29 December 2002 :  20:37:51  Show Profile
It turned out to be just a wee bit more complex than my original estimate - there are seven places in topic.asp where one to three line additions have to be made, plus some corresponding data base changes. I added three fields to my FORUM_MEMBERS table, with the obvious meanings (A_HASPHOTO - boolean, A_USEPHOTO - boolean, and A_PHOTOLOC - actually it's the photo file name for a fixed directory inside my Forums directory).

I have the changes made and working on my test forum, so if anyone is interested in the code changes, I can post them. I do not have this feature set up as a mod that can update the data base or with any administrative features, so data base updates have to be done manually to use this mod. However, since we host our own data base, that's not too big a deal for us. If someone wants to take what I've done and turn it into a "real" mod, that's fine with me.

--Jördan
It's a wasted day if you don't spend at least part of it flying upside down.
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Topic Locked
 Printer Friendly
Jump To:
Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.26 seconds. Powered By: Snitz Forums 2000 Version 3.4.07