Welcome to Geeklog, Anonymous Thursday, March 28 2024 @ 04:03 pm EDT

Geeklog Forums

Changing Story Dates in 1.4.1


harooki2

Anonymous
Is it possible to go back earlier than 2006 for a story's date in this version? There's nothing earlier in the drop-down. If so, how?
 Quote

Status: offline

jmucchiello

Forum User
Full Member
Registered: 08/29/05
Posts: 985
This is almost a FAQ. In lib-common.php, find the function COM_getYearFormOptions and change this line:

for( $i = $start_year - 1; $i <= $cur_year + 5; $i++ )

Change $start_year - 1 to whatever you want the first year to be. If you need to go back to 1999 you would end up with:

for( $i = 1999; $i <= $cur_year + 5; $i++ )
 Quote

harooki2

Anonymous
Can you tell me what folder this php file is in? I've looked everywhere.
 Quote

harooki2

Anonymous
Never mind, I found it. Thanks for the earlier response.
 Quote

All times are EDT. The time is now 04:03 pm.

  • 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