News:

SMF 2.1.4 has been released! Take it for a spin! Read more.

Main Menu

"Former Member" instead of guest

Started by dschwab9, December 30, 2003, 04:58:39 PM

Previous topic - Next topic

dschwab9

When a user is deleted, all of their posts show their status as guest.  Would it be possible to make it say "Former Member" instead?  I could change it in the language files I guess, but on a baord where you allow guests to post as well, they would all show as former members.

Anguz

interesting... I've thought about this issue about an year ago, when I first deleted an account in my community

I agree with you... one thing is a Guest and another is an Ex-Member... it'd be nice being able to tell them apart...
Cristián Lávaque http://cristianlavaque.com

pulpitfire

#2
Quote from: Anguz on December 30, 2003, 06:04:36 PM
interesting... I've thought about this issue about an year ago, when I first deleted an account in my community...

no he didn't, he's just making it up.  :P

Grudge

^ You should of used smileys in that...

Anway - I quite like this idea. I don't know what would make of it but personally I see no harm in setting ID_MEMBER to, say, -2 upon deletion of a member and use that as indication of past memeber...
I'm only a half geek really...

[Unknown]

Yes, there is harm - ID_MEMBER cannot be negative.

-[Unknown]

Grudge

I'm only a half geek really...

dschwab9

Quote from: [Unknown] on December 31, 2003, 06:23:39 AM
Yes, there is harm - ID_MEMBER cannot be negative.

-[Unknown]

Why can ID_MEMBER not be negative?

You could always set it to 9 million instead  :D  ;D

Grudge

Probably cause it's auto_increment - which I forgot ;)
I'm only a half geek really...

dschwab9

#8
Quote from: Grudge on December 31, 2003, 06:41:25 AM
Probably cause it's auto_increment - which I forgot ;)

Are you talking about setting it in the members table?  Or on all the posts?

Why not keep the row in the members table, but empty all the data except the username, and set the ID_GROUP to some value which would be a "deleted user", then when you click on the username, instead of the profile, give an error that "This user is no longer in the database" or something like that.

Grudge

I'm only a half geek really...

[Unknown]

Actually, it's because ID_MEMBER is "unsigned" meaning it has no sign. (negative/positive.)

A "recycle bin" for members could pretty easily be added, yes... but, I would really put that as a mod, personally.  Either way, it's not going to make it into 1.0.

-[Unknown]

Burni

if you make a member group named "ex member" an instead of deleting the member he is added to this group ....

i think this should be easy to do .......

dschwab9

#12
Quote from: [Unknown] on December 31, 2003, 07:08:44 AM
Actually, it's because ID_MEMBER is "unsigned" meaning it has no sign. (negative/positive.)

A "recycle bin" for members could pretty easily be added, yes... but, I would really put that as a mod, personally.  Either way, it's not going to make it into 1.0.

-[Unknown]

I don't know that a recycle bin is needed, but can you at least somehow make so it doesn't say guest?  IMHO, that's *almost* a big, since they are not guests.

How does it know now that they have been deleted?  Can there not just a be a simple check in Display.php where if ID_MEMBER doesn't exist, it shows "Ex member"?

[Unknown]

Guests and deleted members use ID_MEMBER = 0 for their ID_MEMBER.

-[Unknown]

Owdy

Another req. Deleted members shouldnt show any email adresses in messages after deletion.
Former Lead Support Specialist

Tarvitsetko apua SMF foorumisi kanssa? Otan työtehtäviä vastaan, lue:http://www.simplemachines.org/community/index.php?topic=375918.0

Kris

You could fill the value for the custom title with ex-member when a user deletes his account...

Tom

I think that this would be good too. My users can get confused when I delete an account . For example, if an abusive member was deleted and banned, and their posts show up as "guest" some members will start saying "Nice try [useranme], just because it says you are a guest, we still know it's you," or something like that.  :P

Anguz

I like [Unknown]'s recycle bin idea, it could be a kind of user group, and if an account needs to be recovered, all the info'd be there, no problem :)

another group for banned would be good too, it'd work as the removed accounts one, but with a different title...

I think that dschawb's point of making it clear why the account changed, is important for others to know

it could start as a mod if it doesn't make it into the first public version and incorporated later
Cristián Lávaque http://cristianlavaque.com

dschwab9

Quote from: [Unknown] on December 31, 2003, 08:25:10 AM
Guests and deleted members use ID_MEMBER = 0 for their ID_MEMBER.

-[Unknown]

So you're telling me that as many features and gizmos as SMF has, there is absolutely no chance of deleted members not showing as guests?

Why do guests have to use ID_MEMBER="0"?  Just leave the original ID_MEMBER in the post, and show them as ex member if it doesn't exist.

For example, if you view a post by MEMBER_ID="143", and there is no member 143, so it as an ex-member.

[Unknown]

Not at all, not at all.  I'm not saying there's no chance of anything... I'm not even saying there's no chance it will snow in California this year... :P.

I would prefer not to use something other than 0 for deleted members currently, because everything assumes things are in the members table or 0.  I think that changing this would likely even be beneficial, but we are trying to get SMF released before 2005... so we can't do everything.

I think this will definitely make it into 1.1 (or 1.01 or whatever...) but I don't think we have time to put it in 1.0 if we want to release it sooner or later.

-[Unknown]

Advertisement: