|
|
|
|
Joined: Aug 2003
Posts: 3
Lurker
|
|
Lurker
Joined: Aug 2003
Posts: 3 |
I've searched for this, but can't seem to find it.
|
|
|
|
|
Joined: Jun 2003
Posts: 1,025
Junior Member
|
|
Junior Member
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
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
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
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.
|
|
|
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.
|
|
Posts: 5,834
Joined: January 2000
|
|
|
Forums63
Topics37,583
Posts293,955
Members13,824
| |
Most Online151,614 Nov 14th, 2025
|
|
Currently Online 4888
Topics Created 0
Posts Made 0
Users Online 0
Birthdays 29
|
|
|
|
|
|