Perfect

Developer

James Smith

3rd Party (Free)

Creative Commons Attribution Download v0.4

EE Version Support

  • ExpressionEngine 2

Compatibility

If an item is crossed out, it might be untested, not applicable or incompatible. Contact the developer to be sure.

  • Updater
  • Multi Site Manager
  • Stand Alone Entry Form
  • Low Variables
  • Content Elements
  • Better Workflow
  • Matrix
  • Grid
  • Webservice
  • Publisher

Requirements

  • jQuery for the Control Panel

Add-On Type(s)

Module

Tags

"Perfect" is a simple module that returns the percentage of a given channel entry's custom fields which are complete. So if you're using one of the popular profile add-ons that stores member data as a channel entry (Zoo Visitor, Profile:Edit) you could use Perfect to show a logged-in member how complete their profile is.

Installation

  1. Add the Perfect folder to your third_party directory, usually located at /system/expressionengine/third_party unless you moved it.
  2. Install via Add-ons > Modules
  3. Choose the field group that should be used for calculations in the Perfect module settings area (I’ll probably eliminate the need for this step at some point, but for now it’s manual)

Usage

Currently (v.0.4) it will only account for custom fields, and you cannot yet exclude any of those custom fields in the given group from calculations.

Usage is either as a simple single tag:

<p>You've completed {exp:perfect:progress entry_id="52"}% of your profile</p>

Or for more flexibility you can use it as a tag pair with the {progress} variable like this:

{exp:perfect:progress entry_id="52"}
    <p>You've completed {progress}% of your profile</p>
    {if progress <= 50}
        must try harder
    {/if}
    {if progress == 100}
        Your profile is complete!
    {/if}
{/exp:perfect:progress}

Entry_id is a required parameter, so replace ‘52’ in the example with a dynamic variable depending on your use case.

Changelog

     
  • 0.4: bug fix for EE 2.6+ compatibility
  •  
  • 0.3: bug fix for avoiding caching when listing multiple entries
  •  
  • 0.2: added rounding
  •  
  • 0.1: initial release

Download Perfect

EE Support Downloads Add-On Version Release Date
Not Specified Download 0.4 Jun 16, 2014

This entry was created January 9, 2014, 3:49 pm.
This entry was last updated February 25, 2016, 6:46 pm.

Disclaimer: Information about ExpressionEngine add-ons is provided as a service to you, the user, and every member of the ExpressionEngine community. devot:ee is not responsible if you hose, mangle, wreck, or otherwise destroy your EE website by installing an add-on that you found out about at this site, regardless of its rating, Favorites status, commercial or free status, or general popularity. Caveat EEmptor!

Returns: devot:ee has a 30-day return policy on all commercial add-ons sold through devot-ee.com. If you need to return an add-on, do not go to the developer or the developer's site, but rather visit our returns page at https://devot-ee.com/returns to initiate your return. If you have questions, email support@devot-ee.com.

1 Review:

atelier 03.18.14

Rating - {addon_rating_average}

Fulfills exactly the needs of my client. Thanks!