Recent Updates Toggle Comment Threads | Keyboard Shortcuts

  • Ben L. 11:43 am on Saturday, April 23rd, 2011 Permalink | Reply  

    Why it’s really hard to make plugins sometimes 

    Let’s assume you’re a plugin author and you want to write a plugin that checks important data for spam. Let’s also assume that the important data is handled by this function:

        // WEAPON LOCKED
    }
    function insert_some_important_data( $title, $content = '' ) {
        global $database;
    
        return $database->insert( $database->important_data_table, array(
            'title'   => $title,
            'content' => $content,
            'status'  => 'not-spam'
        ) );
    }

    You have absolutely no way (short of hooking the database’s insert function somehow) to modify the status before the important data goes into the database. It would also be very difficult to find out when the data is inserted into the database. The logical next step is to complain until something like this is added:

        // WEAPON LOCKED
    }
    function insert_some_important_data( $title, $content = '' ) {
        global $database;
    
        return $database->insert( $database->important_data_table, array(
            'title'   => apply_filters( 'important_data_title',   $title,     $title, $content ),
            'content' => apply_filters( 'important_data_content', $content,   $title, $content ),
            'status'  => apply_filters( 'important_data_status',  'not-spam', $title, $content ),
        ) );
    }

    Now, you can modify the data before it hits the database. But what if you want to stop it from going into the database in the first place? Cue another complaining session:

        // WEAPON LOCKED
    }
    function insert_some_important_data( $title, $content = '' ) {
        global $database;
    
        if ( !apply_filters( 'important_data_should_insert', true, $title, $content ) )
                return false;
        return $database->insert( $database->important_data_table, array(
            'title'   => apply_filters( 'important_data_title',   $title,     $title, $content ),
            'content' => apply_filters( 'important_data_content', $content,   $title, $content ),
            'status'  => apply_filters( 'important_data_status',  'not-spam', $title, $content ),
        ) );
    }

    Now you can cancel the data from hitting the database. However, there’s still no notification after the data is sent to the database. This cycle can go on forever if you’re not careful. Your function will eventually end up being eight million lines long.

    Advertisements
     
    • Pagal 1:41 pm on Thursday, November 17th, 2011 Permalink | Reply

      Hi… I need to add some additional field to the “post topic form”. So I want ‘title’, “url” ‘post’, ‘tags’, and one additional field. Is this possible? and if so – how?
      thanks

      Ref: http://bbpress.org/forums/topic/custom-post-form-fields

    • zawierzenie im 8:16 am on Sunday, May 12th, 2013 Permalink | Reply

      I’ll right away take hold of your rss feed as I can not find your email subscription link or newsletter service. Do you’ve any?

      Kindly allow me recognise in order that I may subscribe.
      Thanks.

    • Sarawharee 6:01 pm on Saturday, November 8th, 2014 Permalink | Reply

      Hi,

      Today I want share with you my favorite service to send anonymous emails with attachments,
      Test it for free from here : anonymous email with attachments
      Have fun, and contact me if you have questions !

      See you,
      Sara

    • gogocall.com 8:58 am on Thursday, March 23rd, 2017 Permalink | Reply

      Hi to every , because I am actually keen of reading this web site’s post to be updated on a regular basis.
      It contains pleasant stuff.

    • Culajayea 4:52 am on Monday, May 29th, 2017 Permalink | Reply

      Buy Acai Burn?-Does Acai Burn Actually Work?
      The pulp of the acai Berry contains exceptionally powerful antioxidants which may be clean out the digestive system very effectively.
      Moreover, fibre contained for the Acai Berry pulp further assists this technique.
      The result of any clean intestines is regular bowel movements which assist greatly in weight loss and an improvement in the metabolic history.
      With a higher metabolism the consumer uses way too calories compared to they would otherwise, promoting sustained weight decline.
      What is more, Acai berry are containing more both amino acids and proteins.
      Furthermore, they contain countless vitamins and minerals which serve to supplement diet plan of the consumer.
      Needless to repeat the Acai Berry has become very popular indeed along with the demand for your berry has grown exponentially!

      Apparently, individuals of Brazil have been hiding their secret to healthiness from a little berry called acai.
      The cat’s out of the bag now, though, and people all over the world are clamoring to get yourself a piece of this supplement action.
      In fact, Oprah Winfrey has touted incredible properties of acai for my child television show, “The Oprah Show.” On it, she brought from a specialist doctor, Dr.
      Perricone, to discuss the acai acai health benefits.

      Do end fooled along with many manufacturers of colon cleaning products that claim using their product alone will a person to to shed extra.
      acai berry cleanse side effects cleanse products are notorious for doing this generally there is absolutely in medical evidence to indicate that this is true.
      Read some customer reviews on suitable for and really can see that the claims are untrue.

      If do not want find one with a hundred percent acai, in the associated with other resources.
      Research each individual ingredient that is listed there.
      Exactly what the risks are, if any.
      Positive that each one of these them are awesome for each of you in the short and long-term.

      If you considering the what is acai berry loss, you have selected a good idea to begin to better health.
      Are generally various varieties of the berry including liquid form, as capsules and your actual fruit.
      Actual fruit (fresh or frozen) end up being hard to find depending on where reside in the world, but all forms are relevant.

      If are generally aspiring to get rid of pounds of fat at warp speed, you have to do the acai berry supplement consistently.
      Experts have also analyzed and accepted simple fact the acai berries have rich dietary fibers and the body building proteins, which stop the dropped excess weight from being re-accumulated inside a human bloodstream.
      Hence, you can never really muscle mass as such. Vivese senso duo shampoo

    • Culajayea 7:06 am on Monday, May 29th, 2017 Permalink | Reply

      Buy Acai Burn?-Does Acai Burn Actually Work?
      The pulp of the acai Berry contains exceptionally powerful antioxidants can easily be clean out the digestive system very basically.
      Moreover, fibre contained within the Acai Berry pulp further assists this.
      The result within a clean gi system is regular bowel movements which assist greatly in weight loss and an enlargement in the metabolic cash rate.
      With a higher metabolism the consumer uses many more calories than they would otherwise, promoting sustained weight fantastic.
      What is more, The acai berries are high in both proteins and necessary protein.
      Furthermore, they contain countless vitamins and minerals which serve to supplement this diet of the.
      Needless to the Acai Berry has become very popular indeed and the demand for that berry has grown exponentially!

      Apparently, folks of Brazil have been hiding their secret to healthiness in the little berry called acai.
      The cat’s out of the bag now, though, folks all around the globe are clamoring to obtain a piece of the supplement approach.
      In fact, Oprah Winfrey has now touted the amazing properties of acai on her behalf television show, “The Oprah winfrey Show.” On it, she brought from a specialist doctor, Dr.
      Perricone, to discuss the acai acai health benefits.

      Do quit fooled the particular many manufacturers of colon cleanse products which claim using their product alone will a person to to shed.
      acai berry cleanse side effects cleanse products are notorious for doing this right now there is completely no medical evidence to indicate that this is true.
      Read some customer reviews on merchandise and noticing see that their claims are untrue.

      If will not find one with fully acai, from the involving other aspects.
      Research each individual factor that is listed there.
      Know what the risks are, if any.
      Positive that nearly every one of them are great for each of you in quick and permanent.

      If you might be considering the what is acai berry loss, you have selected a good idea to commenced to better health.
      Are generally various varieties of the acai berries including liquid form, as capsules or the actual fruits.
      Actual fruit (fresh or frozen) become hard to get depending on where reside in the world, but all forms are applicable.

      If an individual aspiring to flush pounds of fat at warp speed, you must take the acai berries supplement all of the time.
      Experts have also analyzed and accepted the fact the acai berries have rich dietary fibers and the entire body building proteins, which stop the dropped excess weight from being re-accumulated from a human looks.
      Hence, you can never really put on weight as so much. Man pride

  • Ben L. 2:08 pm on Friday, April 22nd, 2011 Permalink | Reply  

    Now, you’re not required to lose your data!

     
  • Ben L. 11:59 am on Sunday, April 3rd, 2011 Permalink | Reply
    Tags:   

    How I feel after developing during intermittent power outages 

    AutoRank Plugin Plugin

    Oh yeah, AutoRank is coming soon as a plugin plugin

     
    • Sean 2:20 pm on Tuesday, August 2nd, 2011 Permalink | Reply

      I tried to download the autorank plugin and it 404’d from the plugin browser on bbpress. Just a heads up.

    • Elefantone 7:18 am on Friday, November 25th, 2011 Permalink | Reply

      I have a problem with AutoRank!
      I have WordPress 3.2.1 & bbpress 2.0, when I edit a post it returns a white page.
      I tried to deactivate all other plugins, and I’m sure that the problem is caused by AutoRank…
      Can anybody help me?

      • Elefantone 4:31 pm on Friday, November 25th, 2011 Permalink | Reply

        I enabled WP debug option and this is the result of the white page:
        Fatal error: Call to undefined function bb_get_usermeta() in ****/httpdocs/wp-content/plugins/bbp-autorank/bbp-autorank.php on line 301

  • Ben L. 5:02 pm on Saturday, March 12th, 2011 Permalink | Reply
    Tags:   

    On a forum with over 700 users that didn’t have Bozo Users activated, Delete All Bozos can’t wasn’t previously able to help.

    Delete All Bozos

    Guess what just happened.

     
    • jalex 12:09 pm on Wednesday, November 28th, 2012 Permalink | Reply

      hello ben,

      are you still developing?
      i need help – i tried deleting bozos on a 0.9 bbpress installation and it destroyed some features on the forum (commenting posting registration) – can you help – please email me back. thanks

  • Ben L. 12:00 pm on Saturday, March 12th, 2011 Permalink | Reply
    Tags:   

    bbPM Plugin Plugin 

    bbPM Plugin Plugin

    bbPM is the first plugin I will convert from bbPress Standalone to bbPress Plugin. This makes bbPM the first Plugin Plugin I’ve made.

    The screenshot above is unedited, and it shows my current progress in rewriting bbPM from the ground up. PM threads are available only to the users specified when the PM is created. I will add the ability to add users to a thread after its creation soon.

     
    • JLeuze 12:20 pm on Saturday, March 12th, 2011 Permalink | Reply

      That’s great news Ben! I’ve got a bbPress forum on which bbPM is well used and I’d hate to lose it when I eventually make the switch to the bbPress plugin.

    • darkhog 11:03 pm on Saturday, May 7th, 2011 Permalink | Reply

      Hello, I have problem with bbPM (maybe it is just misconfiguration on my side). As key master I can send messages, but when I created test user (I wasn’t able to test with real person, since my wp+bbpress portal is not yet publicly available), there wasn’t messages link in header (I have checked link in header option and it’s shown normally for key master). So what I need to do?

    • Tzafra 12:49 am on Thursday, September 22nd, 2011 Permalink | Reply

      A few questions:
      Is version 1.0.1 the latest version of bbPM, because that’s what I just downloaded?

      Is the only way to reply to a post via the #REPLY link under the message, such that the reply appears indented to the right of the original message, and the replies get farther and farther to the right, or is there a way for all the comments to end up aligned the same way?

      Thanks!!

    • discodan 1:16 pm on Sunday, December 18th, 2011 Permalink | Reply

      having trouble using avatars,/help

    • linxaddict 5:19 pm on Friday, January 13th, 2012 Permalink | Reply

      Having trouble with the install. Get the following error:

      Fatal error: Call to undefined function bb_load_plugin_textdomain() in …/pfa/wp-content/plugins/bbpm/bbpm.php on line 20

      I don’t know if this is an interaction with other plugins or what…

      Any ideas?

      • Tiago 10:03 am on Thursday, January 19th, 2012 Permalink | Reply

        I have the same problem. Anyone know why? I have wordpress 3.3

    • Lyndsay 8:48 am on Monday, February 13th, 2012 Permalink | Reply

      Hello, I too have the fatal error on the bbpress plugin version. Can you please advise on where I have gone wrong?

    • Thea 9:27 am on Monday, February 20th, 2012 Permalink | Reply

      Hi, great plugin thanks! i wondered if I can change the ‘Private Messages’ link in top banner to stand out more? Or even better to change colour when there are unread new messages?

      Many thanks in advance.

    • radi 12:59 pm on Wednesday, October 31st, 2012 Permalink | Reply

      Where can I download the bbPM plugin from?

    • Louis 6:28 pm on Sunday, December 9th, 2012 Permalink | Reply

      Hello,
      the plugin sounds great; but where can I download it from? I’ve searched the entire internet for it and could not find it.
      I will appreciate a link to the download page. Thanks in advance.

      • Ronen 3:14 pm on Wednesday, April 10th, 2013 Permalink | Reply

        Yeah any chance this plugin is still coming? I finally upgraded to v2.2 and this is the one feature I am missing

    • Steve W. 6:58 pm on Sunday, April 21st, 2013 Permalink | Reply

      This page is really old, I am guessing the development of this plugin is no longer happening? Shame if it is.

    • Kristina 6:46 am on Friday, October 4th, 2013 Permalink | Reply

      Is there a place to download this? I am one of the many looking fora simple solution for PM, but not an entire social network. Any hope of this coming out?

    • Engin 5:07 pm on Sunday, May 4th, 2014 Permalink | Reply

      Hi!. I am using bbPress1.2
      bbPM conflicts with NicerPermalinks plugin. Causes pagination problem.
      Solution:Change privatemessages.php line 183 into this pm_pages( max( $get == ‘pagenumber’ ? $action : 1, 1 ) );
      and bbpm.php line 441 into this ‘format’ => bb_get_option( ‘mod_rewrite’ ) ? ‘/pagenumber/%#%’ : ‘=pagenumber/%#%’

      Summary: change page to pagenumber
      that will help.

  • Ben L. 9:06 am on Saturday, March 12th, 2011 Permalink | Reply  

    It’s bbPress. Not bb_press, BBpress, or bb                       Press.
    Same goes for my username. It’s Nightgunner5, not Nightgunner, NightGunner, or NIGHT GUNNER FIVE.

     
  • Ben L. 1:58 pm on Friday, March 11th, 2011 Permalink | Reply  

    bbPress Plugin Repository: The Movie 

    See also:

    http://joncave.co.uk/2011/02/road-to-wordpress-3-1/

    http://blog.ashfame.com/2011/03/bbpress-development-visual-roadmap/

     
  • Ben L. 2:18 pm on Sunday, February 20th, 2011 Permalink | Reply  

    I’m programming one #bbPress and supporting another. Yay?

    http://twitter.com/Nightgunner5/status/39418464284323842
     
  • Ben L. 4:40 pm on Friday, February 18th, 2011 Permalink | Reply  

    *Brushes dust and cobwebs away*

    It’s been a long time.

     
  • Ben L. 8:49 am on Wednesday, July 28th, 2010 Permalink | Reply
    Tags:   

    Ben’s plugin is awsome! I think we could merge his plugin (and this ticket) into #538.

    mr_pelle on basic role management in bbPress
     
    • go2uk 12:16 am on Friday, September 10th, 2010 Permalink | Reply

      cool

    • sam 5:23 pm on Monday, December 6th, 2010 Permalink | Reply

      I can’t get this to work. I uncheck ‘Read the forums’ for inactive role, but all these users can still read the forum? Any ideas?

c
Compose new post
j
Next post/Next comment
k
Previous post/Previous comment
r
Reply
e
Edit
o
Show/Hide comments
t
Go to top
l
Go to login
h
Show/Hide help
shift + esc
Cancel
%d bloggers like this: