Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Solved: 4 Years, 1 Month, 4 Weeks ago Rank images or group image
#1
Solved: 4 Years, 1 Month, 4 Weeks ago
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


Attached Files Thumbnail(s)
   
#2
Solved: 4 Years, 1 Month, 4 Weeks ago
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.
#3
Solved: 4 Years, 1 Month, 4 Weeks ago
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?
#4
Solved: 4 Years, 1 Month, 4 Weeks ago
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.
#5
Solved: 4 Years, 1 Month, 4 Weeks ago
Thats it. Thank you.


Forum Jump:


Users browsing this thread: 1 Guest(s)