I've posted a new build for Property Agent in the downloads section (members only).
New Functionality Includes:-
- Ratings/Comments! Support for anonymous and registered users to rate and comment on properties.
- An example of rating and commenting on a single item (view property)
- An example of rating multiple items at once (view type, search properties)
- New comment layout files (Header/Item/Separator/Footer) with the following tokens:-
- [COMMENT] - the text of the comment
- [COMMENTID] - the system ID of the comment
- [CREATEDATE] - the date of the comment formatted in your locale's date format
- [CREATEDATE:XXX] - the date of the comment formatted in XXX (e.g. dd MMM yyyy)
- [EMAIL] - the email of the comment author
- [ISANONYMOUS][/ISANONYMOUS] - Show text if the comment is anonymous
- [ISREGISTERED][/ISREGISTERED] - Show text if the comment is from a registered user
- [NAME] - The name of the comment author
- [PROPERTYID] - The system ID for the property
- [USERID] - The system ID of the user
- [WEBSITE] - The website of the comment author
- New tokens for any template that display property information (listing/featured/view, etc):-
- [COMMENTCOUNT] - A count of comments attached to a property
- [COMMENTS] - Shows comments attached to a property using the comments template
- [COMMENTFORM] - A form you can add on the view property page to post a comment (either registered or anonymous)
- [HASCOMMENTS][/HASCOMMENTS] - Show text when a property has comments
- [HASNOCOMMENTS][/HASNOCOMMENTS] - Show text when a property has no comments
- [RATING] - Show an ajax style rating control to rate the property
- [RATINGCOUNT] - Shows the average rating for a property
- The trading card template (WorldOfWarcraft.zip) has been updated to use these tokens.
- The template documentation has also been updated.
Missing features that will be added:-
- Notification & approval of comments
- Notification of new properties (requiring approval) to approvers
- Sorting by rating/comment count
|