Hi,
I've added a custom profile field to my forum so that users can enter their SoundCloud links into their profile. It works, but the link that shows up in the profile is not clickable. After doing a bit of searching around, it seems I need to edit this template for the skin: -
customFieldGroup__contact
I have tried adding in some code, but I just can't get it to work. I did get SoundCloud links to be clickable, but it caused a bunch of errors to appear at the top of the page when you view a user's profile, so I reverted back to the default code.
Any idea how I can do this, cos I'd like to add some other custom profile fields and make those clickable links too?
Thanks!
Clickable links in custom profile fields?
Started by DJSigma, Sep 01 2011 11:34 PM
3 replies to this topic
#1
Posted 01 September 2011 - 11:34 PM
#2
Posted 01 September 2011 - 11:51 PM
Typical, lol. I try for ages to sort this and I've just done it, via a friend who helped me: -
<if test="cf_soundcloud:|:$f->raw_data['pf_key'] == 'soundcloud'">
<a class='url' href='{$f->parsed}'>{$f->parsed}</a>
<else />
That's the required code, assuming the key you use for the custom field is "soundcloud".
#3
Posted 06 October 2011 - 11:44 PM
Hey DJSigma,
Would you be willing to explain in greater detail how to create custom, clickable profile fields that show up under your username when you post? It's not for soundcloud or anything like that, though. We want users to be able to paste a link to a particular page within the forum (the user's training log) into the custom field and then have a clickable link that simply says "My Training Log" display in the custom info area to the left of their posts.
Thanks!
Would you be willing to explain in greater detail how to create custom, clickable profile fields that show up under your username when you post? It's not for soundcloud or anything like that, though. We want users to be able to paste a link to a particular page within the forum (the user's training log) into the custom field and then have a clickable link that simply says "My Training Log" display in the custom info area to the left of their posts.
Thanks!
#4
Posted 18 October 2011 - 03:53 AM
Hi,
Sorry for the slow reply as I don't check this place all that often!
I only know how to make a custom profile field that's clickable in a user's profile, rather than under their name in each post. Someone else asked me a similar question about having Xbox Live gamertags as clickable links under a user's name in posts and I had a play around and tried to do it, but unfortunately I couldn't figure it out.
If you want detailed info on how to have a clickable custom field in a profile, I can certainly help you with that. If you do, it might be an idea to drop me a PM just so I get a notification email, in case I forget to check back here.
Sigma.
Sorry for the slow reply as I don't check this place all that often!
I only know how to make a custom profile field that's clickable in a user's profile, rather than under their name in each post. Someone else asked me a similar question about having Xbox Live gamertags as clickable links under a user's name in posts and I had a play around and tried to do it, but unfortunately I couldn't figure it out.
If you want detailed info on how to have a clickable custom field in a profile, I can certainly help you with that. If you do, it might be an idea to drop me a PM just so I get a notification email, in case I forget to check back here.
Sigma.
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users
















