Previous Thread
Next Thread
Print Thread
Rate Thread
Joined: Aug 2003
Posts: 3
Lurker
Lurker
Offline
Joined: Aug 2003
Posts: 3
I've searched for this, but can't seem to find it.

Sponsored Links
Joined: Jun 2003
Posts: 1,025
Junior Member
Junior Member
Offline
Joined: Jun 2003
Posts: 1,025
What are you trying to import from? A mySQL database? A CVS? Something else? Is this a userlist from another bb sw?

If you could give us some specifics we can better answer your question.

Joined: Aug 2003
Posts: 3
Lurker
Lurker
Offline
Joined: Aug 2003
Posts: 3
Basically I have been running 2 different lists on my website, one for UBB.classic (will be upgrading to threads in the next few days) and one for the main site in a flat file. So very difficult to keep both up to date. Currently only the flat file (CSV) is up to date. If I can get this list imported to threads, if there is a way to maintain one member list, pls let me know

The current list is in a flat file, but will be upgrading to mySql very shortly as well.

So I have everything now, in a CSV. Basically would want to import the following data fields

Real Name
username
password
email
mailing address (not essential)
plus one or 2 customizable datafields.

thx

Joined: Jun 2003
Posts: 1,025
Junior Member
Junior Member
Offline
Joined: Jun 2003
Posts: 1,025
Anyone got an answer to this? My MySQL skillz are almost nonexistant and I'm just starting to get somewhat of a feel for php. But I don't have any idea how to write a script to do this.

Joined: Apr 2002
Posts: 1,768
Addict
Addict
Offline
Joined: Apr 2002
Posts: 1,768
I don't have time to write a complete script, but you can use adduser.php as a guideline for the INSERT queries.

Issues:

The old real-name and username syntax might be different from the syntax UBB.threads uses, so you'll want to check those and decide whether it's a problem.

Unless the old passwords are cleartext or happen to be encoded exactly the
same way that UBB.threads does it (MD5 digest of the cleartext password), you won't be able to preserve them.

Sponsored Links

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
Gizmo
Gizmo
Portland, OR, USA
Posts: 5,834
Joined: January 2000
Forum Statistics
Forums63
Topics37,583
Posts293,955
Members13,824
Most Online151,614
Nov 14th, 2025
Today's Statistics
Currently Online 4888
Topics Created 0
Posts Made 0
Users Online 0
Birthdays 29
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
Morgan 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)