Support » Plugin: CubePoints Buddypress Integration » CubePoints Buddypress Integration stopped working after buddypress upgrade

  • I upgraded buddypress to 1.7 and CubePoints Buddypress Integration stopped working. When you go to any of the points pages (sitewide points, users points, or legend) you get a page not found error. I tried deactivating everything including CubePoints Buddypress Integration and the core cubepoints plugin and reactivating but nothing worked. Points seem to be adding fine (ie points were added for creating a new group)

Viewing 15 replies - 1 through 15 (of 25 total)
  • I’m experiencing the same issues! Hopefully a fix will be out soon? Users on my site can spend their points so the statement is essential.

    I had to push my install back to 1.6.5 and everything is working again

    Can you provide instructions on how to push install back?

    Hey – not sure if it’ll work for you, but i had a similar issue – the cube points showed up in the admin bar, but i got a 404 when i clicked the link and the “Points” menu was gone from my profiles.

    This is how i fixed it:

    Open bp-cubepoint-core.php

    Go to line 44, it originally looks like this:

    global $bp, $wpdb;
    	$bp->cubepoint->id = 'cubepoint';
    	$bp->cubepoint->table_name = $wpdb->base_prefix . 'cubepoints';
    	$bp->cubepoint->table_name = $wpdb->prefix . 'cubepoints';

    change it to this:

    global $bp, $wpdb;
    	//The following 3 lines fix the 1.7 upgrade
    	if( !is_object( $bp->cubepoint ) ) {
    		 $bp->cubepoint = new stdClass;
    	$bp->cubepoint->id = 'cubepoint';
    	$bp->cubepoint->table_name = $wpdb->base_prefix . 'cubepoints';
    	$bp->cubepoint->table_name = $wpdb->prefix . 'cubepoints';

    I haven’t noticed any other errors since I made that change. Hope it helps.

    farvgnugn that worked perfectly THANK YOU

    chriscurran – I had a backup of my site that I pulled down to restore 1.6.5

    If you have the 1.6.5 download, delete 1.7 and re-install 1.6.5 or just apply farvgnugn’s fix, it worked great

    Thanks so much, your code fixed it for me too

    Thanks farvgnugn, that worked a treat!

    Thank you that worked beautifully 🙂

    I’m having an issue with the intergration still though. When I change any of the amount I wish the members to gain or get taken from their account, nothing changes, it just stays as the default.

    For example, I have changed it so members gain 50 points to their account when creating a group, however it stays as the default and gives the members 100 points instead. I changed it so that members get 15 points taken away when joining a group, but instead it takes away 30.

    Is anyone else having this issue?

    Thank you, farvgnugn! your code fixed it for me too!

    Thanks farvgnugn , it is working , but not compatible with catch box theme , it seems there is a problem as the side bar is appearing below the points logs , and things are untidy, any help ??

    Hi, thanks that code helped, but I am finding that for Awards, it is always showing at least 1 Award available and 1 Award earned, even when no Awards have been created?
    When I do create an Award it shows as 2 Awards available and earned.

    @farvgnugn ditto w others, ur mod worked just as u described. thank you!

    if others r wondering, i’m using..
    bp 1.7.1
    bbpress 2.3.1
    wp 3.5.1
    cubepoints 3.2.1
    mu setup

    can anyone answer a few questions?

    1. how do i get the points to show in the bp profile area? it’s blank for me.

    2. would anyone be willing to share a site link to show how a more developed site looks like using the points system and bp?

    thanks, and special thanks to farvgnugn for the fix.

    @farvgnugn you so rock. it worked beautifully for me too! thanks so much for sharing!

    @Automated Kid I have a pretty good setup, but my only problem right now is that only one page of my point history is showing up on my profile (I use the BuddyBoss theme, so that might have a bit to do with it), and the total points don’t show up in the profile nav menu, but they show up where all my other info is because of the BuddyBoss theme. I’m trying to figure out which code would work to paginate my points history pages so I have more than one. I’ll let everyone know if I come up with something.


    hey maria, thanks for the update! i’ve got it deactivated for the moment, still trying to put everything together, and might just use a widget if need be to show point activity even though it’s not ideal. but i’ll keep an eye out for ur next post. 🙂

    btw, how do u like the buddyboss theme? i’m still searching for a theme that shows more real estate when using the forums, cleaner look, and one that includes the ability to use it on a regular wp setup as well. bb only offers 1 theme, for bp only, which rules it out for me. still curious how u like it.

Viewing 15 replies - 1 through 15 (of 25 total)
  • The topic ‘CubePoints Buddypress Integration stopped working after buddypress upgrade’ is closed to new replies.