• [ Moderator note: moved to Fixing WordPress. Please do not use Developing With WordPress for these topics. ]

    Hi Folks,
    I look after a camera club site at conwycameraclub.co.uk. Although the site has photo galleries these are created by admin only.
    What we really need is the option for logged in users only to create and maintain their own galleries within the site. These galleries would be accessible to the public via a link from the main gallery page as per conwycameraclub.co.uk/galleries/
    Above all this must be simple as expertise with a camera isn’t always followed by familiarity with any form of coding.
    We had thought of just presenting the public with external links to a users Facebook page but that doesn’t look too professional.
    Any ideas greatly appreciated.
    Cheers,
    Eugene.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Moderator bcworkz

    (@bcworkz)

    The solution would largely depend on how your galleries are created and how they are stored in the DB. Generally only the Author role can create and manage their own posts, but no others. This may or may not apply to any custom posts a gallery plugin might use. In any case, roles and the capabilities provided can all be customised to meet your needs. There are a number of plugins that make this possible for even non-coders.

    Whatever post type the gallery plugin uses can also be modified for what capabilities are needed to do what, though doing so cleanly without hacking the plugin can get a little involved, but the possibility exists. A good first step would be to contact the plugin devs and find out what is possible to change in their plugin, or at least find out how the information is stored and what capabilities are needed by default.

    Then try to use one of those role and capability plugins to adapt your needs to the gallery’s data schema. If that falls short, look into altering what capabilities are required for various operations within the gallery data. I think the capabilities are stored in the global $wp_post_types array. You cannot alter them until the post type is initially registered of course. Making changes from the ‘wp’ action should be late enough without being too late.

    Thread Starter gene-stevo

    (@gene-stevo)

    Thanks for your prompt and comprehensive reply. Need to rethink just what the club wants.
    Thanks again,
    Eugene

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Gallery plugin to allow logged in users to create own albums etc’ is closed to new replies.