Jump to content

Member Reputation in Userbar


szalik.dev

Recommended Posts

Posted

It was actually for me something like "how to", I've created this plugin with help of dev docs. Now I'm trying to write other plugin which I would love to have on my forums ^_^

Posted

It is a great idea. I would suggest some small changes in order to adjust it, as it has a bad alignement:

  • Go to your hook and add a class to the added <li> => <li class="cUserBarReputation">
  • Hook this CSS snippet:
  • #elUserNav > li.cUserBarReputation > a .fa, #elUserNav_mobile > li.cUserBarReputation > a .fa {
      font-size: 16px;
      margin-top: 1px;
    }

This will realign it like this:
1.PNG.cb25a23b22138b0bd6c787f2ed605a83.PNG

It is not perfect aligned but a lot better. As the icons appear to be odd sizes. Putting it another pixel down will have it too low.

Aside for the settings, the colors do not apply, as the '#' is missing:

2.PNG.785551dcf62ba89bc37a86a3d4ab5713.PNG

You may wanna state it in the form generally, or why you do not use directly the color form helper? As example the member groups have such a field.

Regards

Posted
5 hours ago, JakubS said:

Like I said it was my first plug-in, thanks for giving me some advices I will change that. :)

 

In forms docs, there was no information about $form->color etc.

Thats why i replied :) Just trying to help out and show you options how to improve things ;) 

Posted

Added new version (1.0.3.) to download

What's new?

I've added an Mobile version of hook, it's now showing members reputation in mobile drawer. "Reputation level" is an language string called import_member_language.

Screens:

7.thumb.png.29b1d28e31eec68249bdc867fe3cb7d1.png

8.thumb.png.68613cc70700ee6c069bc12a7d2c37cc.png

9.thumb.png.05b528043e0e8f71bd0903cf90d406ed.png

 

Regards.

  • 4 weeks later...

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...