Comment fields auto submitting on page load

Hi - I have goten ZenPress working with K2 by simply including the K2 headers and footers to a standard ZP template. I noe have the issue whereby whenever you view in image in image.php the comments section fires off and shows an validation error:

http://www.brantwinter.com/gallery/test2/0336520.jpg

Comments

  • I just had a look and could see nothing wrong, did you fix it?

    Dryan managed to integrate Zenphoto with K2 but I lost my copy of the files long ago and can't seem to get onto his site to dowload more.

    http://www.zenphoto.org/support/topic.php?id=146 is the thread in case you're interested :o)

    I just integrated my zp tables with my wp tables in phpmyadmin so that I could use it properly too!

    I'm currenty using stop design but I want it to blend to my K2 style so bad lol Could you explain exactly what you did to integrate it? I'd be really grateful...

    -------------------
    EDIT: I just see what you mean... the bright red error above the comment form. Maybe Dryan can help you too.

    x
  • Take a look here also:

    http://www.zenphoto.org/support/topic.php?id=674

    It's the zenphoto theme Stopdesign, but it integrates to your K2. Perhaps picking at it might help see where you're missing something?

    x
  • yeah i am just mukking round wit the template now. It is still not working.
  • I got mine working in K2 without merging the db tables. I can post the method if you are interested.
  • Yes! That would be excellent if you don't mind :o)

    x
  • I just heard from dryan regarding his ZenPhoto work and he hasn't got a copy any more either. So that's that!

    x
  • trisweb Administrator
    It's a problem with the `$error` variable that both ZP and Wordpress use. The easiest way to fix it would be to rename the variable in the template/comment-posting code. That's `template-functions.php`, line 100, and wherever the `$error` variable occurs in the theme's image.php. Just replace it with `$zp_error` or something.
Sign In or Register to comment.