php forum
php mysql forum
php mysql smarty
 
Topic Options
#43687 - 12/20/01 04:37 PM About the Change Username hack
svr Offline
Member

Registered: 09/28/01
Posts: 189
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.

Top
#43688 - 12/20/01 08:58 PM Re: About the Change Username hack
BassTeQ Offline
Moderator / Code Fixer

Registered: 10/14/00
Posts: 891
Loc: Australia
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
_________________________
I can't afford a good signature editor frown

Top
#43689 - 12/21/01 06:31 AM Re: About the Change Username hack
Vipermad Offline
Member

Registered: 10/11/00
Posts: 344
Loc: Newport, RI
What doesn't it do precisely? Have I been missing something? <img src="smile.gif" border="0" alt="" />

I use Carnell Utilities for all username changes.
_________________________
Tony (Vipermad) Rickard
Viper Club UBB Admin

Top
#43690 - 12/21/01 06:01 PM Re: About the Change Username hack
Lord Dexter Offline
Member

Registered: 05/25/01
Posts: 6503
Loc: Melbourne, Australia
Vipermad do you have that hack on your Comp? I deleted mine and I want it back. It's hard to find. <img src="frown.gif" border="0" alt="" />

Top
#43691 - 12/21/01 07:19 PM Re: About the Change Username hack
Vipermad Offline
Member

Registered: 10/11/00
Posts: 344
Loc: Newport, RI
CLICK HERE and ye shall receive. <img src="smile.gif" border="0" alt="" />
_________________________
Tony (Vipermad) Rickard
Viper Club UBB Admin

Top
#43692 - 12/21/01 09:14 PM Re: About the Change Username hack
Lord Dexter Offline
Member

Registered: 05/25/01
Posts: 6503
Loc: Melbourne, Australia
Thank you! <img src="smile.gif" border="0" alt="" />

Top
#43693 - 12/23/01 03:53 PM Re: About the Change Username hack
BassTeQ Offline
Moderator / Code Fixer

Registered: 10/14/00
Posts: 891
Loc: Australia
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.
_________________________
I can't afford a good signature editor frown

Top
#43694 - 12/23/01 10:51 PM Re: About the Change Username hack
svr Offline
Member

Registered: 09/28/01
Posts: 189
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.

Top
#43695 - 12/23/01 11:53 PM Re: About the Change Username hack
BassTeQ Offline
Moderator / Code Fixer

Registered: 10/14/00
Posts: 891
Loc: Australia
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.
_________________________
I can't afford a good signature editor frown

Top


Who's Online
1 registered (Gizmo), 17 Guests and 10 Spiders online.
Key: Admin, Global Mod, Mod
Shout Box

Latest Posts
Wisdom needed
by Gizmo
Today at 10:54 AM
How to hide sub forums from summary page
by blaaskaak
Yesterday at 09:54 AM
Spell Check [beta]
by Bill B
12/01/08 09:16 PM
PhotoPost BB Code Popup
by AllenAyres
12/01/08 09:41 AM
Problems reading a lot of old posts here
by AllenAyres
12/01/08 09:35 AM
Forum 'Trader Ratings'.
by AllenAyres
12/01/08 09:33 AM
Customization needed
by Gizmo
11/12/08 12:28 PM
New Mods
User Authentication Class
by
01/19/07 02:59 PM
Multiple Identity Detector
by
12/30/06 06:39 PM
PhotoPost BB Code Popup
by
11/06/06 05:43 PM
Spell Check [beta]
by
10/17/06 09:24 PM
Newest Members
Truth, David DelMonte, nick1, Begbie, cenk
13364 Registered Users
Top Posters
AllenAyres 25452
JoshPet 11330
Rick 8372
LK 7396
Lord Dexter 6503
Greg Hard 5533
Charles Capps 5438

 

 

 
fusionbb message board php hacks