Support » Plugins and Hacks » BP Checkins » Can you make it seperate from BP Groups?

  • Resolved glamgirlsale

    (@glamgirlsale)


    Hello, I love this plugin!! Thank you a lot!

    But can you make it so it doesn’t require BP Groups? Right now plugin breaks site unless group module is activated. I don’t have a use for groups in my site (only friend connections) and have to hide all group meta with css which is not good.

    Is this possible? Or maybe there is some simple code I can change to make it not be required?

    Thank you.

    http://wordpress.org/extend/plugins/bp-checkins/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author imath

    (@imath)


    Hello,

    Yes thanks for your post. I need to do it on next upgrade of the plugin.

    Plugin Author imath

    (@imath)


    Hello @glamgirlsale

    I need to run some tests but maybe you can help, the code to adapt is located in /wp-content/plugins/bp-checkins/includes/bp-checkins-component.php
    1/ simply delete line 53 which contains (see in trunk) :
    'includes/bp-checkins-group-class.php',

    2/ Then at line 57 (it should be 56 after you deleted line 53), simply add this code :

    if( bp_id_active( 'groups' ) )
         $includes[]='includes/bp-checkins-group-class.php'

    The point 2/ is not necessary for your config, but it’s the way i’ll handle config that activated groups.

    Hope it’ll help, as soon as i finished my test, i will post an upgrade of this plugin.

    Plugin Author imath

    (@imath)


    version 1.1 corrects this bug.

    Thanks for your help.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Can you make it seperate from BP Groups?’ is closed to new replies.