Welcome to Geeklog, Anonymous Friday, March 29 2024 @ 11:10 am EDT

Geeklog Forums

Post Dates


Tom Terry

Anonymous
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
 Quote

Status: offline

Laugh

Site Admin
Admin
Registered: 09/27/05
Posts: 1468
Location:Canada
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.
 Quote

Tom Terry

Anonymous
Thanks much!

Tom
 Quote

All times are EDT. The time is now 11:10 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