MyBB Community Forums

Full Version: How to create ranks like those?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
One of the forums I visit got really nice ranks which I need for my android portal forum. How to make them like this via text and not images?

[Image: screenshot-302.png]

Scroll on the bottom to see in live https://www.nulledforums.to/
(2018-10-18, 06:11 PM)Ashley1 Wrote: [ -> ]CSS + fontawesome

https://community.mybb.com/thread-165413.html

Awesome! What about member_profile?
You can apply that to member_profile, memberlist, and postbit templates, where the groupimage is called.
(2018-10-18, 06:29 PM)Ashley1 Wrote: [ -> ]You can apply that to member_profile, memberlist, and postbit templates, where the groupimage is called.

Just tested but group id is showing in memberlist and postbit, not in memberprofile :/ Maybe i did something wrong?
it's been a while since i looked at these, but you can get them to work. The variable is different in member profile, that's where you are getting stuck.

<img src="{$usergroup['image']}" alt="{$usergroup['title']}" title="{$usergroup['title']}" />

<img src="{$memperms['image']}" alt="{$usertitle}" title="{$usertitle}" /><br />

<img src="{$usergroup['image']}" alt="{$usergroup['title']}" title="{$usergroup['title']}" />

middle one is member profile
(2018-10-18, 06:40 PM)Ashley1 Wrote: [ -> ]it's been a while since i looked at these, but you can get them to work. The variable is different in member profile, that's where you are getting stuck.

<img src="{$usergroup['image']}" alt="{$usergroup['title']}" title="{$usergroup['title']}" />

<img src="{$memperms['image']}" alt="{$usertitle}" title="{$usertitle}" /><br />

<img src="{$usergroup['image']}" alt="{$usergroup['title']}" title="{$usergroup['title']}" />

middle one is member profile

Thanks! It works now with memperms['image'], but {$usergroup['gid']} is not woking still. So it shows no id in member_profile
(2018-10-18, 06:47 PM)codedude Wrote: [ -> ]Thanks! It works now with memperms['image'], but {$usergroup['gid']} is not woking still. So it shows no id in member_profile


Perhaps instead try:
{$memprofile['usergroup']}

example:

Replace member_profile_groupimage with:

<div class="image_usergroup_{$memprofile['usergroup']}" alt="{$usertitle}" title="{$usertitle}">{$memperms['image']}</div><br />
(2018-10-19, 07:45 PM)vintagedaddyo Wrote: [ -> ]
(2018-10-18, 06:47 PM)codedude Wrote: [ -> ]Thanks! It works now with memperms['image'], but {$usergroup['gid']} is not woking still. So it shows no id in member_profile


Perhaps instead try:
{$memprofile['usergroup']}

example:

Replace member_profile_groupimage with:

<div class="image_usergroup_{$memprofile['usergroup']}" alt="{$usertitle}" title="{$usertitle}">{$memperms['image']}</div><br />
Thanks, however, doesn't work as well. No id number displayed :/
(2018-10-20, 12:23 AM)codedude Wrote: [ -> ]
(2018-10-19, 07:45 PM)vintagedaddyo Wrote: [ -> ]
(2018-10-18, 06:47 PM)codedude Wrote: [ -> ]Thanks! It works now with memperms['image'], but {$usergroup['gid']} is not woking still. So it shows no id in member_profile


Perhaps instead try:
{$memprofile['usergroup']}

example:

Replace member_profile_groupimage with:

<div class="image_usergroup_{$memprofile['usergroup']}" alt="{$usertitle}" title="{$usertitle}">{$memperms['image']}</div><br />
Thanks, however, doesn't work as well. No id number displayed :/

Umm, actually it does work and look below for proof. Perhaps you don't have gid styling for the specific gid you are claiming does not show on profile..., I have several tutorial that modify usertitle, groupimage, userstar etc on posbit, memberlist and user profile. Some with font awesome and some simply css..., so seeing as they all use the same call primarily fr profile and all work, perhaps it is an issue on your end..., say for example not inputting the groupimage input in group settings in acp for example: <i>administrator</i> or your css is not created for specific gid or if you are using font awesome your :before element along with groupimage gid specific styling is incomplete perhaps. Or it may be a simple as clearing your browser cache after said template edits. Wink

Here are a couple tutorials giving you a better idea of those specific type of file edits:

https://community.mybb.com/thread-220302.html
https://community.mybb.com/thread-219795...pid1314599
https://community.mybb.com/thread-220080.html
https://community.mybb.com/thread-220017...pid1315632

Etc, etc. Now I have other tutorials that utilize gid styling but I primarily only linked ones that focus on the same sort of specific file edits you are attempting.
Pages: 1 2