UBB.Dev
Posted By: svr About the Change Username hack - 12/21/2001 12:37 AM
This hack doesn't take care of the Private messages (I have inst.. the CYPM hack for 5.47e).

Should I just add some code to rename the files in the private directory??

If I change usernames, then the private messages files for the previous/old username is lost.
Posted By: BassTeQ Re: About the Change Username hack - 12/21/2001 4:58 AM
easy fix, all you would have to do is add a system command in perl to rename the old name for private messages into the new name.
ie.
set $Path to the path of your private messages directory
[code][/code]
If you need some more help let me know.
Cheers
Posted By: Vipermad Re: About the Change Username hack - 12/21/2001 2:31 PM
What doesn't it do precisely? Have I been missing something?

I use Carnell Utilities for all username changes.
Posted By: Lord Dexter Re: About the Change Username hack - 12/22/2001 2:01 AM
Vipermad do you have that hack on your Comp? I deleted mine and I want it back. It's hard to find.
Posted By: Vipermad Re: About the Change Username hack - 12/22/2001 3:19 AM
CLICK HERE and ye shall receive.
Posted By: Lord Dexter Re: About the Change Username hack - 12/22/2001 5:14 AM
Thank you!
Posted By: BassTeQ Re: About the Change Username hack - 12/23/2001 11:53 PM
I think he means that if you chage a username using the hack it doesnt rename the users private message box, so they loose their old private messages.
Posted By: svr Re: About the Change Username hack - 12/24/2001 6:51 AM
Yup BassTeq is right on, I meant that the private mesg files are not renamed.

Bassteq I tried the system calls but they don't work. I guess I will test them out in a separate script first.

For now, since I do not want users to change names themselves, I will do such changes myself in the process, move the private mesg files (rename them) myself.
Posted By: BassTeQ Re: About the Change Username hack - 12/24/2001 7:53 AM
svr, those system calls were just examples, the path/varibales/filenames I just made up, it was just meant as a guide for you when writing your own system calls.
© UBB.Developers