Home › Support › Image Store › Dynamic Shortcode for Client Area
Tagged: albums, dynamic, galleries, shortcodes
-
AuthorPosts
-
April 15, 2013 at 4:17 pm #52705CathieHeartParticipant
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.April 15, 2013 at 4:30 pm #52706CathieHeartParticipantI’ve tried the following:
[image-store]
[image-store album=wedding]
[image-store all]
[image-gallery]
what should I really be using?
April 17, 2013 at 6:26 am #52725CathieHeartParticipantHello? I’m still needing help with this please.
Thanks.
April 24, 2013 at 10:59 pm #52802Xpark MediaKeymasteruse [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 galleryI hope this helps
May 3, 2013 at 11:52 pm #52900Xpark MediaKeymasterWe 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.
May 7, 2013 at 5:54 am #52936CathieHeartParticipantHi 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.
May 7, 2013 at 1:26 pm #52940CathieHeartParticipantAlso 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?!
May 9, 2013 at 3:19 am #52996Xpark MediaKeymasterThis could be because you are logged-in on different sessions, the link will show differently depending on user permission.
May 10, 2013 at 6:12 am #53027chrisbParticipantTry 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’
May 10, 2013 at 8:48 am #53028chrisbParticipantThink 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 “;
May 11, 2013 at 8:28 pm #53045Xpark MediaKeymasterThanks 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
June 16, 2013 at 5:50 pm #53457Xpark MediaKeymasterThe issue has been fix and stable in version 3.3.0
-
AuthorPosts
- You must be logged in to reply to this topic.