bbPress Protected Forums Plugin

Posted by & filed under Web development, Wordpress, Wordpress Plugins.

plugin by:
Jordi Plana
Version:
1.0

Reviewed by:
Rating:
5
On September 19, 2012
Last modified:September 19, 2012

Summary:

bbPress Protected Forums adds a metabox, shown while editing a forum, that allows you to disable new topic creation for determined user roles. The plugin is perfect for those situations that you may want your users to see the list of topics of a forum but don't want them to create new topics.

You can download my WordPress Plugin: bbPress Protected Forums clicking here.

What does the plugin?

bbPress Protected Forums adds a metabox, shown while editing a forum, that allows you to disable new topic creation for determined user roles.

The plugin is perfect for those situations that you may want your users to see the list of topics of a forum but don’t want them to create new topics.

Plugin fully compatible with bbPress 2.x

How do I install de plugin?

Just download it from the WordPress plugins repository, activate it and enjoy!

Screenshots

Plugin info

Current version: 1.0
Author: Jordi Plana
Release log:

1.0

  • First version

11 Responses to “bbPress Protected Forums Plugin”

  1. Vicente Sivera

    Hola Jordi,

    he instalat el teu plugin a un projecte i aunque funciona de meravella tinc un dubte.

    Hi ha cap manera de restringir també als visitants que no estan logats?

    De moment he fet un arreglet posant un condicional en cas de que $current_user siga 0.

    El projecte, per si vols veure’l es aquest http://www.elplacerdeescribir.com/

    Moltes gracies!

    Reply
    • Jordi Plana

      Jordi Plana

      Hola Vicente,
      Gràcies per utilitzar el plugin!

      Pots afegir un condicional a la linea 36 del plugin, dins de la funció pf_start_capture just després del bucle foreach:


      if(!is_user_logged_in()){
      ob_start();
      add_action( 'bbp_theme_after_topic_form', 'pf_stop_capture');
      }

      La funció is_user_logged_in() torna false si l’usuari no està logat.

      Espero haver-te ajudat.
      Salut!

      Reply
  2. Fom

    Hola Vicente,

    Your plugin is very nice but i’m a beginner with WP.

    The plugin show the topic but I don’t want to is related on the FAQ

    But I don’t understand what I have to do for fix this mini-problem.

    Can you do a screencast and put on youtube the video ?

    Will be very simple to understand :)

    Merci d’avance !!!

    Fom de Bruxellas :)

    Reply
  3. Bobohat

    Hi Jordi,
    i just written an e-mail through your contact-form.
    Just wanted to know if its possible to keep your plugin up to date?
    I’m using the actual wordpress-version right now.

    Regards,
    Bobo :)

    Reply
  4. Fernando

    Hola Jordi,

    Tu plugin me parece genial, es justo lo que andaba buscando. Pero tengo un problema, cuando accedo a la pagina principal del foro, justo donde prodria crear un debate nuevo, me corta la pagina, la parte de la pagina del debate sale encima de la cabecera y después el resto. No se que puedo estar haciendo mal. Podrías ayudarme por favor.

    Reply
  5. Jeff

    While using this plugin along with Timber, I discovered a minor bug.

    The foreach on line 31 in the bbpress-pf.php file needs to “break” if a disallowed role is matched. Otherwise the ob_start() will be called multiple times but the pf_stop_capture() action is only called once. This creates a buffer level that never gets cleaned and can mess things up.

    Thanks.

    Reply

Leave a Reply