Most Active Blogs plug in
October 3, 2008
Recently I developed a wordpress Mu called “Most Active Blogs”, this plugin is used as a widget, will appear in your dynamic side bars and enables you to show the most active blogs on your site, includes a link to the blog and the number of Blogs Posts for each blog.
Copy the code below and save it has most ActiveBlogs.php
To install it drop it in your wp mu plugins if yuo want to make this plugin available to your site or drop it in the plugins folder and activate it thru your plugins option on the backend.
If you have any question just send me an email.
Here is the link to download:
http://wpmudev.org/project/most-active-blogs
NOTE:
If your install of wordpress MU is working with sub-directories, change line 90 by this one:
echo ‘<li><a href=”http://’.$blog['domain']
posts</a></li>’;
October 15, 2008 at 8:33 pm
I activate the plugin and the widget shows up but when I add it to the sidebare it just does nothing. Waht do I need to do if I use it in my mu-plugins??? is there a code to call the function?
October 18, 2008 at 10:05 pm
You don’t need to call or edit anything, it must appear in your side bar.
October 23, 2008 at 11:25 am
The links to the blogs in the widget are incomplete. I have my blogs in subdirectories as opposed to subdomains. I’m guessing line 90 is the culprit, but I’m no PHP coder.
Can I impose on you for a little help?
Thanks.
October 24, 2008 at 1:31 pm
Thanks to Stephen Collins who provided the fix which makes Most Active Blogs plugin compatible with the subdirectories install.
Change the following lined:
echo ‘’. $blogname . ‘ ['.$blog['postcount'].’ posts]’;
By:
echo ‘‘.$blogname.’ - ’.$blog['postcount'].’
posts‘;
Thanks Stephen!
October 30, 2008 at 1:40 am
WordPress MU 2.6.3
Installed for subdirectories use
Have tried in both mu-plugins and plugin foler
Throwing an error line 17
“Parse error: syntax error, unexpected T_STRING in /usr/local/websites/wpmu/wp-content/mu-plugins/activeblogs.php on line 17″
Any thoughts?
October 30, 2008 at 9:15 am
Hi Jeff,
Please download and install from here:
http://wpmudev.org/project/most-active-blogs
October 31, 2008 at 6:49 pm
I tried this. I got this error:
Parse error: syntax error, unexpected T_STRING in /home/ramona/public_html/wp-content/mu-plugins/activeblogs.php on line 17
Any suggestions on what’s happening? Thanks. I have a l_sidebar.php and a r_sidebar.php, but changing your sidebar to either of those still did not work. Thanks again.
March 16, 2009 at 2:59 pm
Did you downloaded from http://wpmudev.org or copy paste the code?
Thanks Jorge
December 13, 2008 at 9:29 pm
Hi
Is it possible to use the plugin without dynamic sidebars please?
Thanks
Rich
December 15, 2008 at 4:17 pm
If you install it to the mu-plugin folder, the function should be available everywhere in your theme.
You can add the following code to your theme, where you want to show the most active blog
if (function_exists('most_active_render'))
most_active_render();
jorge
December 19, 2008 at 1:56 pm
This is great – what I really need though is a way to get this as an RSS feed. Any ideas?
January 1, 2009 at 6:58 am
I am running MU and tried to install this as a plugin and under mu plugins.
I get this error (I copied the code above and placed it into my plugin folder)
Parse error: syntax error, unexpected T_STRING in /home/public_html/wp-content/plugins/ActiveBlogs.php on line 17
This is line 17 in the code I copied.
register_sidebar_widget(’Active Blogs’, ‘most_active_render’);
I am very new at all of this … is there something I must add to the sidebar in order to make this show?
Thanks
Linda
January 3, 2009 at 11:33 pm
Please download the plug-in from here:
http://wpmudev.org/project/most-active-blogs
thanks
March 20, 2009 at 6:27 pm
thank you for a great plugin! I just installed it and it’s working flawlessly.
Regards,
Dianellys Morato