Lack of interest More Control on User Blurb Items for Member Card and View

This suggestion has been closed automatically because it did not receive enough votes over an extended period of time. If you wish to see this, please search for an open suggestion and, if you don't find any, post a new one.

Amaury

Well-known member
Currently, if you want something like this on the member card, for example:

Member Card.webp

You can't just remove or move individual items. As the items (Gender, Age, and Location) are all part of the user blurb, you have to comment out or remove the user blurb entirely and then add something like this wherever you want the items to appear. And even then, you have to do some extra work because, for example, they'll display as all lowercase (gender instead of Gender) for some reason even if we type them in with the first letter capitalized or use the existing phrases.

Code:
        <span class="col">
            <xen:if is="{$user.gender}">
                <dt>Gender:</dt> <dd><span style="text-transform: capitalize;">{$user.gender}</span></dd>
            </xen:if>
            <xen:if is="{$user.age}">
                <dt>Age:</dt> <dd>{$user.age}</dd>
            </xen:if>
            <xen:if is="{$user.location}">
                <dt>Location:</dt> <dd><a target="_blank" href="misc/location-info?location={$user.location}">{$user.location}</a></dd>
            </xen:if>
            </xen:hook>
        </span>

I don't mind doing work, obviously, but it would be so much more simple and incredibly useful if there were options appropriately under the Member Profile Page and Member Card style property categories to control the display of these on the member card and view. Either that or just have individual pieces of code for the three items in the respective member_card and member_view templates (and whatever other templates they may appear in) rather than one user blurb encompassing all three items. Either way will accomplish the same thing and allow us more flexibility.
 
Upvote 2
This suggestion has been closed. Votes are no longer accepted.
Not only that, but if XenForo has settings for this, then addon developers would follow that example and also add settings for the data that their addons insert.
 
Back
Top Bottom