Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Groupimage to label text | Image Position
#1
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



   

[url=https://github.com/inferno211/Groupimage-to-label-text][/url]
Reply
#2
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
Reply
#3
Is possible to display secondary (additional) usergroup one by one, not all at once? Any js code for this? Thx
[MyBB 1.8 Czech translation] [MyBB 1.8 plugins]: Prune old PMs + optimize DB plugin --- Thank you/like system
Reply
#4
(02-02-2020, 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.
Reply
#5
(02-02-2020, 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 ?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)