Skip to:
Content
Pages
Categories
Search
Top
Bottom

[New Plugin] CubePoints Buddypress Integration!


  • Tosh
    Participant

    @xberserker

    Download it here or here || Join the BuddyPress.org Group :)

    IMPORTANT You will need to install CubePoints (at least version 2.1.1) first.

    This plugin is just extending the functions of CubePoints into BuddyPress. Which is the only points/reward system for the single WordPress install. So right now this only works for single WordPress install, not WordPressMU … at least not yet. For that to happen you need to speak with the creators of the CubePoints Plugin.

    Here are the default settings.

    Group Creation 100 Points
    Updates/Replies 5 Points
    If a user deletes there own update/reply it removes 5 points.
    Friend Request 15 Points
    Friend Request Accepted 15 Points
    New Group Forum Topic 20 Points
    Group Forum Post 5 Points
    Uploading Avatar 5 Points
    Sending a Message 1 Point

    Other Plugin Support

    Link Added 5 Points – Requires BuddyPress Links

    It also uses the CubePoints logging system. You can update how much the points are worth by updated the file here:
    /wp-content/plugins/cubepoints-buddypress-integration/cubepointsBP.php file.

    @r-a-y Thanks you so much for helping me get this plugin created!

    Add the points your members have earned in there BuddyPress profile. Plus it shows a donate link and rank + image (if enabled in CubePoints). Here is the how to.

    Want to give points for people that contribute to your Simple:Press Forum (SPF) using CubePoints? I’ve been using this method for the past few versions of SPF and it still works. Only downside is that you need to edit the file again after you upgrade SPF. It’s actually pretty easy, you just need to modify 1 file.

    Here is the how to do it

Viewing 20 replies - 26 through 45 (of 45 total)

  • Tosh
    Participant

    @xberserker

    @vee_bee Thanks I’ll give it a shot.


    r-a-y
    Keymaster

    @r-a-y

    @gregfielding – It’s possible, but requires some additional code.


    gregfielding
    Participant

    @gregfielding

    As far as I can tell, that’s all that’s missing for this to work with MU


    Tosh
    Participant

    @xberserker

    @vee_bee I’m using the BuddyPress Template Pack Plugin with my Single Install WP. So I updated my:
    wp-content/themes/fusion/members/single/member-header.php file with this and it works great. Shows the points for the member your viewing at the moment. Tried to get the donate link to work as well. But no success just yet.

    These forums don’t allow you to embed code like the wordpress.org forums I guess. In the echo’s I’m just surrounding it with a bold tag

    <?php
    // Cubepoints for current user
    echo ““;
    if(function_exists(‘cp_displayPoints’)){
    global $bp;
    cp_displayPoints($bp->displayed_user->id);
    }
    echo “

    “;
    // END Cubepoints
    ?>

    So how it displays on mine is:

    User @user
    1635 points

    active 6 hours, 32 minutes ago
    Cancel Friendship
    Mention this User
    Send Private Message


    vee_bee
    Participant

    @vee_bee

    @Tosh I have it on a Single WP, with all the code in bp-custom.php (as at some point I wanted to have an admin tool that allowed changing point values for each item). Site is http://www.suckitupprincess.net
    I also have the Malleable them in use, and wp-fp-connect… It is my hobby site, and one day I will put it in action. Work keeps me busy though


    Tosh
    Participant

    @xberserker

    @vee_bee Does wp-fb-connect work well? Can you assign them to be contributors or authors if need be? Site looks good :)


    vee_bee
    Participant

    @vee_bee

    @xberserker You are wanting a way to donate points to a specific user?? So when you go to a user (who is a friend perhaps) it shows a donate button??
    I dont use donate – but cant imagine this would be hard to do…


    gpo1
    Participant

    @gpo1

    Please update the plugin with this feature when ready!


    5887735
    Inactive

    Great updates!

    Do you know how to add the member avatar to the top points widget. I’m trying to style it to look more like the default BP widgets.

    Is there a way to give everyone 100 points? We have lots of existing members and to make it fair I would like to give them the same number of points a new member would get for registering.

    Is it possible to hook into the BP Links Plugin?

    Thanks


    5887735
    Inactive

    Pay no attention to question #2. Just saw the Cron Settings. :)


    Tosh
    Participant

    @xberserker

    I don’t off hand I didn’t create the widget.

    [Edit: Glad you found it ^-^ ] You can give everyone 100 points by using a cron job. Go to your “CubePoints – Configure” page and it’s at the bottom. You’ll have to log into your CPanel or whatever you use to run cron jobs.

    I’ll look into the BP Links Plugin. Oh and btw version 1.5 added support for avatar uploads. Easier to keep updated with the “CubePoints Buddypress Integration” group. But I’ll keep this forum topic updated with new stuff as well.

    I have a basic admin page created now. But still trying to figure out how to update the points from a admin screen, lol. Can anyone help me out a little?


    Tosh
    Participant

    @xberserker

    I just got points, donate link and rank (if enabled) displaying on the BuddyPress Profile :) You’ll have to edit 1 file though. Here is the updated code.

    So how it displays on mine is:

    User @ user
    1635 points [Donate Points] Expert

    active 6 hours, 32 minutes ago
    Cancel Friendship
    Mention this User
    Send Private Message

    How would I incorporate this into my plugin though? I got this to show up on the profile. But it’s not where I want it, how would I control it without just editing the file directly.


    Tosh
    Participant

    @xberserker

    [Update] Version 1.6.1 embeds it in for you now :)


    Tosh
    Participant

    @xberserker

    Version 1.5.1 is now live. Adds support for the BuddyPress Links Plugin by Marshall Sorenson (MrMaz) and for sending messages. Adds a very basic admin page. Still in the process of getting a fully functional one working. I may need help with this..

    @xberserker would really like to test that, + could this work with the buddypress gifts? when you send a gift it deducts points..sort of like your paying for the gift with your points…any thoughts?


    Tosh
    Participant

    @xberserker

    @dre1080 check your PM. Also see this blog post on how to add it to your BuddyPress Profile page.


    Tosh
    Participant

    @xberserker

    Version 1.6.1 is live! Check out the change log.


    Tosh
    Participant

    @xberserker

    Version 1.6.2 is live! Main update is support for BuddyPress Gifts. [Change log]


    Moominmama
    Participant

    @moominmama

    This is a great and useful plugin. We’re planning on using it to do a content centered around who invites the most people to the site. One problem I’m having is that rank is only showing on some profile and not others. Any idea of why this would be?
    Examples:
    Not showing on this profile
    http://supportforspecialneeds.com/members/bedwards3447/

    Showing on this profile
    http://supportforspecialneeds.com/members/siobhanwolf/

    (At least that’s how it was at the time I posted this — maybe it’ll spontaneously resolve? Stranger things have happened!)


    gregfielding
    Participant

    @gregfielding

    It took a little while for all of my ranks to populate…

Viewing 20 replies - 26 through 45 (of 45 total)
  • The topic ‘[New Plugin] CubePoints Buddypress Integration!’ is closed to new replies.
Skip to toolbar