[New Plugin] CubePoints Buddypress Integration!
-
@vee_bee Thanks I’ll give it a shot.
@gregfielding – It’s possible, but requires some additional code.
As far as I can tell, that’s all that’s missing for this to work with MU
@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 pointsactive 6 hours, 32 minutes ago
Cancel Friendship
Mention this User
Send Private Message@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@vee_bee Does wp-fb-connect work well? Can you assign them to be contributors or authors if need be? Site looks good
@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…Please update the plugin with this feature when ready!
InactiveGreat 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
InactivePay no attention to question #2. Just saw the Cron Settings.
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?
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] Expertactive 6 hours, 32 minutes ago
Cancel Friendship
Mention this User
Send Private MessageHow 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.
[Update] Version 1.6.1 embeds it in for you now
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?
Version 1.6.1 is live! Check out the change log.
Version 1.6.2 is live! Main update is support for BuddyPress Gifts. [Change log]
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!)
It took a little while for all of my ranks to populate…
- The topic ‘[New Plugin] CubePoints Buddypress Integration!’ is closed to new replies.
@xberserker
14 years, 8 months ago
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