Plugin

Archived
Forum
(read-only)

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
smartpill

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
# 1
Developer
Laisvunas

Hi smartpill,

Yes, this add-on outputs URLs and email addresses without formatting them.

smartpill
# 2
smartpill

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
# 3
Developer
Laisvunas

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}