Shows information about affiliates who are related by referral (tiers).
Basic usage: [affiliates_tiers]
renders the affiliates who have been referred directly or indirectly by the current affiliate.
Attributes:
link_to_user_url
– links to the affiliate user if set to"yes"
, defaults to"no"
show_depth_title
– show a title labeling the current depth in the tier tree, defaults to"no"
, use"yes"
depth_title
– defaults to"Depth %d"
,%d
is the placeholder used to display the current depth (a number)show_avatar
– show the avatar, default"yes"
avatar_size
– in pixels, default 32style
– inline styles to applymax_depth
– allows to limit tiers shown up to a certain depth, numbershow_from_date
– show when the affiliate joined, default"no"
, usessince
to displayshow_thru_date
– show when the affiliate is not active anymore, default"no"
, usesuntil
to displaysince
– label, defaultsince %s
where%s
is the date placeholderuntil
– label, default"until %s"
show_email
– default"no"
before_referrals
– text shown before a tier’s referral summaryafter_referrals
– text shown after a tier’s referral summaryclosed
– whether to include closed referrals in sum, default"yes"
accepted
– include accepted referrals, default"yes"
pending
– include pending referrals, default"no"
rejected
– include rejected referrals, default"no"