View Full Version : New addon:Month Calendar
jdleung
02-27-2006, 03:38 PM
1.A month calendar modified from addon Calendar,and use its CSS style.
2.Used in browse page as date-category selection.
3.Highlights months on which images are posted,and shows the numbers of images when mouse hovers on the month.
4.Customize using numbers or the language-variables for months.
5.Compatible with addon Page_archive.
demo site (http://www.jdleungs.com/index.php?x=browse&pagenum=1&style=1)
just download here
http://www.pixelpost.org/v1/index.php?x=downloads&details=154
1.3.4 changes:
-faster search image on previous year and next year.
-CSS fix: class='table-calendar' replace with id='table-calendar'.
-fixed: month name are displayed in a mess in some languages.
1.3.3 changes:
-now when you click the year-arrow,it will go to the last month which contains image(s). in the past version,it goes to current month of that year whether there is image or not.
-in vertical style,replace the arrows with the other two that more compatible,but more botchy. :-(
1.3.1 changes:
-fix: if images posted with a datetime after the current datetime,the addon displays images found in the month,but thumbnails cannot be displayed when click on the month.
1.3 changes:
-add vertical style.
-add a new tag to show info when no image in the year.
-compatible with addon Page_archive.
1.2 changes:
-bugfixed: the year go back to cuurent year when click on the month has image(s) in other years.
-displays the current month of the year when click the year arrow.in the past version, it displays all the images.
-cutomize displaying "no image found in the year".
1.1 changes:
-bug fixed:displays no image found after click the arrow of year.
-customize using numbers or language-files for months.
-customize the width of calendar.
Please add some info about it, (live) demo or some pictures of it :)
jdleung
02-28-2006, 02:31 AM
screenshot had been uploaded,but can't be displayed.
raminia
02-28-2006, 06:46 AM
i think there is a bug there. you might add the screen shot at the first try. adding it on the next tries may fail. bugy!
jdleung
02-28-2006, 09:12 AM
i think there is a bug there. you might add the screen shot at the first try. adding it on the next tries may fail. bugy!
both you and GeoS are members of the team.
Can you correct it?
Nope coz access to server have other Dev Team member. Ill let him know what is going on.
EDIT: Right now it is fixed :)
jdleung
03-02-2006, 03:52 PM
Thanks again. GeoS.
Small update is even more then only bug fix coz I added new versions of PP to requirements list :)
jdleung
03-03-2006, 01:05 AM
Small update is even more then only bug fix coz I added new versions of PP to requirements list :)
GeoS,Can you explain what you said? maybe formal english would be better for me. ;)
Ok. First thing is that previous bug now is fixed. Second thing is that now developer can specifi much better plugins requirements because I added option for Pixelpost 1.4 and 1.5 (previously was only 1.2, 1.3 or any).
Thats all :) I belive it is clear right now ?? :P
jdleung
03-03-2006, 12:31 PM
clear.
blinking8s
03-04-2006, 10:28 AM
thanks for that geos...
damien_d
03-15-2006, 07:12 PM
hi, and thx for the team for this nice script.
I'd like to know how can i install this addon?
jdleung
03-16-2006, 06:27 AM
hi, and thx for the team for this nice script.
I'd like to know how can i install this addon?
1.put the file month_calendar.php in the addon category.
2.insert a tag <MONTH_CALENDAR> into the page browse_template.html.
3.done.
you can custom 3 options below in month_calendar.php:
$use_lang_var = "0"; // set it to "1" if you want to use the language-variables from the active language file
$calendar_width = '100%'; //define the width of calendar.( "%" or "px" )
$show_info = "0"; // set it to "1" if you want to show infomation when no image in the year.
Have fun.
jdleung
03-26-2006, 08:36 AM
new version and new Screenshot updated.
RobbieMc
03-26-2006, 09:46 PM
Thanks for this addon, jdleung. I notice one thing., however, and thatis if you post ahead of schedule, ie., into the next month, the calender says there are images, but then the pixelpost <thumbnails> tag doesn't show them, as it shouldn't. See the link to April here for example: http://photoblog.sophiepasquet.com/index.php?x=browse&curr_year=2006&archivedate=2006-02&browsing_month=2&monthname=February%202006&pagenum=1
I wonder if we could write the test for whether images exist for a certain month to work only when the date is earlier than this month.
Rob
jdleung
03-27-2006, 10:29 AM
yes, you're right.
but I don't think we need to post images for the future.
anyway, I'll update it later.
Thanks.
RobbieMc
03-27-2006, 02:20 PM
but I don't think we need to post images for the future.
I guess it depends on the kind of blog one has. If someone wants to be true to the spirit of blogging, all posts would be current. But others may want to post ahead for few days when they will be out of town, etc.
It is not that critical an issue because it wil ony happen when you are close to an end of the month and post ahead a few days.
Thanks for it if you do fix it.
jdleung
03-28-2006, 01:45 AM
Thanks for this addon, jdleung. I notice one thing., however, and thatis if you post ahead of schedule, ie., into the next month, the calender says there are images, but then the pixelpost <thumbnails> tag doesn't show them, as it shouldn't. See the link to April here for example: http://photoblog.sophiepasquet.com/index.php?x=browse&curr_year=2006&archivedate=2006-02&browsing_month=2&monthname=February%202006&pagenum=1
I wonder if we could write the test for whether images exist for a certain month to work only when the date is earlier than this month.
Rob
addon updated.
-fix: if images posted with a datetime after the current datetime,the addon displays images found in the month,but thumbnails cannot be displayed when click on the month.
jdleung
05-08-2006, 04:43 PM
addon updated:
1.3.3 changes:
-now when you click the year-arrow,it will go to the last month which contains image(s). in the past version,it goes to current month of that year whether there is image or not.
-in vertical style,replace the arrows with the other two that more compatible,but more botchy. :-(
addon updated:
Wow! Great work!:D
Thank you!!! :)
mykodachrome
05-11-2006, 01:23 AM
I have the pervious version of this working, but I see the download is a file with a rar extention. I am sure this is a dumb question but what is an rar file and what I am supposed to do with it. The pervious addon was not like this one.
jdleung
05-11-2006, 03:49 AM
I have the pervious version of this working, but I see the download is a file with a rar extention. I am sure this is a dumb question but what is an rar file and what I am supposed to do with it. The pervious addon was not like this one.
since I use winrar as my compression programs, its default compressed format is xxx.rar.
now a zip format had been uploaded.
Thanks.
mykodachrome
05-11-2006, 12:19 PM
Ah! Now I got it - knew it had to be something simple I was missing :-) Thanks.
mykodachrome
05-12-2006, 12:35 AM
UPDATE: Downloaded it and it works perfect! Thanks.
Another question - is there a tag that allows people to see which month they are in? Because the months look the same, on my site there is no way to be reminded which month you are in. Check it out http://www.mykodachrome.com/index.php?x=browse&pagenum=1
RobbieMc
05-12-2006, 03:41 AM
<CATEGORY_OR_DATE_NAME_PAGED_ARCHIVE> worked for my wife's site. It is placed in the top right (the calender is in the bottom, so you have to scroll to select it)
http://photoblog.sophiepasquet.com/index.php?x=browse&curr_year=2006&archivedate=2006-04&browsing_month=4&monthname=April%202006&pagenum=1
mykodachrome
05-12-2006, 04:07 AM
Got it working - I was not able to align it at the top like you do and I can only get months in numbers not spelt out - but it is good enough for me! So thanks for the help :-)
Spudooli
05-16-2006, 09:39 AM
Can I suggest another change? OK, I will.
This addon includes years in the nav for where there are no photos posted. This means when Googlebot spidered my website, it was spidering pages up to the year 2069 and as far back as 1945.
I can assure you I have posted no photos in 1945 and I doubt I'll still be alive and posting in 2069.
It would be good to not provide links for years or months where no photos have been posted.
Thanks for the addon though!
Connie
05-16-2006, 01:13 PM
I can assure you I have posted no photos in 1945 and I doubt I'll still be alive and posting in 2069.
if you will be alive in 2069, let's meet July 20 in Novosibirsk, details we can provide later ;=)
jdleung
05-16-2006, 03:13 PM
yeah, Connie will give you a piece of cake then :-D
generally, a visitor will not go further if he had clicked 2-3 years that has no image, and also the publisher generally will not post images every other year or every several years.
as you know, from 1945 to 2069, the addon must search the database for at least 124 times that will slow down the speed, and now the addon search the database 3 times in every click(only once before version 1.3.3).
I appreciate your suggestion, if anyone could suggest a better solution to do that. I will dig it.
thanks.
Spudooli
05-17-2006, 06:46 AM
I agree with you that a person won't click more than say 3 times, but the search engine spiders are happy to click on those links forever!
Thanks for considering a solution!
Connie, it's a date!
jdleung
06-01-2006, 04:56 AM
updated.
Connie
06-01-2006, 05:35 AM
I hereby invite my friends jdleung and Spudooli to a cup of coffee and strawberry cake at July 20, 2069
location: coffeeshop at the river Ob in Novosibirsk
time: 3:00 pm
under the condition that these two published photos every year in Pixelpost ;=)
Spudooli
06-01-2006, 08:13 AM
Yikes, I had better start looking after myself better if I want to live that long.
jdleung
06-01-2006, 04:23 PM
Connie just told us a Germanic preciseness.
a photo will help us not to be lost.and it's better to add a bottle of Red Wine brewed in 2006. it's a big day, you know. we must need some age-old things.:lol:
Connie
06-01-2006, 05:00 PM
1) let's book a table!
http://www.bildgier.de/bilder/ob.jpg
this is one of the really frequented cafés at the Ob river in Novosibirsk...
more details will follow ;=)
jdleung
06-03-2006, 06:31 AM
hope the coffee shop runs well till then. :D
when had you been there?
Connie
06-03-2006, 08:24 AM
last time I was there exactly 4 years ago, went to a festival of ethnic music in the altai mountains ...
as far as everything develops there, this coffeeshop will be a gigantic enterprise then ;=)
jdleung
07-08-2006, 05:43 PM
here is the demo site (http://www.jdleungs.com/index.php?x=browse&pagenum=1&style=1)
vBulletin® v3.7.3, Copyright ©2000-2013, Jelsoft Enterprises Ltd.