Lack of interest Actual name of Person structured data instead of URL

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.

dutchbb

Well-known member
On xf1 and xf2 the URL is used of the member profile instead of the name (in threads).

I changed the message_user_info so that the name is used (added content=)
Code:
<xen:if is="!{$isQuickReply}">
    <xen:hook name="message_user_info_text" params="{xen:array 'user={$user}', 'isQuickReply={$isQuickReply}'}">
        <h3 class="userText">
            <xen:username user="$user" content="{$user.username}" itemprop="name" rich="true" />

Not sure if that is the right way to do it (would not would not take else).

But nothing wrong with using the url in threads http://schema.org/name

And on the profile pages the actual name is used.
 
Last edited:
Upvote 0
This suggestion has been closed. Votes are no longer accepted.
Top Bottom