Advanced search  

News:

cpg1.5.46 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter recently discovered vulnerabilities. It is important that all users who run version cpg1.5.44 or older update to this latest version as soon as possible.
[more]

Pages: [1] 2 3   Go Down

Author Topic: Calendar: search for images per date of addition through a calendar  (Read 67409 times)

0 Members and 2 Guests are viewing this topic.

François Keller

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: fr
  • Offline Offline
  • Gender: Male
  • Posts: 9093
  • aka Frantz
    • Ma galerie

Calendar plugin

This plugin allow you, from a new menu button, to make a search on a precise date:
Choose the month in which you wish to carry out research from the displayed list.
A calendar show you the days where files were added. While clicking on the link of the day display the thumbs from these files.

This plugin use the phpclalendar class (http://www.cascade.org.uk/software/php/calendar/index.php)

INSTALL:
- unzip package to plugins folder and use plugin manager to install it


CONFIG:
- Modify the clalendar.inc.css to catch your theme

demo

LANGUAGE:
english.php and french.php are avaible in the package. Feel free translate in your language  ;)
Italian.php added (Thank's Lontano)
Dutch.php added (Thank's Hein)
« Last Edit: June 12, 2007, 08:08:32 am by Frantz »
Logged
Avez vous lu la DOC ? la FAQ ? et cherché sur le forum avant de poster ?
Did you read the DOC ? the FAQ ? and search the board before posting ?
Mon Blog

Davide Renda

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 1427
  • aka "Lontano"
    • www.daviderenda.eu
Re: Calendar: search for images per date of addition through a calendar
« Reply #1 on: June 10, 2007, 10:16:46 pm »

Quote
Feel free translate in your language
I do feel absolutely free today ;-) herewith attached italian translation.
Great work Frantz (as usual) :-))
« Last Edit: June 12, 2007, 10:50:03 am by Lontano »
Logged

François Keller

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: fr
  • Offline Offline
  • Gender: Male
  • Posts: 9093
  • aka Frantz
    • Ma galerie
Re: Calendar: search for images per date of addition through a calendar
« Reply #2 on: June 11, 2007, 02:24:47 pm »

Thank's Lontano for your translation (will add it in the pack asp...)
« Last Edit: June 12, 2007, 08:09:09 am by Frantz »
Logged
Avez vous lu la DOC ? la FAQ ? et cherché sur le forum avant de poster ?
Did you read the DOC ? the FAQ ? and search the board before posting ?
Mon Blog

Hein Traag

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: nl
  • Offline Offline
  • Gender: Male
  • Posts: 2166
  • A, B, Cpg
    • Personal website - Spintires.nl
Re: Calendar: search for images per date of addition through a calendar
« Reply #3 on: June 11, 2007, 02:51:43 pm »

Frantz, keep on going  :D Another great plugin.

Dutch language added and i have a minor typo in the english.php

line 33
Code: [Select]
  'in_gallery'  => ' in he gallery', Missing a t there.

Hein

p.s. Slightly updated dutch.php
« Last Edit: June 11, 2007, 03:30:51 pm by Hein »
Logged

François Keller

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: fr
  • Offline Offline
  • Gender: Male
  • Posts: 9093
  • aka Frantz
    • Ma galerie
Re: Calendar: search for images per date of addition through a calendar
« Reply #4 on: June 11, 2007, 03:07:17 pm »

Thank's Hein for yout contribution and for the typo report. Will be corrected asp.
« Last Edit: June 12, 2007, 08:09:54 am by Frantz »
Logged
Avez vous lu la DOC ? la FAQ ? et cherché sur le forum avant de poster ?
Did you read the DOC ? the FAQ ? and search the board before posting ?
Mon Blog

Hein Traag

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: nl
  • Offline Offline
  • Gender: Male
  • Posts: 2166
  • A, B, Cpg
    • Personal website - Spintires.nl
Re: Calendar: search for images per date of addition through a calendar
« Reply #5 on: June 11, 2007, 03:33:19 pm »

Frantz,

A small suggestion for this plugin. Would it be possible to add two arrows on the screen where the plugin displays the days in a month. One arrow for going one month back and one for going a month forward.

I updated dutch.php slightly again (again).. it reads better now in my language  ;)

Hein
Logged

François Keller

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: fr
  • Offline Offline
  • Gender: Male
  • Posts: 9093
  • aka Frantz
    • Ma galerie
Re: Calendar: search for images per date of addition through a calendar
« Reply #6 on: June 11, 2007, 04:14:04 pm »

Quote
A small suggestion for this plugin. Would it be possible to add two arrows on the screen where the plugin displays the days in a month. One arrow for going one month back and one for going a month forward.
certainly possible but i must see how  ;)
Logged
Avez vous lu la DOC ? la FAQ ? et cherché sur le forum avant de poster ?
Did you read the DOC ? the FAQ ? and search the board before posting ?
Mon Blog

Hein Traag

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: nl
  • Offline Offline
  • Gender: Male
  • Posts: 2166
  • A, B, Cpg
    • Personal website - Spintires.nl
Re: Calendar: search for images per date of addition through a calendar
« Reply #7 on: June 12, 2007, 10:20:53 am »

I was toying with EXIF data on some pictures and then it came to me. Would it be possible to let the calendar sort the pictures on the date that they were actually taken. That date can be retrieved from the EXIF data. Not sure if this is possible, it just sounded cool ;)
Logged

MarkP

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 39
Re: Calendar: search for images per date of addition through a calendar
« Reply #8 on: June 13, 2007, 06:52:48 pm »

I was toying with EXIF data on some pictures and then it came to me. Would it be possible to let the calendar sort the pictures on the date that they were actually taken. That date can be retrieved from the EXIF data. Not sure if this is possible, it just sounded cool ;)

Excellent plugin....the idea above would be truly awesome!
Logged

François Keller

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: fr
  • Offline Offline
  • Gender: Male
  • Posts: 9093
  • aka Frantz
    • Ma galerie
Re: Calendar: search for images per date of addition through a calendar
« Reply #9 on: June 14, 2007, 07:40:56 am »

I'll see if it's possible to make this for the next version (possibility to choose between the two ways)
Logged
Avez vous lu la DOC ? la FAQ ? et cherché sur le forum avant de poster ?
Did you read the DOC ? the FAQ ? and search the board before posting ?
Mon Blog

AlexL

  • Translator
  • Coppermine frequent poster
  • **
  • Offline Offline
  • Gender: Male
  • Posts: 189
    • Velvet Photos
Re: Calendar: search for images per date of addition through a calendar
« Reply #10 on: August 22, 2007, 08:51:25 am »

German lang-file added

and a question - how to arrange the button ? As not to be the first ? If you use the userdefined Menue-Button from DesignSettings-CoppermineSettings the Calender-button and the userdefinedButton was both shown in the LeftButtonDesign - see my screenshot

The second screenshot maybe a misconfig in my css - the "Used" Dates from your Calender are shown in a nearly not visible yellow - its from css or from PlugIn? I Use Igames theme.

And the last question for now - The used day shown in the 2nd pict is 2.8.2007 - after klick on this you come to 1.8.2007 and this was the rrealy day from upload - I'm sure! Have a look to next post
Logged

AlexL

  • Translator
  • Coppermine frequent poster
  • **
  • Offline Offline
  • Gender: Male
  • Posts: 189
    • Velvet Photos
Re: Calendar: search for images per date of addition through a calendar
« Reply #11 on: August 22, 2007, 08:52:08 am »

Look at this
Logged

François Keller

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: fr
  • Offline Offline
  • Gender: Male
  • Posts: 9093
  • aka Frantz
    • Ma galerie
Re: Calendar: search for images per date of addition through a calendar
« Reply #12 on: August 22, 2007, 10:11:57 am »

Quote
German lang-file added
Thank's AlexL for your contribution, will ad the lang file asp
Quote
The second screenshot maybe a misconfig in my css - the "Used" Dates from your Calender are shown in a nearly not visible yellow - its from css or from PlugIn? I Use Igames theme.
It's probably in the plugin CSS, you must change this according your design
Quote
And the last question for now - The used day shown in the 2nd pict is 2.8.2007 - after klick on this you come to 1.8.2007 and this was the rrealy day from upload - I'm sure! Have a look to next post
I must have a look at this problem, thank's for reporting
Quote
and a question - how to arrange the button ? As not to be the first ? If you use the userdefined Menue-Button from DesignSettings-CoppermineSettings the Calender-button and the userdefinedButton was both shown in the LeftButtonDesign - see my screenshot
problem depending from the theme. I will see if it's possible to find a solution.
Logged
Avez vous lu la DOC ? la FAQ ? et cherché sur le forum avant de poster ?
Did you read the DOC ? the FAQ ? and search the board before posting ?
Mon Blog

tycho

  • Coppermine newbie
  • Offline Offline
  • Gender: Male
  • Posts: 2
Re: Calendar: search for images per date of addition through a calendar
« Reply #13 on: August 28, 2007, 04:17:57 pm »

Hi, I might have discovered a bug.... I'm a real CPG newbee so fogive if I'm wrong.  ???

I only want registered user to see my pics. So the logon is prompted when they visit the site.
But when when they do not logon but click on the Calendar button on the menu instead... the calendar is displayed  :o even when they are not logged on...
I really don't want this so I had to remove the plugin  :(
Then again I might did something really stupid. I'm not really sure.

Grtz, Tycho
Logged

François Keller

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: fr
  • Offline Offline
  • Gender: Male
  • Posts: 9093
  • aka Frantz
    • Ma galerie
Re: Calendar: search for images per date of addition through a calendar
« Reply #14 on: August 28, 2007, 04:46:53 pm »

it's not a bug.
did you see this lines in the codebase.php ?
Code: [Select]
function calendar_page_start()
{
 
  global $template_sub_menu, $template_sub_menu_spacer, $template_sub_menu_button, $sub_menu_buttons;
    global $CONFIG, $lang_plugin_calendar;

    require ('plugins/calendar/include/init.inc.php');
    //if(USER_ID){//uncomment this line if you will only registred users to see the link
  calendar_add_admin_button('index.php?file=calendar/calendar',$lang_plugin_calendar['menu_link'],$lang_plugin_calendar['menu_link'],$lang_plugin_calendar['menu_link']);
//}//uncomment this line if you will only registred users to see the link
also just uncomment the two lines... ;)
Logged
Avez vous lu la DOC ? la FAQ ? et cherché sur le forum avant de poster ?
Did you read the DOC ? the FAQ ? and search the board before posting ?
Mon Blog

tycho

  • Coppermine newbie
  • Offline Offline
  • Gender: Male
  • Posts: 2
Re: Calendar: search for images per date of addition through a calendar
« Reply #15 on: August 28, 2007, 05:10:50 pm »

Oopss... no i didn't.  ::)
As i said i'm a real noob. I learn everyday!

I was afraid i could not use your contribution but now i can!  ;D
Thanks!
Logged

François Keller

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: fr
  • Offline Offline
  • Gender: Male
  • Posts: 9093
  • aka Frantz
    • Ma galerie
Re: Calendar: search for images per date of addition through a calendar
« Reply #16 on: August 28, 2007, 05:13:04 pm »

Quote
Oopss... no i didn't.  Roulement des yeux
As i said i'm a real noob. I learn everyday!
It's not a problem but use the word 'bug' carrefully  ;)
Logged
Avez vous lu la DOC ? la FAQ ? et cherché sur le forum avant de poster ?
Did you read the DOC ? the FAQ ? and search the board before posting ?
Mon Blog

Farnsi

  • LocalSupporter
  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 177
Re: Calendar: search for images per date of addition through a calendar
« Reply #17 on: August 28, 2007, 05:47:32 pm »

nice work, thanks!  :)

two little problems seem to appear:
the thumbnails of the videofiles are not displayed (no custom thumbs, just the ones which are shown on every videofile)
not all pcturethumbs are displayed, some are missing or the whole page shows no thumbs. on other dates it works perfedtly!

using a stramms modded 1.4.12.
Logged
Regards,
Farnsi

François Keller

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: fr
  • Offline Offline
  • Gender: Male
  • Posts: 9093
  • aka Frantz
    • Ma galerie
Re: Calendar: search for images per date of addition through a calendar
« Reply #18 on: August 28, 2007, 06:47:06 pm »

Quote
the thumbnails of the videofiles are not displayed (no custom thumbs, just the ones which are shown on every videofile)
i doesn't use videofiles so i can't replicate the problem.
Quote
not all pcturethumbs are displayed, some are missing or the whole page shows no thumbs. on other dates it works perfedtly!
not sure to understant what you mean. Can you post a link to your gallery ?
Logged
Avez vous lu la DOC ? la FAQ ? et cherché sur le forum avant de poster ?
Did you read the DOC ? the FAQ ? and search the board before posting ?
Mon Blog

Farnsi

  • LocalSupporter
  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 177
Re: Calendar: search for images per date of addition through a calendar
« Reply #19 on: August 28, 2007, 10:56:32 pm »

sorry, i was a bit in a hurry when i wrote that post and sure, here is my gallery
what i tried to tell you was, that on some dates all thumbs are displayed as they should be, on other dates they are only displayed partially and on others none are shown. a IE user would get a red cross. but see for yourself.  :)
« Last Edit: September 10, 2008, 11:33:54 pm by Farnsi »
Logged
Regards,
Farnsi
Pages: [1] 2 3   Go Up
 

Page created in 0.023 seconds with 22 queries.