WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] [Plugin: NextGEN Gallery] Polaroid plugin doesn't recognise NextGen version 1.0 (6 posts)

  1. alternateroute
    Member
    Posted 5 years ago #

    Ever since I upgraded to NextGen version 1.0 (and greater) I have the error message "NextGEN Gallery Polaroid works only in Combination with NextGEN Gallery".
    Originally this error came up with Flashviewer as well but disappeared with the lastest version of Flashviewer.
    I guess the polaroid plugin needs to be updated to recognise the new version of NextGen. I have had a look at the code and figured out where it tests for NextGen, but didn't understand the mechanism enough to fix it.

  2. Boris
    Member
    Posted 5 years ago #

    I guess the polaroid plugin checks to see if a class exists.it might just be as easy as changing that class name to nggLoader. another problem you might have is the use of swfobject 2.1 with newer NGG versions...

  3. bobandthomas
    Member
    Posted 5 years ago #

    Changing the class name seems to have worked for me. Thanks for the suggestion!

  4. Alex Rabe
    Member
    Posted 5 years ago #

    As travel-junkie mentioned , it require some more rework. Currently I'm not able to work on this, I will pick it up later...

  5. alternateroute
    Member
    Posted 5 years ago #

    @bobandthomas,
    Can you tell me where you changed the class name?

  6. alternateroute
    Member
    Posted 5 years ago #

    @bobandthomas.
    Don't worry I found it.
    In nggpolaroid.php changed if ( class_exists('nggallery') ) to

    if ( class_exists('nggloader') )

    Thanks for the suggestion Travel-junkie.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.