Snitz Forums 2000
Snitz Forums 2000
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Snitz Forums 2000 MOD-Group
 MOD Add-On Forum (W/O Code)
 Change displayname
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

patrik80
Starting Member

5 Posts

Posted - 17 January 2006 :  04:35:22  Show Profile  Reply with Quote
Hello

I'm not sure this is the right place to post but here goes.

I'm setting up snitz at my work. They already have a website with 1500 users, and they want me to transfer these users to the snitz db and maintain two db's for a testing period. After this period they are going to try to modify snitz to use AD for authentication.

These 1500 users use their e-mail to login to the site, and to get away with having the e-mail show up when they post a message, I wonder if I can instead make it so firstname + lastname or M_USERNAME will be the fields used to show who wrote the message.
This will be a restricted forum without free registration. Should be a fairly simple modification I think, but aren't 100% sure about it. another thing I thought of doing was to change the login to check the e-mail, but not sure I want to do this since I can't use admin as login for admin then. I'd rather put in the e-mail as login name for the other users I think.

I could dig into the code and start to look where to change, but thought maybe someone else had done this before.

Thanks in advance

/Patrik<

Edited by - patrik80 on 17 January 2006 04:53:50

laser
Advanced Member

Australia
3859 Posts

Posted - 17 January 2006 :  05:08:08  Show Profile  Reply with Quote
quote:
since I can't use admin as login for admin then.
You could make a special case for admin If form.username = "admin" then ...

<
Go to Top of Page

patrik80
Starting Member

5 Posts

Posted - 17 January 2006 :  06:39:59  Show Profile  Reply with Quote
You think it would be easiest to modify the login to go on the e-mail then, with a special case for admin, then to change it so M_USERNAME is displayed instead of M_USER? I'm not sure when M_USERNAME is used in the forum, if it's for something special that I shouldn't mess around with.

/Patrik<
Go to Top of Page

patrik80
Starting Member

5 Posts

Posted - 18 January 2006 :  09:52:23  Show Profile  Reply with Quote
Me again

Have been thinking some on how to implement this, and was thinking how much snitz would dislike if I added a new loginname field in the DB where I put the login-name to snitz and modified the login and register files to put the login name in that field, and put a non unique name in the M_NAME field (firstname + lastname). I guess there are many places in the code that goes on the M_NAME and not the MEMBER_ID to identify the user. I think this probably won't work, so wanted to post here to see if someone knew before I put too much effort into trying it out and ruining Snitz.

Thanks in advance

/Patrik<
Go to Top of Page

patrik80
Starting Member

5 Posts

Posted - 19 January 2006 :  10:14:50  Show Profile  Reply with Quote
It was fairly easy to change what was displayed instead of the M_NAME on the page. Just have to change a few sql quaries to include the name and then display that instead of the M_NAME.

Think it's enough for my companies purposes.

/Patrik<
Go to Top of Page

laser
Advanced Member

Australia
3859 Posts

Posted - 19 January 2006 :  15:42:55  Show Profile  Reply with Quote
quote:
I guess there are many places in the code that goes on the M_NAME and not the MEMBER_ID to identify the user.
There is a few, but remember you can change the M_NAME but never the MEMBER_ID. Most authentication involves MEMBER_ID but if you have the photo album mod (from memory) it doesn't like changes to M_NAME.

Easiest way to test is take a local copy of all ASP pages, and search using UltraEdit and take a local database copy and do all testing locally before uploading.<
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.41 seconds. Powered By: Snitz Forums 2000 Version 3.4.07