Previous Thread
Next Thread
Print Thread
Rate Thread
c0bra #310393 09/24/2002 5:51 PM
Joined: Jun 2002
Posts: 303
Enthusiast
Enthusiast
Joined: Jun 2002
Posts: 303
I have successfully written a script to import my postnuke member data into threads, with the exception of the date. I tested it on my home pc and just used the current date for registration purposes. The registration date in the postnuke mysql db is in this format - Nov 10, 2000

Is there a way to reformat this to use threads format?

$date = time(); // this is my current time entered into my db
$row[user_regdate] // this is the array of users registration date.

One thing to note. When I install threads, it will obviously register me with the current date. Will registration dates prior to this have any adverse effect on the threads scripts? This question would also be posed for the messages (discussed below) as well.

I'm making good headway on writing my forum messages conversion script as well, however, my date posted for messages in my forums that I want converted take on this format - 20010307235235
I took a look at the script which processes the post and it looks like it uses the mysql function NOW() when inserting to the db. How do I reformat this for threads?

Thanks for any help.

Sponsored Links
Entire Thread
Subject Posted By Posted
need a script to transfer data from one message bo fishtails 09/20/2002 3:17 PM
Re: need a script to transfer data from one message bo Aglavalin 09/20/2002 10:34 PM
Re: need a script to transfer data from one message bo fishtails 09/21/2002 2:02 AM
Re: need a script to transfer data from one messag Gardener 09/21/2002 2:26 AM
Re: need a script to transfer data from one messag fishtails 09/21/2002 5:30 AM
Re: need a script to transfer data from one messag Gardener 09/21/2002 5:43 AM
Date / Time formats fishtails 09/25/2002 12:51 AM
Re: Date / Time formats Gardener 09/25/2002 1:20 AM
Re: Problems: B_Topic B_Replies, etc fishtails 09/25/2002 9:26 PM
Re: Problems: B_Topic B_Replies, etc Gardener 09/26/2002 4:47 PM
Almost got it! A few more things though. fishtails 10/01/2002 5:22 PM
WOO HOO! I got it! fishtails 10/02/2002 6:40 PM
Re: WOO HOO! I got it! Dave_L_dup1 10/02/2002 7:31 PM
Re: WOO HOO! I got it! fishtails 10/02/2002 10:49 PM
Re: WOO HOO! I got it! Dave_L_dup1 10/02/2002 11:11 PM
Re: WOO HOO! I got it! Gardener 10/04/2002 5:42 PM
Re: WOO HOO! I got it! fishtails 10/05/2002 2:07 PM
Re: WOO HOO! I got it! Gardener 10/07/2002 12:46 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:
Stable Host
bluehost
InterServer
Visit us on Facebook
Member Spotlight
Bill B
Bill B
Issaquah, WA
Posts: 87
Joined: December 2001
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 20240506)