logo
Ask your WordPress questions! Pay money and get answers fast! (more info)

Warning: Please do not give out any FTP or ssh credentials to anyone, unless you trust them completely. Giving out login details is dangerous.

If the asker does not get an answer then they have 10 days to request a refund.

$20
resolve issue with buddypress and jcarousel

I seem to have some sort of conflict going on on the carousel at the bottom of this page since I activated buddypress plugin: http://www.transmedianext.com

clicking on the right arrow no longer causes the carousel to scroll. When i deactivate buddypress plugin, the carousel starts working again.

I've tried sticking $j=jQuery.noConflict(); at the top of the two js files for the jcarousel plugin but it's having no effect.

any ideas please guys?

thanks in advance,

Dave

This question has been answered.

Dave Smith | 02/09/11 at 5:02am Edit


(2) Possible Answers Submitted...

See a chronological view of answers?

Warning: Please do not give out any FTP or ssh credentials to anyone, unless you trust them completely. Giving out login details is dangerous.

  • avatar
    Last edited:
    02/09/11
    5:20am
    John Cotton says:

    You're getting a js error:

    Uncaught TypeError: Object #<an Object> has no method 'swing'


    When clicking the carousel.

    This might help:

    http://forum.jquery.com/topic/uncaught-typeerror-object-an-object-has-no-method-swing

    Previous versions of this answer: 02/09/11 at 5:20am

    • 02/09/11 5:12am

      John Cotton says:

      PS There's also a reference to file:///C:/Users/Linde/AppData/Local/Temp/moz-screenshot.png which is giving a 404 error

  • avatar
    Last edited:
    02/09/11
    11:47am
    Hai Bui says:

    Please open
    http://transmedianext.com/wp-content/plugins/buddypress/bp-themes/bp-default/_inc/global.js
    and delete line 1253:
    jQuery.extend({easing:{easein: .........

    This easing definition by buddypress conflicts with jcarousel. If you delete this line, the carousel will work, I'm not sure if there would be any problem with buddypress. Please just try and we'll see.

    • 02/09/11 5:39am

      Dave Smith says:

      that seems to have worked... any idea what the buddypress function was for or how it was being used? be useful to know if i've broken anything as a result!

    • 02/09/11 10:20am

      Hai Bui says:

      It's for defining the easing methods that are used for some jQuery effect of buddypress. To avoid any issue with buddypress, instead of commenting that line out, you can modify it:

      jQuery.extend({easing:{easein....
      to
      jQuery.extend({jQuery.easing:{easein....

      That's it, just adding "jQuery." there. That will make sure both buddypress and jcarousel work correctly.


    • 02/09/11 11:48am

      Dave Smith says:

      works a treat. many thanks!

This question has expired.





Current status of this question: Completed



Warning: Please do not give out any FTP or ssh credentials to anyone, unless you trust them completely. Giving out login details is dangerous.

If the asker does not get an answer then they have 10 days to request a refund.