bbPress

Simple, Fast, Elegant

bbPress plugin browser »

Plugin browser for bbPress (0.1.12)

Download

Version: 0.1.12

Other Versions

Last Updated: 2007-7-30

Requires bbPress Version: 0.8.2.1 or higher

Compatible up to: 1.0 alpha build 892

Plugin Homepage »

Average Rating

5 stars
4 stars
3 stars
2 stars
1 star
(4)

Your Rating

Author: Sam Bauers

This plugin provides an interface in the bbPress admin area where a keymaster can install, upgrade and uninstall plugins that are featured in the bbPress plugin repository here http://bbpress.org/plugins/


  1. Is making the my-plugins folder secure? And this is a great plugin. You should make it sorted like bbpress.org's plugin website (Updated Plugins, Newest Plugins, Popular Plugins, Highest Rated Plugins etc..)

    Posted: 1 year ago #
  2. tbronson

    Member

    I've just installed 0.1.12. None of my currently installed plugins are indicated in the Local Version column. What should I do?

    Posted: 1 year ago #
  3. Note that you won't see local version numbers unless you have installed a plugin listed via the plugin browser itself. It cannot detect existing plugin versions - at least not in 0.1.12 (though I would love to see this ability).

    I suspect the problem lies in matching up the local file/plugin-name with the remote name. Not all the information needed is available at a local vs. remote level.

    Posted: 10 months ago #
  4. I've actually been using plugin-browser for some time with 0.8.3 - worked great. When I upgraded to 0.9.0.1, all my local version info disappeared. But all my plugins are there and working from 0.8.3. Strange.

    Will dig around - see what I find.

    Posted: 7 months ago #
  5. baptiste, the plugin probably broke because 0.9 changed to a weird storage method that flags if a plugin (also themes) is built-in or 3rd party. It adds the stub user# or core# to the location. Someone will have to go in a do a replace on those two triggers with the actual paths.

    Posted: 7 months ago #
  6. Fix for this plugin in 0.9 :
    http://bbpress.org/forums/topic/fix-plugin-browser-for-09

    if you are running 0.9 and plugin browser, you probably see no version listed for all plugins in the 'Local' column. This is due to a change in how bbpress stores the plugin paths in the DB (_ck_ clued me into that) The fix is easy:

    In the main plugins-browser.php file, add 'user#' before pb-- or pb\-\- on lines 681 (in the preg_replace statement) and line 698 ($plugin['version_local'])

    Once I did that, the browser worked fine with correct version info, showed updates that existed, and installed them no problem.

    Posted: 6 months ago #
  7. Sam you'll want to set some timeouts in that CURL routine just in case the server isn't reachable which I've experienced twice

    curl_setopt($ch, CURLOPT_CONNECTTIMEOUT,10);
    curl_setopt($ch, CURLOPT_TIMEOUT, 10);

    I can give you similar code for fsockopen which also has a connecttimeout option and a (less documented) transfer timout option.

    Posted: 1 month ago #
  8. I am currently using bbPress 0.9.0.2

    After activating plugin and I try to fetch the plugin list from the server and it gives me this little diddy;

    bbPress database error: [MySQL server has gone away]
    SELECT * FROM bb_topicmeta WHERE topic_id = 0 AND meta_key = 'plugin_browser_local_list'
    
    bbPress database error: [MySQL server has gone away]
    INSERT INTO bb_topicmeta (<code>topic_id</code>,<code>meta_key</code>,<code>meta_value</code>) VALUES ('0','plugin_browser_local_list','a:163:{s:11:\"68-gravatar\";a:11:{s:4:\"name\";s:11:\"68 Gravatar\";s:3:\"uri\";s:15:\"http://68kb.com\";s:11:\"description\";s:233:\"
    
    This plugin allows you to generate a gravatar URL complete with rating, size, default, and border options. See the documentation for syntax and usage.
    \";s:6:\"author\";s:11:\"Eric Barnes\";s:10:\"author_uri\";s:15:\"http://68kb.com\";s:7:\"version\";s:3:\"1.0\";s:11:\"plugin_link\";s:71:\"68 Gravatar\";s:11:\"author_link\";s:71:\"Eric Barnes\";s:8:\"filename\";s:15:\"68-gravatar.php\";s:2:\"id\";s:11:\"68-gravatar\";s:8:\"revision\";i:861;}s:18:\"accurate-post-time\";a:11:{s:4:\"name\";s:18:\"Accurate Post Time\";s:3:\"uri\";s:0:\"\";s:11:\"description\";s:227:\" 
    
    etc.

    The rest of the list appears to be the whole plugins list.

    I tried putting this option in:

    curl_setopt($ch, CURLOPT_CONNECTTIMEOUT,10);
    curl_setopt($ch, CURLOPT_TIMEOUT, 10);

    But no luck...

    Any ideas?

    Posted: 1 week ago #
  9. I don't think that's a curl timeout issue, especially if it's returning the list, but rather a connection problem with your local mysql server.

    MySQL server has gone away error means that your mysql server timed out and closed the mysql connection.

    That means it's taking so long to download the entire svn that your host is no longer willing to keep the mysql connection open (this is usually done to preserve mysql performance).

    wait_timeout has to be adjusted somehow.

    Not sure if this is a legal command from an end user connection but you can try putting this before the curl_opt commands.

    $bbdb->query("set global wait_timeout = 30");

    Posted: 6 days ago #
  10. No go on that one _ck_

    Wouldn't load the plugin page after the changes.

    Any other ideas?

    Posted: 6 days ago #
  11. I just verified MySQL settings and wait_timeout is set to 40.

    Is that high enough?

    Posted: 6 days ago #
  12. I guess the number of plugins has grown to the point that the way he crawls the svn is taking too long.

    My server is able to fetch the list in about 20 seconds.

    Here's an attempt to make the dataset a plugin
    1. download this
    http://pastebin.com/pastebin.php?dl=f70b334af
    2. save it as something like "dataset.php"
    3. activate and immediately deactivate it
    4. make sure you deactivate and delete it

    You should then have the latest 1501 dataset installed.
    Don't try to fetch the list again until you know why your server is so slow to fetch it.

    Posted: 6 days ago #
  13. It is giving me a fatal error on Plugin activation!

    I know you are trying hard _ck_, so thanks!

    Posted: 6 days ago #
  14. Hmm, I see at least one typo, sorry, try this:
    http://pastebin.com/pastebin.php?dl=f70b334af

    Posted: 6 days ago #

RSS feed for this topic

Add a Comment

You must log in to post.

Code is Poetry.