Support Forum Project Downloads FAQ Documentation About Demo Tutorials Blog Plugins
November 21, 2009, 02:41:12 am *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: cpg1.5.2 beta released
The brand new cpg1.5.x series that comes with a lot of new features finally has reached the release stage: a first public beta release cpg1.5.2 has been released that is mainly aimed at translators, testers and community members that have contributed in the past. The beta release is not meant to be used in a production environment, but only on testbeds and for evaluation purposes. There is currently no support for cpg1.5.x yet!
[more]
   Home   Help Search Board rules Login Register  
Pages: [1] 2 3   Go Down
  Send this topic  |  Print  
Author Topic: Calendar: search for images per date of addition through a calendar  (Read 25739 times)
0 Members and 1 Guest are viewing this topic.
François Keller Topic starter
Dev Team member
****
Gender: Male
France France

Posts: 7369


aka Frantz


WWW
« on: June 10, 2007, 08:04:08 pm »

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  Wink
Italian.php added (Thank's Lontano)
Dutch.php added (Thank's Hein)

* calendar.zip (14.89 KB - downloaded 466 times.)
« Last Edit: June 12, 2007, 07: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
****
Gender: Male
France France

Posts: 1319


aka "Lontano"


WWW
« Reply #1 on: June 10, 2007, 09: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) :-))

* italian.php.zip (0.95 KB - downloaded 217 times.)
« Last Edit: June 12, 2007, 09:50:03 am by Lontano » Logged

François Keller Topic starter
Dev Team member
****
Gender: Male
France France

Posts: 7369


aka Frantz


WWW
« Reply #2 on: June 11, 2007, 01:24:47 pm »

Thank's Lontano for your translation (will add it in the pack asp...)
« Last Edit: June 12, 2007, 07: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
****
Gender: Male
Netherlands Netherlands

Posts: 2153


A, B, Cpg


WWW
« Reply #3 on: June 11, 2007, 01:51:43 pm »

Frantz, keep on going  Cheesy Another great plugin.

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

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

Hein

p.s. Slightly updated dutch.php

* dutch.zip (0.96 KB - downloaded 208 times.)
« Last Edit: June 11, 2007, 02:30:51 pm by Hein » Logged

François Keller Topic starter
Dev Team member
****
Gender: Male
France France

Posts: 7369


aka Frantz


WWW
« Reply #4 on: June 11, 2007, 02:07:17 pm »

Thank's Hein for yout contribution and for the typo report. Will be corrected asp.
« Last Edit: June 12, 2007, 07: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
****
Gender: Male
Netherlands Netherlands

Posts: 2153


A, B, Cpg


WWW
« Reply #5 on: June 11, 2007, 02: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  Wink

Hein
Logged

François Keller Topic starter
Dev Team member
****
Gender: Male
France France

Posts: 7369


aka Frantz


WWW
« Reply #6 on: June 11, 2007, 03: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  Wink
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
****
Gender: Male
Netherlands Netherlands

Posts: 2153


A, B, Cpg


WWW
« Reply #7 on: June 12, 2007, 09: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 Wink
Logged

MarkP
Coppermine novice
*
Posts: 39


« Reply #8 on: June 13, 2007, 05: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 Wink

Excellent plugin....the idea above would be truly awesome!
Logged
François Keller Topic starter
Dev Team member
****
Gender: Male
France France

Posts: 7369


aka Frantz


WWW
« Reply #9 on: June 14, 2007, 06: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
**
Gender: Male
Germany Germany

Posts: 177



WWW
« Reply #10 on: August 22, 2007, 07: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

* german.zip (0.92 KB - downloaded 231 times.)

* 2007-08-22_083858.jpg (3.74 KB, 265x37 - viewed 385 times.)

* 2007-08-22_083743.jpg (5.39 KB, 298x88 - viewed 529 times.)
Logged
AlexL
Translator
**
Gender: Male
Germany Germany

Posts: 177



WWW
« Reply #11 on: August 22, 2007, 07:52:08 am »

Look at this


* 2007-08-22_084956.jpg (5.91 KB, 424x28 - viewed 454 times.)
Logged
François Keller Topic starter
Dev Team member
****
Gender: Male
France France

Posts: 7369


aka Frantz


WWW
« Reply #12 on: August 22, 2007, 09: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

Gender: Male
Posts: 2


« Reply #13 on: August 28, 2007, 03:17:57 pm »

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

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  Shocked even when they are not logged on...
I really don't want this so I had to remove the plugin  Sad
Then again I might did something really stupid. I'm not really sure.

Grtz, Tycho
Logged
François Keller Topic starter
Dev Team member
****
Gender: Male
France France

Posts: 7369


aka Frantz


WWW
« Reply #14 on: August 28, 2007, 03:46:53 pm »

it's not a bug.
did you see this lines in the codebase.php ?
Code:
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... Wink
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

Gender: Male
Posts: 2


« Reply #15 on: August 28, 2007, 04:10:50 pm »

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

I was afraid i could not use your contribution but now i can!  Grin
Thanks!
Logged
François Keller Topic starter
Dev Team member
****
Gender: Male
France France

Posts: 7369


aka Frantz


WWW
« Reply #16 on: August 28, 2007, 04: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  Wink
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
***
Gender: Male
Germany Germany

Posts: 177



« Reply #17 on: August 28, 2007, 04:47:32 pm »

nice work, thanks!  Smiley

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 Topic starter
Dev Team member
****
Gender: Male
France France

Posts: 7369


aka Frantz


WWW
« Reply #18 on: August 28, 2007, 05: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
***
Gender: Male
Germany Germany

Posts: 177



« Reply #19 on: August 28, 2007, 09: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.  Smiley
« Last Edit: September 10, 2008, 10:33:54 pm by Farnsi » Logged

Regards,
Farnsi
Pages: [1] 2 3   Go Up
  Send this topic  |  Print  
 
Jump to:  

Powered by SMF 1.1.10 | SMF © 2006-2009, Simple Machines LLC
Page created in 0.05 seconds with 18 queries.