0.2betareleasedMember Claims
Following, voting, and more for your members
Clone URLhttps://github.com/symphonists/memberclaims.git
Add as a submodulegit submodule add https://github.com/symphonists/memberclaims.git extensions/memberclaims --recursive
Compatibility
2.x.x | 2.1.x | 2.2.x | 2.3.x | 2.4.x | 2.5.x | 2.6.x | 2.7.0 | 2.7.1 | 2.7.2 | 2.7.3 | 2.7.4 | 2.7.5 | 2.7.6 | 2.7.7 | 2.7.8 | 2.7.9 | 2.7.10 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
No | No | 0.2beta | No | No | No | No | No | No | No | No | No | No | No | No | No | No | No. Soon? |
Readme
Member Claims
- Status: Untested
- Version: 0.2 beta
- Author: Craig Zheng
- Build Date: 14 Sep 2011
- Requirements:
- Symphony 2.2 or higher
- Members 1.0 or higher
Description
A Symphony extension that allows unique Member-to-Entry actions. Useful for developing functionalities like following and voting, or things like "I use this" or "I have this question too".
Features
- Provides a field type allowing any number of "Member Claim" fields to be added to your sections
- Provides an event used to create/remove claims for the currently-logged-in member
- Allows filtering entries by a claimant's member id (e.g. "only entries that I follow")
- Allows sorting entries by claim count (e.g. "sort by number of votes")
Installation
Information about installing and updating extensions can be found in the Symphony documentation at http://symphony-cms.com/learn/.
Usage
Event
See the event's own documentation after installing.
Data Source Output
There are two output modes. The default mode simply outputs an empty element with attributes for the claim count, the field id, and a flag for whether the currently-logged-in member is a claimant for the entry. For example:
<followers count="13" field-id="43" current-member="Yes" />
The list mode, on the other hand, outputs the ids of all claimant members:
<followers count="3" field-id="43" current-member="Yes">
<item>3</item>
<item>6</item>
<item>21</item>
</users>
The field id is included in the output because it's required by the event
Version history
Requires Symphony 2.2