bsuite WordPress Plugin (b2 release)
redirect: http://maisonbisson.com/blog/bsuite
Contents:
The first thing we all have to agree on is that bsuite is the replacement for bstat. The name change reflects that fact that the plugin is doing a lot more than simply track page loads. The most exciting new feature is a module I can’t help but call bsuggestive. It uses the tags of the current post to suggest related posts to your readers. And when readers arrive at your site via a search engine, it not only highlights the search words they used, but offers a list of other posts matching their search criteria.
Why “b2″? I released b1 privately a while ago, and I’ve been running it here at MaisonBisson since September.
bsuite Features
- Tracks page loads (hits)
- Tracks search terms used by visitors ariving at your site via search engines
- Reports top-performing stories via a function that can be included in the sidebar
- Reports recent comments via a function that can be included in the sidebar
- Reports top search terms via a function that can be included in the sidebar
- Outputs a “pulse” graph of activity on your site or specific stories
- Highlights search words used by visitors ariving at your site via search engines NEW!
- Lists related posts at the bottom of the current post’s content NEW!
- Suggests posts that closely match the search criteria for visitors who arrive via search engines NEW!
- Integrates bsuite_speedcache NEW!
- Does some stuff with tags NEW!
Changes
This documentation supersedes any previous documentation.
I need to be honest, it’s been too long since the last public release for me to remember all the details. I haven’t really been keeping records on all this, so if you’ve been running the previous version and you discover a problem, please tell me about it.
The first change is that the plugin is now in a file named “bsuite.php”. As you install it you’ll need to deactivate the previous “bstat.php” version to avoid conflicts.
Another big change is that bsuite will now start tracking page loads as soon as it’s activated. You no longer need to put any code in your theme. But if you’re upgrading from a version where you already have that code in your theme, it also includes code to prevent it from double-counting any page loads.
The other functions from bstat b4 are all there, and I don’t believe there are any changes to the way they’re called.
The options submenu is almost entirely redesigned. It should be pretty self explanatory, but there’s documentation below.
Installation
Update: bugfix release b2v7 available.
- Download and unzip bsuite.zip
- Place bsuite.php in you wp-content/plugins directory
- Place spacer.gif in your wp-content directory
- Log in to your WordPress admin panel and activate the plugin, then visit the new bsuite submenu of the options tab. This will allow bsuite to create its database tables.
Stats collection will start automatically; you can see the results in the new bsuite Reports submenu of your Dashboard
- Once installed, be sure to enable the options and consider customizing the look by adding the bsuite CSS to your theme’s CSS (sample CSS here).
In order to view the stats reports reports on your public pages, you’ll need to add the display functions to your pages.
Upgrading
If you’re upgrading from bstat, be sure to delete or deactivate the old plugin before activating the new one. And don’t forget to visit the bsuite submenu of the options tab so that it can create its new db tables.
Options
The bstat submenu of the options tab has three configurable settings:
- Minimum userlevel to view bsuite reports
The options are restricted to users at userlevel 8 or above, but you can choose who can view the reports.
- Output default CSS
Some of the bsuite functions require CSS styles not found in the average style sheet. This will output default styles.
- Default pulse graph style
This sets how values are interpolated in drawing the pulse graph. Experiment with the options to see how they work.
- Suggest related entries in post
This will insert a block of links at the tail of each (tagged) post’s content with links to related posts at your site.
- Highlight search words and offer search help
The first part of this should be obvious, but the real trick here is using those search words to offer other related content from your site to visitors. It works (and looks) a lot like the option above, but the suggestions only appear when search words are detected.
- Filter incoming search terms using comment moderation and blacklist words.
Referrer spam is as much of a problem as trackback spam. There are a few tricks in bstat to prevent the problem, but here’s one you can configure. Selecting this option tells bstat to not display search terms that contain words in your moderation list or blacklist.
- Ignore hits from registered users at or above userlevel
No author wants to skew their stats just by poking around their own site.
- Ignore hits from these IP numbers.
Sites with low traffic may find that activity by authors severely skews the stats tracking. Enter an IP address here to ignore it.
Tag Support
Until WordPress adopts a standardized way to manage tags, we’ll have to deal with things like this.
bsuite recognizes tags in three forms:
- Any link with a rel=”tag” attribute
- Any number of single tags like this: <tag>tag name</tag>
- A block of comma-delimited tags like this: <tags>WordPress, WordPress Plugin</tags>
This appears to make it compatible with a number of existing tag management strategies now in use — including those used by Ecto and SimpleTags.
Tags in <tag> and <tags> tags are mapped to Technorati, but a future version will include an option to set other tag resolvers.
Using bsuite Functions
Though many bsuite features require no coding or modifications to theme files, there are a number of public functions available to display lists of top stories, recently commented stories, recent comments, recent incoming search terms, etc. Most of these functions take similar arguments and output their results in similar ways.
Today’s Stats
- bstat_todaypop
displays top stories for today only.
- bstat_todayrefs
displays top incoming search terms for today only.
The functions bstat_todaypop and bstat_todayrefs each take the same arguments.
Usage:
bstat_todaypop({count}, "{before}", "{after}");
count is the total number of results to output
before is a string to output before each result
after is a string to output after each result
Example:
<h2>Today's Most Popular</h2> <ul><?php bstat_todaypop(15, "<li>", "</li>\n"); ?></ul>
Recent Stats
- bstat_recentpop
displays top stories for the past x days. This function reveals more useful data on sites with low traffic, but is somewhat slower than bstat_todaypop.
- bstat_recentrefs
displays top incoming search terms for the past x days. This function reveals more useful data on sites with low traffic, but is somewhat slower than bstat_todayrefs.
The functions bstat_recentpop and bstat_recentrefs each take the same arguments.
Usage:
bstat_recentrefs({count}, "{days}", "{before}", "{after}");
count is the total number of results to output
days is the number of days back to look
before is a string to output before each result
after is a string to output after each result
Example:
<h2>Incoming Search Terms This Week</h2> <ul><?php bstat_recentrefs(15, 7, "<li>", "</li>\n"); ?></ul>
Recent Discussion
- bstat_discussionbypost
displays recently commented posts. Each post will appear only once.
- bstat_discussionbycomment
displays recent comments (and commenter). Better on sites with lots of community interaction.
The functions bstat_discussionbypost and bstat_discussionbycomment each take the same arguments.
Usage:
bstat_discussionbypost({count}, "{before}", "{after}");
count is the total number of results to output
before is a string to output before each result
after is a string to output after each result
Example:
<h2>Incoming Search Terms This Week</h2> <ul><?php bstat_discussionbypost(15, "<li>", "</li>\n"); ?></ul>
Special Functions
- bstat_pulse
displays the "pulse" graph of hits over time.
Usage:
bstat_pulse([{post_id}, [{max_width}, [{display_text}, [{display_credit}, [{graph_accurate}]]]]]);
post_id is the post_id for the story, usually provided by a WP variable
max_width is the maximum width the graph maw run
display_text (acceptable values: 0 or 1), switch to display stats for total views and average views per day
display_credit (acceptable values: 0 or 1), switch to display “powered by bstat” credit
graph_accurate (acceptable values: 0 or 1), make smooth, accurate graphs or fuzzy (but not inaccurate) graphs
Example:
<h3>Story pulse</h3><?php bstat_pulse($id, 525, 1, 1, 1); ?>
- bstat_hitit
The hamster on a wheel that makes it all work. It records hits for each page load, and hits for each incoming search term.
This function is no longer necessary, as it is executed automatically via a plugin hook that runs every time the footer is called. Still, it’s around if you have content that you want to track outside that scope.
Example:
<?php // this is how it used to work, but it's automated now...
global $id;
if (!is_single() && !is_page()) $id = 0;
bstat_hitit($id, "read");
?>
note: (be careful of any "curly quotes" that might have been accidentally/automagically inserted in code samples)
Known Bugs
The search word highlighting routine seems to still be buggy. Expect it to mis-recognize referrers, and one tester reported that it caused content not to display. Go ahead and enable it to see how cool it will be in b3, when it works, but I suggest disabling it for the moment.
Ryan Eby reminded me that I use a whole bunch of short PHP open tags (”<?” where I should have used “<?php”).
Zach pointed out that I’ve been sort of sloppy about using double-quotes where I should use single quotes and not single-quoting my array indices. All of this can add up to an unnecessary performance hit for high traffic sites (30,000 + daily page loads).
110 Comments
Comments RSS TrackBack Identifier URI
Sorry, the comment form is closed at this time.
[...]   bsuite b2,它的å‰èº«æ˜¯bstat,简å•好用的æ¥è®¿è€…统计æ’件。 by Scott | posted in WordPress Plugins Trackback URL | Comment RSS Feed Tag at del.icio.us | Incoming links [...]
[...] http://maisonbisson.com/blog/post/10900/ [...]
[...] bsuite b2,它的å‰èº«æ˜¯bstat,简å•好用的æ¥è®¿è€…统计æ’件。 Filed under: WordPress Comments: [...]
[...] update:Â bsuite b2 is out! [...]
[...] bsuite MaisonBisson.com A pretty comprehensive plugin (not yet tested, but inted to) that also includes some handy search features as well as incorporations of tags with searches. Could be a handy tool to help your readers find more of your content. search stats tags WordPress[...]
Hey, this is very exciting. There’s woefully little in the way of stats tracking, so I jumped on this as soon as I saw it on the WP Plugins RSS feed.
I seem to be able to get it running without any of the additional options turned on, but I get this error message when i turn on “tagging support”:
… so I guess this is probably what you are referring to ” and one tester reported that it caused content not to display.” ? Anyway, I’m hooked, I’d be more than happy to help test in the future.
keep up the good work!
-steve
“Fatal error: Call to undefined function bcmod() in /Library/WebServer/Documents/wordpress/wp-content/plugins/bsuite.php on line 1000″
Steve, interesting error. Do you know what version of PHP you’re running?
bcmod is an internal PHP function that’s been available since PHP3 (according to the docs). It’s used in the feature that does the search term highlighting.
[...] bsuite highlights the search words used to find blog posts in Google and other search engines, and uses those search terms to recommend other related posts at your WordPress site. [...]
hi. just came across this plugin, which sounds great
i installed it and things seem to work except i have one question and one problem:
1) regarding tags, where do i put this information? in the post itself?
2) secondly, i am getting the following speedcache error when i view posts:
[quote]
WordPress database error: [Table 'buzz_chanzero.wp_bsuite_speedcache' doesn't exist]
SELECT * FROM wp_bsuite_speedcache WHERE cache_item = ‘11209′ AND cache_bank = ‘bsuggestive’ AND cache_date >= ‘2005-12-01 13:24:35′ LIMIT 1 ;
WordPress database error: [Table 'buzz_chanzero.wp_bsuite_speedcache' doesn't exist]
REPLACE INTO wp_bsuite_speedcache (cache_date, cache_bank, cache_item, cache_content) VALUES (’2005-12-01 14:24:35′, ‘bsuggestive’, ‘11209′, ”);
[/quote]
one thing i know though is that all my wp database tables have the prefix of wp2_, not wp_
thanks!
Whoops, that’s a bug. Look for a patched release soon.
Hi I’m not sure if this is a but but when I put the code to show bsuite in the template “Story pulse” all I get is Story pulse and nothing, no errors or imgages… What’s going on? Thanks
thanks for the prompt response casey, i’ll keep my eye out.
also still wondering — regarding tags, when you say bsuite recognizes the following:
Any number of single tags like this: tag name
A block of comma-delimited tags like this: WordPress, WordPress Plugin
where do i put this info? in the post itself? or custom fields?
thanks,
-jon
Jon, regarding tag support, take a look at the SimpleTags documentation for how you enter the tags.
The code inside our plugins is different, but the user interface is the same. I’ll work up some better docs here soon.
I’m running
PHP Version 5.0.4
http://www.entropy.ch Release 1
yes, I agree, that is a very weird error to get.
when using “bstat_pulse”,is there any way to hide the pulse,but leave the other stuff?
[...] I’ve fixed a couple bugs in bsuite b2, released last week. [...]
regarding jon’s database error: i have exactly the same problem, although i already downloaded version b2 on nov 29. has there been an other update since?
forgot to mention, that the error only shows up, when ‘Suggest related entries in post’ is enabled.
Marco, please try release b2b, it fixes that error.
This is fantastic plugin I found today. I never think that wordpress plugin can do such thing. I will recommend to all my friends. Great job.
[...] I’ve fixed another bug in bsuite b2, my multi-purpose plugin. This update is recommended for all bsuite users. [...]
if i want to move to a new web host, can i save the current data?
Spranoid: yes. All the data is in the MySQL tables along with the WordPress content, so if you move everything together it should all work just fine.
Hi,
Compliments for your plug, I really wish to include on my site, but after install, I don’t see
nothing on my web site ( have a look ), only related: word appear, but not the suggestions and the higligtned text ,
so my question is this:
I maybe, must add some code?
if yes , where ?
thank you…
Thanks a lot! I saw it, wp_bstat_hits and wp_bstat_refs tables
djmitch: the suggested posts feature requires that you tag your posts.
A future version of bsuite will include features to automatically identify content keywords and related posts.
Casey,
Impressive stuff.
When I have “Highlight search words and offer search help” turned on, I get the same “Fatal error: Call to undefined function: bcmod() in /home/momsbinky/public_html/mwp/wp-content/plugins/bsuite.php on line 961″ error as Steve.
Thoughts?
Joel: can you say what version of PHP you’re running? What OS it’s running on?
As reported above, the bcmod() function is built in to PHP since 3.0.
There’s a chance that this should get reported as a bug in PHP…(?).
Casey,
Sorry. WP 1.5.2 and PHP 4.1.7-standard
Joel,
What OS? Did you build PHP from source or was it packaged by somebody?
I don’t know why it always goes wrong with my ‘RSS & OTHERS’ page:
http://blog.sparanoid.com/index.php/rss-others/
I just use Archive Template and Links Template
why this happens?
[...] This tool is really useful if you want to show your most popular post and most recent comment on your sidebar. You can download it here [...]
[...] Bsuite- stats tracking.. who’s visiting what page.. [...]
Really like the plugin! Just a question about multiple blogs:
I am currently using the Multiply plugin (for WordPress 1.5.x). If you aren’t familiar with it, what is important is that a different set of tables is created for each blog. I really don’t care about the “outside engine” capabilities, so I added my own site as a referrer in your code and your plugin works great for Wordpress searches from my own site now - except that it only works on the base site.
I’ve been looking through the code but haven’t run across anything else yet. Perhaps there is something that needs to be adjusted in the code to recognize the current tables being used (different prefix than the default blog)? Or perhaps there is something else?
I am currently using the Search Hilight plugin, but it doesn’t work like I want it to. Yours works wonderfully and I’d like to switch to it, but have to figure out how to get it to work on the other blogs.
Any help is appreciated!
Casey,
I’ve got the bcmod issue too. Also I get this little puppy when tryin’ to set it up in the options tab…
WordPress database error: [Access denied for user: 'ironhead2@%' to database 'ironhead2']
CREATE FULLTEXT INDEX bsuggestive ON wp_posts (post_content,post_title)
I tried to log in manually via phpMyAdmin and do it but couldn’t figure out how. Everything else seems to be workin’ great though. Thanks for the effort bud.
Exact version of PHP my host is runnin’? How do I tell. They seem pretty good ’bout updatin’ their stuff, and I gotta believe the version is post v3php… Any ideas how to skin’ this cat?
Hello,
Ive been making various modifications to the bsuite plugin to keep it XHTML 1.0 Transitional. In the examples given above, most of the function calls are placed inside tags. But if the function does _not_ return anything - say when there is no data available in the DB, youd end up with in your code.
This does not validate as XHTML 1.0 Transitional code. If you have tags, you also need to have tags inside.
Ive made the following modifications to the global bstat_reporter-function:
—-
if(count($rows)>0){
$report = “”;
foreach($rows as $row){
if(($row->post_id) && ($row->comment_id)){
$url = (get_permalink($row->post_id) . “#comment-” . ($row->comment_id));
}else if($row->post_id){
$url = get_permalink($row->post_id);
}else{
$url = ($baseurl . urldecode($row->url));
}
$linktext = urldecode($row->title);
if($wrap > 0)
$linktext = wordwrap($linktext, $wrap, “\n”, 1);
$report .= $before . “tooltip) . “\”>” . $linktext . “” . ($row->note) . $after\
;
}
}
else{
$report = “”;
$report .= $before .”None”. $after;
}
return($report);
—-
This is a suggestion of course - but afaics the code do need modifications to produce XHTML 1.0 transitional code.
Let me know if you need a diff instead.
Ok, since the tags obviously wasn’t properly escaped, my comment looks pretty retarded
There should be ul-tags and li-tags in there. Im guessing we all get the picture based on my modification.
[...] Seems like invalid XHTML 1.0 code sneaked into my frontpage through a 3rd party plugin called bsuite. Ive been working on making the plugin produce proper XHTML 1.0 code tonight, but I’m not done with the testing yet. [...]
Seems I accidentally broke the patch while trying to clean it up a little - you of course need to return $report for every foreach, and not do it like I did and return it once.
(Is there an edit button btw?)
I can’t seem to find your instructions for activating the feature that does this…
>>Suggest related entries in post
This will insert a block of links at the tail of each (tagged) post’s content with links to related posts at your site.>>>
What tag or function statement do I have to insert after my posts to get this to display.
Also will it work if I haven’t been manually tagging stories with descriptors?
Scott
Hi! Instead of the pulse graph, I have “graph element.graph element.graph element.graph element.” written many, many times! Do yo uhave any idea of what could be wrong?
Thanks
Didier
[...] I was then informed by my friend Shelby that I should really be running bsuite for wordpress and google analytics. Google wasn’t accepting any new users so I scramble and installed bsuite. I must admit that it is pretty damn cool for generating blog specific stats. [...]
[...] So, does that mean I can do XYZ that I’ve wanted to do? Maybe. Anybody who knows how to write a WordPress plugin can take a stab at playing with all that data. The “refine search†content in the right column, and the “alternate searches†content at the bottom is generated that way. Try this one: I’ve finally got the Wikipedia results I’ve always wanted in the catalog, just look in the right column. Or take a look at the “add to del.icio.us†link in the record display, that’s generated by a regular wordpress plugin written by Arne Brachhold, who wasn’t thinking of libraries or OPACs when he wrote it. And down at the bottom of the page you’ll see the a list of related works that’s built by my own bsuite plugin. Want COinS-PMH/unAPI? The interface and all the data are there to make it happen, and here’s a good plugin to start from. [...]
Hi!
Just installed bsuite, but in the admin area, i’m getting the following error:
WordPress database error: [Table 'heartsoulmight.wp_bstat_hits' doesn't exist]
SELECT concat(sum(hits_reads),’ (’,dayname(bstat_date),’)') as note FROM `wp_bstat_hits` GROUP BY bstat_date ORDER BY bstat_date DESC LIMIT 9
Any ideas? I love the idea of this plugin, but not sure what to do about the error.
Brian
Brian: be sure to visit the bsuite tab in the Options tab. That will trigger the process that checks to make sure the tables exist, and creates them if they don’t.
Hello,
Thanks for all your hard work on the bsuite plugin. It doesn’t seem to be logging any hits on my site though. I also added the code for showing recent incoming search terms and that isn’t showing anything yet either.
Any ideas? I tried disabling all my other plugins but that didn’t make a difference.
Many thanks,
Joa
Hi!
Thank you for this great plugin! I have initialised the tables under the options tab. However, when I go to the bSuite tab in the dashboard, I don’t have a pulse graph. Aall I see is many lines written “tabs elements.tabs elements.tab ele……”
What should I do to see the graph?
Thanks for your help
Didier
im doing a crash course in the bloggin arena and installed b2 for a friends blog. though im getting some errors. pls visit http://mashup.org/mashwp/
at the bottom there is a listing of errors.
is there something im doing wrong?
it might be very simple but i am a novice and i don’t understand the error message.
pls help .
thanks
I just wanted to leave a shout and say this plugin rocks! Amazing job. So far (more than a month) no errors, everything is going smoothly.
Beautiful!!
[...] The first option, which I’ve been using since I started Life After Coffee is Casey Bisson’s bsuite plugin. This plugin is what puts the Top Stories in my sidebar as well as handling my tagging, showing read counts at the bottom of stories, and much more. [...]
Hello!
I must say I really like this plugin.
But I found out that it doesn’t count referers (and probably search queries) from users that land on my front page..
Is this normal or some sort of bug?
thank you for your answer,
ruph
BSuite does not work on My SQL version 5.0
this is the error message i get
WordPress database error: [You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'reads FROM `wp_bstat_hits` GROUP BY bstat_date ORDER BY reads DESC LIMIT 10' at line 1]
SELECT concat(sum(hits_reads),’ (’,bstat_date,’)') as note, sum(hits_reads) as reads FROM `wp_bstat_hits` GROUP BY bstat_date ORDER BY reads DESC LIMIT 10
the highlighting box is eating up the top of my post. any help?
[...]    bsuiteåŽå°ç»Ÿè®¡æ’ä»¶ 看pv ç»Ÿè®¡ç•™è¨€ç‰ å¯ä»¥è®¾ç½®æŸ¥çœ‹æƒé™ 我设æˆ9 åªèƒ½è‡ªå·±çœ‹ï¼šï¼‰ [...]
I mentioned above that bsuite doesn’t count referrers and search queries on front page. Acctually it does, but it doesn’t show them in admin stats..
You can fix this by changing 2 SQLs.
line 1584:
$request = “SELECT a.post_id AS post_id, a.ref AS title, SUM(a.hits) AS sort_order, CONCAT(”, SUM(a.hits), ‘ hits, last hit on ‘, MAX(a.bstat_date)) AS note, ‘Go To…’ AS tooltip
FROM $bsuite_tables[bstat_refs] a
LEFT JOIN $tableposts b ON (a.post_id = b.ID)
WHERE bstat_date > ‘$date’
AND issearchengine = 1
GROUP BY a.post_id, a.ref
ORDER BY sort_order DESC
LIMIT $bstat_referrers
“;
line 1595:
$blog_name = get_bloginfo(’name’);
$request = “SELECT a.ref AS url, LEFT(a.ref, 60) AS title, SUM(a.hits) AS sort_order, ‘Go To…’ AS tooltip,
CASE WHEN b.post_title IS NULL THEN CONCAT(”, SUM(a.hits), ‘ hits to $blog_name’)
ELSE CONCAT(”, SUM(a.hits), ‘ hits to ‘, LEFT(b.post_title, 70)) END AS note
FROM $bsuite_tables[bstat_refs] a
LEFT JOIN $tableposts b ON (a.post_id = b.ID)
WHERE issearchengine = 0
AND bstat_date > ‘$date’
GROUP BY a.post_id, a.ref
ORDER BY sort_order DESC
LIMIT $bstat_referrers
“;
Maybe you could include this in your next release…
umgh.. bug..
$blog_name = addslashes(get_bloginfo(’name’));
Joa: another user, Jon Emmons, reported that some themes (he was using Connections) don’t call the wp_footer() function that bsuite relies on. Check your theme and add the bsuite_hitit() function as documented above.
Abs: I’ve had conflicting reports on MySQL 5 compatibility. I’ll be upgrading my development environment sometime soon, so expect full compatibility won’t be too far off.
dotcomUNDERGROUND: I’m having the same problems and I’ve seen them elsewhere. Working on it.
ruph: the left join is already in the next version. It’s taken a while, I know.
[...] 06.1.28 update: CountPosts 统计æ¯ç¯‡å¸–å的点击数 也å¯ä»¥ç»Ÿè®¡blog总æµè§ˆé‡ åŒæ—¶å¯ä»¥åˆ—出top Næµè§ˆé‡æœ€å¤šçš„帖å bsuiteåŽå°ç»Ÿè®¡æ’件也å¯ä»¥å®žçŽ°æ˜¾ç¤ºtopN reads ä¸è¿‡æ˜¯åŽå°çš„ ä¸”æ— æ³•æ˜¾ç¤ºå•è´´ 06.1.27 update: Wordspewajaxæ•ˆæžœçš„ç•™è¨€æ¿ ä¸ç”¨åˆ·æ–° 峿—¶æ›´æ–° å‚è§æˆ‘çš„sidebar [...]
[...] http://maisonbisson.com/blog/post/10900/ http://maisonbisson.com/blog/post/11032/ [...]
tnx Casey
[...] I’ve also tweaked the blog a bit to include the following plug-ins: bsuite - a stats program courtesy of Casey Bisson [...]
一款wordpress统计æ’ä»¶bsuite
bsuite是一款wordpress统计æ’件,它的å‰èº«æ˜¯bstat,简å•好用的æ¥è®¿è€…统计æ’件。
它的功能如下:
跟踪网页点击次数。
跟踪æœç´¢å¼•挚关键å—。
è¾“å‡ºç‚¹å‡»çŽ‡æœ€é«˜çš„æ–‡ç« ã€‚
输出最近的评论。
输出最…
[...] I’ve also tweaked the blog a bit to include the following plug-ins: bsuite - a stats program courtesy of Casey Bisson [...]
[...] Inside of Wordpress I use the phenomenal bsuite. Basically this keeps track of my individual story reads, incoming search terms, as well as tagging my posts and building related story references at the bottom of each post. If you run Wordpress, get bsuite, it rules. [...]
Had some SQL errors on the main rports page tracked it down to the use of a reserved word the synonym reads needs to be in quotes
line 1379
$request = “SELECT concat(sum(hits_reads),’ (’,bstat_date,’)') as note, sum(hits_reads) as ‘reads’ FROM `$bsuite_tables[bstat_hits]` GROUP BY bstat_date ORDER BY ‘reads’ DESC LIMIT $top_num”;
[tags]BUG[/tags]
[...] ã¾ãŸWordPressプラグインã§ã®æ—¥æœ¬èªžæ–‡å—化ã‘解消方法ã«ã¤ã„ã¦ã€ã§ã™ã€‚ç´ ç›´ã«æ—¥æœ¬èªžåŒ–ã•れãŸãƒ—ラグインを探ã—ã¦ã“ã„ã€ã£ã¦çªã£è¾¼ã¿ã¯ã•ã¦ãŠã。 先日StatTraqã§ã®æ—¥æœ¬èªžè¡¨ç¤ºã§StatTraqプラグインã§ã®æ—¥æœ¬èªžæ–‡å—化ã‘解消方法を説明ã—ã¾ã—ãŸãŒã€ã»ã¼åŒã˜ã‚ˆã†ãªè€ƒãˆæ–¹ã§bsuite WordPress Plugin (b2 release)も日本語文å—化ã‘を解消ã§ãã¾ã™ã€‚ bsuiteã®å ´åˆã€æ£ã—ã表示ã§ããªããªã‚‹ã®ã¯Top Incoming Searchesã§ã®æ—¥æœ¬èªžæ¤œç´¢æ–‡å—ã ã‘ã§ã—ãŸã€‚ 検索文å—列ã¯refererã‹ã‚‰å–å¾—ã—ã¦ã„ã‚‹æƒ…å ±ã§ã€DBã«ã¯refererã®ã¾ã¾urlencodeã•れãŸçŠ¶æ…‹ã§è¨˜éŒ²ã•れã¦ã„ã¾ã™ã€‚ ã“れãŒç›´å‰ã«ãƒ–ラウザã§åˆ©ç”¨ã—ã¦ã„ãŸæ–‡å—コードã®ã¾ã¾ã§è¨˜éŒ²ã•れã¦ã„ã¾ã™ã®ã§ã€ãれをSELECTã—ã¦ueldecode()ã—ã¦å‡ºåŠ›ã™ã‚‹éš›ã«ã€æ–‡å—コードををé©åˆ‡ãªã‚‚ã®ã«å¤‰æ›ã—ã¦ã‚„ã‚‹å¿…è¦ãŒã‚りã¾ã™ã€‚ mb_convert_encoding()ã§æ–‡å—コードを変æ›ã™ã‚‹ã®ã§ã™ãŒã€ä»Šå›žã¯é–¢æ•°ãŒä½¿ç”¨å¯èƒ½ã‹ãƒã‚§ãƒƒã‚¯ã™ã‚‹ã‚³ãƒ¼ãƒ‰ã‚‚入れã¦ã¿ã¾ã—ãŸã€‚ [...]
I keep getting this in the Options area:
WordPress database error: [The used table type doesn't support FULLTEXT indexes]
CREATE FULLTEXT INDEX bsuggestive ON mh_posts (post_content,post_title)
I have no idea what a fulltext index is and how to create it.
Can you please help me make it work?
)
(this is not the first time I have had problems with fulltext index
Michael: do you know what version of MySQL is running on your host?
I have MySQL 5.0 and PHP 5.0.5
I figured it out
Thx, for your help anyways.
[...] Thing is, it’s not just the stuff I’ve been linking to as examples that’s getting found in search engines. Listed below are the top 100 incoming search terms to WPopac from major search engines in the last week. The list is generated by bsuite, my multipurpose WordPress plugin, and the links lead to the item found with the search terms. [...]
[...] bsuite是一款wordpress统计æ’件,它的å‰èº«æ˜¯bstat,简å•好用的æ¥è®¿è€…统计æ’件。 它的功能如下: [...]
[...] O MightyAdsense–Wordpress Google Adsense显示æ’ä»¶ [主页] O Wordpress Adsenseæ’ä»¶-adsense-deluxe [主页] O Quote Comment-评论引用æ’ä»¶ [主页] O wordpress 留言/tagwallæ’ä»¶ [主页] O WP-Cache 2.0-wordpressç¼“å˜æ’ä»¶ [主页] O Audio Player Wordpress plugin-wordpressæ’ä»¶-éŸ³é¢‘æ’æ”¾æ’ä»¶ [主页] O bsuite–wordpress统计æ’ä»¶ [主页] O Wordpressåšå®¢è§†é¢‘æ’ä»¶Extreme Video Plugin 2.0 betaä½¿ç”¨æŒ‡å— [主页] O Livecalendar–日历æ’ä»¶ [主页] O WP-pageNavi–分页æ’ä»¶ [主页] O Google Sitemap–Google Sitemapæ’ä»¶ [主页] [...]
Hey,
The Bsuite wasnt working for my site to I looked around a bit. The thing is that I have the Blog address & wordpress addresses different. You plugin takes the blog address into account when looking for the spacer.gif file.
The line 753 needs to be changed from get_settings(’home’) to get_settings(’siteurl’) so that it can pick up the correct address to wp-content folder where the spacer.gif is lying.
BTW, a great plugin… thnx.
I must tell my friend ,your pretty site.
btw .this is a games site with flash you can download it.
http://www.lovefunnygames.com/
I’ve been trying to download this plugin several tmes, but the download link leads to dead-link
I’ve been trying too.
Reupload or mirror site of files, please
[tags]can\'t download bsuite plugin, need mirror site for bsuite[/tags]
Hey, just want to thank you for this plugin. This is one of the ‘fun-nest’ plugin I had. It works perferctly for me.
[tags]great WP plugin for stats, [/tags]
Yes…I can download it now. I’ll try this plugin
Thanks
If you’re having the bcmod issue, make sure that your PHP wasn’t installed with ‘–disable-bcmath’. This is configured at compile time.
To determine if you ahve this, create a .php file and put “” in it, and see if “–disable-bcmath” shows up. If so, you’ll have to reinstall PHP with the proper compile options.
Cheers!
(Visit my site for more programming related tips.)
bsuite has suddenly stopped working on my blog.
it was been working fine for a long time. but now it stopped logging any referrer / hit. i cheched the database table. there is no entry after july 4th.
though i currectly dont remember, but i think had disabled bsuite and set wpcaching to false for some time on 4th.
later i made several changes to my blog including activating wp-cache2, changing my server and installing mmcache. later i deactivated wp-cache2 plugin. i even deleted my bsuite tables and reinstalled bsuite (yes.. i did go to config to complete installing database tables). but still its not logging any data.
there are 0 records in all 3 tables.
any help on how i can get it back functional? its a really great plugin and i have already got very much dependet it.
server version info:
Apache version 1.3.36 (Unix)
MySQL version 4.1.19-standard
PHP version 4.4.2 with mmcache installed
[tags]bsuite stops working[/tags]
It’s a shot in the dark, but I’ve seen some caching plugins interfere with the stats tracking, and I’m told some themes don’t call the wp_footer() function and thus don’t play nice.
You may find you have to call the bstat_hitit() function explicitly (see above for docs).
Best of luck; please write back if you find anything.
opssss
sorry… yah the wh_footer() was not being called in the theme.
tnx once again for the support and the great plugin.
hope you will be releasing the next optimized version soon. i noticed a great increases page generation time.
best of luck (y)
can bsuite be used on pages?
I cannot download this plugin. Takes me to a page stating “Were Sorry….”. Ive tried so many times over the last few weeks, but no luck. It seems it was fixed sometime ago - but its happening again. Could anyone post a mirror?
Thanks
Anybody out there willing to post a mirror to download bsuite?
@apple:
http://rapidshare.de/files/25679132/bsuite.zip
[...] ä»ÍèÒ¹à¾ÔèÁàµÔÁàÍÒ http://maisonbisson.com/blog/post/10900/#section-3 µÍ¹áá¹Ö¡ÇèÒÍÍ¡àÊÕ§ÇèÒ àÁÅ ¡ÔºÊѹ àËÍÐæ [...]
[...] Solution for Call to undefined function bcmod() in bsuite wordpress plugin is : after [...]
I solved bcmod() issue, posted at my blog
[tags]bcmod problem solved[/tags]
bsuite.zip file unable to download..
broken link, could you place it to another place.
[tags]bsuite broken link[/tags]
[...] 上个月17å·å·¦å³æˆ‘在Wordpress上装了bsuite这个æ’ä»¶, 开始统计点击é‡. 到今天凌晨为æ¢, bsuite显示猫çªçš„æµè§ˆé‡ (Page Loads) 为7315, æ—¥å‡å¤§çº¦ 350. [...]
great plugin. It is working except for the pulse. Any ideas? I placed the php code left bottom, but nothing is shown, also no puls in the administrator menu
[tags]no puls[/tags]
impulse: make sure the spacer.gif is properly placed in your wp-content folder.
Hello!
I installed Wordpress on my server, and set up a site. It’s a relly nice piece of software. However, I am missing a piece of functionality, and
couldn’t find a suitable answer for it. Mayou you know a plugin I could use?I need to automatically inserts ads in my posts.And not AdSense ads, but rather HTML snippets defined by me (affiliate links, etc). Let’s say I would insert a tag in my post:
– ad here –
and the plugin would automatically replace it with some HTML code, when the post is displayed on my site.I really don’t need any fancy configuration options etc, just the basic replace functionality.
Do you know a plugin that can handle this?
[...] It’s been a while since I released a new version of bsuite, my multi-purpose WordPress plugin. I’d been hoping to finish up a series of new features, but those have been delayed and this is mostly just a collection of bugfixes. This update is recommended for all bsuite users. [...]
hello, your link bsuite.zip bring us to http://www.mac.com/1/bandwidth.html... wich shows this following message :You have requested a page that is not currently available due to data transfer restrictions. If the page you requested is yours, click here for more information.
… How can i get this bsuite ? plz… thanks
hello, your link bsuite.zip bring us to http://www.mac.com/1/bandwidth.html… wich shows this following message :You have requested a page that is not currently available due to data transfer restrictions. If the page you requested is yours, click here for more information.
… How can i get this bsuite ? plz… thanks
[tags]data transfer restrictions[/tags]
[...] 至8月1æ—¥0点æ¢, 在本地安装的bsuiteæ˜¾ç¤ºçŒ«çªæ€»æµè§ˆé‡12,594, Google Analytics显示本月æµè§ˆé‡3,389, 访问é‡1,890. 两者ä»ç„¶æœ‰å¾ˆå¤§å·®å¼‚. ä¸é—´æœ‰å››äº”å¤©å› ä¸ºä¸å°å¿ƒæŠŠä»£ç åˆ æŽ‰äº†, Google没有统计到数æ®. [...]
Hi - using WP 2.0.4. bsuite installed in plugins directory. The following two messages appear whenever I click on the bsuite section of the dashboard. Hope there is an easy fix?? Thanks!! And thanks for all your work on this!
(P.S. Have not left my email due to significant probs with doing so at various sites in the past.)
WordPress database error: [You have an error in your SQL syntax; check the
manual that corresponds to your MySQL server version for the right syntax to
use near 's pages' ELSE LEFT(b.post_title, 60) END AS title,
SUM(a.hits_reads) AS sor' at line 4]
SELECT a.post_id AS post_id, CASE WHEN b.post_title IS NULL THEN ‘alice’s
site’ ELSE LEFT(b.post_title, 60) END AS title, SUM(a.hits_reads) AS
sort_order, CONCAT(’Tot: ‘, FORMAT(SUM(a.hits_reads),
0), ‘, Avg: ‘, FORMAT((SUM(a.hits_reads)) / ((TO_DAYS(NOW())
- TO_DAYS(MIN(a.bstat_date))) + 1), 0), ‘, Max: ‘,
FORMAT(MAX(a.hits_reads), 0), ”) AS note FROM wp_bstat_hits a LEFT JOIN
wp_posts b ON (a.post_id = b.ID) WHERE bstat_date > ‘2006-08-1′ GROUP BY
a.post_id ORDER BY sort_order DESC LIMIT 5
WordPress database error: [You have an error in your SQL syntax; check the
manual that corresponds to your MySQL server version for the right syntax to
use near 's pages' ELSE LEFT(b.post_title, 60) END AS title, CONCAT('Avg' at line 4]
SELECT a.post_id AS post_id, CASE WHEN b.post_title IS NULL THEN ‘alice’s
site’ ELSE LEFT(b.post_title, 60) END AS title, CONCAT(’Avg: ‘,FORMAT(a.average, 0), ‘, Today: ‘,
FORMAT(a.today, 0), ‘, Change: ‘, FORMAT(today - average, 0))
AS note, (today - average) AS sort_order FROM movers a LEFT JOIN wp_posts b
ON (a.post_id = b.ID) ORDER BY sort_order DESC LIMIT 5
bsuite updated
Please post comments on the most recent release.
[...] Using Casey Bisson’s BSuite I can easily see the top in-coming search terms. It turns out that not everyone coming here is finding what they are looking for. Lots of people are looking for goodbye poems. Besides saying goodbye to the Poetry Bus again I can’t do much for those people. But there are other people who want to know about Lemurs. Some want to know what a lemur looks like wet, still others want lemur poems, or lemurs dancing or even lemur videos. To those last folks I present this video of lemurs doing whatever is it that they do… to the song “Move It.” Thank you youtube. [...]
[...] I started using Google Analytics to track the hits to my blog last April. According to bsuite, I just topped 33,000 hits (although I cannot remember when I installed/reinstalled bsuite so the data does not necessarily jive with the date!) which compared to the traffic count of Will Richardson and Casey Bisson is peanuts but I am not yet in their league. [...]
[...] bsuite是一款wordpress统计æ’件,它的å‰èº«æ˜¯bstat,简å•好用的æ¥è®¿è€…统计æ’件。 它的功能如下: [...]
[...] Wordpress B2suite Stats for Wordpress (tags: wordpress Plugin Blog bsuite tools stats blogging) [...]
[...] bsuite是一款wordpress统计æ’件,它的å‰èº«æ˜¯bstat,简å•好用的æ¥è®¿è€…统计æ’件。 它的功能如下: [...]
[...] bsuite是一款wordpress统计æ’件,它的å‰èº«æ˜¯bstat,简å•好用的æ¥è®¿è€…统计æ’件。 它的功能如下: [...]
[...] pat turi galimybę pateikti populiariausių straipsnių sąrašus. Keli iš jų: Referral Tracker, bsuite b2, Site [...]
[...] http://www.maisonbisson.com/blog/post/10900/#section-3 [...]
[...] http://www.maisonbisson.com/blog/post/10900/#section-3 [...]