Dynamic Shortcode for Client Area

HomeSupportImage StoreDynamic Shortcode for Client Area

Viewing 12 posts - 1 through 12 (of 12 total)
  • Author
    Posts
  • #52705
    CathieHeart
    Participant

    Hi there, I’ve now got all the images displaying correctly and now I’m trying to create a general Client Area page where they can enter their gallery code and log in.

    I’d also like to list all the public galleries that are provided too.

    Especially if I can show public galleries by album. ie. all public wedding galleries.

    Client Area page: http://clientsof.theheartsdesign.com/RobGrimes/client-area/

    I have five public galleries, 3 of which belong to weddings, one to portraits and one to lifestyle.

    I’ve tried to use the shortcodes guidance as provided here: https://xparkmedia.com/image-store/usage/ but nothing is working for me yet.

    Thanks
    Cathie.

    #52706
    CathieHeart
    Participant

    I’ve tried the following:

    [image-store]

    [image-store album=wedding]

    [image-store all]

    [image-gallery]

    what should I really be using?

    #52725
    CathieHeart
    Participant

    Hello? I’m still needing help with this please.

    Thanks.

    #52802
    Xpark Media
    Keymaster

    @CathieHeart,

    use [image-store secure=1] to show the login form
    use [image-store] to display all none-secure galleries
    use [image-store all=true] to display all galleries including secure galleries
    use [image-store count=5] to limit the number of galleries displayed
    use [image-gallery id=”e84sher”] to display a single gallery

    I hope this helps

    #52900
    Xpark Media
    Keymaster

    @CathieHeart,

    We had people reported issues with ProPhoto and Photocrati themes and since these are commercial themes there is really not a good way to provide support without having access to the themes.

    Most of these themes really are Frameworks they may conflict with standard theme functionality.

    #52936
    CathieHeart
    Participant

    Hi there Hax, I’ve launched a support case with ProPhoto and I’m hoping their fab wizz kid guys read this and hope to work with you to figure out where the problem is with showing the gallery thumbnails and links.

    Thank you for all your support. I’ve a few clients lined up who really REALLY want to have a fully functional client proofing gallery and store for their websites.

    Cathie.

    #52940
    CathieHeart
    Participant

    Also noticed a small strange thing that in Chrome the ‘exit gallery’ menu isn’t there but on firefox and also internet explorer it is!!

    I’m trying to figure out why that might be?!

    #52996
    Xpark Media
    Keymaster

    @CathieHeart,

    This could be because you are logged-in on different sessions, the link will show differently depending on user permission.

    #53027
    chrisb
    Participant

    Try going back to version 3.0.9 – I had to ….

    I think the error is somewhere in _inc?store.php and I belive it is to do with the taxonomy subselect which doesn’t return any rows:

     

    SELECT

    object_id

    FROM

    wp_terms AS t

    INNER JOIN wp_term_taxonomy tt

    ON t.term_id = tt.term_id

    INNER JOIN wp_term_relationships tr

    ON tt.term_taxonomy_id = tr.term_taxonomy_id

    WHERE t.term_id = 0

    AND tt.taxonomy = ‘ims_album’

     

    #53028
    chrisb
    Participant

    Think I’ve got it:

    change /_inc/store.php line 1999 as follows

    $type = “SELECT object_id FROM $wpdb->terms AS t

    INNER JOIN $wpdb->term_taxonomy tt ON t.term_id = tt.term_id

    INNER JOIN $wpdb->term_relationships tr ON tt.term_taxonomy_id = tr.term_taxonomy_id

    WHERE t.term_id = $album AND tt.taxonomy = ‘$taxid‘ GROUP BY tr.object_id “;

    #53045
    Xpark Media
    Keymaster

    @chrisb,

    Thanks for the feedback we can confirm that there is a bug on the album short-code, it will be fixed in the next release.

    on the note if you are adding values directly to a mysql query be sure to scape to avoid database injections

    #53457
    Xpark Media
    Keymaster

    The issue has been fix and stable in version 3.3.0

Viewing 12 posts - 1 through 12 (of 12 total)
  • You must be logged in to reply to this topic.