Members
ExpressionEngine 1.x, ExpressionEngine 2
Back to this add-on's main page
View Other Add-ons From Laisvunas
Can I ouput unformatted URLs and email addresses from Custom Profile Fields?
General
smartpill
|
Posted: 30 March 2012 07:36 PM |
|
|
|
More specifically, I need to get around the auto-link-formatting of URLs and email addresses in the profile field output. Will this help with that?
|
|
|
Laisvunas
|
Posted: 31 March 2012 05:29 AM |
# 1
|
|
Developer
|
Hi smartpill,
Yes, this add-on outputs URLs and email addresses without formatting them.
|
|
|
smartpill
|
Posted: 02 April 2012 05:00 PM |
# 2
|
|
|
Great. It is working as advertised.
I’m a little confused by what the use of change_y=“yes” change_n=“no”
would be. The examples don’t seem to demonstrate those parameters doing anything. Could you elaborate?
|
|
|
Laisvunas
|
Posted: 03 April 2012 06:23 AM |
# 3
|
|
Developer
|
Hi,
Many fields in exp_members table can have only value “n” or “y” or empty value.
By using parameters “change_y” and “change_n” you can define what will be outputted in case value is “n” or “y”.
These parameters allow to avoid such conditionals as:
{if m_some_field == "y"}yes{if:else m_some_field == "n"}no{/if}
|
|
|