IP.Board Support

[IPS] Code help (about IF & ELSE)

Submitted by Blac, , Thread ID: 45812

Thread Closed
Blac
Novice
Level:
0
Reputation:
0
Posts:
23
Likes:
0
Credits:
11
02-09-2017, 06:31 PM
#1
Hey anyone here. Wink

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[Image: ximg.php?fid=63045769]

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'>&nbsp;&nbsp;{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. Smile

Users browsing this thread: 1 Guest(s)