For Members Only
The Likers functionality only works if your members are logged in before liking or disliking your content. You can ensure that people are logged in before displaying any LikEE content using core ExpressionEngine functionality.
List Likers
<ul>
{exp:channel:entries channel="your-channel"}
{exp:likee:likers entry_id="{entry_id}"}
<li>{likee_screen_name}</li>
{/exp:likee:likers}
{/exp:channel:entries}
<ul>
Parameters
All parameters are optional unless otherwise mentioned.
entry_id, url_title, or comment_id (required)
The only required parameter to list likers is one of the following: entry_id
, the url_title
, or comment_id
. You can nest your LikEE tags within standard EE entries tags and pass any of these dynamically.
- To use Likers with standard entries, use either
entry_id
orurl_title
. - To use Likers with comments, use
comment_id
.
entry_id="23"
url_title="your-url-title"
comment_id="42"
type
The type
parameter accepts one of three options: liked
, disliked
, or all
. This will limit the type of likers that this tag pair returns. The default for type is all
.
type="liked"
limit
Limit the number of results returned from this tag pair by specifying a number here. Useful if you only want to output a few likers.
limit="3"
Variables
{likee_member_id}
The likee_member_id
variable outputs the liker’s member id.
{likee_username}
The likee_username
variable outputs the liker’s username.
{likee_screen_name}
The likee_screen_name
variable outputs the liker’s screen name.
{likee_email}
The likee_email
variable outputs the liker’s email address.
{likee_url}
The likee_url
variable outputs the liker’s url.
{likee_occupation}
The likee_occupation
variable outputs the liker’s occupation.
{likee_interests}
The likee_interests
variable outputs the liker’s interests.
{likee_bday_d}
The likee_bday_d
variable outputs the liker’s birthdate day.
{likee_bday_m}
The likee_bday_m
variable outputs the liker’s birthdate month.
{likee_bday_y}
The likee_bday_y
variable outputs the liker’s birthdate year.
{likee_aol_im}
The likee_aol_im
variable outputs the liker’s AIM address.
{likee_yahoo_im}
The likee_yahoo_im
variable outputs the liker’s Yahoo IM address.
{likee_msn_im}
The likee_msn_im
variable outputs the liker’s MSN IM address.
{likee_icq}
The likee_icq
variable outputs the liker’s ICQ address.
{likee_bio}
The likee_bio
variable outputs the liker’s biography.
{likee_signature}
The likee_signature
variable outputs the liker’s signature.
{likee_avatar_filename}
The likee_avatar_filename
variable outputs the filename of the liker’s avatar.
{likee_avatar_width}
The likee_avatar_width
variable outputs the width of the liker’s avatar.
{likee_avatar_height}
The likee_avatar_height
variable outputs the height of the liker’s avatar.
{likee_photo_filename}
The likee_icq
variable outputs the filename of the liker’s photo.
{likee_photo_width}
The likee_photo_width
variable outputs the width of the liker’s photo.
{likee_photo_height}
The likee_photo_height
variable outputs the height of the liker’s photo.