1. REGISTRATION REQUIREMENTS:

    Register with your xenforo.com Username then start a conversation at xenforo.com w/Bob and provide the following:
    1. Your XenForo License Validation Token
    2. The Domain Name associated with the License
    NOTE: Your account will be validated once ALL requirements are verified/met. Thank you for your patience.

Custom Fields Output Question

Discussion in 'Showcase Support' started by beanfan78, Jun 1, 2014.

  1. beanfan78

    beanfan78 Member AMS Premium SC Premium

    Bob, I upgraded to the 2.0 and something happened. My brain might be fried, but I can't figure out what to change to get my fields working right. I want to link to a facebook page in a custom field by using an icon. My value display HTML is:

    <a href="{$value}" target="new"><img name="facebook" src="http://www.ampodcastnetwork.com/forum/xxxxxx/facebook.png" width="32" height="32" alt="Facebook"></a>

    and it should only show the icon linked to the fb page. However it's showing the code. Here is an example http://www.ampodcastnetwork.com/forum/podcasts/19-kids-and-counting.338/

    How can I get this looking right again? TIA!
     
  2. Bob

    Bob Developer Staff Member

  3. beanfan78

    beanfan78 Member AMS Premium SC Premium

    Thank you Bob, I check it out. I think I might have to just remove the custom fields. That new coding is well above my skill level.

    Edit: Do you have a bit more information on this? I just want to add icons and link them. Should be simple, but your example you linked to doesn't get me in that direction much.
     
    Last edited: Jun 2, 2014
  4. Bob

    Bob Developer Staff Member

    Ah, I see what you are trying to do. I've never done it, so I will have to mess around with it. It would be the same as for core xf user fields tho (which there are probably lots of examples at xf.com)
     
  5. beanfan78

    beanfan78 Member AMS Premium SC Premium

    ok I will see what I can find on it. Thanks.
     
  6. Bob

    Bob Developer Staff Member

    I MAY have to be done with a template edit instead of the way you are trying (because of how XF handles LINKs).
     
  7. beanfan78

    beanfan78 Member AMS Premium SC Premium

    ok, well I might be out of luck on that then. I haven't attempted it still. I will check it out over the weekend and see if I can make it work or delete all of it.
     
  8. Bob

    Bob Developer Staff Member

    Why on earth would you have to delete all of it? There are some things that require customization via a template edit. Showcase uses the same exact code as both Custom User fields and the Resource Manager, so if it can be done in either of those, it can be done in Showcase the same exact way. I spent about an hour searching on XF.com and could not find one example for Custom User Fields of what you want to do. However, I've seen several people (like Sheldon for example) that have done exactly what you want to do using a combo of Custom User Fields AND a template edit to format it correctly (as it couldn't be done via the Custom Fields interface by itself). I asked Sheldon to give me an example for you (since he's actually done it) , but I've not heard back from him. Hopefully he will respond soon as he KNOWS exactly how to do it.
     
  9. beanfan78

    beanfan78 Member AMS Premium SC Premium

    My apologies, I meant delete all of those links if I am unable to figure out a way to process them correctly. I truly appreciate the help Bob. I just haven't tried fixing it just yet and wasn't sure what it entailed. I am not impatient so I will standby to see if Sheldon knows. Thank you again.
     
    Bob likes this.
  10. beanfan78

    beanfan78 Member AMS Premium SC Premium

    Bob, just to follow up on this. I think what I will do is basically disable or hide those custom fields. I am just not competent enough to code those correctly. If Sheldon is able to show me what he did then I will take another stab at it. I have never done a custom user field in xF or the resource manager. I think it took me hours to learn how to make those fields last time in 1.xx Showcase, lol. I am just not ready to step up to the table for this right now. I was looking through xF.com and honestly, I don't really understand this aspect very much. I will continue researching and see what is out there for me to learn with. This is pretty much all on me for not knowing how to code. I just wanted to follow up and thank you for checking this out for me.
     
    Bob likes this.
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.