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

   About the Change Username hack to Del.icio.us Add to del.icio.us
  Digg About the Change Username hack Digg it
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
0 Registered (), 39 Guests and 5 Spiders online.
Key: Admin, Global Mod, Mod
Shout Box

Latest Posts
Blogs, love em or hate em?
by Ian_W
10/05/08 03:47 PM
What do you use to edit the files
by Ian_W
10/05/08 03:33 PM
BeyondCompare v3.00
by Ian_W
10/05/08 03:32 PM
Glossy Black Theme with Image Reflection
by Gizmo
10/05/08 02:17 PM
ShareThis
by Gizmo
09/28/08 05:06 AM
[7.3] Viewing MySQL logfiles made easier
by AllenAyres
09/27/08 09:57 PM
Looking for a simple upload script
by Murphdog
09/26/08 08:45 PM
New Mods
[7.3] Viewing MySQL logfiles made easier
by blaaskaak
09/24/08 05:39 PM
[7.3] Language file checker
by blaaskaak
09/09/08 12:56 AM
[7.3.1] add search to showmembers page
by blaaskaak
09/07/08 04:50 AM
Multiple Identity Detector
by
12/30/06 06:39 PM
Newest Members
ghengis317, NitroX, Dogan, EliYah-, W-D
13344 Registered Users
Top Posters Last 30 Days
AllenAyres 16
blaaskaak 12
FREAK1 7
Mike L_dup1 4
Chris Bale 4
Ian_W 4
W-D 3

 

 

 
fusionbb message board php hacks