Nukemods Forum  
» Log in
User Name:

Password:

Not a member yet?
Register Now!
» Online Users: 78
7 members and 71 guests
asrapxl, claudiamazzonif, isrmxaeltsy5meo, lnkmastes, scigo6catica3gz, tax7bcslkk7daaw, whasst3xniisabs
Most users ever online was 611, 03-21-2008 at 11:10 PM.
» .::.
tattoo fonts
http://www.checkoutmyink.com/category/tattoo-fonts-tattoo

Go Back   Nukemods Forum > NM Staff > Purged Topics

Reply
 
LinkBack Thread Tools Display Modes
User Reg. Date and MKtime
Old
  (#1 (permalink))
Junior Member
 
Status: Offline
Posts: 3
Join Date: Dec 2002
User Reg. Date and MKtime - 08-06-2003, 03:44 AM

I had a php-NUKE 6.0 with an active forum and moded with the 2.0.6
then I decided to leave the nuke and just use a phpBB forum instead, so I just transfer tha tables with some problems but at last I did it, but I forgot that the Registration date format of NUKE for users table is for example Dec 05, 2002 and for phpBB is a MKtime result,
so every old user in forum is joined 01, jan 1970 !!
Any Idea how can I change a simple date to a MKtime format?!

Thanks :wink:
   
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old
  (#2 (permalink))
Moderator
 
Status: Offline
Posts: 957
Join Date: Nov 2002
Location: Belgium
08-06-2003, 05:40 AM

The only thing I can advice you is this:
- Learn PHP
- Learn SQL
- Write a script wich takes out the joined dates from the database (using a while(list) or so ), and using this little code for transforming the dates to MKtime
Code:
$time = strtotime($time);
and then in the while loop you put the date back in.

It seems simple when I write it down but isn't that simple for doing it right (I know that because I wrote a similar script wich had to do the same thing too, but for other purposes)


Yannick R. aka Mighty_Y
http://support.code-area51.com
http://www.code-area51.com

Search before asking makes my life easier!
   
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old
  (#3 (permalink))
Junior Member
 
Status: Offline
Posts: 3
Join Date: Dec 2002
08-06-2003, 06:18 PM

Thanks for the reply,
I just know some php and mysql so I could transfer the nuke_users table to phpbb_users table, but in this case I couldn't manage the mktime function, but I made a php file to do this for me after reading the php manual more carefully,

Anyways thanks again :wink:
   
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
php question - date format Lokrin Open topics 1 03-14-2005 05:06 AM
forum date prob? ShRapNeR Open topics 1 05-25-2003 01:19 AM
SpacePilot3K 6.5 Release Date Ghent Nuke 6.5 to 6.9 - Themes 1 05-15-2003 06:20 PM
Date not showing up anymore dac Purged Topics 11 03-03-2003 09:50 PM
Test post date, Joined date mikem Open topics 5 10-06-2002 03:56 PM




vBulletin Skin developed by: vBStyles.com


LinkBacks Enabled by vBSEO 3.3.0

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31