Credits Log¶
{exp:credits:log}
<!-- Template Code -->
{/exp:credits:log}
This template tag allows you to show display a log of all credits activity
Parameters¶
receiver_id=”“¶
Limit the list to a specific Member ID of the one receiving points
Note
The SYSTEM is always 0
sender_id=”“¶
Limit the list to a specific Member ID of the one sending the points
Note
The SYSTEM is always 0
member_id=”“¶
The same as receiver_id=”“
action=”“¶
Limit the list to a specific action. To specify multiple items, separate each item with a pipe character.
Variables¶
{credits:date}¶
The date of the transaction For date variable info see: http://expressionengine.com/user_guide/templates/date_variable_formatting.html
{credits:action_name}¶
The action name (short name)
{credits:action_label}¶
The action label (title)
{credits:credits}¶
The amount of credits being exchanged/awarded/transfered
{credits:count}¶
The “count” out of the current item being displayed. If five items are being displayed, then for the fourth item the count variable would have a value of “4”.
Conditionals¶
{if credits:no_logs}¶
This tag will conditionally display the code inside the tag if there are no logs to display.
