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

XF 1.4 How to create custom identities

Discussion in 'Styling and Customization Questions' started by Xyphien, Jun 14, 2015.

  1. Xyphien

    Xyphien Active Member

    Untitled.png
    How do you go about adding a new section of this? Such as Blizzard ID, etc.
     
    creativeforge likes this.
  2. Martok

    Martok Well-Known Member

    Use the ACP Search to find "Custom User Fields" for this.
     
  3. Xyphien

    Xyphien Active Member

    I don't see anything when searching this in the templates section of the ACP. I tried custom_field_edit and custom_field_view with no luck.
     
    creativeforge likes this.
  4. Solidus

    Solidus Well-Known Member

    Not templates, under the Users tab.

    [​IMG]
     
    Xyphien likes this.
  5. Martok

    Martok Well-Known Member

    I'm not sure why you're searching in template. If you had used the ACP Search as I had suggested with the wording I gave you, you would have found it straight away.

    Screenshot_2015-06-14-10-23-14.jpg
     
    creativeforge and Xyphien like this.
  6. creativeforge

    creativeforge Active Member

    Martok, once we find these results, "Show custom user fields" is only a styling option. What I too would like to know is how to create NEW identities, that can then be displayed in the user info sidebar with their avatar, number of posts, etc. So far I haven't been able to see any results since I've worked on this yesterday.

    Thanks!

    Andre
     
  7. Steve F

    Steve F Well-Known Member

    It is called Custom User Fields, under users as @Martok said.
     
  8. creativeforge

    creativeforge Active Member

    OK, let me try it this way, I think it will be useful for others as well:

    1- I selected SHOW CUSTOM USER FIELDS in Style properties under Message Elements:

    4f5e6942e3dc1516ffea205840a58cf6.png

    2- I create a NEW custom user field in Custom User Fields via Users - my new custom user field is Soundcloud:

    e4caaf088ca8bc2373d2ae5e0bac1397.png

    3- I elected to have this show in Contact Details:

    958486d78f88def1e8b7a3ae089cec06.png

    4- Under the General Options tab within the same Custom User Fields section, I elected to have this Contact Details info called Soundcloud show in message user info.

    adaf42530967a2029ce58f48501eca81.png

    I saved all this. Looking at it, I can see Soundcloud link, but it's NOT using an icon like Skype is. As you can see, the URL doesn't really fit well either.

    cbe81776afe672d6c86e57680a0fc6a8.png

    S O L U T I O N S :

    1- Have a checkbox beside the new Contact Detail giving us the option of showing an icon of the site instead of the URL. It would pull the icon from the same place as it does Skype and show it beside the name of the site.
    Montage I did in Photoshop

    box_soundcloud2.jpg

    2- It could also completely replace the name of the site and the URL by the icon (but unless we can also use the space left for other icons, it's not a perfect solution):
    Montage I did in Photoshop

    box_soundcloud2.jpg

    3- Finally, the ideal solution would be to have the NEW custom user field obey the same rules as those who are already there, and show the icon (without name or URL showing) under the member's name. Montage I did in Photoshop.

    box_soundcloud3.jpg

    This last one would keep everything clean and compact.

    So, why isn't the NEW CUSTOM FIELD showing an icon? And where could I set this up to work?

    Thank you, sorry for the number of images, but it's worth a 1,000 words! :)

    Regards,

    Andre
     
  9. creativeforge

    creativeforge Active Member

    I also noticed that the Soundcloud URL is not clickable. Something isn't right...
     
  10. Valhalla

    Valhalla Well-Known Member

    If you use the 'Value Display HTML' field under General Options, you are able to change how the field will display in someone's Profile.

    Assuming someone only enters their username, it would display as a link to their SoundCloud profile:

    Screen Shot 2015-07-04 at 23.05.52.png
     
    creativeforge likes this.
  11. creativeforge

    creativeforge Active Member

    <a href="https://soundcloud.com/{$valueUrl}">{$value}</a>

    AH! We're getting somewhere! So if I wanted to add an icon instead of displaying the link?

    AND, how do I have these things display in the message user info + the member card?

    Thanks!

    p.s. is there a page on xenforo where those values (callbakcs?) are found so we can create our own strings?
     
  12. Steve F

    Steve F Well-Known Member

    May try testing out my gamer profiles add-on in the RM. You can add custom fields through it using the template provided.
     
    creativeforge likes this.
  13. creativeforge

    creativeforge Active Member

    Holy smokes... that is rad!

    This would be used for a non-gaming site, though. Could this actually be a one-stop shop for everything I wanted to do for the Member Card. Unless there are many fine prints I don't yet see... :)
     
  14. creativeforge

    creativeforge Active Member

    I had hopes, but it's still not clear... I am not seeing any expected results. No icons in sidebar. But I can see links at least.

    5f75ee230ecf57cf16d967fb2e76686a.png

    No changes in the member card.

    979e3c98a38f6e1cacc44d93d1c30c04.png

    What am I missing?
     
  15. Steve F

    Steve F Well-Known Member

    You'll need to post in the add-on thread if that is what you're using now for further help. Just to note you must be using XF 1.4.3 for it to work as expected. I have a faq as well in the add-on overview, it explains how to add extra fields.
     
    creativeforge likes this.

Share This Page