Previous Thread
Next Thread
Print Thread
Rate Thread
#115884 01/14/2005 9:44 AM
Joined: Mar 2001
Posts: 7,394
LK Offline
Admin / Code Breaker
Admin / Code Breaker
Offline
Joined: Mar 2001
Posts: 7,394
If you modify someone's member file, the topics they participated in are still named after the old account. You need some programming skills to change the member number in the topic file, and it's not so difficult if you know a thing or two about Perl.

Basically, create a script that opens all your topics (it's better to open about 200 at once, because if you work on too many topics at once the script will time out,) finds
Code
A||(.*?)||(.+?)||(.+?)||(.+?)||(.*?)||(.+?)||(.*?)||(.+?)||00000000(.*?)
(Replace 00000000 with the old member number) and replaces the old member number with 00000001. That would make the topics he/she used to write with their new member number.

Then look at all the posts, find:
Code
Z||(d{6})||(.+?)||(dd-dd-dddd)||(dd:dd SM)||(.*?)||(.+?)||(.+?)||(.+?)||(.+?)||(.+?)||00000000(.*?)
and do the same as before.

This code was just made up so I have no idea whether or not it works.

Sponsored Links
Entire Thread
Subject Posted By Posted
Enabling member #1 McJ 01/13/2005 8:55 PM
Re: Enabling member #1 Ian Spence 01/13/2005 9:21 PM
Re: Enabling member #1 McJ 01/14/2005 1:19 AM
Re: Enabling member #1 DarkFormula 01/14/2005 7:40 AM
Re: Enabling member #1 LK 01/14/2005 4:44 PM
Re: Enabling member #1 McJ 01/14/2005 8:30 PM
Re: Enabling member #1 Ian Spence 01/14/2005 10:53 PM
Re: Enabling member #1 AllenAyres 01/16/2005 10:43 AM
Re: Enabling member #1 McJ 01/17/2005 9:34 PM
Re: Enabling member #1 Ian Spence 01/17/2005 9:40 PM

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:
• Shock Hosting
• Stable Host
• bluehost
• InterServer
Visit us on Facebook
Member Spotlight
JAISP
JAISP
PA
Posts: 449
Joined: February 2008
Forum Statistics
Forums63
Topics37,583
Posts293,955
Members13,826
Most Online151,614
Nov 14th, 2025
Today's Statistics
Currently Online 13812
Topics Created 0
Posts Made 0
Users Online 1
Birthdays 12
Top Posters
AllenAyres 21,080
JoshPet 10,369
LK 7,394
Lord Dexter 6,708
Gizmo 5,834
Greg Hard 4,625
Top Posters(30 Days)
Top Likes Received
isaac 82
Gizmo 20
Brett 7
WebGuy 2
Top Likes Received (30 Days)
None yet
The UBB.Developers Network (UBB.Dev/Threads.Dev) is ©2000-2026 VNC Web Services

 
Powered by UBB.threads™ PHP Forum Software 8.1.0
(Snapshot build 20260108)