WordPress.org

Ready to get started?Download WordPress

Forums

Shadowbox JS
[resolved] 3,0,3,3 Conflicts with Next-Gen gallery (16 posts)

  1. mindkil
    Member
    Posted 3 years ago #

    I have a problem that when I installed the new version of the Shadowbox 3.0.3.3 it made the page where I had images triggering the Video-box showing the list of the Albums which were made with the NextGen gallery plug-in. The other pages were working as before.
    When I reverted back to the old 3.0.3.2 version of Shadowbox the problem disappeared..
    Anyway it's working fine with the old version also...

    Is it some conflict in the database??

    BR:-g

  2. Matt Martz
    Member
    Plugin Author

    Posted 3 years ago #

    This plugin now hooks into the post display process a lot earlier. It is possible that there is a conflict between the way that NextGen and this plugin now works.

    If I get time I may look into this.

  3. acekin
    Member
    Posted 3 years ago #

    I had the same problem on two of my sites when I upgraded to 3.0.3.3. After scrambling to find a solution, I disabled Shadowbox JS and the problem disappeared. I found the solution to be to revert back to Shadowbox JS 3.0.3.2 which works fine. So there is definitely a conflict with NextGen Gallery.

    For hints, and for whatever they may be worth, the ill behavior seems to insert NextGEN gallery management thumbnails, adding NextGEN album code although I have no albums, and there is a visible code snippet:

    ;player=img;">

    visible here and there. Another user reported the same code snippet to be visible when I posted this problem on NextGEN support forum.

    I hope these hints may help you locate the problem soon. Thanks for a nice plugin (when it works ;)

  4. Matt Martz
    Member
    Plugin Author

    Posted 3 years ago #

    Can you provide a snippet of the text that is in your post? Then I can try duplicating the issue.

  5. acekin
    Member
    Posted 3 years ago #

    I did, it is on the line after "... code snippet:"

    I can see it in the forum post. Let me write it once more in case something is preventing it from being seen:

    ;player=img;">

    This was visible in several places and as I said another user mentioned it on my post at:
    http://wordpress.org/support/topic/nextgen-inserts-odd-content-all-around?replies=5

    Cemal

  6. Orakel
    Member
    Posted 3 years ago #

    I have the same.

    Take a look at this:
    http://www.lekaro.no/travel/2011-south-american-adventure-ecuador-brazil/

    The HTML actually set in the post

    <a href="http://www.lekaro.no/wp-content/uploads/2011/01/27519_131927523488439_8977_n.jpg"><img src="http://www.lekaro.no/wp-content/uploads/2011/01/27519_131927523488439_8977_n.jpg" alt="Rosa Bussarna logo" title="Rosa Bussarna logo" width="200" height="200" class="alignleft size-full wp-image-622" /></a>It's done, or at least is has started !
    
    Today I got the news from work that I'll be able to do have my vacation as I asked for and I didn't wast a second booking my next adventure. Well I wasted a few minutes cause I had forgotten my login to the <a href="http://www.rosabussarna.com" target="_blank">Pink Caravan</a> website.
  7. paulwood
    Member
    Posted 3 years ago #

    Have the same problem. I'm downgrading to get my blog to work.

  8. fiddlerman
    Member
    Posted 3 years ago #

    Just wanted to say that I have a similar problem since I upgraded to 3.0.3.3. My problem was however a conflict with YouTube SimpleGallery. The youtube links opened up on YouTube instead of on my page. I installed Thickbox in the meanwhile but would much prefer to use Shadowbox. I'll try reinstalling the previous version when I find the time. In the meanwhile I look forward to a new version. Thanks Fiddlerman.com

  9. Matt Martz
    Member
    Plugin Author

    Posted 3 years ago #

    So I found out what the issue is. When possible shadowbox creates an "album", or a grouping of images using a string that looks like [album-123] where 123 is the post ID. NextGen adds a shortcode for 'album'. This normally shouldn't be an issue, except there appears to be a bug in the shortcode parsing regex in WordPress. The regex believes that [album] and [album-123] are the same thing, and thus the NextGen shortcode runs, and breaks the html.

    As I realize that at best a fix to the regex would make it into WP 3.2, this is still a while off. I will work on another solution in the short term.

    The reason this started happening now, is that I hook into the post generation process much earlier than previously. So previously the shadowbox code inserted the album grouping after the NextGen code had run.

  10. Matt Martz
    Member
    Plugin Author

    Posted 3 years ago #

    A new version has been pushed that should address these issues. The new version is 3.0.3.4:

    Version 3.0.3.4 addresses a bug where other plugins registering [post] or [album] could interfere and cause invalid HTML and general unexpected results.

  11. mindkil
    Member
    Posted 3 years ago #

    Thank you, the Shadowbox now works great!!

    BestRegards-:g

  12. fiddlerman
    Member
    Posted 3 years ago #

    Hey Matt,
    I know that the title of this thread is 'Conflicts with Next-Gen gallery" but since I already posted the problem above I'll continue here. Unfortunately the new version 3.0.3.4 didn't correct the problem for me with YouTube SimpleGallery. Still opening YouTube instead of staying on the WordPress page.
    Thanks for the update.

  13. Matt Martz
    Member
    Plugin Author

    Posted 3 years ago #

    @fiddlerman: Make sure that in the YouTube SimpleGallery settings that you have Shadowbox selected, and then in Shadowbox make sure that 'Smart Loading' is set to 'false'. These settings work fine for me.

  14. fiddlerman
    Member
    Posted 3 years ago #

    Thanks Matt, It was the "Smart Loading" that caused the problem. Setting it to false as you suggested fixed it for me. Thanks for a great plug-in

  15. anotherandrew
    Member
    Posted 3 years ago #

    Umm, I see this says that it is resolved but I am having the same problems. I am using the latest version, 3.0.3.8, and have tried all the remedies suggested above.

    But I am still getting albums from the next-gen gallery being called.

    Anyone have any suggestions?

  16. anotherandrew
    Member
    Posted 3 years ago #

    After reading the changelog over here

    I now understand that the album name cannot have any hyphens or it will conflict with the next gen gallery plugin.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic