Forums

[resolved] [Plugin: Invite Friends] jquery error (8 posts)

  1. HazardCell
    Member
    Posted 3 years ago #

    When I use the plugin I get a jquery error.

    jQuery("div.friendship-button a").livequery is not a function

    The admin menus become unusable because of this. Any idea how to fix it?

  2. HazardCell
    Member
    Posted 3 years ago #

    This is the bit that causes the error (in bp-invitefriends-admin.php5)

    <script src="../wp-content/mu-plugins/bp-invitefriends/lib/jquery.js" type="text/javascript"></script>
    <script type="text/javascript">
    $(document).ready(function()
    {
      //hide the all of the element with class msg_body
      $(".msg_body").hide();
      //toggle the componenet with class msg_body
    
      $(".msg_head").click(function()
      {
        $(this).next(".msg_body").slideToggle(600);
      });
    });
    </script>

    if I remove it the ajax on the plugin settings page doesn't work. any idea how I can fix this?

  3. giocaputo
    Member
    Posted 3 years ago #

    what version of Bp do you use?

  4. giocaputo
    Member
    Posted 3 years ago #

    on new version(0.7 for RC2) i have resolved it!

    will edit 0.6 version for RC1 next days

  5. HazardCell
    Member
    Posted 3 years ago #

    brilliant thanks! where can i download the revised 0.6?

  6. giocaputo
    Member
    Posted 3 years ago #

    click on "Other Versions ยป" on invitefriends plugin page of wordpress and download 0.6.1 version.

  7. HazardCell
    Member
    Posted 3 years ago #

    menu is working but quickpress and other dashboard widgets are still not working

  8. giocaputo
    Member
    Posted 3 years ago #

    but this error is generated by "bp-core/js/general.js?ver=2.7" then is not my plug in!
    give me a feedback. thanks

Topic Closed

This topic has been closed to new replies.

About this Topic