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: General / Current Version (Old)
 Registration Form Fields
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

Lacey
Junior Member

USA
122 Posts

Posted - 14 April 2001 :  20:27:07  Show Profile  Visit Lacey's Homepage  Send Lacey an AOL message
I installed the new forum.. did some adjustments with the policy page etc...
I also removed "YAHOO" field and added "ZONE NAME" field in it's place. My question is this:
When a new user goes to register.. the form that shows up still has "YAHOO IM: " listed as a field.

I have gone thru: policy.asp, inc_functions.asp, inc_profile.asp pop_profile.asp.. not sure if any others.. but I searched and replaced any instance of YAHOO with ZONENAME.. but it still reflects that field (YAHOO IM: )
What file creates the form used when clicking AGREE from the "policy.asp" file takes you to?

I'm baffled!



~L~
"Have a mah-vah-LACEY day~" <img src=icon_smile_wink.gif border=0 align=middle>

RichardKinser
Snitz Forums Admin

USA
16655 Posts

Posted - 14 April 2001 :  20:34:06  Show Profile
register.asp
Go to Top of Page

Lacey
Junior Member

USA
122 Posts

Posted - 14 April 2001 :  20:44:10  Show Profile  Visit Lacey's Homepage  Send Lacey an AOL message
The form itself is not designed there.. and i did go thru and changed any/all instance of YAHOO to ZONENAME.. but that field STILL shows up..

I found that exact filed in these two files:

inc_profile.asp (and I changed it there)
pop_profile.asp (and I changed it there)

That form design is not in the REGISTER.ASP file.


I just went to a different computer and went thru the steps, thinking maybe my current computer's browser isn't updating the files.. but i still get the YAHOO IM field instead of ZONE NAME field..

Ideas??




~L~
"Have a mah-vah-LACEY day~" <img src=icon_smile_wink.gif border=0 align=middle>
Go to Top of Page

RichardKinser
Snitz Forums Admin

USA
16655 Posts

Posted - 14 April 2001 :  21:40:11  Show Profile
It's in inc_profile.asp twice. Did you change it in both places?
Go to Top of Page

Lacey
Junior Member

USA
122 Posts

Posted - 14 April 2001 :  23:43:46  Show Profile  Visit Lacey's Homepage  Send Lacey an AOL message
Yep.. changed in both places.. ..

NOW.. strange as it may seem to y'all!!! YAHOO is no longer displayed.. but.. ZONENAME isn't in it's place either..

I did a VIEW SOURCE of the page.. and it's not even listed where it should be.. it went POOF.. gawd!!

So.. I'm going thru the 5 or 6 files that I changed "YAHOO" to "ZONENAME" and seeing if I can figure it out.

If there are any other suggestions.. i'm open to hearin' them..

Thx again..

~L~
"Have a mah-vah-LACEY day~"
Go to Top of Page

Davio
Development Team Member

Jamaica
12217 Posts

Posted - 15 April 2001 :  22:04:50  Show Profile
You have a link to your forums we can take a look at?

Go to Top of Page

Lacey
Junior Member

USA
122 Posts

Posted - 16 April 2001 :  11:54:41  Show Profile  Visit Lacey's Homepage  Send Lacey an AOL message
Yes..it is: http://lfga.net/lfga-index.asp

Click on REGISTER at the top tab, then AGREE at the bottom of that page.. and this will bring u to the FORM I am having trouble with.

'preciate the help!

~L~

~L~
"Have a mah-vah-LACEY day~"
Go to Top of Page

Davio
Development Team Member

Jamaica
12217 Posts

Posted - 16 April 2001 :  17:43:38  Show Profile
hmmm, I see the ICQ and AIM fields but not seeing the Yahoo IM field you're trying to change. You're only have trouble changing the name, not including an input field, right? I guess you have the Yahoo IM option off in your admin options, Member Details Config.

I tried going to your default.asp page but it said your database needed updating.

It would be helpful also if you could could post a .txt version of your inc_profile.asp file so we can check to see if everything is ok with the file.

Go to Top of Page

Lacey
Junior Member

USA
122 Posts

Posted - 16 April 2001 :  23:17:37  Show Profile  Visit Lacey's Homepage  Send Lacey an AOL message
Here is the INC_PROFILE.TXT
http://lfga.net/forum/inc_profile.txt

The only files I touched were:
INC_TOP.ASP
INC_PROFILE.ASP
PRO_PROFILE.ASP
MEMBERS.ASP
CONFIG.ASP
POLICY.ASP

Those are the only files I've changed.. I dont' know why it would say my database needs to be updated .. it's the newest version.. and installed from scratch from the zip file.

You don't see the YAHOO IM anymore.. cuz somewhere along the way it disappeared and instead of ZONENAME being put in it's place, it went poofers... if you do a VIEW SOURCE on that screen, it'll show you that the whole line is gone.. no clue how or where it went since I've gone over and checked out the above files and all instances of ZONENAME are there (took tkhe originals from the ZIP file and changed them again)..

What I did with the above files is searched for YAHOO and substituted ZONENAME .. should have worked, right?

Just something to make you go: hmmmmmmmm

Thx again for the time and help!



~L~
"Have a mah-vah-LACEY day~"
Go to Top of Page

RichardKinser
Snitz Forums Admin

USA
16655 Posts

Posted - 16 April 2001 :  23:48:25  Show Profile
Since you changed every instance of YAHOO with ZONENAME, did you also make the change in the database?
Go to Top of Page

Davio
Development Team Member

Jamaica
12217 Posts

Posted - 17 April 2001 :  00:07:10  Show Profile
Well, I can probably understand why you don't see the Zonename box. You have this in your file:
if strZONENAME = "1" then
%><tr>
<td bgColor=<% =strPopUpTableColor %> align=right nowrap width="10%""><b><font face="<% =strDefaultFontFace %>" size="<% =strDefaultFontSize %>">ZONENAME IM: </font></b></td>
<td bgColor=<% =strPopUpTableColor %>><font face="<% =strDefaultFontFace %>" size="<% =strDefaultFontSize %>"><INPUT name="ZONENAME" size="25" value="<% = ChkString(RS("M_ZONENAME"), "display") %>"></font></td>
</tr>
<% end if
I thought you just wanted to change the Yahoo IM text to Zonename. But you have done there means you need to make more changes to the forum. Basically you are gonna need to create a new variable called strZONENAME. Also a new database field called M_ZONENAME to get that code you have in your file working. Not to mention adding the code to config.asp to create the application variable for it and adding the option to turn it on and off in the admin options. Is that what you wanted to do?

If you just wanted to change the text from "Yahoo IM" to "ZONENAME" you only needed to change the code in red and leave the rest at the default. (in that specific code I posted) And you would do a search and replace for "Yahoo IM" and not "Yahoo". The M_YAHOO database field is a "text" field and can hold up to 150 characters. (unless you want it larger)

Did I make any sense?

Go to Top of Page

Lacey
Junior Member

USA
122 Posts

Posted - 17 April 2001 :  00:21:37  Show Profile  Visit Lacey's Homepage  Send Lacey an AOL message
Yes.. when I first set the forum up, I went into CONFIG.ASP and changed all instances of YAHOO to ZONENAME. I checked the tables in my database and there is no YAHOO, but ZONENAME is there in it's place.


I also edited the file: (when i was first setting the forum up)

INC_CREATE_FORUM_SQL7.ASP

I looked again and there is one instance that still has YAHOO that didn't get changed BUT when I check the tables in the database, there are NO instances of YAHOO in any table.

The one instance that I failed to change is:

strSql = "ALTER TABLE " & strTablePrefix & "CONFIG WITH NOCHECK ADD "

yada
yada
yada

strSql = strSql & "C_STRYAHOO smallint NULL , "


Does this help any?

~L~
"Have a mah-vah-LACEY day~"
Go to Top of Page

Lacey
Junior Member

USA
122 Posts

Posted - 17 April 2001 :  00:28:21  Show Profile  Visit Lacey's Homepage  Send Lacey an AOL message
Davio..u snuck in there! hehehe
My last reply was to RIchard.. but most answers your reply as well..

My intention was this: I'm not needing YAHOO, but need ZONENAME instead. I did "try" to change all instances of YAHOO to be ZONENAME in all files that I found included YAHOO.

I had change YAHOO IM to ZONENAME and it didnt' work..so I then just changed YAHOO IM to ZONENAME IM and it still didnt' work.. instead it took it out completely.

Hope that made a little bit of sense.

TY for being so patient with me.

And since this is a brandy new instance of the forum.. I could erase what I have and reinstall it, if y'all think it would work better... I don't have a problem doing that.. but if we can figure out where I went wrong.. that would help .. mebbe someone else out there needs/wants to change a field name.. :)



~L~
"Have a mah-vah-LACEY day~"
Go to Top of Page

Davio
Development Team Member

Jamaica
12217 Posts

Posted - 17 April 2001 :  00:32:57  Show Profile
The Yahoo IM data was stored in the MEMBERS table as M_YAHOO. So you would need to create a ZONENAME field or rename M_YAHOO to M_ZONENAME.

But if you're creating a new database field, why not just leave the Yahoo IM? Would be less work getting rid of it and... aaah heck, you reached this far, might as well continue.

You would also need to change ALL the occurrences of M_YAHOO (if your not gonna use it again) in your forum files to M_ZONENAME. You would need to change all occurences of strYahoo (or was it strYahooIM?) whatever the original was and change it to strZONENAME. You would also need to create database field in the CONFIG table called C_STRZONENAME, that will hold that value if it is On or Off. Then you would need to modifiy your config.asp file to add that value to an application and session variable. These are the lines of code that you would need to add to the config.asp file at the appropriate places.

strSql = strSql & ", C_STRZONENAME"
Application(strCookieURL & "STRZONENAME") = rsConfig("C_STRZONENAME")
strZONENAME = Application(strCookieURL & "STRZONENAME")

I think that's about it...well, what i can think of right now.

Edited by - Davio on 17 April 2001 00:34:08
Go to Top of Page

Davio
Development Team Member

Jamaica
12217 Posts

Posted - 17 April 2001 :  00:37:04  Show Profile
If you had done this first:
quote:
I had change YAHOO IM to ZONENAME and it didnt' work..
you would probably have gotten it to work. You might just have missed something. But once you went and changed all instances of YAHOO in inc_profile.asp that would have messed it up.

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