RSS Feed/News XF class for username color (in post)?

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,957
Points
823

Reputation:

I made an add-on that makes some template modification. One of them - it unlinks Username for guests (message_macros template).
it replaces
Code:

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

<div class="message-name myUsername">{$fallbackName}</div>
. I added myUsername class (with gray color) in extra.less, and it works just fine.

But I'm thinking about sharing this add-on with the community, and not everyone uses the default XF theme, so here is my question - can...

Read more

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