hi - i just finished my own wordpress plugin to integrate zenphoto
http://n00bism.net/dokuwiki/wordpress/zenpressits 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)
Comments
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?
are the zen tables in the same db as the wordpress tables?
or in another?
did you check the options for "use another db"?
or does it work otherwise and only errors when its between archive and categories?
more info pls
Best and thanks.
ZenPressed...hm...doesnt it still sound to much like ZenPress?
thou i like it somehow
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
and if you leave out the zenshow function the error happens too?
hm
please contact me via email or im, so we can fix this faster
you will find my contact info here
or come to our own forum
and its now called ZENpressed
get it
Am I missing something?
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