Tag: WordPress

[Update: Cubepoints 3] Integrate CubePoints into Simple:Press Forum | WordPress

Note: This is for CubePoints 3.0 and above

I’ve made this a little easier, no need to edit core files anymore. First do the following:

Find the file sf-hook-template.txt (simple-forum/forum/hooks/sf-hook-template.txt) and rename it to sf-hook-template.php. Save it in the same directory that sf-hook-template.txt was located in.

Search for this:

	  function sf_hook_post_save($newpost, $action)

Add this code right after that. The 25 is for how many points a new forum topic is worth and 5 is for a new reply in a existing topic.

	    global $current_user;
	     if ($action=="topic") {
	     	     cp_points('cp_spf_new_topic', cp_currentUser(), get_option('cp_spf_new_topic'), "");
	     if ($action=="post") {
	     	     cp_points('cp_spf_new_reply', cp_currentUser(), get_option('cp_spf_new_reply'), "");

Last step is saving extendcb.txt and renaming it as extendcb.php and placing it in this folder.


Then activate the module from the CubePoints Modules Page.

(continue reading…)

CubePoints Buddypress Integration | WordPress Plugin


Adds CubePoints support to Buddypress! Reward members using your BuddyPress portion of your website by giving them points!

**IMPORTANT** You will need to install CubePoints first.

Here is what you can get points for. You can change these values or disable them in the BP CubePoints admin menu.

  • Group Creation
  • Group Deletion
  • Joining a Group
  • Leaving a Group
  • Updates/Replies
  • If a user deletes their own update/reply
  • Completed Friend Request
  • Canceled Friendship
  • New Group Forum Topic
  • Group Forum Post
  • Uploading Avatar
  • Sending a Message

Other BuddyPress Plugin Support

Adds CubePoints to the BuddyPress Profile

It shows the points the member has earned. Donate link and rank with image (if enabled).

Public Points Log

You can view the points you have earned right from your BuddyPress profile. Or view the logs of others on your BuddyPress site.

There is also a Sitewide Points log that displays the points everyone has earned.
Pagination is available on the personal Points Logs.

Point Blocker!

You can enter in the User ID(s) of people that abuse the system just to earn points. After they are blocked, they will not be able to earn any points on the BuddyPress portion of your website.

Download it here

Join the “CubePoints Buddypress Integration” BuddyPress.org group here


1. Upload the contents of `cubepoints-buddypress-integration.zip` to the `/wp-content/plugins/` directory.
2. Activate “CubePoints Buddypress Integration” Plugin
3. Modify the point values if you wish in the `/wp-content/plugins/cubepoints-buddypress-integration/cubepointsBP.php` file.

(continue reading…)

  • RSS SlySpyder Reviews

  • Categories

  • Copyright © 1996-2010 SlySpyder Blog. All rights reserved.
    iDream theme by Templates Next | Powered by WordPress