• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

XF 1.4 Reddit username under Additional Contact

#1
Are there any plans to overhaul Additional Contact fields available to users during registration? AIM, ICQ, and Yahoo Messenger usage is dwindling, Google Talk is no longer a thing, while a bunch of social networks have emerged that people are using now. Much of my membership, for example, comes from reddit, and I would like to have the ID listed in Additional Contact. Is this possible?
 

eberkund

Well-known member
#6
What have you tried?

When you make the custom field you need a regular expression to get just the user ID and then there is another field for how it is displayed where you can insert HTML
 

eberkund

Well-known member
#8
Options for text fields:

Field type: Single line text box
Value match requirements: A-Z, 0-9, and _ only

General Options:

Value Display HTML:
HTML:
<a href="http://reddit.com/user/{$value}">Reddit User {$value}</a>
 
#9
Great, thank you very much.

Slight correction to the code:

HTML:
<a href="http://reddit.com/user/{$value}">{$value}</a>
The style will display Reddit user: automatically.

:)