Gossamer Forum
Home : Products : Gossamer Forum : Discussion :

How do I post with a different date?

Quote Reply
How do I post with a different date?
I am trying to import my existent messages from Discus board (a semi-static non threaded forum) into my new Gforum. Gossamer Threads can no more develop this plugin so I must import all data manually....
Do you know how to change the date of a sigle post into Gforum and the poster? I think it's a sort of hack...
I have 190 messages to transfer....
Please help
Thanks
Max
The one with Mac OS X Server 10.4 :)
Quote Reply
Re: [maxpico] How do I post with a different date? In reply to
You can go to "Tools -> Post", and then at the bottom of the page, click on "Modify" and search the post you want to modify, and change post_time. You also have to change post_latest_reply, which is 2000000000 - post_time.

Good luck Smile

BTW: didn't 'ArmyAirForces' develop something like this?

Ivan
-----
Iyengar Yoga Resources / GT Plugins
Quote Reply
Re: [yogi] How do I post with a different date? In reply to
OK I'll try right now.
Yes I know about 'ArmyAirForces' plugin but this was not for MySQL and Unix but for Win servers.....
Max
The one with Mac OS X Server 10.4 :)
Quote Reply
Re: [maxpico] How do I post with a different date? In reply to
I tried but the date is a sequence of numbers....
How I can convert this 1031922646 to another date?
I shall do this for 190 messages so I need something more useful....
Thanks
Max
The one with Mac OS X Server 10.4 :)
Quote Reply
Re: [maxpico] How do I post with a different date? In reply to
The sequence of numbers is unix time (number of seconds since something like 1 Jan 1970, midnight). You can convert it using a script (have a look at the GT::Date module), there are also many online tools available, e.g. http://www.onlineconversion.com/unix_time.htm

Ivan
-----
Iyengar Yoga Resources / GT Plugins
Quote Reply
Re: [yogi] How do I post with a different date? In reply to
Ah fantastic! Smile
Thanks
Max
The one with Mac OS X Server 10.4 :)
Quote Reply
Re: [maxpico] How do I post with a different date? In reply to
Also, you can ignore the latest post field, as once you are done the import, run:

admin/tools/rebuild_latest_posters.pl

and it will fix up the last post column for all your posts. This is useful if you are working on a one time import.

Cheers,

Alex
--
Gossamer Threads Inc.