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)
 Allowing Users to Change Username
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

cityfocus
Starting Member

4 Posts

Posted - 03 June 2001 :  18:02:12  Show Profile
Ok - before you say: "Why would you do that?!"... I am importing an existing list of 1000 users on an e-mail list. I would ike to import them with usernames & passwords I have preset randomly in the database - since they don't have them yet. The users will then be permitted to go to the site during a 2 week period and change their username to whatever they desire. After that, I will be restoring the files to disallow the changes.

SO, now that I have justified my actions...

I have already modified the inc_profile.asp file to allow the input text field for the username. BUT, this did not do the trick. Despite inserting a new username, the database does not change.

I am not great with going through SQL and ASP code yet, so I NEED HELP :) I have determined that there are 2 update modes: go edit (pop_profile.asp approx. line 765) AND modify it (pop_profile.asp approx. line 938). Go edit (users method) does not seem to update the username, even with the text field in the inc_profile.asp form.

I would also like to add the behavior to check the username for duplicates, as in the Modify It form mode used by admins. (Located at approx line 750 of pop-profile.asp)

Can anyone help me with this idea???

Version is 3.1sr4 with quite a few MODS, but none should affect this request... THANKS TO EVERYONE!

cityfocus
Starting Member

4 Posts

Posted - 04 June 2001 :  15:05:23  Show Profile
Anyone... Anyone... Bueller??

If anyone know how to do this, please post their idea
Go to Top of Page

Doug G
Support Moderator

USA
6493 Posts

Posted - 04 June 2001 :  17:07:52  Show Profile
You could use table editor or some other direct db editor that will let you change the names in the database. You'll probably need to create a custom asp page if you want to let users change the username themselves.



======
Doug G
======
Go to Top of Page

cityfocus
Starting Member

4 Posts

Posted - 04 June 2001 :  21:49:39  Show Profile
Was hoping I could work it right in, since Admins can change Usernames. Admins are directed to the proper MODE on the pop_profile.asp page.

The custom ASP page idea did cross my mind - and I may go with it. I just thought I could take advantage of the existing code by modifying a couple lines (just don't know which ones!), which checks for duplicate username and other form errors. Kills me that the code is right there, but I can't use it for users.... I know it can be done, but I'm not yet proficient with the multiple page ASP layouts within one page

Thanks Doug.

Go to Top of Page

Doug G
Support Moderator

USA
6493 Posts

Posted - 05 June 2001 :  01:00:18  Show Profile
There may be an easy mod, I don't spend enough time in the code to know where it may be tho, sorry.


======
Doug G
======
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.34 seconds. Powered By: Snitz Forums 2000 Version 3.4.07