MyBB Community Forums

Full Version: Rank images or group image
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hello MyBB-users,

I stand again in front of a problem, how can I implement the best and most skilled.

Unzwar I would like to:
- Forum with me, a group should find the "mentors" call.
- Mentors should possess a rank below the status screen with "mentors".

... and exactly this is. I have created a Grp., Which call themselves mentors. This should highlight where you before your name eg a star or seen in the image below the state of one rank picture (an advanced rank image) with Mentor have.

Now the question is, how can I add? Each user who mentor are in the Grp., Should automatically rank this image + Star (which is clear, as I realize that) possess.

Can someone help how I can put that to me?

Greeting
ACP > User & Groups > Usergroups > Edit the group

find "group image" and paste your desired group image link in the box, same goes for the star images.
Hello Akay,

I think we have understood as wrong. The group photos are not relevant at the site. I want to include an If condition in my scripts, using xThreads and unfortunately can not enter the "function".

<IF $ mybb-> post user ['User Group'] == 14 then>

Unfortunately, this feature does not help me. I would like to:

If a user exists in the group GR1, then comes image.
If a user not in the group GR1, then comes a picture.

Could you help me?
This is for postbit, but you can do this on the profiles & on memberlist too

<if $post ['usergroup'] == GID then><img src="image"><else><img src="picture"></if>

Replace GID with the gid of the group.
Thats it. Thank you.