Snitz Forums 2000
Snitz Forums 2000
Home | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 Snitz Forums 2000 MOD-Group
 MOD Add-On Forum (W/O Code)
 Change displayname

Note: You must be registered in order to post a reply.
To register, click here. Registration is FREE!
Before posting, make sure you have read this topic!

Screensize:
UserName:
Password:
Format Mode:
Format: BoldItalicizedUnderlineStrikethrough Align LeftCenteredAlign Right Horizontal Rule Insert HyperlinkInsert EmailInsert Image Insert CodeInsert QuoteInsert List
   
Message:

* HTML is OFF
* Forum Code is ON
Smilies
Smile [:)] Big Smile [:D] Cool [8D] Blush [:I]
Tongue [:P] Evil [):] Wink [;)] Clown [:o)]
Black Eye [B)] Eight Ball [8] Frown [:(] Shy [8)]
Shocked [:0] Angry [:(!] Dead [xx(] Sleepy [|)]
Kisses [:X] Approve [^] Disapprove [V] Question [?]

 
   

T O P I C    R E V I E W
patrik80 Posted - 17 January 2006 : 04:35:22
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<
5   L A T E S T    R E P L I E S    (Newest First)
laser Posted - 19 January 2006 : 15:42:55
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.<
patrik80 Posted - 19 January 2006 : 10:14:50
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<
patrik80 Posted - 18 January 2006 : 09:52:23
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<
patrik80 Posted - 17 January 2006 : 06:39:59
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<
laser Posted - 17 January 2006 : 05:08:08
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 ...

<

Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.17 seconds. Powered By: Snitz Forums 2000 Version 3.4.07