WordPress.org

Plugin Directory

Changeset 392879


Ignore:
Timestamp:
06/03/11 21:47:04 (3 years ago)
Author:
MrWiblog
Message:

1.2.1: Fixed bug with best inviters invite rate

Location:
wordpress-mu-secure-invites/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • wordpress-mu-secure-invites/trunk/readme.txt

    r372124 r392879  
    44Tags: buddypress, invite, invitation, secure, lock, email, signup, registration 
    55Requires at least: 2.7 
    6 Tested up to: 3.1 
    7 Stable tag: 1.6 
     6Tested up to: 3.2 
     7Stable tag: 1.2.1 
    88 
    99Secure Invites is a Wordpress plugin that allows you to only allow invited people to sign up. 
     
    126126== Changelog == 
    127127 
     128= 1.2.1 (2011/06/03) = 
     129 
     130* Fixed bug with best inviters invite rate 
     131 
    128132= 1.2 (2011/04/12) = 
    129133 
  • wordpress-mu-secure-invites/trunk/secure_invite.php

    r372124 r392879  
    33Plugin Name: Secure Invites 
    44Description: Stops public signup on your Wordpress MultiSite or BuddyPress site, but allows existing users to email and invite their friend to join your blog community. This plugin is based on a plugin by kt (Gord), from http://www.ikazoku.com. 
    5 Version: 1.2 
     5Version: 1.2.1 
    66Author: Chris Taylor 
    77Author URI: http://www.stillbreathing.co.uk 
    88Plugin URI: http://www.stillbreathing.co.uk/wordpress/wordpress-mu-secure-invites/ 
    9 Date: 2011-04-12 
     9Date: 2011-06-03 
    1010*/ 
    1111 
    1212function secure_invite_version() { 
    13     return "1.2"; 
     13    return "1.2.1"; 
    1414} 
    1515 
     
    15431543    foreach ($best_inviters as $best_inviter) 
    15441544    { 
    1545         $rate = round((($best_inviter->accepted / $best_inviter->sent) * 100), 1); 
     1545        $rate = 0; 
     1546        if ($best_inviter->sent > 0) $rate = round((($best_inviter->accepted / $best_inviter->sent) * 100), 1); 
    15461547        if ($alt == '') { $alt = ' class="alternate"'; } else { $alt = ''; } 
    15471548        echo ' 
Note: See TracChangeset for help on using the changeset viewer.