%user_name_ec%

Description

Returns the users “user name” URL encoded. If you want to return the username in plain format you can use the %user_name% template tag instead.

Usage

Log Template
Points for becoming friends with <a href="http://address.com/members/%user_name_ec%/" title="View Profile">%display_name%</a>
Output
Points for becoming friends with <a href="http://address.com/members/john%20doe/" title="View Profile">John Doe</a>

Hooks

This template tag can be used in the following hooks:

  • Points for Registration
  • BuddyPress: Members

Add-ons

This template tag can be used with the following add-ons:

  • Transfer