17

Feb

Shashin 1.2.3 - Several Bug Fixes

Topic: WordPress and Web Programming
Tags: ,

In my announcement of Shashin 1.2 the other day, I said I didn’t have as much time for testing as I would have liked, for the sake of getting out a version that works with WordPress 2.3.3. Sure enough, there were several bugs in Shashin 1.2. Get the fixes in version 1.2.3 from wordpress.org.

It may fix the problem some people were reporting with adding and syncing albums (a problem I haven’t been able to reproduce, so I can’t say for sure). If you had this problem, please let me know if the new version fixes it for you.

I also took the opportunity to rewrite the algorithm for displaying random photos, and it works much more nicely now, so give it a try.

I believe I may have also found why some, but not all, Shashin users were having trouble with multibyte (e.g. Chinese) characters, so this upgrade may help with that as well.

If you have any questions or problems, please post a comment on this post.

Print Print

Similar Posts

26 Responses to “Shashin 1.2.3 - Several Bug Fixes”

Subscribe to this posts Comments RSS Feed

  1. santiao Says:

    Hi, Mike. I still have the album sync problem with this upgrade. but the php warning is dispearing now. i think it must be something wrong on my server setting. Thanks for your help.

  2. santiao Says:

    Oh no, i droped the old data in mySQL and reinstall this plugin, it cann’t add album now.
    Failed to add albums. This was probably a bad connection trying to read the RSS feed. Please try again.

  3. Mike Says:

    Hi Santiao - Did you drop the data yourself, or did something else go wrong? If your data is already gone, then I’d recommend starting over completely. Deactivate the plugin, delete its files, drop the two shashin tables (wp_shashin_photo and wp_shashin_album), upload a fresh copy of the plugin, and reactivate.

    I’m not sure why you’re having such difficulty. Sorry for the trouble. If anyone else is having such a serious problem, please let me know.

  4. santiao Says:

    yes, i delete the data by myself.
    Thanks Mike, I’ll tell you if I fix it someday. :-)

  5. Chris Says:

    Mike,

    Love the plug in! Thanks for the hard work! This is by far the easiest and most robust plug in for Picasa.

    One quick question. I’m using the sidebar widgets for “Newest” and “Album”. Both respond as expected…then only thing that I can not resolve is the ability to turn off the light gray table boarders. The table boarders are just outside of your black thumbnail boarders. Any idea where this is located. Is this controlled by Shashin or in my main CSS definitions. Thanks in advanced! Regards, Chris

  6. Mike Says:

    Thanks Chris. The default Shashin stylesheet will create a white background around each image and then apply a thin black outline (like on my site). The table itself does not get a border, and I don’t use the color gray anywhere in the stylesheet. So that effect must be coming from one of your other stylesheets. Check your other stylesheets for any styling applied to tables, table cells (td), or images. My guess is your theme has some default table styling that Shashin is inheriting. But if you don’t want to change your other stylesheets, you can probably fix this by adding the following to .shashin_thumbs_table in shashin.css:

    border: none;
    background-color: transparent;

    Mike T

  7. Chris Says:

    Never mind Mike. Found it in my main CSS. Thanks again. Chris

  8. vihali Says:

    I’ve been waiting for the new version with lightbox support. Can you estimate when it will be released, Mike?

  9. Mike Says:

    Hi Vihali - I’m testing it now - I plan to release it next week (and it’ll have Highslide support, not Lightbox).

  10. vihali Says:

    Thank you, Mike.

    I have tested through the plugin and emailed you.

    Is it possible to make it automatic after a certain of time, say 5, 10 minutes, or 1 day? Since I have the idea of a group will upload their photos on Picasa and have them appeared right after that without logging into Dashboard and click Sync. I don’t want them to have such privilege.

  11. sean Says:

    Hey I’m trying to use Shashin but I get this error when adding my URL:

    Invalid URL for Picasa Server

    I’m using this format in the box: http://picasaweb.google.com/myurl

  12. Mike Says:

    Hi Sean - where are you entering this URL? If you mean the Shashin options menu, you should enter just

    http://picasaweb.google.com

    If you mean the “add album” input, then the URL you’re using should be fine. Let me know…

    Mike T

  13. Chris A. Says:

    Hey, i have a short question.

    Now, i have my album thumbnails, when i click at one of these, then it links me to googles picasa page, and first then i see my pictures and can open it.

    how can i make it to open the selected album on my page and not linked to the google picasa album overview ?

    i hope someone understands my problem.

  14. Mike Says:

    Hi Chris - you’ll be able to do this in the next version of Shashin. I had planned to finish it last week, but I came down with the flu. Come back later this week and I should have it ready.

  15. Elmar Says:

    Hi, when are you going to give us the release with highslide!! :D Can’t wait!

  16. Mike Says:

    Sorry for the delay. I had hoped to finish it by now, but I’ve had to focus on some other things. Give me one more week.

  17. Max Says:

    Hi, I’ve got a problem using Shashin plug-in. I’ve installed version 1.2.3 on WordPress 2.0.5. Successfully activated it and synchronized all albums. So far, it went OK. But when I insert code line

    in a new page or post nothing happens. Just empty page/post. What do I wrong?
    Thanx in advance.

  18. Max Says:

    Sorry, my fault. I forgot the brackets [ ] in syntax.
    It’s working!

    Thanks for great tool!

    Still, there is a little problem – when I put a random image on the sidebar, a picture is some pixels bigger than black outline and goes over it on the right side. I tried different sizes but the effect is the same.

    What is the full solution for making a gallery like you have on your site?

  19. Bogdan Says:

    Hi, this plugin works only with public albums? I have lots of unlisted albums and when I click “Add Albums” I get this error:
    “Failed to add album. This was probably a bad connection trying to read the RSS feed. Please try again.”
    It is hard to modify the plugin to work with unlisted albums?
    Thanks.

  20. Mike Says:

    Hi - yes, Shashin currently works with only public albums. A few people have requested support for private albums, so I’ll move it to the top of the wish list for the next version.

  21. MarcoDuff Says:

    (Excuse me for my english… i’m italian!)
    I Mike! I found a bug in your work (Failed to add album. This was probably a bad connection trying to read the RSS feed. Please try again.)!
    I install Version 2.0.3 (download from http://wordpress.org/extend/plugins/shashin/).
    It create two table in my mysql db… but the table’s name is wrong!!! It create shashin_photo and shashin_album table! Not wp_shashin_photo and wp_shashin_album!
    I rename it with wp_ prefix and now all works!

    Thanks for your work!

  22. Mike Says:

    Thanks for letting me know. This was caused by a compatibility problem with the new version of WordPress. I posted a new version of Shashin that fixes the problem - http://wordpress.org/extend/plugins/shashin/ - but it sounds like you fixed it yourself :-)
    Mike T

  23. Aziz Says:

    I still get that error using WP 2.3.3 on Bluehost

  24. Mike Says:

    Hi Aziz - which error do you mean? Were the Shashin tables created with the wrong name (that’s what the previous commenter in this thread was talking about) ? That error should be fixed in the new version of Shashin. If you’re having a different problem, please let me know.

  25. Damir Says:

    Hi Mike, great plugin but I can’t get the latest 2.2.1 version to work on Wordpress 2.6.3, when I try to add an album I keep getting the message “Failed to add albums. This was probably a bad connection trying to read the RSS feed. Please try again.” Is your plugin working with the latest Wordpress?

  26. Mike Says:

    Hi Damir - I’m running WP 2.6.3 on my site and Shashin is working fine. Did you install Shashin before or after installing WP 2.6.3? If you have access to a tool like phpMyAdmin, please send me a list of the columns in the tables wp_shashin_album and wp_shashin_photo. The most common cause for this problem is columns not being added correctly (I’m still trying to figure out why).

Leave a Reply