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
 Bit unsure about Avatar Readme file instructions
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

mneedham
New Member

United Kingdom
84 Posts

Posted - 25 June 2001 :  12:10:24  Show Profile
Ok so I have done this bit and its all worked ok
******************************
In the file: admin_home.asp *
******************************

Above this line:
----------------

<LI><a href="admin_moderators.asp">Moderator Setup</a></LI>

Add this line:
--------------

<LI><a href="admin_avatar_home.asp">Avatar Setup</a></LI>

*******************************
In the file: INC_PROFILE.ASP *
*******************************

Look for the following: (around line #115)
-----------------------

<% end if ' strPicture
if (strBio + strHobbies + strLNews + strQuote) > 0 then

Replace the above with the following:
-------------------------------------

<% end if ' strPicture %>
<!--#INCLUDE FILE="inc_avatar.asp" -->
<% if (strBio + strHobbies + strLNews + strQuote) > 0 then

But then I get stuck with this next piece of code:

*******************************
In the file: POP_PROFILE.ASP *
*******************************

Below this line: (you will need to do this for both occurences of this line) (around line #616 & #722)
----------------

strsql = strsql & ", " & strMemberTablePrefix & "MEMBERS.M_PHOTO_URL"

Add this line:
--------------

strsql = strsql & ", " & strMemberTablePrefix & "MEMBERS.M_AVATAR_URL"



Below this code: (you will need to do this for both occurences of this code) (around line #870 & #1058)
----------------

if strPicture = "1" then
strsql = strsql & ", M_PHOTO_URL = '" & ChkString(Request.Form("Photo_URL"),"") & "'"
end if

Add this line:
--------------

strsql = strsql & ", M_AVATAR_URL = '" & ChkString(Request.Form("Avatar_URL"),"") & "'"


*******************************
In the file: REGISTER.ASP *
*******************************

Below this line: (around line #178)
----------------

strsql = strsql & ", M_PHOTO_URL"

Add this line:
--------------

strsql = strsql & ", M_AVATAR_URL"


Below this code: (around line #229)
----------------

if strPicture = "1" then
strsql = strsql & ", '" & ChkString(Request.Form("Photo_URL"),"") & "'"
else
strsql = strsql & ", ''"
end if

Add this line:
--------------

strsql = strsql & ", '" & ChkString(Request.Form("Avatar_URL"),"") & "'"


On this line: (around line #380)
-------------

<form action="register.asp?mode=DoIt" method="post" id=form1 name=form1>

change:
-------

name=form1

to:
---

name=Form1

The problem is that my two files of those names do not seem to have that many lines as suggested, so I am completely lost!

RichardKinser
Snitz Forums Admin

USA
16655 Posts

Posted - 25 June 2001 :  14:51:43  Show Profile
If you e-mail me the files you are having trouble with, I'll edit them for you and send them back.

Just put the files in a .zip file first so they don't get corrupted (this sometimes happens).
Go to Top of Page

mneedham
New Member

United Kingdom
84 Posts

Posted - 25 June 2001 :  16:39:11  Show Profile
seems ok i think it was the program i was opening it in, but now I have got most of the pages fixed, except for one which I am a bit stuck with

Ill send it to you, then could you try and fix it for me, Thanks!!

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.23 seconds. Powered By: Snitz Forums 2000 Version 3.4.07