• Resolved theredheadhenry

    (@theredheadhenry)


    Hello again! I’ve finally had time to dive in to the new version of this plugin. Really like where it’s going.

    Is it possible to hide the rank on specific users?

    What I’m essentially trying to do is have all my subscribers go through the regular ranks that show an image of what rank they are at. That works perfect! But all Admins and MODs I would like to have them have a special badge displayed (which also works) but unfortunately there posting rank also shows. So it’s like they have two ranks. Anyway to hide it for those users (admins and MODs)?

    https://www.ads-software.com/plugins/bbp-user-ranking/

Viewing 8 replies - 1 through 8 (of 8 total)
  • Thread Starter theredheadhenry

    (@theredheadhenry)

    Like adding an option (maybe a checkbox) in the user_profile.php that just says, “hide user rank”. If checked it hides the image and or text of the users rank.

    Plugin Author Robin W

    (@robin-w)

    I am away for two weeks shortly, so I do not plan any updates until I return, but yes that is a good thought – I’ll have a think about what the best way to achieve this might be.

    If I haven’t come back in 3 weeks, post here again to remind me !

    Thread Starter theredheadhenry

    (@theredheadhenry)

    No problem will do! I’ll def donate if you can get this working. I think having an option to turn off the rank for specific users has advantages in some cases. I was playing around with some snippets of code trying to get it working but I can’t seem to find the right bits of code.

    Thread Starter theredheadhenry

    (@theredheadhenry)

    Just sending a friendly reminder. No rush on this. I also contributed a little something. ??

    Plugin Author Robin W

    (@robin-w)

    version 1.8 just released

    you can now either:

    hide items by role in dashboard>settings>bbp user ranking>display and see ‘display exceptions’

    or

    hide items for individual users in dashboard>users>edit user and near the bottom you’ll see the ability to hide items.

    I’ve let the plugin user decide what can be hidden

    Let me know if this works for you – or what else is needed.

    Thread Starter theredheadhenry

    (@theredheadhenry)

    Dude, you rock! I’ll test this out when I get home later and let you know how it is.

    Just out of curiosity, what files did you make changes too?

    Thread Starter theredheadhenry

    (@theredheadhenry)

    Perfection! You sir, solved all my issues. This plugin is awesome, keep doing what you’re doing.

    Plugin Author Robin W

    (@robin-w)

    change files are

    display.php – added the roles to the bottom
    user_profile.php – this hooks to the individual user editn in dashboard
    functions.php – added checks to see if it should be dispaying eg see function bur_topic_count($topics, $bur_id) around line 115 for an example

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Remove rank image for specific user’ is closed to new replies.