02-09-2017, 06:31 PMBlac Wrote: Hey anyone here. I need a help for my forum IPS (Invision Power Suite). So I want to code/customize a verification icon next to Nickname. Example: XY-Nick But if this member has join to XY group then he can to get this verification icon. So how I can customize this? I found this code in template (postContainer): Code:<h3 class='ipsType_sectionHead cAuthorPane_author ipsType_blendLinks ipsType_break' itemprop="creator" itemscope itemtype="http://schema.org/Person"><strong itemprop="name">{$comment->author()->link( $comment->warningRef() )|raw}</strong> <span class='ipsResponsive_showPhone ipsResponsive_inline'> {template="reputationBadge" group="global" app="core" params="$comment->author()"}</span></h3> But I don't know, how I code right with PHP-commands [IF] & [ELSE].. Also can somebody help me to tell me how, please? My imagination shows so: XY-Nick [IF XY-Nick in XY-Usergroup, then Verifed Icon] [ELSE nothing Verifed Icon]. Thank you for helpingin future.
<h3 class='ipsType_sectionHead cAuthorPane_author ipsType_blendLinks ipsType_break' itemprop="creator" itemscope itemtype="http://schema.org/Person"><strong itemprop="name">{$comment->author()->link( $comment->warningRef() )|raw}</strong> <span class='ipsResponsive_showPhone ipsResponsive_inline'> {template="reputationBadge" group="global" app="core" params="$comment->author()"}</span></h3>
Loading Info...