TP-Docs
HTML5 Icon HTML5 Icon HTML5 Icon
TP on Social Media

Recent

Welcome to TinyPortal. Please login or sign up.

March 29, 2024, 07:46:54 AM

Login with username, password and session length
Members
Stats
  • Total Posts: 195,106
  • Total Topics: 21,213
  • Online today: 358
  • Online ever: 3,540 (September 03, 2022, 01:38:54 AM)
Users Online
  • Users: 0
  • Guests: 94
  • Total: 94

Global created date???

Started by sturmkatze, February 07, 2016, 11:11:05 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

sturmkatze

 Is it possible to globaly update the "created at" date? Or do I have to manually do it on each page??

illori

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.

sturmkatze

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:

illori

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.

emanuele

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

lurkalot

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.  ;)