hi - i just finished my own wordpress plugin to integrate zenphoto
http://n00bism.net/dokuwiki/wordpress/zenpress
its based on the zenshow plugin by rui cruz and merged with my old zenphoto tag filter (which was buggy)
i just realised that there is another plugin which goes by the same name - sry for that - maybe i rename it in the next version (if i can come up with something good)
Hi n00b,
I tried your plugin and I think it works much better than zenshow, but it still creates one major error and that is I can't place the tag above another WordPress function. I tried sandwiching the zenpress_latestphotos() tag inbetween the archives and categories links on my wordpress sidebar and it created this error:
`WordPress database error: [Table 'wordpressdb.v4_images' doesn't exist]`
`SELECT images.filename AS filename, images.'desc' AS description, album.folder AS folder, images.title AS title FROM v4_images AS images INNER JOIN v4_albums AS album ON album.id = images.albumid WHERE images.show = 1 ORDER BY images.id DESC LIMIT 2`
`Notice: No photos matching the criteria. in /home/.felice/jhsu/imagebaker.com/v4.0/wp-content/plugins/another_zenpress.php on line 93`
Is there a way to escape out of the WordPress database before your function looks for the ZenPhoto tables?
Hi n00b,
Yes I have "use another database" selected. Its funny, it will work if I place the php function after the zenshow function. Otherwise I get this error message:
WordPress database error: [Table 'wordpressdb.v4_images' doesn't exist]
SELECT images.filename AS filename, images.desc AS description, album.folder AS folder, images.title AS title FROM v4_images AS images INNER JOIN v4_albums AS album ON album.id = images.albumid WHERE images.show = 1 ORDER BY RAND( ) LIMIT 4
Notice: No photos matching the criteria. in /home/.felice/jhsu/imagebaker.com/v4.0/wp-content/plugins/another_zenpress.php on line 93
i also get the same error when i call the wordpress widget or the direct random call before the sidebar functions .... but again if i put it at the bottom none of the same errors occurr .... and yes i did indeed select the "use this database" box and filled in the correct values ..... also how can i make the sidebar thing display like pictures in a flickr like badge (i.e. 2x2 or 3 x 4) ? it just displays them in one column right now ..... www.tristanandmarc.com
"how can i make the sidebar thing display like pictures in a flickr like badge (i.e. 2x2 or 3 x 4) ? it just displays them in one column right now ..... www.tristanandmarc.com"
I have the same error, if anyone can find a solution, that would be great. Until then, I can't use this plugin. - www.rashidville.com
Sorry to resurrect such an old post but I am playing around with this plugin now and wondering if there is anyway to do as the poster above me said? Its just one big line right now which doesnt really work for me. Thanks.