TinyPortal

Development => Support => Topic started by: sturmkatze on February 07, 2016, 11:11:05 PM

Title: Global created date???
Post by: sturmkatze on February 07, 2016, 11:11:05 PM
 Is it possible to globaly update the "created at" date? Or do I have to manually do it on each page??
Title: Re: Global created date???
Post by: illori on February 07, 2016, 11:42:19 PM
i dont know of any way to do it globally. since most people would not want to do it for all pages i doubt that feature is part of TP.
Title: Re: Global created date???
Post by: sturmkatze on February 07, 2016, 11:46:01 PM
Here's the thing, isn't that what the meta "saved" date or whatever shows as? Sadly, it doesn't update every time I update a page. I think. Maybe that is why the evil google thinks nothing has changed? Whatever it is, it's annoying.  :tickedoff:
Title: Re: Global created date???
Post by: illori on February 08, 2016, 01:09:08 AM
the date created is the initial date that the article was published, same as the date when a post was posted. IMO it should not be updated each time an article is updated.
Title: Re: Global created date???
Post by: emanuele on May 05, 2016, 07:59:19 AM
I'm not familiar (any more) with TP, but I guess a query along the lines of:
UPDATE {db_prefix}table_name
SET {creation_date_field} = {creation_date_field} + 60*60*24

would do the trick.

Of course figure out which table and which field it's another story. xD
Title: Re: Global created date???
Post by: lurkalot on May 05, 2016, 08:17:06 AM
Quote from: emanuele on May 05, 2016, 07:59:19 AM

I'm not familiar (any more) with TP,


Yes, I did notice you'd shifted to the dark side.  ;)
Title: Re: Global created date???
Post by: emanuele on May 11, 2016, 07:57:29 AM
https://www.youtube.com/watch?v=DLOth-BuCNY  ;D