I would like to make user names more prominent on posts. I have noticed on here that Broni's name is both bold and underlined. So it would seem as though this can be done by user group. I was hoping this was done by adding strong tags in control panel for the user groups. However, it only affects the online listing. Not the name that appears to left of posts and above avatars. Any suggestion on how this is done?
User Name Font in Posts
Started By warboc, Oct 10 2011 11:48 PM
3 replies to this topic
#1
Posted 10 October 2011 - 11:48 PM
#2 Re: User Name Font in Posts
Posted 11 October 2011 - 12:48 AM
It'd be hard to change it through CSS because it'd affect other text.
You can do it by editing a template.
ACP>Look & Feel>your_skin>Templates tab>Topic View>post
Add text in red:
You can do it by editing a template.
ACP>Look & Feel>your_skin>Templates tab>Topic View>post
Add text in red:
Quote
<if test="postMember:|:$post['author']['member_id']">
<span style="text-decoration: underline; font-weight: bold" class="author vcard">{parse template="userHoverCard" group="global" params="$post['author']"}</span>
<else />
{$post['author']['members_display_name']}
</if>
<span style="text-decoration: underline; font-weight: bold" class="author vcard">{parse template="userHoverCard" group="global" params="$post['author']"}</span>
<else />
{$post['author']['members_display_name']}
</if>
#3 Re: User Name Font in Posts
Posted 11 October 2011 - 12:59 AM
Ever play that game hot/cold when you were a kid? Try to find something while your eyes are closed. Then someone tells you if you're getting warm or cold. Wish someone were around to tell me how cold I was getting!
Thanks, was able to easily make all user names bold with that. How did you it here by a specific group? Moreover, how did you make it match the ACP setting for group colors, like it is displayed in online users list?
Thanks, was able to easily make all user names bold with that. How did you it here by a specific group? Moreover, how did you make it match the ACP setting for group colors, like it is displayed in online users list?
#4 Re: User Name Font in Posts
Posted 11 October 2011 - 01:14 AM
That needs a hook since variables are involved.
Two hooks to be exact.
http://community.inv...e-indicator-32/
http://community.inv...r-in-user-link/
Two hooks to be exact.
http://community.inv...e-indicator-32/
http://community.inv...r-in-user-link/
1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users















