• Page 1 of 1
  • 1
how to show user group icon in comments.
Zain
Posts: 68
Reputation: -7

Message # 1 | 7:21 AM
sorry i am making thread again but i still not get my answer. how to show user group icon in comments. of guest users and all other groups. $GROUP_ICON$ is not working i also check other codes.
Sunny
Posts: 9296
Reputation: 456

Message # 2 | 1:43 PM
Zain, yes, $GROUP_ICON$ is not available in Comments templates.

You can use direct image links + conditional operators: http://forum.ucoz.com/forum/37-471-1


I'm not active on the forum anymore. Please contact other forum staff.
Zain
Posts: 68
Reputation: -7

Message # 3 | 7:31 AM
thanks for help thanks cool

Added (2010-10-28, 1:31 Am)
---------------------------------------------
i use the following in comments for showing group icon of users in comment. but it displaying the group icon of users that enter to site in every comment. i also use $GROUP_ID$ $GROUP_ICON$ but it's not work too. how to show group icon in comment.

Code
<?if($CUR_GROUP_ID$=1)?><img src="http://dl4uall.com/images/user.png" alt="User" border="0"><?endif?><?if($CUR_GROUP_ID$=2)?><img src="http://dl4uall.com/images/author.png" alt="Author" border="0"><?endif?><?if($CUR_GROUP_ID$=3)?><img src="http://dl4uall.com/images/mod.png" alt="Moderator" border="0"><?endif?><?if($CUR_GROUP_ID$=4)?><img src="http://dl4uall.com/images/admin.png" alt="Administrator" border="0"><?endif?><?if($CUR_GROUP_ID$=251)?><img src="http://dl4uall.com/images/regular.png" alt="Regular" border="0"><?endif?><?if($CUR_GROUP_ID$=255)?><img src="http://dl4uall/images/guest.png" alt="Guest" border="0"><?endif?>
Sunny
Posts: 9296
Reputation: 456

Message # 4 | 8:59 AM
Zain, asking one and the same question in several threads is against forum rules! http://forum.ucoz.com/forum/37-471-63007-16-1288247441
I'm not active on the forum anymore. Please contact other forum staff.
  • Page 1 of 1
  • 1
Search: