Calendar: search for images per date of addition through a calendar - Page 2 Calendar: search for images per date of addition through a calendar - Page 2
 

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Main Menu

Calendar: search for images per date of addition through a calendar

Started by François Keller, June 10, 2007, 09:04:08 PM

Previous topic - Next topic

0 Members and 2 Guests are viewing this topic.

François Keller

Quotesorry, 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....
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

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

Farnsi

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!  :)
Regards,
Farnsi

eka

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".




AlexL

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

eka


Hot Rides


disposition

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!

François Keller

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

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

François Keller

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

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

François Keller

Quoteuse 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...)
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

Quote from: François Keller on March 04, 2008, 09:32:52 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...

François Keller

QuoteYes, 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  ;))
QuoteProbably 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.
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

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.

François Keller

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)
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

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!

François Keller

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