» Log in
User Name:

Password:

Not a member yet?
Register Now!
» Online Users: 61
0 members and 61 guests
No Members online
Most users ever online was 611, 03-21-2008 at 11:10 PM.
» .::.
Web Hosting - web hosting, dedicated servers and web design services
Online Degree - search for 1000+ online degrees, online colleges & online universities.
Tattoo - we are a group of tattoo enthusiasts
Gexa Energy - your absolute best choice in electric service
Texas electricity - save on electric rates
Football Betting - best nfl betting promotions at sportsbook.com.
Oral Chelation - initial cleansing of your veins & arteries
Portatiles - Ofertas en Ordenadores y Portatiles. Increibles Ofertas DELL.

Register Now! Contact Us

About this Page
This is a discussion on User Reg. Date and MKtime within the Purged Topics forums, part of the NM Staff category; I had a php-NUKE 6.0 with an active forum and moded with the 2.0.6 then I ...


Go Back   Nukemods Forum » NM Staff » Purged Topics

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 08-06-2003, 03:44 AM
Junior Member
 
Join Date: Dec 2002
Posts: 3
User Reg. Date and MKtime
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
  #2 (permalink)  
Old 08-06-2003, 05:40 AM
Moderator
 
Join Date: Nov 2002
Location: Belgium
Posts: 957
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
  #3 (permalink)  
Old 08-06-2003, 06:18 PM
Junior Member
 
Join Date: Dec 2002
Posts: 3
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


All times are GMT -5. The time now is 09:32 AM.


Design by Vjacheslav Trushkin, color scheme by ColorizeIt!.

LinkBacks Enabled by vBSEO 3.1.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