Tag: CubePoints

CubePoints + bbPress 2.0 | Together At Last!

There has been a lot of requests for this. So I finally cranked this out for you guys!

You can save the point values for new topics and replies right from the admin.

Just save this file and save it as bbpress.php and upload it to the CubePoints module folder here:

wp-content/plugins/cubepoints/modules/

Active the module, set your points values and your set!


WordPress Giveaway Plugin For CubePoints | Run Contests & Bets On Your Site!

This is the ultimate giveaway system for WordPress! If you need a plugin that can handle how you manage a giveaway / pick winners & have your users want to promote your giveaway on Twitter, Google+ & Facebook, then your search has ended! Plus it comes with a gambling / betting system!

Your members can enter the CubePoints Giveaway System many different ways, including getting extra entries into the giveaway for promoting your site on Twitter, Google+, & Facebook!

Admins can create a unique link, which you can put on your Facebook fan page. I highly recommend that you set it up to only be visible to people that like your page. You can use this free Facebook App to show content to fans only. Members that click that unique link on your Facebook fan page while logged into your site will get an entry into the giveaway. You can also create a unique link that works the same way for your YouTube channel.

Plus, you can setup another unique url that you can promote however you’d like, but only the first 10 people, for example, that click that link will get a bonus entry into the giveaway. You can change the limit from 10 in this example to anything you wish in the admin area.

Video entries are supported as well. As a giveaway admin, from the front end, you can manually add video entries. The video entry limit for a specific member is set in the admin. You can add bonus entries for a member if you wish as well.

You can have up to 5 giveaways running at once! It’s just a simple shortcode you use to place on any post or page you desire.

Click here to see all the various ways a member can enter the Giveaway & Betting System for CubePoints. Plus see how the betting system works and how you can get this on your website!


Adding Support For Other BuddyPress / WordPress Plugins To CubePoints Buddypress Integration

Plugin authors can now tie directly into CubePoints Buddypress Integration and add options to the admin menu. Such as setting values for earning/deducting points. You can also log the actions.

Let’s get started. I’ll explain the best I can what these functions do.

cp_points($type, $uid, $points, $data)

  • $type: Your unique action identifier (It identifies the purpose of the point)
  • $uid: the user id to which points should be given
  • $points: how many points you want to give
  • $data: Don’t worry about this one. We can leave it blank. I can be used to show more detailed info in the database if you’d like to run queries on it.
    • Not sure how to fully use this since there is no documentation. But if you place something in there it won’t show on the front end in the logs. Only the database.

Here is the function you need to add to your action to give/remove points.

(continue reading…)


[Update] Lottery Giveaway System in WordPress / BuddyPress using Cubepoints | Enter Lottery using Twitter / Google+ / Facebook / YouTube & More!

[Update: New version is now available! Check it out! ]

This is the ultimate giveaway system for WordPress! If you need a plugin that can handle how you manage a giveaway / pick winners & have your users want to promote your giveaway on Twitter, Google+ & Facebook, then your search has ended!

Click here to see all the cool features and how to get it!


CubePoints support for the Calendar plugin by Kieran O’Shea | WordPress

You can download the Calendar plugin by Kieran O’Shea here.

To give points for adding a calendar item. Search for this text.

Event added. It will now show in your calendar

Here is the original:

	    else
	      {
		?>
		<div class="updated"><p>< ?php _e('Event added. It will now show in your calendar.','calendar'); ?></p></div>
		< ?php
	      }

Modified with CubePoints support. This will give the user 20 points.

(continue reading…)


CubePoints and WP-Polls | WordPress Plugin

This is reported as working on Version 2.40 of WP-Polls.

Open WP-Polls.php

Find:

foreach($poll_aid_array as $polla_aid) {
$wpdb->query("UPDATE $wpdb->pollsa SET polla_votes = (polla_votes+1) WHERE polla_qid = $poll_id AND polla_aid = $polla_aid");
}

Below is ONLY for CubePoints 3.0+

Add this code after that line:

//Cubepoints support
$current_user = wp_get_current_user();
cp_points(‘wppolls_cb_new_topic’, $current_user->ID, get_option(‘cp_wppolls_topic’), “”);

Then save this file as wp_polls.txt and upload it to the CubePoints module folder:

wp-content/plugins/cubepoints/modules/

Active the module, set your points value and your set!

Below is ONLY for CubePoints 2.0 – 2.1.3

Add this code after that line:

/* Additional CubePoints integration */
if( function_exists('cp_alterPoints') && is_user_logged_in() ){
cp_alterPoints(cp_currentUser(), 1);
cp_log('Poll Vote', cp_currentUser(), 1, Polls);
}

This will give the user 1 point for creating a poll.

Thanks to Armin for figuring this out.


  • RSS SlySpyder Reviews

  • Categories

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