Skip to:
Content
Pages
Categories
Search
Top
Bottom

Buddypress and jquery incompatability

  • @jenyus

    Member

    Hello,
    I’m new to buddypress but not new to wordpress. It seems that buddypress’s handling of jQuery is very fragile. It is very easy to break jquery functions (such as the avatar crop) with plugins and it seems to override all other jquery based plugins and cause errors in them or simply break them altogether. What can I do about this? are there other people experiencing this?

Viewing 11 replies - 1 through 11 (of 11 total)
  • @jenyus

    Member

    has anyone else noticed this?

    @paulhastings0

    Participant

    I’m just not sure where you’re coming from. Can you give a few specifics?

    @jenyus

    Member

    well, i have been trying to get a content slider working on my site for some time now. I have tried many plugins and even made my own using jquery but no matter what, whenever buddypress is enabled, just about all jquery functions in anything other than buddypress is broken.

    @joshuacrowley

    Member

    @jenyus is right! jQuery conflicts appear to be rife. I’ve had multiple plugins affect the functionality of the Avatar and avatar crop feature, with the only solution turning them off. There needs to be a better way of isolating problems concerning jQuery.

    @djpaul

    Keymaster

    If you can give us the name of plugin whose javascript conflicts with BuddyPress’ avatar crop, we can investigate and see how to improve it. If you get a browser warning message, too, that would be helpful in pinpointing the error.

    @joshuacrowley

    Member

    Okay Paul, i’ll get back to you with some leads later tonight, I’ve still yet to pinpoint which plugin is causing problems at the moment, doing my head in a bit because the same error has effected a few different features of the site – i assume.

    @joshuacrowley

    Member

    I’ve just had another look at it and isolated the plugin.

    It was “First Visit Message” as demonstrated on this site http://www.thijmenstavenuiter.nl/ I’m no coder but I think it’s using jquery to do what it does.

    I can’t find it in the plug-in directory so perhaps the author, Thijmen Stavenuiter withdrew it after s/he figured out it was creating a conflict.

    It affected the avatar crop tool by not allowing me to crop an image and also Buddypress Link plugin- which was frustrating as it wouldn’t let me upload a link.

    @djpaul

    Keymaster

    I think it’s here https://wordpress.org/extend/plugins/first-visitor-message/. I can see straight away that it is loading its own version of jQuery. It is also loading its own javascript on every front-end and admin page load. I think if these issues were addressed in the plugin, it would work properly with BuddyPress.

    @joshuacrowley

    Member

    Ah right, thanks for clarifying!

    @thijmen

    Member

    Hi there,

    Sorry for bumping this thread. I am Thijmen Stavenuiter and I am the developer of the plugin.
    If I need to change anything to the plugin, just give me a shout at thijmenstavenuiter@gmail.com and I’ll try to fix it up right for you.

    Kind regards,

    Thijmen Stavenuiter

    @thijmen

    Member

    Hi there,

    Sorry for bumping this thread. I am Thijmen Stavenuiter and I am the developer of the plugin.
    If I need to change anything to the plugin, just give me a shout at thijmenstavenuiter@gmail.com and I’ll try to fix it up right for you.

    Kind regards,

    Thijmen Stavenuiter

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘Buddypress and jquery incompatability’ is closed to new replies.
Skip to toolbar