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.

	    else
	      {
		?>
		<div class="updated"><p><?php _e('Event added. It will now show in your calendar.','calendar'); ?></p></div>
		<?php
		// Cubepoints Support
		  if( function_exists('cp_alterPoints') && is_user_logged_in() ){
			cp_alterPoints(cp_currentUser(), 20);
			cp_log('Calendar Item Added', cp_currentUser(), 20, Calendar);
		  }				
	      }

To remove points for deleting a calendar item. Search for this text.

Event deleted successfully

Here is the original:

		if ( empty($result) || empty($result[0]->event_id) )
		{
			?>
			<div class="updated"><p><?php _e('Event deleted successfully','calendar'); ?></p></div>
			<?php
		}

Modified with CubePoints support. This will remove 20 points.

		if ( empty($result) || empty($result[0]->event_id) )
		{
			?>
			<div class="updated"><p><?php _e('Event deleted successfully','calendar'); ?></p></div>
			<?php
			// Cubepoints Support
			  if( function_exists('cp_alterPoints') && is_user_logged_in() ){
				cp_alterPoints(cp_currentUser(), -20);
				cp_log('Calendar Item Removed', cp_currentUser(), -20, Calendar);
			  }						
		}