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

 All Forums
 Help Groups for Snitz Forums 2000 Users
 Help: MOD Implementation
 Odd glitz with the Avatar MOD
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

muzishun
Senior Member

United States
1079 Posts

Posted - 12 March 2004 :  13:29:09  Show Profile  Visit muzishun's Homepage
I just implemented Hamlin's Avatar MOD for 3.4. Everything went smoothly, and the database setup worked fine. I'm not getting any errors on any of the pages, but the pics are not showing up in topics (no placeholders there), and broken pics are showing up in the profile and admin sections. Here's a couple of screenshots. I checked the physical link of one of the images after I did the Mass Add (which said it was successful), and the physical link works, so I'm assuming I did something wrong. Anyone have any ideas?

Admin Review Section
Example Topic
Profile Page

Side note - right clicking and clicking on Show Picture doesn't work. I'm stumped here. Thanks in advance!

Bill Parrott
Senior Web Programmer, University of Kansas
Co-Owner and Code Monkey, Eternal Second Designs (www.eternalsecond.com)
Personal Website (www.chimericdream.com)

masterao
Senior Member

Sweden
1678 Posts

Posted - 12 March 2004 :  16:02:31  Show Profile  Visit masterao's Homepage
I looked at your register.asp and I noticed there that the avatar images are supposed to be in the forum folder. I assume that you keep them in the avatar-folder? If so, you must add the folder-name to those files which will display the avatar image, or you have to add the foldername to the avatar-name.

Jan
===========
FR Portal Forums | Active Users 4.0.20 Mod
Go to Top of Page

muzishun
Senior Member

United States
1079 Posts

Posted - 12 March 2004 :  17:12:09  Show Profile  Visit muzishun's Homepage
Hmm... in the Mass Add, the Avatar images needed to be in a seperate folder. Should I have moved these after the Mass Add was finished? I'll try that tonight when I get home and see if it works.

Bill Parrott
Senior Web Programmer, University of Kansas
Co-Owner and Code Monkey, Eternal Second Designs (www.eternalsecond.com)
Personal Website (www.chimericdream.com)
Go to Top of Page

muzishun
Senior Member

United States
1079 Posts

Posted - 13 March 2004 :  00:05:40  Show Profile  Visit muzishun's Homepage
Well, it worked! Is there any way to let Hamlin know about the ambiguity of the Mass Add feature? It specifically states that you need the avatars in a seperate folder when you add them, but doesn't mention moving them back. *shrug*

Bill Parrott
Senior Web Programmer, University of Kansas
Co-Owner and Code Monkey, Eternal Second Designs (www.eternalsecond.com)
Personal Website (www.chimericdream.com)
Go to Top of Page

muzishun
Senior Member

United States
1079 Posts

Posted - 13 March 2004 :  00:22:25  Show Profile  Visit muzishun's Homepage
Actually, I have one more question... On the profile screen, the avatars are in reverse alphabetical order. Is there any way to get them to be in the proper order? Also, I'd like to enlarge that box that they're displayed in.

Bill Parrott
Senior Web Programmer, University of Kansas
Co-Owner and Code Monkey, Eternal Second Designs (www.eternalsecond.com)
Personal Website (www.chimericdream.com)
Go to Top of Page

masterao
Senior Member

Sweden
1678 Posts

Posted - 13 March 2004 :  16:10:38  Show Profile  Visit masterao's Homepage
Open inc_avatar and locate the following lines of code:

'##### Get Avatar's from DB                
	strSql = "SELECT " & strTablePrefix & "AVATAR.A_ID" 
	strSql = strSql & ", " & strTablePrefix & "AVATAR.A_URL"
	strSql = strSql & ", " & strTablePrefix & "AVATAR.A_NAME"
	strSql = strSql & ", " & strTablePrefix & "AVATAR.A_MEMBER_ID"
	strSql = strSql & " FROM " & strTablePrefix & "AVATAR "
	strSql = strSql & " WHERE " & strTablePrefix & "AVATAR.A_MEMBER_ID = 0 "
		if Request.Querystring("mode") <> "Register" then
			strSql = strSql & " OR " & strTablePrefix & "AVATAR.A_MEMBER_ID = " & rs("Member_ID")
		end if
	strSql = strSql & " ORDER BY " & strTablePrefix & "AVATAR.A_NAME DESC;"


Change the redmarked word with ASC, and it will display the images in alphabetical order.

To make that box larger, you only have change the avatar image size in the Avatar Settings (Admin Home -> Avatar Setup -> Avatar Settings).

Jan
===========
FR Portal Forums | Active Users 4.0.20 Mod
Go to Top of Page

muzishun
Senior Member

United States
1079 Posts

Posted - 13 March 2004 :  16:29:02  Show Profile  Visit muzishun's Homepage
Cool, thanks! And actually, I guess I need to clarify. When I meant I want the box larger, I didn't mean the avatar box itself, but the selection scroll box. Is the code for this in pop_profile.asp?

Bill Parrott
Senior Web Programmer, University of Kansas
Co-Owner and Code Monkey, Eternal Second Designs (www.eternalsecond.com)
Personal Website (www.chimericdream.com)
Go to Top of Page

masterao
Senior Member

Sweden
1678 Posts

Posted - 13 March 2004 :  17:27:34  Show Profile  Visit masterao's Homepage
You're welcome.

Ok, then I got it. No, that code isn't in pop_profile.asp, but in inc_avatar.asp.

Jan
===========
FR Portal Forums | Active Users 4.0.20 Mod
Go to Top of Page

muzishun
Senior Member

United States
1079 Posts

Posted - 14 March 2004 :  00:56:48  Show Profile  Visit muzishun's Homepage
Cool, thanks! I got both items changed successfully.

Bill Parrott
Senior Web Programmer, University of Kansas
Co-Owner and Code Monkey, Eternal Second Designs (www.eternalsecond.com)
Personal Website (www.chimericdream.com)
Go to Top of Page

masterao
Senior Member

Sweden
1678 Posts

Posted - 14 March 2004 :  13:42:08  Show Profile  Visit masterao's Homepage
That sounds great .

Jan
===========
FR Portal Forums | Active Users 4.0.20 Mod
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.38 seconds. Powered By: Snitz Forums 2000 Version 3.4.07