I love this plugin! Really makes photo galleries shine! One thing that bothers me though, is that the "Start Slideshow" link is added to every post and page with a photo. This doesn't make much sense if you have several pages or posts with just one or two pics. But the auto-add feature is great for users that are frightened of tags, code, or anything not resembling standard English. Trying to get my mother to create separate galleries for pictures is difficult enough, let alone training her to type [piclens-lite-link] for each one.
Any thoughts on how this can be accomplished? Just adding the link to ngg gallery pages? If you could point me in the right direction, I may try experimenting with the code myself, but unfortunately I'm quite a novice when it comes to these things.
Guest
Daid
1:22 am Jul 30, 2008
2
I am trying to remove the "Start Slide Show with PicLens Lite " link; I see where I should do that in the admin area but it doesn't seem to work. Any suggestions? (I only want this to work on NextGen Gallery).
Thanks.
New Member
Christopher
5:43 am Aug 24, 2008
posts 1
3
It is a bit of a hack, but I managed to tweak the plugin so that it only included the mrss feed in the gallery pages. This perhaps worked for me as all my galleries (using NextGEN) are subpages of an album page.
Open up wp-piclens-plus.php
function wp_piclens_print_head starts about line 397, so on the next couple of lines include:
global $post; if (is_page() && $post->post_parent=="80" ) {
The function finishes about line 422, so include a closing bracket } on the line after echo "\\n\\n";
ie:
echo "\\n\\n"; }
Now of course you would need to change the post_parent number (from 80) to whatever the id number of your gallery parent page number is.
The Hierarchical Prim Archive (HPA) format is a fully-documented, platform independent specification for storing and transferring builds between Second Life compatible platforms and tools.