RSS Feed/News message_macros template modification

Status
Not open for further replies.

ENXF NET

Administrator
Staff member
Administrator
Moderator
+Lifetime VIP+
S.V.I.P.S Member
S.V.I.P Member
V.I.P Member
Collaborate
Registered
Joined
Nov 13, 2018
Messages
25,915
Points
823

Reputation:

For some time I have an add-on that does several template modifications. It worked fine until I upgraded to 2.3.2. After that Google Search Console started to show me a bunch of 'missing field name (in author ). And it looks like the reason is a template modification that unlinks usernames for guest:

Find:
Code:

/<h4 class="message-name"><xf:username user(.*)<\/h4>/isU

Replace:
Code:

Code:
<xf:if is="!$xf.visitor.user_id">
    <div class="message-name myUsername">{$fallbackName}</div>
<xf:else />...

Read more

Continue reading...
 
Status
Not open for further replies.
Top