zenphoto forums » Usage Support

Allow users to comment but keep comments hidden?

(7 posts)
  1. phanop

    Apprentice
    Joined: May '11
    Posts: 4

    Is there a way to allow people to comment on your photos but keep them hidden from everyone? Or at least make them have to be approved?

    Posted 1 year ago #
  2. Zenphoto development team
    acrylian

    Developer
    Joined: Jul '07
    Posts: 13,367

    Yes, to both. Users can post "private" comments that do not appear on the site (and even the admin can't change this status!) and you can set comments to moderated. See the options.

    Don't forget to read the Forum rules and usage resources
    Posted 1 year ago #
  3. abc1

    Junior
    Joined: Aug '12
    Posts: 6

    Can you, Allow users/members to comment but keep comments hidden to non members ? but visible to users/members.
    Thanks

    Posted 9 months ago #
  4. Zenphoto development team
    sbillard

    Chief Developer
    Joined: May '07
    Posts: 9,771

    Tere is no direct support for this, but it could easily be coded in your theme. Simply add `if (zp_loggedin()) {
    }`
    around the code that prints the comment form.

    Don't forget to read the Forum rules and usage resources
    Posted 9 months ago #
  5. abc1

    Junior
    Joined: Aug '12
    Posts: 6

    Thank you for speedy reply, that seems straight forward, can you point me in the direction of the file that handles that...

    Many thanks.

    Posted 9 months ago #
  6. Zenphoto development team
    acrylian

    Developer
    Joined: Jul '07
    Posts: 13,367

    The theme file or files you have comments on. That can be album.php, image.php, news.php and pages.php. Best you read the theming tutorial.

    Don't forget to read the Forum rules and usage resources
    Posted 9 months ago #
  7. abc1

    Junior
    Joined: Aug '12
    Posts: 6

    Thank you.

    Posted 9 months ago #

RSS feed for this topic

Reply

You must log in to post.