Welcome to Geeklog, Anonymous Thursday, July 25 2024 @ 02:14 am EDT

Geeklog Forums

Post Dates

Tom Terry

I have recently moved my old blogspot site to Geeklog but have one problem. As I move my articles over the Geeklog I cannot post anything with a date prior to 2016. But I have several years of articles with earlier dates I need to post. Is there a work-around or code edit that I can do to allow for additional years in the date for posts?

Tom Terry

Status: offline


Site Admin
Registered: 09/27/05
Posts: 1468
Good question. You can edit the code in lib-common.php around line 5748

Text Formatted Code
function COM_getYearFormOptions($selected = '', $startOffset = -1, $endOffset = 5)

Change the startoffset value to -10 to be able to go back 10 years.

Like this

Text Formatted Code
function COM_getYearFormOptions($selected = '', $startOffset = -10, $endOffset = 5)

One of the Geeklog Core Developers.

Tom Terry

Thanks much!


All times are EDT. The time is now 02:14 am.

  • Normal Topic
  • Sticky Topic
  • Locked Topic
  • New Post
  • Sticky Topic W/ New Post
  • Locked Topic W/ New Post
  •  View Anonymous Posts
  •  Able to post
  •  Filtered HTML Allowed
  •  Censored Content