Author |
Topic  |
|
muzishun
Senior Member
   
United States
1079 Posts |
Posted - 12 March 2004 : 13:29:09
|
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
|
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 |
 |
|
muzishun
Senior Member
   
United States
1079 Posts |
Posted - 12 March 2004 : 17:12:09
|
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) |
 |
|
muzishun
Senior Member
   
United States
1079 Posts |
Posted - 13 March 2004 : 00:05:40
|
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) |
 |
|
muzishun
Senior Member
   
United States
1079 Posts |
Posted - 13 March 2004 : 00:22:25
|
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) |
 |
|
masterao
Senior Member
   
Sweden
1678 Posts |
Posted - 13 March 2004 : 16:10:38
|
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 |
 |
|
muzishun
Senior Member
   
United States
1079 Posts |
Posted - 13 March 2004 : 16:29:02
|
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) |
 |
|
masterao
Senior Member
   
Sweden
1678 Posts |
|
muzishun
Senior Member
   
United States
1079 Posts |
Posted - 14 March 2004 : 00:56:48
|
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) |
 |
|
masterao
Senior Member
   
Sweden
1678 Posts |
|
|
Topic  |
|