Current time: 04-24-2014, 04:42 PM Hello There, Guest! (LoginRegister)


Post Reply 
 
Thread Rating:
  • 2 Votes - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
{$post['profilelink']} color
05-27-2010, 12:03 PM
Post: #1
{$post['profilelink']} color
Why does {$post['profilelink']} in postbit_classic displays the name with the group/rank color, but search_results_posts_post doesn't? Same happens with the username in the lastpost column.
Am I missing a bit somewhere or do I have to write a plugin to always show the user name with the user color?
Find all posts by this user
Quote this message in a reply
05-27-2010, 12:25 PM
Post: #2
RE: {$post['profilelink']} color
Patrick let me get this right.... I think I understand what your wanting Wink


Ok so your asking if the user can have a colour in the name
Find all posts by this user
Quote this message in a reply
05-27-2010, 12:36 PM (This post was last modified: 05-27-2010 12:37 PM by patrick.)
Post: #3
RE: {$post['profilelink']} color
When viewing a thread, the username has a color (from the group or rank, I don't know because I didn't look into those features yet), but the last post in the forum list and the posts in the search results don't have the username colored.
I'd like the username to be colored at any time.
Find all posts by this user
Quote this message in a reply
05-27-2010, 12:43 PM
Post: #4
RE: {$post['profilelink']} color
Oh there is away

example: postbit, memberlist, profile

the color remains the same using html colour in usergroups for that group
Find all posts by this user
Quote this message in a reply
05-27-2010, 01:10 PM
Post: #5
RE: {$post['profilelink']} color
That doesn't work:

postbit: {$post['profilelink']}
Code:
<a href="member.php?action=profile&amp;uid=1"><span style="color: green;"><strong><em>patrick</em></strong></span></a>

search_results_posts_post: {$post['profilelink']}
Code:
<a href="member.php?action=profile&amp;uid=1">patrick</a>

the same tag gives different output.

profile uses {$formattedname}, but that doesn't output anything in search results.
Find all posts by this user
Quote this message in a reply
05-27-2010, 01:14 PM (This post was last modified: 05-27-2010 01:21 PM by Technoman.)
Post: #6
RE: {$post['profilelink']} color
the only thing I can help you is this

edit user group registered

user group style example for purple


Acp>Users & Groups>Registered>edit>Username Style>
Code:
<span style="color: Purple;"><strong><em>{username}</em></strong></span>

now you can use instead of Purple
Code:
<span style="color: #800080;"><strong><em>{username}</em></strong></span>
Find all posts by this user
Quote this message in a reply
05-27-2010, 01:30 PM (This post was last modified: 05-27-2010 01:30 PM by patrick.)
Post: #7
RE: {$post['profilelink']} color
I think you've misunderstood my question. I don't want to change the color. I want the color to be used at any time.
Find all posts by this user
Quote this message in a reply
05-27-2010, 01:33 PM
Post: #8
RE: {$post['profilelink']} color
what color?
Find all posts by this user
Quote this message in a reply
05-27-2010, 02:55 PM
Post: #9
RE: {$post['profilelink']} color
By default, for example any admin has his user color in green. Within the topic view, his username is in green, but in the search results, or lastpost, his username doesn't have any color (it's like any normal link).
Find all posts by this user
Quote this message in a reply
05-27-2010, 02:59 PM
Post: #10
RE: {$post['profilelink']} color
I think this might help:
http://mods.mybboard.net/view/username-style

I don't know whether it adds the style to the search results though. ;o
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)

Contact Us | MyBB | Return to Top | Return to Content | Lite (Archive) Mode | RSS Syndication