PDA

View Full Version : Fancy Archive v1.1 Released


ibejo
08-24-2005, 02:23 AM
Thanks for the comments and being my beta testers...this one should have a lot more functionality and flexibility.

DESCRIPTION:
This is an archive styled on Chromasia.
Images can be filtered by Category, Date and limited to All, 50, 40, 30, 20 or 10 images displayed.
This archive includes a host of filters and paging.

This addon uses the following custom tags:
<CAT_COUNTS> - Category filter - displays all categories and the number of images for each.
<DATE_COUNTS> - Month/Year Filter. (June 2005 - 30) June 2005 has 30 images
<LIMIT_COUNTS> - Filter to limit the number of images displayed.
<IMAGE_RESULTS> - Displays the pictures based upon the selected filters.
<PAGING_NAV> - Displays the fancy archive navigation / paging tags.
<FANCY_IMAGE_CATEGORY> - This tag needs to replace the <IMAGE_CATEGORY> tag in your image_template.html page. It ensures your category links point to the new fancy archive page.

The following variables can be modified within the addon script to change the display behavior:
two_column_dispay: true = 2 column layout, false = single column layout
tbl_width: width of the table that displays results (in pixels)
default_limit: By default, show X images per page - MUST be (10,20,30,40 or 50)
NOTE: the large the number, the longer the load time per page.

nav_tag: Style of the Navigation Tags: 1 = [Next] [Prev], 2 = (Next) (Prev), 3 = Next | Previous, anything else = Next Prev
pic_col_width: Width of Thumbnail column as percent of total table width
cell_spacing: Cell Spacing in the Display Table
cell_padding: Cell Padding in the Display Table

v1.1 Change Log
1. Added paging, including <PAGING_NAV> tag.
2. Fixed bug with categories on image_template.html not going to fancyarchive_template. Introduced
new tag for this - <FANCY_IMAGE_CATEGORY>
3. Added slew of new layout variables, making it easier to control the display of fancy archive.
4. I *think* I fixed the bug related to the category drop down not populating - this way because
some users had older version of MySQL which did not support the latest ANSI SQL JOIN syntax.
5. Fixed a couple bugs with the filters not retaining their values between posts.
6. Will not display future postings until right date - NOTE: I did not deal with hours, minute and seconds.

Make sure you read the README.TXT file to see what you need to do to upgrade!!!!

Link: http://www.pixelpost.org/v1/index.php?x=downloads&details=101

Once again.....let me know what you find...I'm sure there will be stuff.

-okapi-
08-24-2005, 12:10 PM
strange... again it's slowing down another site of mine, please see here:

http://www.a-visual-notebook.at/gallery01/

(i have the latest pixelpost version installed.)

btw, i have created menu items for fancyarchive,
but you have to hit the back button to go back.

http://www.a-visual-notebook.at/gallery01/index.php?x=fancyarchive

ibejo
08-24-2005, 12:27 PM
What version of MySQL are you running?

-okapi-
08-24-2005, 12:38 PM
MySQL 4.0.25

PHP Version 4.3.10


installed addons:

calendar
copy_folder
current_datetime
random_thumbs
fancyarchive

ibejo
08-24-2005, 01:04 PM
I noticed none of the exif data exists for your pics - do you have exif installed?

Paul Wood
08-24-2005, 01:28 PM
My category drop-down boxes are loading now, but when I try to select a category to view photos, none are returned.

http://pnjwood.com/fotoblog/index.php?x=fancyarchive

It works by month, but not by category, and not combined.

hicks0r
08-24-2005, 01:42 PM
Having problems with the end of the page, any idea ? I probed a lot of things

http://www.ecomam.net/index.php?x=fancyarchive

-okapi-
08-24-2005, 01:59 PM
I noticed none of the exif data exists for your pics - do you have exif installed?
no, after postprocessing there are no exif data for my pics. is exif required to run your addon smoothly?

-okapi-
08-24-2005, 02:15 PM
Having problems with the end of the page, any idea ? I probed a lot of things

http://www.ecomam.net/index.php?x=fancyarchive

why fighting with div's here, actually? in this case, a simple table design maybe would do it better...

ibejo
08-24-2005, 02:31 PM
no, after postprocessing there are no exif data for my pics. is exif required to run your addon smoothly?

I do a lot of stuff processing each image for exif data - I'll add a variable to it that allows you to toggle this on/off. Give me a day or so. There are some other things that need fixing and I'll bundle it all together.

-okapi-
08-24-2005, 02:35 PM
cool!
maybe the script while searching for exif caused the problem in my case...

reflejandome
08-24-2005, 03:02 PM
6. Will not display future postings until right date - NOTE: I did not deal with hours, minute and seconds.

But in the Date combo show that there are new images ...

Paul Wood
08-24-2005, 03:08 PM
Thanks for all your work. This really is a great add-on.

reflejandome
08-24-2005, 06:52 PM
i see another bug, i think, if in a category i have more than 20 photos, the next, previous last links doesnt work correctly

ibejo
08-24-2005, 06:57 PM
6. Will not display future postings until right date - NOTE: I did not deal with hours, minute and seconds.

But in the Date combo show that there are new images ...

Doh! forgot about them<g>. Will be fixed in the next release....sorry for missing that little part ;)

ibejo
08-24-2005, 07:20 PM
My category drop-down boxes are loading now, but when I try to select a category to view photos, none are returned.

http://pnjwood.com/fotoblog/index.php?x=fancyarchive

It works by month, but not by category, and not combined.


What browers (and version of browser) are you using?

ibejo
08-24-2005, 07:24 PM
i see another bug, i think, if in a category i have more than 20 photos, the next, previous last links doesnt work correctly

I need a bit more info - perhaps a link to work on this one. This doesn't seem to be a problem on my site. I looked at My Beach category, which has 26 photos. Displaying 20 per page, I have two pages. First has 20 on it, second has 6 on it. Next, Previous, Last, First seem to work correctly

Also - what browser are you using - and what version of that browser?

thanks

ibejo
08-24-2005, 07:34 PM
For what it is worth - I've been doing all my testing in IE6 and Firefox 1.0.6

reflejandome
08-24-2005, 07:34 PM
The link is
http://www.reflectingmyself.com/photoblog/index.php?x=fancyarchive

and you can see it if you put limit to 10 and select details (22 images) Really there are 19 photos, the other 3 are post but to show in the future, but it must show 10 + 9

I am using firefox 1.0.6

Paul Wood
08-24-2005, 07:35 PM
That seems to be a problem with my installation as well. While I can't get any pictures from the categories, when I select a month with 25 images and a limit of 20, I get 20 images on the first page and ALL of them on the second. The url for the second page is:

http://pnjwood.com/fotoblog/index.php?x=fancyarchive&page=2&categories=&archdates=

Notice the values for the categories and archdates are empty. Are they supposed to be? The date drop-down box is also empty again, instead of the month I selected.

Problem exists on both Firefox and MSIE.

ibejo
08-24-2005, 07:42 PM
The link is
http://www.reflectingmyself.com/photoblog/index.php?x=fancyarchive

and you can see it if you put limit to 10 and select details (22 images) Really there are 19 photos, the other 3 are post but to show in the future, but it must show 10 + 9

I am using firefox 1.0.6


OK - gotcha - that was a good description of your problem. That is because I forgot to put the future date limiting logic on the SQL for the category and date dropdowns. I have fixed this today and it will be included in the 1.2 release. Thanks!

reflejandome
08-24-2005, 08:11 PM
That seems to be a problem with my installation as well. While I can't get any pictures from the categories, when I select a month with 25 images and a limit of 20, I get 20 images on the first page and ALL of them on the second. The url for the second page is:

http://pnjwood.com/fotoblog/index.php?x=fancyarchive&page=2&categories=&archdates=

Notice the values for the categories and archdates are empty. Are they supposed to be? The date drop-down box is also empty again, instead of the month I selected.

Problem exists on both Firefox and MSIE.

Yes, i have the same problem also, i think when you go from a page to other it cannot maintain the params of the search.

mikelangelo
08-24-2005, 10:37 PM
Looking forward to the 1.2 release! ;-)

Joe[y]
08-25-2005, 10:52 AM
http://photos.jlspurling.com/browse


i love this addon. one of the best yet in my opinion. i fiddled with it a bit to suit my needs but it was pretty much suiting me as it was. great one.

EDIT: I've just realised the flash info from exif is not displayed within the addon.

ibejo
08-25-2005, 12:18 PM
']http://photos.jlspurling.com/browse


i love this addon. one of the best yet in my opinion. i fiddled with it a bit to suit my needs but it was pretty much suiting me as it was. great one.

EDIT: I've just realised the flash info from exif is not displayed within the addon.

Thanks for the nice comments! You guys have been great helping me work out the kinks...I've known about the flash issue for a couple days...still trying to figure that one out - I think it is variable scope. The 1.2 release will provide some new bells and whistles and more overall layout control. Coming soon!

Joe[y]
08-25-2005, 05:41 PM
great to know!

mikelangelo
08-25-2005, 06:37 PM
Sweet!

ibejo
08-25-2005, 07:45 PM
I'm having trouble replicating the category dropdown issue on my site.

If you are having a problem with the category dropdown not working properly, do me a favor - go into your fancyarchive.php and copy the following (I want to see what your variables are set to - this will help me debug...):

//*************************************************
//MODIFY THESE VARIABLES TO CHANGE DISPLAY BEHAVIOR
//*************************************************
$two_column_display = true; //true = 2 column layout, false = single
$tbl_width="550px"; //width of table displaying layout.
$default_limit="20"; //By default, show X images per page - MUST be (10,20,30,40 or 50)
//NOTE: the large the number, the longer the load time per page.
$nav_tag = "1"; //1 = [Next] [Prev], 2 = (Next) (Prev),
//3 = Next | Previous, anything else = Next Prev
$pic_col_width = "20%"; //Width of Thumbnail column as percent of total table width
$cell_spacing = "0px"; //Cell Spacing in the Display Table
$cell_padding = "2px"; //Cell Padding in the Display Table
$display_exif = true; //true = display exif data, false means don't.
//*************************************************
//NO MODIFICATIONS PAST THIS POINT
//*************************************************

btw - this is what mine looks like (there are a couple new variables in here that will show up in the 1.2 release, so just show me what you have)

thanks!

Paul Wood
08-25-2005, 08:38 PM
This is mine:

//*************************************************
//MODIFY THESE VARIABLES TO CHANGE DISPLAY BEHAVIOR
//*************************************************
$two_column_display = false; //true = 2 column layout, false = single
$tbl_width="550px"; //width of table displaying layout.
$default_limit="20"; //By default, show X images per page - MUST be (10,20,30,40 or 50)
//NOTE: the large the number, the longer the load time per page.
$nav_tag = "3"; //1 = [Next] [Prev], 2 = (Next) (Prev),
//3 = Next | Previous, anything else = Next Prev
$pic_col_width = "20%"; //Width of Thumbnail column as percent of total table width
$cell_spacing = "0px"; //Cell Spacing in the Display Table
$cell_padding = "2px"; //Cell Padding in the Display Table
//*************************************************
//NO MODIFICATIONS PAST THIS POINT
//*************************************************

aswilliamson
08-26-2005, 05:49 AM
This is truly a great script. I implemented it in my new design (http://www.shadedpixel.net) and made a "blog" style (http://www.shadedpixel.net/index.php?x=fancyarchive) archive. The only thing i've noticed is that the entries are ordered by the id # not the date posted. Since some of my posts where back in time, they show up ahead.

I was wondering if there was a easy way to arrange the posts by date instead. Thanks and this is truly a really great script! Thanks Again

reflejandome
08-26-2005, 11:23 AM
This is truly a great script. I implemented it in my new design (http://www.shadedpixel.net) and made a "blog" style (http://www.shadedpixel.net/index.php?x=fancyarchive) archive. The only thing i've noticed is that the entries are ordered by the id # not the date posted. Since some of my posts where back in time, they show up ahead.

I was wondering if there was a easy way to arrange the posts by date instead. Thanks and this is truly a really great script! Thanks Again

great idea the blog ! i like it :) . The date you can change it in the sql sentence using a order by, i think you could wait ntil 1.2 verison is released

ibejo
08-26-2005, 11:44 AM
Other than the bugs I'm fixing....any requests for features that I'll consider for inclusion in the 1.2 release (hopefully this weekend??)

Cheers!

fotogram
08-26-2005, 09:20 PM
Having problems with the end of the page, any idea ? I probed a lot of things

http://www.ecomam.net/index.php?x=fancyarchive


Not sure why the bottom is shifting to the right, but i found 3 issues with your code:

1: you have a <table> tag not being used and not being closed
2: <div id="wrapper"> is not being closed
3: <div id="background"> is not being closed

Maybe fixing some of this will help...

cyberico
09-02-2005, 10:23 PM
hi James

i hope you can help me with your cool catalogue.

may you take a look at http://www.photorape.com/blog/?x=fancyarchive

when i try to filter images (categories/dates + GO) i have an output without
images..

and some problem at the very end of the page..

thnx

aswilliamson
09-05-2005, 04:47 AM
I was wondering if there is any way to link to fancy archive without useing the dropdown menu, for example sorting the fancy archive output by Month, by linking to the month output as a regular hyperlink. This is easy with the regular browse_archive since you cna jsut link any text to /index.php?x=browse&archivedate=2005-09 (with the corospnding month) but fancy archive does not add arguements to the URL. I was wondering if there was any easy way to do this, or howto change the script to do this.

ibejo
09-06-2005, 12:37 AM
I was wondering if there is any way to link to fancy archive without useing the dropdown menu, for example sorting the fancy archive output by Month, by linking to the month output as a regular hyperlink. This is easy with the regular browse_archive since you cna jsut link any text to /index.php?x=browse&archivedate=2005-09 (with the corospnding month) but fancy archive does not add arguements to the URL. I was wondering if there was any easy way to do this, or howto change the script to do this.

OK - good idea. Let me look into it and I'll put it into the next release.

cyberico
09-06-2005, 08:54 AM
pls reply to my post
thnx

ibejo
09-06-2005, 02:50 PM
pls reply to my post
thnx

Are you running the latest version ? (1.2)

cyberico
09-10-2005, 02:39 PM
Are you running the latest version ? (1.2)

YEW, i am.
thnx