Author |
Topic |
RichardKinser
Snitz Forums Admin
USA
16655 Posts |
Posted - 25 March 2001 : 20:48:55
|
aston, I emailed the file to you. |
|
|
HellRazor
New Member
59 Posts |
Posted - 27 March 2001 : 01:06:24
|
Richard, the mod works great...thanks a ton!
Question...if someone is using an avatar, can someone else use the same avatar? Or does an admin need to reserve it for someone in order to keep someone else from using it?
Also, one request...I'd like for the dropdown list of available Avatars to be sorted by the assigned name...can you provide code to do that?
Thanks again!
HR
|
|
|
RichardKinser
Snitz Forums Admin
USA
16655 Posts |
Posted - 27 March 2001 : 01:15:12
|
quote: Question...if someone is using an avatar, can someone else use the same avatar? Or does an admin need to reserve it for someone in order to keep someone else from using it?
The Admin has to reserve it for that person.
quote: Also, one request...I'd like for the dropdown list of available Avatars to be sorted by the assigned name...can you provide code to do that?
in the inc_avatar.asp file on line #81
change this:
strSql = strSql & " ORDER BY " & strTablePrefix & "AVATAR.A_ID ASC;"
to this:
strSql = strSql & " ORDER BY " & strTablePrefix & "AVATAR.A_NAME ASC;"
|
|
|
Sirius
Starting Member
45 Posts |
Posted - 02 April 2001 : 20:24:44
|
Okay, stupid question, but how does one select an avatar once they have been added? When I click on profile, there's no option in that window, and I can't seem to find it anywhere else... I've done the db mod, and edited the files as directed. I can add/edit avatars from the admin page successfully. Is there something I've missed here? How is this supposed to go?
Edited by - Sirius on 02 April 2001 20:31:47 |
|
|
RichardKinser
Snitz Forums Admin
USA
16655 Posts |
Posted - 02 April 2001 : 20:57:07
|
are you going to the edit profile page or the view profile page?
If you have edited all of the files correctly, when you edit your profile, you should have a place to choose an Avatar. |
|
|
Sirius
Starting Member
45 Posts |
Posted - 02 April 2001 : 23:26:21
|
ARG! I know I'm prolly just doing something stupid, but I can't find anywhere that I haven't edited the files exactly as directed. I've run the database update, and have added avatars to the db, and can view and edit them fine from the admin page.
Question: When I'm in the edit profile window, should the option to select an avatar be in there regardless of any other forum settings, or does anything else have to be set/checked/etc. in conjunction with this? Because right now the edit profile window doesn't contain any reference to avatars.
Does this help you diagnose which files need fixing? Failing anything from my question above I'm not sure what else to investigate. Maybe I can send you my files for your inspection or something... ?
|
|
|
RichardKinser
Snitz Forums Admin
USA
16655 Posts |
Posted - 02 April 2001 : 23:31:30
|
Can you post a link to your forum so I can take a look at it. |
|
|
Sirius
Starting Member
45 Posts |
|
RichardKinser
Snitz Forums Admin
USA
16655 Posts |
Posted - 02 April 2001 : 23:47:45
|
Can you e-mail your inc_profile.asp file to richard_kinser@yahoo.com ?
You don't have enough of the other fields turned on to invoke the strUseExtendedProfile to be true, so the section where the Avatar should show up, isn't showing up.
I'll edit your file so that it will show up either way. |
|
|
Sirius
Starting Member
45 Posts |
Posted - 03 April 2001 : 00:05:50
|
On the way. Thanks!
|
|
|
Giapai
New Member
92 Posts |
Posted - 03 April 2001 : 13:23:35
|
hi, could you do me a favour and add the codes to these files for me? pop_profile.asp register.asp topic.asp somehows i cant find the places where i have to add them tell me if i can send them to you or perhaps someone else can do it for me cause like i said i cant find the places to add the codes I also have banip installed and email random password mod both from Davio greetings Giapai
|
|
|
RichardKinser
Snitz Forums Admin
USA
16655 Posts |
Posted - 03 April 2001 : 16:05:04
|
sure, e-mail the files to me and I should be able to edit them tonight and send them back to you. |
|
|
Giapai
New Member
92 Posts |
Posted - 03 April 2001 : 16:31:40
|
thank you very much
|
|
|
Id
Junior Member
USA
129 Posts |
Posted - 03 April 2001 : 22:51:35
|
I'm not sure if I mod'd my forum wrong or if this is just normal, but after selecting an avatar if I go back in to modify my profile it automatically just selects the last avatar on the list and makes that my avatar. If i want to keep the same avatar after editing my profile i have to go back in and reselect it rather than it just staying on the currently selected avatar. Am I doing something wrong here?
|
|
|
babygate
Starting Member
32 Posts |
Posted - 03 April 2001 : 23:09:05
|
quote:
I'm not sure if I mod'd my forum wrong or if this is just normal, but after selecting an avatar if I go back in to modify my profile it automatically just selects the last avatar on the list and makes that my avatar. If i want to keep the same avatar after editing my profile i have to go back in and reselect it rather than it just staying on the currently selected avatar. Am I doing something wrong here?
You are probably missing the following code(in red) in the SQL statement around line 800 in pop_profile.asp. It's the SQL statement for the case "goModify"
strsql = strsql & ", " & strMemberTablePrefix & "MEMBERS.M_PHOTO_URL " strsql = strsql & ", " & strMemberTablePrefix & "MEMBERS.M_AVATAR_URL"
If it's not there, just add it and it should solve your problem.
BabyGate http://forum.g4systems.net/babygate/
Edited by - babygate on 03 April 2001 23:10:48 |
|
|
Topic |
|