another "ZenPress" - WordPress support plugin

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)

Comments

  • 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

    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
  • i just tested it on my page in between a archives and categories widget - works just fine
  • Call it ZenPressed please. It will avoid a lot of confusion ;)

    Best and thanks.
  • as soon as i get time to make a new release it will be renamed

    ZenPressed...hm...doesnt it still sound to much like ZenPress?
    thou i like it somehow ;)
  • 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
  • so you use zenshow and my zenpress?
    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
  • also version 0.4 is now released
    and its now called ZENpressed

    get it
  • 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
  • ny888 Member
    I just installed and activated this plugin but I don't see an icon in the rich text editor.

    Am I missing something?
  • ny888 Member
    Never mind - I'm confused between ZenPress and ZenPressed !
  • canon Member
    "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.
Sign In or Register to comment.