Advertisement:

Author Topic: Explaining how to change date and time of a post?  (Read 3107 times)

Offline frankiekam

  • Newbie
  • *
  • Posts: 4
Explaining how to change date and time of a post?
« on: March 09, 2016, 02:53:13 AM »
Hi Y'all

I just manually ported my old Guestbook entries into a SMF board discussion thread. I had to use PhpMyAdmin to manually edit the MySQL timestamp values into the equivalent of the old Guestbook entries - for accuracy sake. This website was invaluable to me in getting accurate timestamp values: www epochconverter dot com

I had to follow these steps:
1. Take note of the human-readable timestamps on the entries of my old Guestbook.
    For example:  2016-03-08 08:10:50

2. Copy the text: 2016-03-08 08:10:50 to the clipboard (Control-C)

3. Paste the text into Notepad (Control-V): 2016-03-08 08:10:50

4. Go to www epochconverter dot com and enter the values from Step #3 into the edit boxes like so:


5. Click on the "Human date to Timestamp" button


6. Copy the value 1457395850 to the clipboard

7. Use PhpMyAdmin and Paste this value into the correct field of the correct table in the MySQL database.

8. Use PhpMyAdmin to save the table data in MySQL.

Hope this helps,
Frankie Kam
Malaysia

Offline Illori

  • Project Manager
  • SMF Legend
  • *
  • Posts: 50,489
Re: Explaining how to change date and time of a post?
« Reply #1 on: March 09, 2016, 05:07:27 AM »
yes it is possible to do it that way, but we dont recommend anyone to do it. especially someone that does not know much about how to use phpmyadmin or a database.

Offline GirlinGray

  • Semi-Newbie
  • *
  • Posts: 63
  • Go big or stay home.
    • SeeMaxRun
Re: Explaining how to change date and time of a post?
« Reply #2 on: September 29, 2016, 02:56:35 AM »
I would really like to know if there is a mod or simple way of altering time stamps for posts that doesn't require going into a php admin.

I run a writing workshop and sometimes changed out posts for workshop review end up at the bottom of threads when they need to be the top post.

As another example, if I have a new staff member come in, it would be great if that staff member's bio post could be moved up under mine so staff bio posts are first in a thread.

Being able to alter time/date stamps would really be helpful.


That Adams Girl

Offline Arantor

  • Resident Overthinker
  • SMF Friend
  • SMF Legend
  • *
  • Posts: 70,795
    • StoryBB/StoryBB on GitHub
Re: Explaining how to change date and time of a post?
« Reply #3 on: September 29, 2016, 04:55:56 AM »
SMF does not use the time stamp for ordering purposes, it uses the internal post ID which is allocated in creation order.
Don’t try to tell me that some power can corrupt a person. You haven’t had enough to know what it’s like.

No good deed goes unpunished / No act of charity goes unresented.

Offline GirlinGray

  • Semi-Newbie
  • *
  • Posts: 63
  • Go big or stay home.
    • SeeMaxRun
Re: Explaining how to change date and time of a post?
« Reply #4 on: September 29, 2016, 05:09:40 AM »
Okay, I know what that means, though it makes my head spin around in some sort of exorcist frenzy reading it.

That is going to seriously make things complicated trying to re-order a post even if I did want to go into bad places internet to try to do it. It's not topic related at all, it's in a string sequence of posts in all topics related to a creation order?


*Edited to overcome initial head spinning, ow ow ow.



That Adams Girl

Offline Illori

  • Project Manager
  • SMF Legend
  • *
  • Posts: 50,489
Re: Explaining how to change date and time of a post?
« Reply #5 on: September 29, 2016, 05:12:20 AM »
also next time please open a separate topic for your issue. this topic belongs to someone else and their issue is not the same as yours.

Offline GirlinGray

  • Semi-Newbie
  • *
  • Posts: 63
  • Go big or stay home.
    • SeeMaxRun
Re: Explaining how to change date and time of a post?
« Reply #6 on: September 29, 2016, 05:18:35 AM »
Well I try, and this used to be the polite thing to do, to find a topic on what I'm asking about that already exists instead of asking a question in a new topic that asks or addresses the same issue that already exists in multiple previous topics.

Is that not how it is done now? I can open a new topic. I just usually go look to see if there is an existing topic on what I want to ask about. But I can change my ways and just randomly open new topics without looking from hereon out.
That Adams Girl

Offline Illori

  • Project Manager
  • SMF Legend
  • *
  • Posts: 50,489
Re: Explaining how to change date and time of a post?
« Reply #7 on: September 29, 2016, 05:22:00 AM »
we prefer that new topics be opened for each issue, this way we can track if the issue/topic has been solved or not.

Offline GirlinGray

  • Semi-Newbie
  • *
  • Posts: 63
  • Go big or stay home.
    • SeeMaxRun
Re: Explaining how to change date and time of a post?
« Reply #8 on: September 29, 2016, 05:41:17 AM »
I'll do that from hereon in then. Thanks.
That Adams Girl