Jump to content

(NE) Display my badges

Featured Replies

Posted

This application will allow your users to display up to a configured number of their badges on the 'author pane' in a forum topic.

Admin settings include:

  • Number of badges that are allowed to be displayed
  • Size at which the badge should be displayed (separate settings for Desktop and Phone)
  • Option to display a tooltip on the badge
  • Option to remove the 'Rare' tag from the badge

Screenshot_1.png.c4267b4ad349e0e447e690867795c41a.png

Edited by Nathan Explosion

  • Replies 65
  • Views 4.6k
  • Created
  • Last Reply

Top Posters In This Topic

Most Popular Posts

  • Nathan Explosion
    Nathan Explosion

    Here is what it looks like on the default Invision theme, which is what I work with: You're using a custom theme, plus you've included the user's reputation information in the same area as

  • Nathan Explosion
    Nathan Explosion

    I'll have a think about it for a later version.

  • Nathan Explosion
    Nathan Explosion

    v1.0.3 is currently pending approval FIXES None CHANGES Switching of hard-coded language items to language strings Changed title of "View badges" dialog

Posted Images

@Nathan Explosion can you add to have X recent or random badges displayed for all users? And then, so that they can choose, as they do now, in the settings, which ones they want to be displayed

  • Author

I'll have a think about it for a later version.

  • Author
2 hours ago, adik said:

can you add to have X recent

That's doable, and easy to implement so will be in version 1.0.3 when I release it on here.

2 hours ago, adik said:

or random badges

That's doable but not easy, and I'm also concerned about processing time if users have a large number of badges. As such, I won't be including this.

@Nathan Explosion last badges with the ability to choose them later would be great! I have a community with 665k users, so I'm waiting for the update and will test 🙂

  • Author

v1.0.3 is currently pending approval

  • FIXES
    • None
  • CHANGES
    • Switching of hard-coded language items to language strings
    • Changed title of "View badges" dialog box to indicate user's name as opposed to "My badges"
  • NEW
    • Added "Show recent badges (if none chosen)?" setting to allow display of badges for those who have not yet made a choice.
      • Option to override user's choice is provided in event that user chooses not to display any badges.
    • Added ability to switch the "View badges" dialog box to a custom template, which exposes the following controls:
      • Ability to show/hide a badge's description, if one exists.
      • Ability to show/hide a badge's earned information.
      • Ability to show/hide the 'Rare' tag on the badge.

@Nathan Explosion Re the lang strings do you add yours to the existing pack or do you (can you?) have your own NE_lang pack

  • Author
5 minutes ago, Muddy Boots said:

@Nathan Explosion Re the lang strings do you add yours to the existing pack or do you (can you?) have your own NE_lang pack

The language strings are part of the application - these are then available within your own installed languages.

Edited by Nathan Explosion

@Nathan Explosion everything works fine. I have one more suggestion to add the ability to choose the order of badges 😁

  • Author
On 11/23/2021 at 11:14 AM, adik said:

@Nathan Explosion everything works fine. I have one more suggestion to add the ability to choose the order of badges 😁

That might be doable, so I'll look at it for the next update.

  • 1 month later...
  • Author

@RZaK - this is the support topic for the application.

I will add a language string for 'View Badges' in the next update I do, whenever that is. If you wish, you can manually change the hard-coded string by editing the app's front -> postbit -> myBadges template in your theme.

3 minutes ago, Nathan Explosion said:

@RZaK - this is the support topic for the application.

I will add a language string for 'View Badges' in the next update I do, whenever that is. If you wish, you can manually change the hard-coded string by editing the app's front -> postbit -> myBadges template in your theme.

Thank you, i will wait for the next update !
P.S
This is a great plugin with great potential.
as a suggestion I can offer the following...
1. option to hide view badges (users have access to this menu anyway )
2. the ability to change the view badges text and set it above the icons instead of below them.

Thank you for u work !

  • Author
2 minutes ago, RZaK said:

1. option to hide view badges (users have access to this menu anyway )
2. the ability to change the view badges text and set it above the icons instead of below them.

You are free to manually change the mentioned template yourself to make those modifications, but I won't be building settings in to handle it.

On 1/17/2022 at 3:39 PM, Nathan Explosion said:

You are free to manually change the mentioned template yourself to make those modifications, but I won't be building settings in to handle it.

Edited by RZaK

  • Author

 

Conclude what you want - do you want me to refund your purchase of the application, seeing as you don't like my decision? More than happy to do so.

Ignore that - decision made for you. I would prefer if you uninstalled the resource, but I have  no control over that so you can do whatever you want with that aspect.

Edited by Nathan Explosion

@Nathan Explosion We didn't understand each other.

Edited by RZaK

  • Author

You're getting a refund - you have made your opinions clear, with no confusion on my side, and have jumped to a hugely incorrect conclusion on my attitude.

Enjoy the freebie as-is.

That is the end of the discussion.

Edited by Nathan Explosion

 

21 hours ago, Nathan Explosion said:

Enjoy the freebie as-is.

about everything else I wrote above.

Edited by RZaK

+

Edited by RZaK

  • Author

v1.0.4 is now pending approval

  • FIXES
    • None
  • CHANGES
    • 'View badges' string in the front -> postbit -> myBadges template is now a language string, allowing translation via IPS language tools
  • NEW
    • None

 

Just jumping on to say that our members love this feature and it's really brought life to post bit areas. Most of our members are now using the features. Thank you for such an awesome plugin.

  • 1 month later...
  • Author

v1.1.0 is pending approval

  • NEW
    • Achievements rule added
      • When member updates account settings and chooses badges to be displayed
      • Filters provided to target users via primary and/or secondary group, if desired.
    • Webhook added
      • Fired when member updates account settings
      • Payload includes:
        • action (either badges_chosen or no_badges_chosen)
        • badges (array of chosen badges, or empty if none chosen)
        • member (\IPS\Member)
  • FIXES
    • None
  • CHANGES
    • None
  • 5 months later...

Two quick questions. I just installed this and set it to have 4 badges displayed, however, there's a tiny bit of space in between each image. Is there a way to make them sit right against each other? And secondly, is there a way to hide the "View Badges" text under the badges in the user info panel/postbit? I don't use the badges the way a lot of other forums do so it's not something that's necessary for my site. 

Thanks!

  • Author
37 minutes ago, jinnie said:

there's a tiny bit of space in between each image. Is there a way to make them sit right against each other?

In your theme, add this to your custom.css and experiment with the minus figure to your liking:

div.neappMyBadges_wrapper > span.ipsPos_relative{
  margin-right:-1px;
}

 

37 minutes ago, jinnie said:

And secondly, is there a way to hide the "View Badges" text under the badges in the user info panel/postbit?

In your theme, edit the following templates: neappmybadges -> front -> postbit -> myBadges and neappmybadges -> front -> postbit -> noBadgesChosen, and remove the following:

<a href="{url="app=core&module=members&controller=profile&id={$member->member_id}&do=badges" seoTemplate="profile_badges" seoTitle="$member->members_seo_name"}" data-action="badgeLog" title="{lang="members_badges" sprintf="$member->name"}" class="ipsType_blendLinks" data-ipsDialog="" data-ipsDialog-title="{lang="members_badges" sprintf="$member->name"}" data-ipsDialog-size="{$dialogSize}" data-ipsDialog-forceReload="true" data-ipstooltip>{lang='neapp_mybadges_view_badges'}</a>

To do the same on mobile, edit the following templates: neappmybadges -> front -> postbit -> myBadgesPhone and neappmybadges -> front -> postbit -> noBadgesPhone, and remove the following lines:

<a href="{url="app=core&module=members&controller=profile&id={$member->member_id}&do=badges" seoTemplate="profile_badges" seoTitle="$member->members_seo_name"}" data-action="badgeLog" title="{lang="members_badges" sprintf="$member->name"}" class="ipsType_blendLinks" data-ipsDialog="" data-ipsDialog-title="{lang="members_badges" sprintf="$member->name"}" data-ipsDialog-size="medium" data-ipsDialog-forceReload="true" data-ipstooltip>

and

</a>

 

Recently Browsing 0

  • No registered users viewing this page.