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

XF 1.2 user styling?

#1
Hi, I need help, I have a few questions.

- How to show color of members name in the member recent activity page sidebar and on the forum list? I did change user name css color. I manage to show color on the forum list yesterday but I forgot the step..

- is there a way to remove all these widget and use the widget framework add-on?

Thanks!
 

Attachments

mistypants

Well-known member
#2
- How to show color of members name in the member recent activity page sidebar and on the forum list? I did change user name css color. I manage to show color on the forum list yesterday but I forgot the step..
Open the template sidebar_online_users. Find this code:
Code:
class="username{xen:if '!{$user.visible}', ' invisible'}{xen:if {$user.followed}, ' followed'}">{$user.username}</a><xen:if is="{$i} < {$onlineUsers.limit}">,</xen:if>
And replace it with:
Code:
class="username{xen:if '!{$user.visible}', ' invisible'}{xen:if {$user.followed}, ' followed'}">{xen:helper richUserName, $user}</a><xen:if is="{$i} < {$onlineUsers.limit}">,</xen:if>
 
#3
thanks.. one more thing do you know how to add new blocks on xenporta? I've been struggling on how to add new block for countdown timer add on..