bSuite 4

bSuite is a set of tools that help surface interesting and relevant posts, help your users navigate your content, and help authors develop and publish content. Take a look:

bSuite stats
cache-friendly stats
bSuite search word highlighting
search word highlighting
bSuite related posts
related posts
bSuite options
easy options

Features

Details


Hey! Here’s a cool thing: the list of pages and their contents up there is automatically generated using the shortcodes in this plugin.

License & Warranty

This software is provided as-is, with no warranty of any kind — use it at your own risk and don’t blame me if it makes your mother complain about your haircut — under the terms of the GNU Public License.

Language Translations

Bugs

I’m certain there are bugs in here, please report what you find in the comments below.

121 Responses to “bSuite 4”

  1. Im also having this error.. how do i fix this?

    Warning: array_slice() expects parameter 1 to be array, boolean given in …/bsuite.php on line 2007

  2. Warning: array_slice() expects parameter 1 to be array, boolean given in …/public_html/wp-content/plugins/bsuite/bsuite.php on line 2007

    what with this error?

  3. well i keep having a dream that some ones drivi ng pass my house shooting at the house next to mine and they see me see them shoot and they start shooting at me and i just dont know what to do im scared to sleep in my room does this dream mens that it’s going to happen

  4. Same happen to my site that Jon said. Need a solution/help.

  5. Any luck on how to solve to issue that Jon said.

  6. hmm, seems a usefull pluggin, I will give it a try on my wp blog.
    thanks for your contribution

  7. When I try and install the 4.0.5 version I get:

    Fatal error: Call to a member function on a non-object in /bsuite/importer_bstat.php on line 277

  8. I got this error when I active it:

    Plugin could not be activated because it triggered a fatal error.

    Fatal error: Call to a member function bstat_insert_term() on a non-object in /home/*******/public_html/wp-content/plugins/bsuite/importer_bstat.php on line 277

    Any one solve it why it happend?

  9. @Chris & @Host & others: The error about importer_bstat.php is because the bStat upgrader is being activated before bSuite. The newly release 4.0.6 version removes the upgrader, so this shouldn’t be a problem in the future (unless you’re trying to upgrade a bSuite 3.x install). Simply delete importer_bstat.php and importer_tags.php and try reactivating.

  10. I’ve fixed the situation that led to warnings about array_slice(). It was sloppy on my part, but you also may want to suppress warnings/error messages in your php install for security reasons.

  11. Hi Casey,

    Bsuite calls an older duplicate version of JQuery from the WordPress installation when I use your plug-in on my site (I already have the most recent version installed for other programs). Is there a way to cancel the JQuery loading option in the head (this should be an options item in the settings configuration)?

  12. I did a little bit of reading on this, but have not figured out how to do it (use “wp_print_scripts,” “custom_add_javascript,” and “wp_enqueue_script” features in the functions.php file). I simply included a call for the script in the head section of the theme: custom and the jquery library. Everything is working, but I think the files are getting a little confused when I switch back and forth between the dashboard and the site itself. Any suggestions would be appreciated.

    • @EL:

      I think you’re on the right track. It’s probably loading different versions of jQuery in dashboard and on the site itself, but that shouldn’t be problematic. Can you say more about what you mean by “the files are getting confused”?

      Your site looks great, btw. It doesn’t look like you have bSuite activated now, so I can’t see for myself the conflicts. I can point you to another theme that uses a lot of JS (and uses the WP functions to avoid conflicts): P2 http://wordpress.org/extend/themes/p2 . Take a look in the functions.php http://svn.automattic.com/wpcom-themes/p2/functions.php , specifically at these bits:

      if (!is_admin()) add_action( 'wp_print_scripts', 'prologue_javascript' );
      function prologue_javascript() { ...
      wp_enqueue_script( 'p2js', get_bloginfo('template_directory' ).'/inc/p2.js', array( 'jquery' ), '200903301' );

      If you use the wp_register_script() function to register your version of jQuery, it will replace the built-in version. Something like this:

      wp_register_script( 'jquery', get_bloginfo('template_directory' ).'/js/jquery-1.3.2.min.js', array(), '200904221' );

      Then, for completeness, you should register and enqueue the other scripts used in your theme:

      wp_register_script( 'theme_functions', get_bloginfo('template_directory' ).'/js/functions.js', array('jquery', 'theme_domtab'), '200904221' );
      wp_register_script( 'theme_domtab', get_bloginfo('template_directory' ).'/js/domtab.js', array('jquery'), '200904221' );
      wp_register_script( 'theme_featured', get_bloginfo('template_directory' ).'/js/featured.js', array('jquery', 'theme_scrollable', 'theme_functions'), '200904221' );
      wp_register_script( 'theme_scrollable', get_bloginfo('template_directory' ).'/js/scrollable-1.0.2.min.js', array('jquery'), '200904221' );
      wp_enqueue_script( 'theme_featured' );

      (my guess about the dependencies of each script are just guesses and used to illustrate how it works.)

      Once the JavaScript is being loaded via the WP functions, WordPress will automatically manage dependencies and eliminate redundancy. So if you have other plugins that call jQuery, they’ll all use the same jQuery that you registered.

  13. Thanks for the compliments, and for the valiant effort at getting the code right. I tried a few things out, and it broke my javascript. So for now, I think I’m going to leave things as they are. I have the code references in the section of the site, and this seems to be a one solution recommended in the WordPress codex. The documentation for wp_register_script, and wp_enqueue_script is minimal and almost non-existent. Someone needs to write some plain language description and upload it to the codex site.

    Regarding possible conflicts, I have “firebug” running in the background, and I think “it” gets confused, and slows down the site (giving me the appearance of a conflict … just things running really slowly). I never had a bug, although I find all the javascript in the WordPress administration pages to be slow, quirky, and a tad buggy. I read they are working on a major overhall of the “script-loader.php” core file for WordPress 2.8, so I think they know there are some inconsistencies with how this is done. Most people are just running a theme with minimal adjustments, but I’ve been adding and discovering some features that I like with javascript, particularly with the many scripts that run on the jquery library.

    Thanks for the help (as always).

  14. Just upgraded to bsuite v 4.0.6. Until today everything was ok. Now I’m getting a non fatal error:
    WordPress database error: [Duplicate key name 'search']
    ALTER TABLE wp_bsuite4_search ADD FULLTEXT KEY search (content, title)

    Any idea?

  15. Hi

    I’ve installed this on 4 of my sites and everything is great except the incoming search terms.

    On three of my sites bstat is not recognizing any search terms that are used to find the sites. It still indicates that no search terms have been used to find the site from any search engine even though I know that is not the case as I access the sites through search terms myself.

    Any idea what may be wrong?

    Thanks

  16. Really like this plug but is there anyway to exclude the related posts element from Pages? Love it on the Posts.
    Thanks.

  17. Any help on why my bstat searchphrases table is not populating?

  18. How to show the related post just only the single post page, now it show on both home page (bottom of each post) and single post page?

    Thanks

  19. Any feedback on why the search phrases table is not being populated?

  20. Hi, I just install bsuite and absolutely loving it. I wanted to ask if exact matching of incoming search queries is possible? Currently all phrases are matched and it makes landing page ugly.

    e.g. If search query is “restart x server on jaunty” then on the landing page plugin highlights all words containing x like extra, xmas, index etc. which shouldnt happen. Only word x should be highlighted. Can you please implement this idea?

    Thanks for making great plugin
    -EnLi

  21. Hi,

    I added bsuite to my local installation of wordpress, and it works fine.

    When I have uploaded to my online webserver, it did run the stats until the 16th but after that it isn’t.

    It tried clicking the force migration button but still the same. While the one on my system works fine.

    Can you please let me know what might be possibly wrong.

    Also, I cannot see the bstat tables either online or offline generated in the database.

    Can you please let me know if i am missing something here.

    Thanks

  22. “Insert share links at bottom of posts” option is not visible in the admin area, and the template tag doesn’t seem to work! Running WP 2.8

  23. Bsuite and Scriblio are exactly what I’m looking for to catalog my US comic/DVD/CD collections, but I would like to use a larger image for the icon or an image that can be clicked on which then opens with lightbox. I forget which items I own when I go to the shops, so a full catalog with images and descriptions are useful for viewing on my phone.

    Where in the CSS or php is the image size handled? I’ve used firebug to debug the page, but I can’t find the relevant tags in the code.

    Apart from this little niggle, it’s a great plugin combination for wordpress :)

  24. Useful Article, thx a lot for teaching me

  25. Hi,
    I just activated this plugin and the page showed me:
    PHP Warning: shell_exec() [function.shell-exec]: Cannot execute using backquotes in Safe Mode in D:\webs\chi\news\wp-content\plugins\bsuite\bsuite.php on line 2208 PHP Warning: Invalid argument supplied for foreach() in D:\webs\chi\news\wp-content\plugins\bsuite\widgets\cms.php on line 203 PHP Warning: Invalid argument supplied for foreach() in D:\webs\chi\news\wp-content\plugins\bsuite\widgets\cms.php on line 217
    Can you tell me how can I correct this? Thanks!

  26. watching bstat reports for the longest time suddenly it just stopped collecting data. 0 page loads shown and 0 visitors. Google is also embedded on the page revealing visits all day long but nothing in the bstat reports. Does anyone know what happened?

  27. If we want to change the number of related posts displayed from 5 to 3, do we edit the following numbers in the last two lines from 5 to 3 in the bsuite.php file:

    // bsuggestive related posts
    add_filter(‘save_post’, array(&$this, ‘bsuggestive_delete_cache’));
    if( get_option( ‘bsuite_insert_related’ )){
    add_filter(‘the_content’, array(&$this, ‘bsuggestive_bypageviews_the_content’), 5);
    add_filter(‘the_content’, array(&$this, ‘bsuggestive_the_content’), 5);

    Thanks

  28. hi,

    i have trouble with bsuits now, why my bstat reports doesn’t work anymore?

    0 page loads and 0 visitors in last 24 hours:

    thanks.

  29. Hi-
    thank you for creating this great plug-in.
    I only have one concern/question:
    can we stop the plug in from automatically adding an id to the heading tags?

    this creates invalid code so when I validate the html on pages, I have to turn the plug in off,
    and manually remove all the id’s, then validate etc. I would rather just have the headings be left alone.

    Sincerely,
    Leah

  30. The “post loop” widget is part of bsuite but I can’t find any documentation about it?

    Thanks
    Mike

  31. Anyone else having issues with bSuite and WP 2.9.2? If I activate bSuite, I can’t view my edit pages/post screens in the admin.

    • This is the new error I get when bSuite is activated: Notice: Trying to get property of non-object in /wp-includes/general-template.php on line 366

  32. The Post Loop feature also seems to be broken using WP 2.9.2 … (incomplete) error message here when attempting to use the Post Loop widget:

    Warning: Invalid argument supplied for foreach() in [serverpath] /public_html/wp-content/plugins/bsuite/widgets/cms.php on line 203

    Unsure as to the root cause of this, not a bsuite expert but I do like the plugin’s features. Seems a shame to have to disable it :(

  33. Hello, I’ve seen you create a bSuite Drop Folder Media Uploader plugin but I could not find any information of how it runs on your blog. Any detail ?

    • @Li-An: yeah, I just posted it, but haven’t had time to document it. Short story: you can specify a directory on your host filesystem to watch. When new files are dropped there they get inserted into the blog. If you put the pictures in a named folder, it will create a post with that name and gallery with those pics. If the folder name is numeric, it will add the pics to the post with that ID number.

  34. bSuite Post Icon broken in WP 2.9.2 ?

  35. When trying to view the front page of my site, I am seeing endless redirects after installing bsuite (4.0.7) and scriblio (3.0-a1).

    nothing was changed after doing an install. I am using the default theme for WP 2.9.2.

    Any ideas?

  36. We have found Apache log entries that may be related to updates that occur in the wp_options table. The MySQL log says that the updates have to do with bSuites. Does bSuites cause regular updates of the wp_options table to occur? Thanks in advance.

  37. When adding this feed in shortcode to a page it does not show up. Here’s the shortcode [feed feed_url="http://205.186.161.103/indoor-rackmount/st-series-outdoor-and-indoor-nema-enclosures/?feedpages&child_of=92" count="7"]. It seems to be something with the link because I have tried other feeds and it works. Thanks for the help!

  38. Try one of the older versions. I think 4.0.6 has no WP 2.8 dependencies:

    http://wordpress.org/extend/plugins/bsuite/download/

  39. I’d love to use the bSuite plugin, but none of the widgets are displaying in my sidebar. I have the widgets set to display on the default sidebar for individual posts. I’ve tried widgets on pages, xwidgets, and everything else. The bsuite widgets won’t display anywhere? Please help?

Trackbacks

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> <pre lang="" line="" escaped="" highlight="">