Advanced search  

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 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 87688 times)

0 Members and 1 Guest are viewing this topic.

François Keller

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: fr
  • Offline Offline
  • Gender: Male
  • Posts: 9094
  • aka Frantz
    • Ma galerie
Re: Calendar: search for images per date of addition through a calendar
« Reply #20 on: August 29, 2007, 07:45:53 am »

Quote
sorry, i was a bit in a hurry when i wrote that post and sure, here is my gallery
ok, i've seen your problem but i can't replicate this on my test bed. perhaps stramms modpack interfere with the pkugin ? but i'm not sure....
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 #21 on: August 29, 2007, 08:13:28 am »

Maybe it's be a problem with rights - are all the files allowed to see for everybody?
Logged

Farnsi

  • LocalSupporter
  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 177
Re: Calendar: search for images per date of addition through a calendar
« Reply #22 on: August 29, 2007, 11:17:22 am »

no none of theses files are aollowed to be see from anybody. i only let the calendar be rightless, u know. but this happens as an admin too, and the rds crosses do not seem to care of userrights, they are in every group.  >:(
thanks for your contribution anyways, it is a real cool idea!  :)
Logged
Regards,
Farnsi

eka

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Posts: 73
Re: Calendar: search for images per date of addition through a calendar
« Reply #23 on: September 05, 2007, 03:09:11 am »

Hi,

I love this plugin - it is really like another very useful search function (this time by dates).
Wonderful  !!

But how do I correct the typo error -  take the "l" out of "jully".



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 #24 on: September 05, 2007, 08:16:30 am »

In the english.php in the lang folder of this plugin - corrected version enclosed
Logged

eka

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Posts: 73
Re: Calendar: search for images per date of addition through a calendar
« Reply #25 on: September 05, 2007, 02:39:25 pm »

Thanks AlexL.
Got it corrected.
Logged

Hot Rides

  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 108
  • I am
    • Hot Rides Show & Cruise
Re: Calendar: search for images per date of addition through a calendar
« Reply #26 on: November 19, 2007, 11:19:54 pm »

Did you ever see about the search by date taken option?
Logged

disposition

  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Posts: 183
Re: Calendar: search for images per date of addition through a calendar
« Reply #27 on: November 20, 2007, 04:32:24 pm »

How do I change the color of the font for the dates on the calender?  If you look at my calender you can see that the dates that actually have something the font is white.

Thanks!
Logged

François Keller

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: fr
  • Offline Offline
  • Gender: Male
  • Posts: 9094
  • aka Frantz
    • Ma galerie
Re: Calendar: search for images per date of addition through a calendar
« Reply #28 on: November 20, 2007, 08:26:35 pm »

look into the calendar.css file (in the calendar plugin directory)
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

disposition

  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Posts: 183
Re: Calendar: search for images per date of addition through a calendar
« Reply #29 on: November 20, 2007, 09:04:42 pm »

I only see one area for color and that didn't change anything.
Logged

François Keller

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: fr
  • Offline Offline
  • Gender: Male
  • Posts: 9094
  • aka Frantz
    • Ma galerie
Re: Calendar: search for images per date of addition through a calendar
« Reply #30 on: November 20, 2007, 09:51:54 pm »

and in include/calendar.inc.css ?
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

disposition

  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Posts: 183
Re: Calendar: search for images per date of addition through a calendar
« Reply #31 on: November 20, 2007, 11:42:30 pm »

Thanks!
Logged

mivola

  • Coppermine newbie
  • Offline Offline
  • Posts: 8
Re: Calendar: search for images per date of addition through a calendar
« Reply #32 on: March 04, 2008, 09:09:18 pm »

Hi,

I really like the plugin created by François. Nevertheless I wanted to change a few things to fit my needs. Since this is my first contribution, please let me know what I can do better!

Here is a list of changes that I've done:
- all queries respect the users rights
- use the date the picture was taken, not the date the picture was added (requires http://forum.coppermine-gallery.net/index.php/topic,43278.0.html)
- display all month of a year; those with at least one picture in it are a link to the month's calendar
- display next/prev buttons on the calender page
- change the layout of the overview using a table
- show more information about the picture on the thumbnail page
- display proper thumbnail for non image files (eg movies)
- adjusted layout to water_drop theme
- use Monday as the first day of the week

I left a few obsolete lines of code in it to compare it with the original version. When my changes prove to be ok, I'll remove the old stuff.

Have fun!
Michael
Logged

François Keller

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: fr
  • Offline Offline
  • Gender: Male
  • Posts: 9094
  • aka Frantz
    • Ma galerie
Re: Calendar: search for images per date of addition through a calendar
« Reply #33 on: March 04, 2008, 09:32:52 pm »

Quote
use the date the picture was taken, not the date the picture was added (requires http://forum.coppermine-gallery.net/index.php/topic,43278.0.html)
do we apply the whole mod ? if yes, it will be difficult to use the plugin after an upgrade from coppermine. if not, what is it to do. You must be more explicit in the install procedure (i have on the moment an error message due to the changes to do in the pictures table...)
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

mivola

  • Coppermine newbie
  • Offline Offline
  • Posts: 8
Re: Calendar: search for images per date of addition through a calendar
« Reply #34 on: March 04, 2008, 09:43:26 pm »

do we apply the whole mod ? if yes, it will be difficult to use the plugin after an upgrade from coppermine. if not, what is it to do. You must be more explicit in the install procedure (i have on the moment an error message due to the changes to do in the pictures table...)

Yes, you need to install the whole mod. Probably it would be a good idea to have a configuration option to choose the date: date_take vs date_upload.

To revert the changes regarding the date you need to replace the string "ptime" with "ctime" in all files in the plugin/calendar directory. Warnung: this is not tested at all, just from my memories...
Logged

François Keller

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: fr
  • Offline Offline
  • Gender: Male
  • Posts: 9094
  • aka Frantz
    • Ma galerie
Re: Calendar: search for images per date of addition through a calendar
« Reply #35 on: March 04, 2008, 09:50:51 pm »

Quote
Yes, you need to install the whole mod.
hum, not simple for a basic user. Should be better if it can be made by the plugin install(but not so easy to code  ;))
Quote
Probably it would be a good idea to have a configuration option to choose the date: date_take vs date_upload.
probaly yes. On the moment, you must write a clear explanation for the install of your modified plugin.
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

mivola

  • Coppermine newbie
  • Offline Offline
  • Posts: 8
Re: Calendar: search for images per date of addition through a calendar
« Reply #36 on: March 11, 2008, 08:18:38 pm »

ok, since I currently dont have the time to change the plugin in a proper way, I created another version of it which doesnt use the date hack.
Logged

François Keller

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: fr
  • Offline Offline
  • Gender: Male
  • Posts: 9094
  • aka Frantz
    • Ma galerie
Re: Calendar: search for images per date of addition through a calendar
« Reply #37 on: March 12, 2008, 06:26:14 pm »

look's fine but i have a fatal error after clicking on a day (i'kkkook into the code to see if i can found what fails)
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

dills84

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 43
Re: Calendar: search for images per date of addition through a calendar
« Reply #38 on: April 05, 2008, 08:17:52 am »

i like this plugin, very nice! thanks.

one question, is it possible to bypass the "calender view" page, and just show pictures added within a months span instead of day by day?

example:

date list:
march 2008
april 2008
may 2008
june 2008

and when one of these links are clicked it brings you to a thumbnail page showing all images added within that month?

I tried looking through the code to see if i could do this, but i was stumped. Thanks again!
Logged

François Keller

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: fr
  • Offline Offline
  • Gender: Male
  • Posts: 9094
  • aka Frantz
    • Ma galerie
Re: Calendar: search for images per date of addition through a calendar
« Reply #39 on: April 05, 2008, 08:42:15 am »

should be possible but with code correction
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
Pages: 1 [2] 3   Go Up
 

Page created in 0.043 seconds with 20 queries.