This post was published long ago, when I was a student and an amateur blogger. The links might be outdated and content may not be useful anymore. Please read this content keeping its age in mind.
Here is yet another plugin developed by me for Buddyress with wordpress mu. This plugin works on similar lines to my earlier plugin “BuddyPress Ads”. For those who don’t know what is buddypress , here is an overview :
” BuddyPress will extend WordPress MU and bring social networking features to a new or existing installation.
BuddyPress is a suite of WordPress plugins and themes, each adding a distinct new feature. BuddyPress contains all the features you’d expect from WordPress but aims to let members socially interact. ”
BuddyPress Analytics Plugin :
This plugin will allow you to use your analytics script with your buddypress site(with wordpress mu) Supports any analytics script including but not limited to Google Analytics. Just replace the analytics code below with your own analytics code.
Google analytics users can just replace the google analytics ID (UA-5834099-9 in the code below) with your google analytics ID.
You can download the plugin here : Download Now !
== Installation ==
The installation is pretty simple as follows :
–> Replace the analytics code in bp-custom.php file with your analytics code.
—> Upload the bp-custom.php into your /wp-content/plugins directory
—> Done !
I hope this plugin will help lot of people like me who where struggling to track their wordpress mu site analytics 🙂
MarkS says
Thanks for your plugin. I am having a problem. I’d appreciate any ideas you have… I’ve added the code to bp-custom.php to use Google Analytics. All attempts to access the dashboard (/wp-admin and /wp-admin/index.php) result in a blank page (the dashboard will appear for a second and then go blank). No PHP Error messages are generated. ALL other Admin and Public pages work fine. Any ideas?
MarkS says
Thanks for your plugin. I am having a problem. I’d appreciate any ideas you have… I’ve added the code to bp-custom.php to use Google Analytics. All attempts to access the dashboard (/wp-admin and /wp-admin/index.php) result in a blank page (the dashboard will appear for a second and then go blank). No PHP Error messages are generated. ALL other Admin and Public pages work fine. Any ideas?
sandeephegde says
Hello,
Thanks for using the Buddypress Analytics Plugin.
Could you provide me the version of the wordpress and buddypress you are using. It worked fine when I tested with wordpress 2.8
Also cross verify with the other plugins.
sandeephegde says
Hello,
Thanks for using the Buddypress Analytics Plugin.
Could you provide me the version of the wordpress and buddypress you are using. It worked fine when I tested with wordpress 2.8
Also cross verify with the other plugins.
MarkS says
WPMU 2.8.6 and BP 1.1.3
I’ll disable all of the plugins and see if I can get Analytics to work. I’ll get back to you. Thanks for the quick response.
sandeephegde says
There seemed to be an issue. It has been fixed and i have updated the plugin code.
Please use the new version 1.1 at http://wordpress.org/extend/plugins/buddypress-analytics/
MarkS says
WPMU 2.8.6 and BP 1.1.3
I’ll disable all of the plugins and see if I can get Analytics to work. I’ll get back to you. Thanks for the quick response.
sandeephegde says
There seemed to be an issue. It has been fixed and i have updated the plugin code.
Please use the new version 1.1 at http://wordpress.org/extend/plugins/buddypress-analytics/
sandeephegde says
I think the buddypress community has provided various solutions for this 🙂
Checkout
http://buddypress.org/forums/topic/buddypress-analytics-kills-dashboard
sandeephegde says
I think the buddypress community has provided various solutions for this 🙂
Checkout
http://buddypress.org/forums/topic/buddypress-analytics-kills-dashboard
MarkS says
The feedback at bp.org was great. Thanks for looking into this and updating.
sandeephegde says
Thank you once again for using Buddypress Analytics Plugin.
Here is our my site running on Buddypress – http://www.belgaumpages.com
If you require any help in setting up your site, let me know 🙂
MarkS says
The feedback at bp.org was great. Thanks for looking into this and updating.
sandeephegde says
Thank you once again for using Buddypress Analytics Plugin.
Here is our my site running on Buddypress – http://www.belgaumpages.com
If you require any help in setting up your site, let me know 🙂
Ashfame says
Fix the code! The code is not even inside <?php ?> tags
sandeephegde says
Thanks dude. Had not noticed it while editing it last time. Check if everything is fine now 🙂
Dforester says
For what it's worth (wpmu 3.0 / bp 1.2.4.1), on BA 1.1, I had to do some escaping of the quotes to make it work.
K@G3 says
thank you for this plugin
but i got this error
syntax error, unexpected T_CONSTANT_ENCAPSED_STRING, expecting ‘,’ or ‘;’ in /home2/ondecity/public_html/wp-content/plugins/buddypress-analytics/bp-custom.php on line 28
can you help me?
I’m running WordPress 3.0.1 (single install, not MS) with BuddyPress 1.2.6 Like the commenter below, When I tried to activate this plugin, I got this error message at the top: Parse error: syntax error, unexpected T_CONSTANT_ENCAPSED_STRING, expecting ’,’ or ’;’ in (site url)/wp-content/plugins/buddypress-analytics/bp-custom.php on line 28
SEOshop says
Hi, I sorted the problem out. When the code in the plugin file gets to line 28 it “echo’s” a string with Javascript in it. It gets confused because of the single quotes and double quotes getting mixes up. The simplest solution is to just exit PHP (?>) at the start of the Javascript tag and begin it again after the Javascript closing tag. Problem solved!
Ignatiusjeroe says
Can you please sent the code.. Im no php expert..