Welcome to Geeklog, Anonymous Sunday, May 26 2024 @ 05:56 am EDT

Geeklog Forums

Changing date when editing stories


Anonymous

Anonymous
When I started my geeklog site a year ago I uploaded all my old articles on it from 1999-2002. I could only date them 2002 at that time, but no big deal. Now, I would like to go back and backdate every story to their actual date. I searched the site, and I edited my lib-common.php and now when I start a NEW story, I can choose 1999. However...when I attempt to edit...it still only lets me to go to 2002. Any ideas? It'd be a pain to have to delete and post new versions of 1950 articles which already have lots of comments. Thanks :-)
 Quote

Status: offline

Dirk

Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
In function COM_getYearFormOptions() in lib-common.php, set the $start_year variable just prior to the for-loop, i.e. $start_year = 1999; for( $i = $start_year; $i <= $cur_year + 5; $i++ ) etc. That should do it. bye, Dirk
 Quote

weyrcat@gmail.com

Anonymous
I am attempting to alter the lib_common.php so that I can initially backdate stories to 2001 at least, as I'm moving all the old standalone blogs to my Geeklog.

Your code allowed me to alter the start date of the Calender, but I canno find the snippet where I could use the $start_year to start Stories at backdate...
Help plex?

Janna
weyrcat at gmail.com
http://www.weyrcat.com/blog
 Quote

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