Welcome to Geeklog Saturday, May 28 2022 @ 10:03 am EDT

Geeklog Forums

Media Gallery "Capture Time" Only shows years 1998 to 2009?


Status: offline

StingRay327

Forum User
Newbie
Registered: 13/08/07
Posts: 3
How do I fix the year range for the "Capture Time" when I go to edit or upload a picture?

Thanks!
 Quote

Status: offline

StingRay327

Forum User
Newbie
Registered: 13/08/07
Posts: 3
I found the fix. It was in the "Mediamanage.php" file in this line of code:

PHP Formatted Code
$year_select = '<select name="media_year">';
    for ($i = 2009; $i < 2020; $i++) {
            $year_select .= '<option value="' . $i . '"' . ($media_time_year == $i ? "SELECTED" : "") . '>' . $i . '</option>';


If there was a different place I should of done this let me know!

Thanks
 Quote

Status: offline

::Ben

Forum User
Full Member
Registered: 14/01/05
Posts: 1569
Location:la rochelle, France
Yes it is a bug in the old mediagallery plugin. See here

You can try to upgrade to mediagallery wkz. See Media Gallery WKZ 1.6.11 and Media Browser 1.0.0

Ben
I'm available to customise your themes or plugins for your Geeklog CMS
 Quote

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