![]() |
|
Flickerd 1.0.0 Finally Uploaded - Printable Version +- ZenphotoCMS Forum (https://forum.zenphoto.org) +-- Forum: Support (https://forum.zenphoto.org/forum-1.html) +--- Forum: Themes (https://forum.zenphoto.org/forum-5.html) +--- Thread: Flickerd 1.0.0 Finally Uploaded (/thread-8638.html) |
Flickerd 1.0.0 Finally Uploaded - amereservant - 22-05-2011 Hey everyone, I've spent several hours over the past week on this project, updating the code, implementing new features, and converting it to HTML5. Check it out at https://github.com/amereservant/FlickerdTheme and let me know what you think. Be sure to name the theme directory to [b]flickerd[/b] since GitHub gives it a funny name. [b]TODO:[/b] [list] Special thanks to Stephen (sbillard) for his help! Since this is my first time using and theming ZenPhoto, I couldn't have done it without his help! Flickerd 1.0.0 Finally Uploaded - acrylian - 22-05-2011 New themes are very welcome. So is this actually a replacement of the flickrish theme looking the same? Just asking so I know how we should add this to the themes section. Probably as a separate entry anyway. Would be great if you one time could add Zenpage support as well. (btw, it is "Zenphoto", not "ZenPhoto"..;-)) Flickerd 1.0.0 Finally Uploaded - acrylian - 22-05-2011 I tried your theme locally to generate screenshots for the themes section and there is a problem with the CSS loading: [quote] [/quote] Flickerd 1.0.0 Finally Uploaded - micheall - 22-05-2011 Looks good to me acrylian. I initially put it in a "flickered" directory like he said and then thought that might have been why it worked for me. So then I moved it to a randomnamed theme folder and it worked from there too. Tested against 1.4.1-BETA [7304] with the theme's zip archive. Looks great for being a flickr-inspired theme. Definitely agree that you need to work zenpage in to it. Flickerd 1.0.0 Finally Uploaded - acrylian - 22-05-2011 Well, I named the folder "flickerd"which is then wrong (although the class is named the same). But I think that should not really matter how the theme folder is named. Flickerd 1.0.0 Finally Uploaded - micheall - 22-05-2011 yeah, like I said when I initially set it up it was with the incorrect name (I had an extra e). But it all appeared to work. Did you use the gz file or the zip file? Flickerd 1.0.0 Finally Uploaded - sbillard - 22-05-2011 Do not forget that the 404 error acrylian reports will only show up in an SVN install. reporting 404 errors is part of our standard debug settings, supressed with nightly builds, etc. You can enable the report by changing the DEBUG_404 define. Flickerd 1.0.0 Finally Uploaded - amereservant - 23-05-2011 [quote]So is this actually a replacement of the flickrish theme looking the same? [/quote] [quote] tried your theme locally to generate screenshots for the themes section and there is a problem with the CSS loading: [/quote] $css_dir = 'css/'; $css_url = WEBPATH.'/'. THEMEFOLDER .'/' .getOption('current_theme') .'/'. $css_dir;
I can't use [b]$_zp_themeroot[/b] because it's not defined in time for when the URL must be determined. Not sure if this is just a bug on your end or if this is a bug in general that I need to find another way around. Any suggestions would be great if there's a better way to form the webpath to the theme, but it seems like I found that being how [b]$_zp_themeroot[/b] was getting it's value and I copied it. Many late nights on this one, so I could be wrong. [quote]Would be great if you one time could add Zenpage support as well. [/quote] Flickerd 1.0.0 Finally Uploaded - acrylian - 23-05-2011 I saw that the theme folder name is missing in the URL, I have not looked at your theme in detail but generally the theme folder should really not matter and fetched automatically via the Regarding full Zenpage support. Sure, was just a suggestion or wish but it is of course your choice as the themes author what plugins to support at all. Flickerd 1.0.0 Finally Uploaded - sbillard - 23-05-2011 $_zp_theme_root is setup when the theme is setup, so I do not see how it could not be defined when the them is running. Do you perchance reference it within a function without declaring it global? Flickerd 1.0.0 Finally Uploaded - amereservant - 24-05-2011 @sbillard, Thanks. Flickerd 1.0.0 Finally Uploaded - acrylian - 24-05-2011 Keep in mind for further work that all of Zenphoto's globals start with Flickerd 1.0.0 Finally Uploaded - acrylian - 27-05-2011 Just tried it again to generate screenshots for the theme's entry. Looks generally fine. A few things I noticed: You might also want to look at the display of default thumbs for multimedia items. I never used flickr but find confusing on the "all sizes" page that there is no link to get back to the album you are in. Flickerd 1.0.0 Finally Uploaded - amereservant - 29-05-2011 Hey acrylian, I copied most of the query code used for retrieving the items from the [b]image_album_statistics.php[/b] function I haven't gotten to multimedia items and had no intention on using them myself, but I will indeed get the default thumb added for those just so the theme is complete. Regarding the back button ... Flickr actually doesn't have a back link either, which I looked into when I realized the same thing you did. That was what kept me from adding it, but I guess I can add one. I'm guessing it's assumed people know to click the back button, sorta like the [i]target[/i] attribute was going to be scratched on anchor links because it was assumed the user should choose if it opens in a new window/tab and not up to the designer. Anyways, I'll work on fixing those. Thanks for pointing those out. Flickerd 1.0.0 Finally Uploaded - acrylian - 30-05-2011 My point was that it showed images from unpublished albums. The image_album_stats to my knowledge never did that (well I co wrote that damm thing..;-)). Some of the checks have been reworked for 1.4.1 though if I recall right. Regarding the back link. Of course if you arrived on that page via the album itself you can use the browser back button, but - not sure if that is possible with that theme - arrive directly via Google or else on that page there will be no other back anywhere. You don't even know from what album that images is. I absolutly agree on not using "target" for a new window (but some "normal users" don't know or use this at all, be assured...) Flickerd 1.0.0 Finally Uploaded - amereservant - 02-06-2011 Hey acrylian, When I unpublish an album, but then directly access the album via it's URL, the unpublished album is still viewable. It doesn't show in the Gallery home page, but the album is not blocked from a viewer directly linking to it and seeing the images. For example, say I have a gallery named [b]sample[/b] and I unpublish this album on my website [b]http://mygallery.com[/b], it will not show up when I go to [b]http://mygallery.com[/b]. However, if I go to [b]http://mygallery.com/sample[/b], regardless if I'm logged in or not, it will still show me that gallery's contents. So therefore since the Flickerd theme relies on the core functionality of ZenPhoto to determine what photos are viewable and which ones aren't, this goes beyond the scope of the theme. EDIT: This behavior was consistent when tried even with the [b]default[/b] ZenPhoto theme. Flickerd 1.0.0 Finally Uploaded - acrylian - 02-06-2011 No, that is no issue but meant behaviour (since "forever"). Unpublished albums (as images, Zenpage pages and articles and with 1.4.1 even categories) are accessibe if you know the direct link. But it will not be shown anywhere unless you are logged in with the appropiate rights. So if you want your theme to be consistent your flickr image loop should NOT display images from unpublished albums (this includes all childs of an unpublished album and its images naturally). The 1.4.1 beta will introduce a new class method (checkAccess if I remember right offhand) to make these checks easier. See the function getImageAlbumAlbumList() of the image_album_statistics plugin there. Flickerd 1.0.0 Finally Uploaded - busternutley - 15-09-2011 Love this Flickerd theme. I've got an inquiry, geared more towards [b]amereservant[/b]. Is it possible to set exact dimensions of the thumbnails in the photostream without distorting the photo? Right now my thumbnails are displayed in varying sizes because of the orientation of the original photo. I'm looking to make the layout of the photostream more modular (i.e., each thumbnail is 300x200 regardless of orientation). |