inherit
235299
0
Feb 26, 2018 1:07:58 GMT -8
ryzzax
6
July 2016
ryzzax
|
Post by ryzzax on Dec 6, 2017 19:11:00 GMT -8
Hi ! First of all, if this plugin that I will explain is not already done, I'm ready to pay someone to make one that works perfectly. So, with pb forums, we all have this system that members get a rank with the number of post they posted. Like if you posted 25 posts, your rank is now "active" for exemple, 50 posts and your rank is "Nice guy", etc. And with that, you can add a number of stars dependind of the rank. So, I was wondering if it is possible to add an image depending of your rank right below the profile picture, or above, whatever. Something like that: i.gyazo.com/0ca4c52fd6dfeee7934993069faaf497.pngIn this image my rank is "Member" with 1 star because I only have 1 post, so I would have this member picture. (This picture was made with photoshop to show an exemple of how it would look like if this plugin is implemented) I would really like this feature, because once you get in a group, it doesn't show anymore the stars of your rank, which is annoying for the type of server I'm making. The rank that you get for your number of posts and the kind of group my members will be in are important and must show both. If it is possible, and someone make one, I'll highly appreciate it! Thank you so much !
|
|
inherit
217348
0
Jul 27, 2022 7:26:44 GMT -8
Lynx
5,849
January 2015
msg
|
Post by Lynx on Dec 6, 2017 23:48:48 GMT -8
I would really like this feature, because once you get in a group, it doesn't show anymore the stars of your rank, which is annoying for the type of server I'm making. You can have both Group Names AND Rank Names show with a couple simple template mods. Go to Admin > Themes > Layout Templates > User Profile and find these lines: {if $[user.group]} $[user.group.name]<br />$[user.group.stars] {else} $[user.rank.name]<br />$[user.rank.stars] {/if}
and change it to this: {if $[user.group]} $[user.group.name]<br />$[user.group.stars] {/if} {if $[user.rank]} <br />$[user.rank.name]<br />$[user.rank.stars] {/if}
Next, go to Admin > Themes > Layout Templates > Mini Profile and find these lines: {if $[user.group]} $[user.group.name]<br />$[user.group.stars]<br /> {elseif $[user.rank]} $[user.rank.name]<br /> {if $[user.rank.stars]} $[user.rank.stars]<br /> {/if} {/if}
and change it to this: {if $[user.group]} $[user.group.name]<br />$[user.group.stars]<br /> {/if} {if $[user.rank]} $[user.rank.name]<br /> {if $[user.rank.stars]} $[user.rank.stars]<br /> {/if} {/if}
Remember to save each template after making the changes. With that, if someone is in a Group, their Rank will still show.
|
|
inherit
235299
0
Feb 26, 2018 1:07:58 GMT -8
ryzzax
6
July 2016
ryzzax
|
Post by ryzzax on Dec 7, 2017 0:08:33 GMT -8
omg, you're a LIFE SAVER, thank you so much !!!! For now it will do the works just fine ! (I still want that picture kind of thing, but that's amazing thank you!) THANK YOU EDIT: Just tested it out, it works ! Thank you again ! Here's how it looks if anybody wonders: gyazo.com/27e302ee7cea122352d8c59d088bb4a7
|
|
inherit
235299
0
Feb 26, 2018 1:07:58 GMT -8
ryzzax
6
July 2016
ryzzax
|
Post by ryzzax on Dec 7, 2017 1:23:56 GMT -8
For those who would want the same things as me: I actually solve my issue, and I didn't need a plugin. I actually wanted an image for my ranks and my groups, not stars. The solution is actually simple, you need to go to Admin, Themes, Theme Manager, put your mouse over your theme and click Images. Then, just change the image of the stars to whatever you would like. Looks like that for the ranks: gyazo.com/64010e154c6e0baaf1c777ac6d918080(I also erased one line, the "$[user.rank.name]<br />" to not see the rank name above because the rank name is said in the image, you can do the same thing with the groups name by erasing "$[user.group.name]<br />"
|
|