Welcome to Geeklog, Anonymous Friday, November 29 2024 @ 09:36 pm EST
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 :-)
15
18
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
34
11
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
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
18
18
Quote
All times are EST. The time is now 09:36 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