WordPress.org

Ready to get started?Download WordPress

Forums

CubePoints
Cubepoints Network Activated for Multisite (5 posts)

  1. junger
    Member
    Posted 2 years ago #

    I have Cubepoints network activated on a Multisite install so it's already active on each new site that is created, but it doesn't actually start counting points for things on the new sites until you go in and "submit" the point values on each individual site. (I've hardcoded the points in the plugin so they are all the same.)

    Obviously I don't want to have to go into each new site and submit the point values for Cubepoints so it starts counting them. It should start counting automatically on each site.

    Any thoughts on how to make this work?

  2. forall2enjoy
    Member
    Posted 2 years ago #

    that is happening with me too. Dont know why.

  3. junger
    Member
    Posted 2 years ago #

    @forall2enjoy

    Follow the instructions here. It worked for me.
    http://cubepoints.com/forums/topic/cubepoints-wordpress-mu-buddypress/

    Only change I made was to comment out

    if($count==0){

    }

    in cp_hooks.php

    Keep the lines in the middle but kill the if statement.

  4. Viruthagiri
    Member
    Posted 2 years ago #

    @junger
    Code is messy in this page.
    http://cubepoints.com/forums/topic/cubepoints-wordpress-mu-buddypress/
    It took half an hour to format the code.

    You can find the pastebin version here.

    cp_hooks.php

    http://pastebin.com/kwigk59Z

    cp_core.php

    http://pastebin.com/iyXL4MU2

    cp_install.php

    http://pastebin.com/3q9dS9b2

    Please note:

    I'm not sure what this line is (cp_hooks.php)
    echo __(‘Post on’, ‘cp’) . ‘ “guid.’”>’ . $post->post_title . ‘“‘;

    So my cp_hooks.php contains different code for the above line i mentioned.

    Hope it will help someone.

    One more thing.

    I activated "My points" module. Cubepoints -> My points I see errors in permalinks. (subdomain multisite installation).

    Also i see duplicate logs in the same page. Can someone fix it?

  5. Viruthagiri
    Member
    Posted 2 years ago #

    @junger Killing if statement is not a good idea.

    That if statement checks whether the points given already or not.
    If you kill that if statement points will be credited each and everytime you edit and update the post. So don't kill the if statement.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags