• Page 1 of 1
  • 1
uCoz Community » Archives » Locked » Crowns next to name
Crowns next to name
rebelion
Posts: 130
Reputation: 4

Message # 1 | 3:46 AM
Is it possible to add crowns next to names?
project-implement.com join rsps 508/525
Animorph
Posts: 2856
Reputation: 189

Message # 2 | 8:36 AM
rebelion, be more specific , what do you mean with crown as an icon ? or ... , please provide an example
To busy building a passive income online ;)
CodeResolution
Posts: 1570
Reputation: 58

Message # 3 | 12:37 PM
rebelion, if you mean an icon like Animorph, suggested. You can do this:
Code
<img src="/crown-icon.png" border="0" alt="" /> Text goes here

Then change /crown-icon.png to the link of the image/icon you want.

Kind regards,
Elliott.

"The best uCoz" critic since 2007.
Qualified website, branding, print & user interface designer.

I'm on Behance and Twitter.
rebelion
Posts: 130
Reputation: 4

Message # 4 | 7:01 PM
CreativeCollusions, where would I put this so it displays in certain groups. Like if the user is a owner a certain icon will be displayed to the left of his name. If the user is a admin a certain icon will be displayed left to his name etc?
project-implement.com join rsps 508/525
Animorph
Posts: 2856
Reputation: 189

Message # 5 | 7:07 PM
Quote (rebelion)
where would I put this so it displays in certain groups.

well that is up to you , where do you want the icon to appear ? in forum ?

Quote (rebelion)
Like if the user is a owner a certain icon will be displayed to the left of his name. If the user is a admin a certain icon will be displayed left to his name etc?

that can be done with using conditional operators

also if you need hep with conditional operators continue here :
http://forum.ucoz.com/forum/37-471-1


To busy building a passive income online ;)
rebelion
Posts: 130
Reputation: 4

Message # 6 | 8:05 PM
Animorph, that's what I thought I know how to use conditional operators just that I wasn't sure. So I just go to the user template and fine $_username_$ and put the img icon code and conditional operators?
project-implement.com join rsps 508/525
Animorph
Posts: 2856
Reputation: 189

Message # 7 | 8:14 PM
rebelion, yes smile , good guess

go to Cp ---> Design ---> Desinmanagement templates --->Forum --> appearance of entry's ---> find:

Quote
<a class="postUser" href="javascript://" rel="nofollow" onClick="emoticon('$USERNAME$,');return false;">$USERNAME$</a>

edit the blue


To busy building a passive income online ;)
rebelion
Posts: 130
Reputation: 4

Message # 8 | 10:24 PM
Animorph, yes that's what I was thinking thank you smile

Sorry for kind of late post, when I added it, it just added it to the rank the user was in not their name.


project-implement.com join rsps 508/525
Animorph
Posts: 2856
Reputation: 189

Message # 9 | 12:14 PM
rebelion, what code did you used and where did you placed it ?
To busy building a passive income online ;)
rebelion
Posts: 130
Reputation: 4

Message # 10 | 11:37 PM
I put <?if($GROUP_ID$=3 or $GROUP_ID$=4)?> <img src="/crown-icon.png" border="0" alt="" /> <?endif?>

before $USERNAME$ on the place you told me so than I went to design>>quick substitutions of template part and I put

<?if($GROUP_ID$=3 or $GROUP_ID$=4)?> <img src="/crown-icon.png" border="0" alt="" /> <?endif?>
$USERNAME$ and it didn't work.


project-implement.com join rsps 508/525
uCoz Community » Archives » Locked » Crowns next to name
  • Page 1 of 1
  • 1
Search: