Coder Social home page Coder Social logo

thebrandonallen / bp-block-users Goto Github PK

View Code? Open in Web Editor NEW
7.0 4.0 2.0 377 KB

Allows BuddyPress administrators to block users indefinitely, or for a specified period of time.

License: GNU General Public License v2.0

JavaScript 3.87% PHP 92.29% Shell 3.85%
buddypress buddypress-administrators wordpress wordpress-plugin user-management

bp-block-users's People

Contributors

cameronjonesweb avatar thebrandonallen avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

bp-block-users's Issues

Drop support for WP 4.3

At the time of this issue, WP 4.3 usage is at 3.6%, which is below our 5% threshold. We should be the minimum WP version to 4.4.

Don't Work on wordpress 5.2.2

I've installed the plugin on wordpress 5.2.2 with latest buddypress plugin if i try to block an user i get this error :

Warning: call_user_func_array() expects parameter 1 to be a valid callback, class 'WP_Hook' does not have a method 'get_template_part' in /home/chatitaly/public_html/wp-includes/class-wp-hook.php on line 286

Notify User via Email when Blocked/Unblocked

I love that you’re preventing Buddypress from sending email notifications to blocked users, but I might suggest creating two new Buddypress “scenarios” so admins can use Buddypress’ native email functionality to notify the user that they’ve been blocked and, perhaps, for how long. Another would be for when a user is subsequently unblocked (manually or automatically).

Obviously, these two email scenarios would need to be allowed even while a user is blocked.

Buddypress already allows themes and plugins to add email scenarios (documentation link coming soon) which means all we would have to do is hook into that and provide a callback (i.e. “on block, User Blocked scenario fires” and vice versa).

Might fork your project and give it a go myself. No promises. Submitting this issue purely to document and as a (gentle) suggestion for enhancement.

Drop support for PHP 5.2

At the time of this issue, the WP usage stats for PHP 5.2 are at 4.8%. On top of this, BP dropped support for PHP 5.2 with the release of BP 2.8. In the near future, we should drop support for PHP 5.2 as well.

Plugin not working

Hi, Brandon
Thanks for your plugin. The ideas of your bp-block-users for specific time period are exactly what I want.
But, when I tried your plugin in my site, I found that it cannot block specific user role in specific time period. I'm using the latest WordPress 4.4.1 and BuddyPress 2.4.3.
Could you check that for me? Thanks a million.

Remove version `0.1.0` deprecated code

Since the rewrite happened while the plugin was still young and not heavily used, I'd rather give users a period to transition, and then remove the version 0.1.0 code altogether. The includes all deprecated functions, filters, and actions. The 1.3.0 milestone is a soft target depending on the time it takes to get to 1.3.0, but I'd like to make it happen.

Add block reasoning functionality

It would be nice for site with multiple admins to be able to add a note about the reason a user was blocked. I see this including the date the user was blocked, along with the admin that added the block.

0.2 Ready for use?

I am just wondering about using this plugin, it looks like you're saying 0.1.0 shouldn't be used, and I should be using 0.2.0. Any idea when 0.2.0 will be pushed to wordpress.org? Is it ready for testing now? Can I just grab a zip of the repo here and go?

Translation does not work to all fields and false linking

Hi,
I translated the pot file into German but unfortunately 90% shows still the English version. Second found out that the link to menu 'Block user' is linked to the own profile and not to the profile I'm watching. See the attached screenshots.

Would be great to check the connections of your great plugin. Use v1.0.1.

Kindest regartds,
Thorsten
01-09-_2017_21-49-58

01-09-_2017_21-58-13

Drop support for BP 2.4

At the time of this issue, BP 2.5 usage is at 6.5%. Stats for 2.4 usage aren't explicitly stated. With BP 2.9 imminent, and 6.5% being reasonably close to 5%, I think it's safe to bump the minimum BP version to 2.5.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.