MYZenAlbums
MYZenAlbums
This is a simple wordpress plugin to enable users to display their latest albums from ZenPhoto. users can specify how many albums to displayed, and what will be the size of the thumb. Clicks on the thumb will be directed to the ZenPhoto.
This plugin is created based on ideas of another plugin called ZenLatest by Jakob Friis.
For a list other ZenPhoto WordPress plugins developed by other developers please click here.
Installation:
1. Download the zip file.
2. Extract to a local folder. Be sure the file myzenalbums.php is in the ‘myzenalbums’ folder.
3. Upload ‘myzenalbums’ folder into your ‘/wp-content/plugins’ directory.
4. Activate it via plugins control panel.
5. Change the inputs at ‘Settings>MyZenAlbums’.
If you plan to display albums within template, just call the function <?php myzenalbums(); ?>
Downloads:
Changelogs:
1.1 – link to album thumbs, template call.
1.2 – fix undisplayed non-alphabetical thumb image, add option for thumb CSS styling
1.3 – zenphoto upgrade the script so that no thumb record in album. myzenalbums 1.3 now reads cache for random album thumb.
1.4 – fix directory path problem. use dynamic thumbnail creation by Tim McDaniels and Darren Hoyt with tweaks by Ben Gillbanks (TimThumb script).
[...] MYZenAlbums Blogroll [...]
[...] Developed by mightyhitter This is a simple wordpress plugin to enable users to display their latest albums from ZenPhoto. users can specify how many albums to displayed, and what will be the size of the thumb. Clicks on the thumb will be directed to the ZenPhoto. This plugin is created based on ideas of another plugin called ZenLatest by Jakob Friis. More info and download [...]
[...] Yes, it has been fixed. Download 1.2 version here. [...]
Hi Basri,
I’ve installed your plugin, but I don’t understand why doesn’t display thumbs.. can you help me?
You can look at my wordpress website http://www.ziguline.com
on the bottom right side of the home page you should see the missing images..
Thank you!
Dimitri
Hi Basri,
did you read my comment about the problem with your plug-in?
you can see it here: http://www.ziguline.com
at the right bottom side..
Thanks
I’m sorry Dimitri, your messages fall in the spam list by Akismet. I will check the code again.
Hi Dimitri, quick fix with 1.3. It’s suppose to solve the album thumb problem.
[...] If you are in need to display ZenPhoto albums in your WordPress, take a look at this latest MyZenAlbums. [...]
Thank you! I’ll check it out and I let you know.
Ciao
Hi Basri, after your upgrade the plugin doesn’t work at all on my wordpress page, It doesn’t display nothing, in the 1.2 version only the title and broken thums, but now it seem that block the page.. I temporaly disable it… : (
Hi, too bad. I test it out on my site and it’s working.
I don’t understand… because I’ve followed your instructions.. do you have a page on this site where I can see a demo of the plugin?…
Yes I have 2 albums listed on this page right sidebar at the bottom most. It’s using the same plugin.
You are right.. but you call them by a widget not by the php function in the template? Probably that that could be the problem…
Tested even as a widget but the same problem.. is such the code block down the rest of the page..
Hi, if you don’t mind, please paste how you call the function in template. I need to know what makes it stop functioning.
look at the code following the link:
http://www.ziguline.com/code_sidebar.txt
the function is:
Strange. Just to be sure.. Zenphoto and Wordpres is on the same server right? Did you change the values in Settings>MyZenAlbums?
If all yes, I suggest you to delete the wp-content/plugins/myzenalbums folder. Check the plugins list and be sure there is no MyZenAlbums in the list. Then reupload the myzelabums and its content to server again and reactivate.
but your file need to be stored in a folder?
the folder name is “myzenalbums” ?
nothing.. if you look at my website now you can see what happen.. the page load is stopped when arrive the plugin call
folder name is “myzenalbums”. sorry, i’m not really sure why it’s not functioning.
no problem, thanks anyway ; )
Hi Basri,
Thanks for the plugin. I am having some difficulties.
When I add the plugin to the right hand widget in the Altuahapa theme I get the following error:
Warning: dir() [function.dir]: open_basedir restriction in effect. File(/public_html/gallery/cache/otherstuff/) is not within the allowed path(s):
I think this is a host issue. Trouble is I can’t remove the plugin from the widget. Only way round it is to deactive the plugin.
Any ideas?
Thanks!
Hi..yes, it’s related to the security measure of that host. Good info about this is here:
http://www.mydigitallife.info/2007/03/15/php-scripts-open_basedir-restriction-in-effect-error/
However should you have problem with any plugins after an error, a physical deletion of that file will solve it.
Cheers for the quick reply. Excellent link.
I need to speak to my host admin as I don’t have the cPanel option to tweak the security settings.
any thoughts on why this isnt working?
http://www.randallandkristi.com/?page_id=260
Well I tried version 1.3 and it pulled the name of the album, but it can’t seem to display the image…any help with that?
Same problem here.
It crashes on this line:
$tempthumb = get_album_thumb(get_option(‘mzp_zenpath’).’cache/’. slug($picline[1]).’/');
In this line you slug the $picline[1] value, you can’t do this with a directory path because the system (unix paths = case sensitive) won’t find the files.
Plus you may want to add WHERE zp_albums.show = 1 to the query because you probably don’t want to show hidden albums.
Forget to mention that you might have to change some things in the get_album_thumb() function as well.
For example the fact that it looks for ch59_thumb. which isn’t always true. So you might wanna change that into _thumb.jpg etc…
Hi, thanks Bradley & Will for the hints. It’s fixed in v1.4.
Cool plugin. I changed the style in the PHP to render thumbs in a grid. The only issue is that the plugin call to the zenphoto database slows up my page load time. Have you seen that on your end?
http://skopemag.com/
Thanks
Shaun
Hi guys,
I install the plugin (1.4) and show me the thumb and the name album, but when i add the code in the template all the widgets in the sidebar stop working, not show categories, or archives or anything.
Any fix?
Shaun, I did not experience it.
fmontes, mind to show me how do you add it in template?
I added by tag:
And by widget
For example if i have the widget
Categories
Latest Post
Archive
MYZen albums
All the widgets are ok
But if i rearrange the widgets
Categories
MYZen albums
Latest Post
Archive
Latest Post and Archive only show widget title
Im usign WP 2.8.3, ZenPhoto 1.2 and myzenalbums v1.4
Guys,
I found the solution, just need to have wp tables and zenphoto tables in the same database, and thats it!
Hi Basri,
I noticed that in v1.4 of the plugin, the album photo that is being displayed is always random. I modified the code so that the user has an option to display the random image or the pre-selected album image. I made the changes to the PHP as well as the wordpress admin page so the user can make a selection. I’d like to send the plugin to you for review. If you are ok with the changes, maybe you can release them in your next update?
Please email me so i can send you the file.
thanks.
vinny
Hi Barsi,
I made a change to the myZenAlbums plugin to allow a person to choose which thumbnail is displayed. Right now it automatically displays a random thumbnail, but sometimes people pick specific thumbnails (via zenphoto) that they want to show as the gallery thumbnail.
i modified all of the php code to allow for this.
Would you consider including it in your next release?
Can you please email me and let me know where i can send the code?
[...] More info and download Tags: Latest albums, WordPress No comments [...]
Thanks very much for this MyZenAlbums plugin. I installed v1.4 onto WordPress 2.8.5, did the configuration, positioned the widget, and it worked right away.
I’m not intimidated to install a plugin manually (since I’ve been using WordPress for 3 years), but I’m curious if there’s a reason that, under 2.8.5, when I try “Plugins … Add New …” and search for MyZenAlbums (or under Zen or ZenPhoto), the plugin isn’t found. I’ll endorse your plugin, if that would encourage you.