Jump to content


User Name Font in Posts


3 replies to this topic

#1 warboc

    Member

  • 19 posts
  • Joined: August 24, 2010
  • 8 topics
  • Skin: IP.Board
  • Local time: 08:54 AM
  • Zodiac:Aquarius
  • Gender:Male
  • OS:Windows 7
  • Country:
Offline
  • Time Online: 12h 29m 57s

Posted 10 October 2011 - 11:48 PM

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?

#2 Broni Re: User Name Font in Posts

    Malware Annihilator

  • 24,883 posts
  • Joined: October 04, 2004
  • 1,860 topics
  • Age: 57
  • Skin: IPBoard wide
  • Local time: 01:54 AM
  • Zodiac:Virgo
  • Gender:Male
  • Location:Daly City, CA
  • OS:Windows Vista
  • Country:
Offline
  • Time Online: 57d 10h 30m 28s

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:

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>


#3 warboc Re: User Name Font in Posts

    Member

  • 19 posts
  • Joined: August 24, 2010
  • 8 topics
  • Skin: IP.Board
  • Local time: 08:54 AM
  • Zodiac:Aquarius
  • Gender:Male
  • OS:Windows 7
  • Country:
Offline
  • Time Online: 12h 29m 57s

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?

#4 Broni Re: User Name Font in Posts

    Malware Annihilator

  • 24,883 posts
  • Joined: October 04, 2004
  • 1,860 topics
  • Age: 57
  • Skin: IPBoard wide
  • Local time: 01:54 AM
  • Zodiac:Virgo
  • Gender:Male
  • Location:Daly City, CA
  • OS:Windows Vista
  • Country:
Offline
  • Time Online: 57d 10h 30m 28s

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/





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users


This topic has been visited by 10 user(s)