Previous Thread
Next Thread
Print Thread
Rate Thread
Joined: Sep 2001
Posts: 194
svr
Offline
Member
Member
Offline
Joined: Sep 2001
Posts: 194
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.

Sponsored Links
Joined: Oct 2000
Posts: 743
Moderator / Code Fixer
Moderator / Code Fixer
Offline
Joined: Oct 2000
Posts: 743
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
Joined: Oct 2000
Posts: 290
Member
Member
Offline
Joined: Oct 2000
Posts: 290
What doesn't it do precisely? Have I been missing something?

I use Carnell Utilities for all username changes.

Joined: May 2001
Posts: 6,708
Member
Member
Offline
Joined: May 2001
Posts: 6,708
Vipermad do you have that hack on your Comp? I deleted mine and I want it back. It's hard to find.

Joined: Oct 2000
Posts: 290
Member
Member
Offline
Joined: Oct 2000
Posts: 290
CLICK HERE and ye shall receive.

Sponsored Links
Joined: May 2001
Posts: 6,708
Member
Member
Offline
Joined: May 2001
Posts: 6,708
Thank you!

Joined: Oct 2000
Posts: 743
Moderator / Code Fixer
Moderator / Code Fixer
Offline
Joined: Oct 2000
Posts: 743
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
Joined: Sep 2001
Posts: 194
svr
Offline
Member
Member
Offline
Joined: Sep 2001
Posts: 194
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.

Joined: Oct 2000
Posts: 743
Moderator / Code Fixer
Moderator / Code Fixer
Offline
Joined: Oct 2000
Posts: 743
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

Link Copied to Clipboard
Donate Today!
Donate via PayPal

Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.

Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.
Recommended Hosts
We have personally worked with and recommend the following Web Hosts:
Stable Host
bluehost
InterServer
Visit us on Facebook
Member Spotlight
Gizmo
Gizmo
Portland, OR, USA
Posts: 5,833
Joined: January 2000
Forum Statistics
Forums63
Topics37,573
Posts293,925
Members13,849
Most Online5,166
Sep 15th, 2019
Today's Statistics
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
Top Posters
AllenAyres 21,079
JoshPet 10,369
LK 7,394
Lord Dexter 6,708
Gizmo 5,833
Greg Hard 4,625
Top Posters(30 Days)
Top Likes Received
isaac 82
Gizmo 20
Brett 7
WebGuy 2
Morgan 2
Top Likes Received (30 Days)
None yet
The UBB.Developers Network (UBB.Dev/Threads.Dev) is ©2000-2024 VNC Web Services

 
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Preview build 20221218)