erich37 Well-known member Aug 7, 2014 #1 Hello, I have created a "User Profile / Custom Field" named "Website" and another field named "E-mail". These fields are not "linked", but normal text. How can I make these fields, so that they will appear as click-able Links ? Many thanks!
Hello, I have created a "User Profile / Custom Field" named "Website" and another field named "E-mail". These fields are not "linked", but normal text. How can I make these fields, so that they will appear as click-able Links ? Many thanks!
erich37 Well-known member Aug 15, 2014 #2 does anyone have an idea of how to do this ? Upvote 0 Downvote
Mike XenForo developer Staff member Aug 15, 2014 #3 See the "value display HTML" option. You can use that to adjust the output appearance. Upvote 0 Downvote
erich37 Well-known member Aug 16, 2014 #4 thanks, I figured out the correct code via this thread: http://xenforo.com/community/threads/custom-fields-marked-as-url-should-be-links.48689/#post-797392 Is it correct to use the code like this ? Code: <a href="{$value}" rel="nofollow" target="_blank">{$value}</a> What would I need to enter into the field "value display HTML" in order to make a "custom field" click-able which is displaying an "E-mail-address" ? Thanks again! Upvote 0 Downvote
thanks, I figured out the correct code via this thread: http://xenforo.com/community/threads/custom-fields-marked-as-url-should-be-links.48689/#post-797392 Is it correct to use the code like this ? Code: <a href="{$value}" rel="nofollow" target="_blank">{$value}</a> What would I need to enter into the field "value display HTML" in order to make a "custom field" click-able which is displaying an "E-mail-address" ? Thanks again!
Mike XenForo developer Staff member Aug 16, 2014 #5 For an email, the href value should be "mailto:{$value}". Note that it's important that you use the email/URL value match requirement for these fields. Upvote 0 Downvote
For an email, the href value should be "mailto:{$value}". Note that it's important that you use the email/URL value match requirement for these fields.
erich37 Well-known member Aug 16, 2014 #6 can I keep the "nofollow" for the E-mail-address, so that search-engines will not index the "E-mail-address" ? Code: <a href="mailto:{$value}" rel="nofollow" target="_blank">{$value}</a> I guess I will have to skip the "target="_blank" when using it for an "E-mail address" ? Code: <a href="mailto:{$value}" rel="nofollow">{$value}</a> Upvote 0 Downvote
can I keep the "nofollow" for the E-mail-address, so that search-engines will not index the "E-mail-address" ? Code: <a href="mailto:{$value}" rel="nofollow" target="_blank">{$value}</a> I guess I will have to skip the "target="_blank" when using it for an "E-mail address" ? Code: <a href="mailto:{$value}" rel="nofollow">{$value}</a>
Mike XenForo developer Staff member Aug 17, 2014 #7 Nofollow doesn't make sense on a mailto link - the email address itself would still be "indexed" regardless. Upvote 0 Downvote
Nofollow doesn't make sense on a mailto link - the email address itself would still be "indexed" regardless.