Author |
Topic |
|
Foxeh
Starting Member
7 Posts |
Posted - 11 April 2002 : 08:55:11
|
Installed the mod fine (so it would seem) it setup ok, ive added an avatar fine, now when i go to my profile to assign myself the avatar thats been restricted so only i can use it, i click it then click update profile and it doesnt show in the forums, and when i go back to my profile it says i dont have an avatar selected, any ideas?
|
|
crash
Advanced Member
Netherlands
2064 Posts |
Posted - 11 April 2002 : 09:57:18
|
i don't know which version of the code you use, but isn't there an option to actually activate the avatars? i know there's one in Huwr's code...
Crash's Site | Crash is from
|
|
|
Foxeh
Starting Member
7 Posts |
Posted - 11 April 2002 : 11:22:08
|
Avatar Mod v2.0 (Instructions updated for Snitz Forums v3.3) by Richard Kinser Developed for use with Snitz Forums 2000 v3.3 (will work with older versions also but does have at least 1 quirk) Tested on MS Access, MSDE (MS SQL 7.0 compatible), and MySQL databases.
-----------------
is the one im using, theres an option to select which avatar u want in your profile, but when i select it and click update, it doesnt show in the forums
|
|
|
Foxeh
Starting Member
7 Posts |
Posted - 12 April 2002 : 04:47:38
|
cmon i need your help
|
|
|
RichardKinser
Snitz Forums Admin
USA
16655 Posts |
Posted - 12 April 2002 : 05:49:09
|
double check the code you added to pop_profile.asp. Sounds like it's not being saved in the database. |
|
|
Foxeh
Starting Member
7 Posts |
Posted - 12 April 2002 : 06:04:16
|
Below this code: (around line #925) ----------------
if strPicture = "1" then strsql = strsql & ", M_PHOTO_URL = '" & ChkString(Request.Form("Photo_URL"),"SQLString") & "'" end if
Add this line: --------------
strsql = strsql & ", M_AVATAR_URL = '" & ChkString(Request.Form("Avatar_URL"),"") & "'"
When it says that do i do:
if strPicture = "1" then strsql = strsql & ", M_PHOTO_URL = '" & ChkString(Request.Form("Photo_URL"),"SQLString") & "'" strsql = strsql & ", M_AVATAR_URL = '" & ChkString(Request.Form("Avatar_URL"),"") & "'" end if
or add the line after the end if?
|
|
|
Foxeh
Starting Member
7 Posts |
Posted - 12 April 2002 : 06:04:59
|
Below this code: (around line #925) ----------------
if strPicture = "1" then strsql = strsql & ", M_PHOTO_URL = '" & ChkString(Request.Form("Photo_URL"),"SQLString") & "'" end if
Add this line: --------------
strsql = strsql & ", M_AVATAR_URL = '" & ChkString(Request.Form("Avatar_URL"),"") & "'"
When it says that do i do:
if strPicture = "1" then strsql = strsql & ", M_PHOTO_URL = '" & ChkString(Request.Form("Photo_URL"),"SQLString") & "'" strsql = strsql & ", M_AVATAR_URL = '" & ChkString(Request.Form("Avatar_URL"),"") & "'" end if
or add the line after the end if?
|
|
|
RichardKinser
Snitz Forums Admin
USA
16655 Posts |
Posted - 12 April 2002 : 06:09:28
|
it should be AFTER the end if |
|
|
Foxeh
Starting Member
7 Posts |
Posted - 12 April 2002 : 06:26:11
|
Below this code: (around line #925) ----------------
if strPicture = "1" then strsql = strsql & ", M_PHOTO_URL = '" & ChkString(Request.Form("Photo_URL"),"SQLString") & "'" end if
Add this line: --------------
strsql = strsql & ", M_AVATAR_URL = '" & ChkString(Request.Form("Avatar_URL"),"") & "'"
Sorry to be a complete newbie about this :/
but do i do it like:
if strPicture = "1" then strsql = strsql & ", M_PHOTO_URL = '" & ChkString(Request.Form("Photo_URL"),"SQLString") & "'" end if strsql = strsql & ", M_AVATAR_URL = '" & ChkString(Request.Form("Avatar_URL"),"") & "'"
or do i have to do the whole:
if strPicture = "1" then strsql = strsql & ", M_AVATAR_URL = '" & ChkString(Request.Form("Avatar_URL"),"") & "'" end if
---
Once again sorry, i just cant seem to get this working at all...
|
|
|
RichardKinser
Snitz Forums Admin
USA
16655 Posts |
Posted - 12 April 2002 : 06:46:08
|
you're just going to add that 1 line right after the code that is shown. Nothing else should be added.
For example if I were to say:
Below this code:
1 2 3
add this line:
4
This would be the result:
1 2 3 4 |
|
|
Foxeh
Starting Member
7 Posts |
Posted - 12 April 2002 : 10:44:07
|
yay thanx a lot man it worked, i just got a little confused, thanx for all your help and sorry for the trouble :)
|
|
|
|
Topic |
|