Shashin 3.0.4 and Toppa Plugin Libraries 1.1
Update 11/21: I’ve upload Shashin 3.0.5, which fixes this issue, reported in the wordpress.org forums
I uploaded two updates to wordpress.org last night – one for Post to Post Links II error: No post found with slug "shashin-wordpress-plugin" and one for Post to Post Links II error: No post found with slug "toppa-plugin-libraries-for-wordpress". They address a couple bugs in Shashin:
- Automatic photo cropping is now done when appropriate when parsing the old Shashin shortcode format
- At least a few people have had problems with showing album photos when clicking an album thumbnail. In some cases this was being caused by how I was detecting whether to use http or https for AJAX calls. This is fixed now.
Another cause of the album thumbnail clicks not working is the jQuery form validation plugin. This plugin comes with the Arras theme. I’m still investigating why (there are no forms in Shashin, so offhand I don’t know why there would be a conflict). If you want to temporarily disable the form validation in Arras, go to line 46 in its header.php file and comment it out, like this:
//wp_enqueue_script('jquery-validate', get_template_directory_uri() . '/js/jquery.validate.min.js', 'jquery', null, false);
The Toppa Plugin Libraries update also include a new class for simplifying management of plugin settings (for any plugin that wants to use it). I’ll document it shortly.
Please use the comments section of this post to report any other issues.
Comments are Disabled
Hi. For some reason, I am having a heck of a time installing Shashin 3.0.4.
I’m installing it on WordPress 3.2.1. I install/activate the ‘Toppa Plugins Library for WordPress’ first and that goes smoothly. I then install/activate Shashin 3.0.4, and that also appears to go smoothly. However I get the error “Invalid data property __get for supportOldShortcodes” when navigating to the Settings->Shashin page. I also noticed that the wp_shashin_album table and (I forget the name of the other table) were not created in the wordpress database. I was expecting to see them after I activated Shashin. I’ve uninstalled and reinstalled shashin, toppa plugin lib, and the entire wordpress directory (I saved off a copy before installing Shashin for the first time) and the result is always the same.
Any ideas or suggestions to try?
Note: I did have a previous version of Shashin (2.x, I believe) installed at one point, but I uninstalled it before trying the Shashin 3.0.4 installation.
Hi Bob – that’s weird. I just did a clean install of both plugins on my test site, just to make sure things are ok in the code, and it went smoothly. That error you’re getting on the settings page means the Shashin settings aren’t even being saved when you activate.
If you are familiar with using FTP, and you don’t mind installing my SimpleTest for WordPress plugin, I can email you my integration tests for installing Shashin (you would need to FTP the test file into your Shashin folder). These tests will step through actually creating the Shashin tables and saving the settings, and should let us know where the installation is failing.
Let me know if you’d like to try that and I’ll email the test file to you.
That would be great. Thanks for the help.
I am comfortable with FTP, I also have direct access to the server, in case that helps.
I’ll go ahead and install he SimpleTest plugin.
Just curious if you still plan to have unlisted galleries, where all you need is the authkey, working in Sashin.
Hi Scott – yes, I still plan to add that. Right now I’m mainly dealing with support requests. Once that settles down I can get back to adding features.
Throughout the updates, when I turn on support for the old code, my old galleries all have this error:
uploaded_timestamp is not a valid value for: order
Really hoping I don’t have to manually go back and edit all those galleries. >_<
Thanks for reading this!
Hi – sorry, I overlooked including handling for uploaded_timestamp. I’ll aim to have a fix available by the end of the week. Thanks for letting me know.
Thanks for fixing that, however now I get another error:
Shashin Error: uploaded is not a valid value for: order
Not sure what that means either.
Hi – could you copy and paste the shortcode into a comment here? I’d like to test exactly how you’re using it.
Sorry for the delay:
(I also donated because, unlike other plugin authors, you actually respond to comments on your site. Thank you!)
Hi – thanks for providing the shortcode. I found the problem. I just uploaded version 3.0.7, which should get this working for you.
You mentioned a donation, which I appreciate, but I don’t see one in my Paypal account- maybe it didn’t go through?
Thanks for the jquery temp fix. It has worked for me.
Fisrt of all, thanks for the shashin, its a wonderful plugin!
Today I did the new version update. Unfortunatelly I’ve noticed that the “return” button of my albuns are not working anymore. The “previous” and “next” are fine. What should I do to fiz it?
thank you from Brazil.
Hi Marcos – can you give me a link to your site, so I can take a look? If you don’t want the link here in the comments, you can email it to me through my contact form.
Hi, i am really enjoying your plugin. So far I´ve found it very useful and flexible. But there is something I don´t understand. In the frontpage I do have all the albums, and when I click one, all the photos appears. But there is only 18, as I think is some default value, Is it possible to adjust that value? The other thing, in highlight, it is a good thing that you can click next, to simply go next. But it goes only through those 18 pictures, not to the next page, if i got more than 18 pics. I think it is more usefull that it continue to the next page.
H(i Jared – you can adjust the number of photos shown on the Shashin settings menu. Look for the setting “Default maximum number of photos to show”
I’m not sure what you’re saying about the “next” link – I went to your site and the “next” link seems to be working ok, taking you to the next 18 pictures in the album. (I did accidentally break the “return” link in the newest release – I’m working on fixing that)
Is the 2.0 version of this awesome plugin around anywhere? I use the plugin to maintain a private family site, and I made the mistake of not reading the release notes prior to upgrading. Because support for private albums was removed, my site was broken, so I’d like to move back to the 2.0 build. Thanks for any help.
Hi Evan – I will email a copy of version 2.6.3 to you.
Thanks for the plugin and the fast updates. I have updated to shashin 3, got the new shortcodes, etc.
Before 3.0.5. I had the problem with not showing album photos when clicking an album thumbnail.
3.0.5 seems to fix this problem. But like Marcos above I found the “Return” button doesn’t work.
3.0.6 fixes the “Return” button. I was quite happy so I tried to import some new albums and sync it again. This broke it 🙁 and I am back to not showing album photos when clicking an album thumbnail.
I run two websites with very similar plugins and set up so you can compare the effects:
https://memcr.soc.srcf.net/gallery/ (updated to 3.0.6, not synced, WORKING)
http://www.srcf.ucam.org/mecbc/gallery/ (updated to 3.0.6, synced, BROKEN)
Hi Ying – that’s strange. I’m not sure why that’s happening on that site. Could you go the Shashin Tools menu for the ucam.org site, and click one of the album titles? This should then show you all the photos in the album. I want to make sure the photos are actually there. That will give me a clue if it’s a syncing problem, or a display problem with the album thumbnails.
I have checked the Shashin Tools menu and the photos do appear when I click on the album title.
Hi, what I ment was not that the Next link doesnt work. But when I click on picture, it is highlightend and i am able to use my arrows on the keyboard to see the next one and the next one. But it does not go on to the next page in the same album. See?
Hi Jared, sorry, it’s not designed to do that. I would have to makes changes to the Highslide code to do something like that, and that would be a major undertaking.
Not sure if my previous comment posted, so just in case I’m posting again. I’ve been using Shashin for a while with great success, but I just updated to the latest version, and not all of the source code for all of my images on previous blog posts are not showing images. It just shows the old source code where the image should be. ([simage=1185,512,n,center,], etc)
You can see what I mean if you go to my site:
Please help!! What did I do wrong?
Nevermind! I figured it out! Thank you anyways!
First of all, thank you for a great plugin! When I upgraded from version 2 to 3 I cannot seem to get the control bar in Highslide to appear below (outside) tihe image. Is this possible?
Hi Andrew – the options in version 3 are the same as version 2 – to position it at the top, middle, or bottom. Highslide does actually allow for outside the thumbnail, but I don’t think I ever included that option in Shashin.
Great! Thank you Mike for such a quick response!
It wasn’t via this e-mail but my husband’s, anmghstnet 🙂
And thanks for the update, works perfectly once again! 😀
Thank you for the great plugin. I would like to add my albums from Picasa to the sidebar. However, i’d rather:
1) have the albums open directly on highslide slideshow without opening all the pic thumbnails on the sidebar (200+ pics/album).
2) remove any links to the original picture in picasa.
Can you please point me to the right direction, on how i can do that?
thank you very much, and fantastic work.
1. I’m planning to add support for Highslide’s thumbstrips, which will let you do this
2. I include the link to Picasa to acknowledge the service (and for Twitpic, it’s required as part of their usage policy). To remove it, you will need to edit code. You’ll want to comment out line 63 in the file shashin/Public/ShashinPhotoDisplayer.php, like this:
I too was having trouble with 3.0.7. I would click on the album, and it would just go to a blank page. It would not load the photos in the album. I started to turn on and off all plugins, and found that digg digg has a conflict. But i turned digg digg back on and now all is working just fine. Also i tried my other cpu, and yes all is well. Just an FYI. maybe an anomaly, maybe helpful.
Hi Mike – Thanks for Shashin!
I am in process of installing. It seems everything is fine. sql database is there, I can select pics fine, shortcode appears in the post fine, but in wordpress, I keep getting this:
"35,27" is not a valid string of numbers
Those id’s are there, but they are apparently not being found. I have tried to double check everything, but, at this point, I find myself stumped. I feel I’m missing something very simple.
Thanks in advance for any suggestions for me.
Sorry Mike – False alarm. I kept plugging and figured it out.
Another plug-in I was using, “CKeditor”, was adding some characters around the Shashin shortcode. I turned it off and it now works fine. Thanks.
I would like to know how to avoid black border around pictures?
Thansk for the plugIn
Hi Bart – this is controlled in the Shashin CSS file. Please see here: http://www.toppa.com/shashin-wordpress-plugin/#stylesheets
I appreciate all the hard work you put in just to make my clients photos look good.
My issue is with the Sidebar Widget. I can’t seem to get that working. I checked your User Guide, but I still don’t get it.
Hi Philip – tell me what you want to see in the sidebar, and I can advise you on the settings for it.
Thanks for responding.
I want to see a preview of my albums in a Sidebar with 4-6 images.
When hovered over a tool-tip shows album info. Clicking takes you to that specific album. Hop this makes sense.
Hi Philip – I’ll add this in the next version, using Highslide thumbstrips. Right now the widget supports individual photos only, as there’s typically not enough room in a sidebar to browse albums