MyBB Community Forums

Full Version: Groupimage to label text | Image Position
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hello everyone!



Could someone help me with the Groupimage to label text plugin?



What i need to do is to change the position of the image"Gold Member" under the "CS Contributor" title.



I think the plugin file needs a modification here and i'm not good with that.



Kindly help me.



Here is the link to the plugin:



https://github.com/inferno211/Groupimage-to-label-text



[attachment=42524]

[url=https://github.com/inferno211/Groupimage-to-label-text][/url]
You can modify this line 147 in plugins/labelrank.php
$post['groupimage'] .= "<div class=\"profile-rank\"><span class=\"gid-".$group."\">".$groupname."</span></div> ";

to this
$post['groupimage'] .= "<div class=\"profile-rank\"><span class=\"gid-".$group."\">".$groupname."</span></div> </br>";

For your requirements, a break line would solve the task Smile
Is possible to display secondary (additional) usergroup one by one, not all at once? Any js code for this? Thx
(2020-02-02, 03:38 AM)WallBB Wrote: [ -> ]You can modify this line 147 in plugins/labelrank.php
$post['groupimage'] .= "<div class=\"profile-rank\"><span class=\"gid-".$group."\">".$groupname."</span></div> ";

to this
$post['groupimage'] .= "<div class=\"profile-rank\"><span class=\"gid-".$group."\">".$groupname."</span></div> </br>";

For your requirements, a break line would solve the task Smile
Thanks a lot, it worked.

Regards.
(2020-02-02, 08:05 AM)Eldenroot Wrote: [ -> ]Is possible to display secondary (additional) usergroup one by one, not all at once? Any js code for this? Thx
If you can tell me in more detail, I will surely help Smile
Like how do you want them one by one ?