1 esanchez Dec 27, 2007 05:29
3 sallym Dec 28, 2007 03:54
Hi Personman, Im interested in this but the link to the Plugin is saying "Sorry, there is no post to display..."
http://b2evo.astonishme.co.uk/index.php?title=mini_stats ??
Happy New Year :)
4 personman Dec 28, 2007 04:04
Sorry, here's the corrected link:
http://b2evo.astonishme.co.uk/index.php/2006/11/14/mini-stats
I fixed i on the plugin directory, too. Thanks for reporting the problem.
5 esanchez Dec 28, 2007 20:41
Hi Personman,
I updated to the latest version of b2evo.
I left you the following comment on your site:
Is there a way to call one widget at a time? I see a line of code in the comments here:
call_by_code( 'ministats', array() ); ?>
But I'm not sure if that is all the code needed.
I basically have customized the right-side of my skin and I'd like to call each individual widget at a time..instead of the entire "Sidebar" section.
Can you help?
Edgar.
6 personman Dec 28, 2007 20:59
I just replied to you by email.
You can continue to call plugins the old way using call_by_code or you can use containers. Or, I guess you could do some hybrid of the two by having several containers in your sidebar.
7 esanchez Dec 28, 2007 21:54
I'm running b2evo 2.2.0 and I installed the plugin. The plugin works great except I'm getting this error:
Notice: Undefined index: block_title_start in plugins/ministats_plugin/_ministats.plugin.php on line 241
Notice: Undefined index: block_title_end in plugins/ministats_plugin/_ministats.plugin.php on line 241
Stats
Notice: Undefined index: text in plugins/ministats_plugin/_ministats.plugin.php on line 313
I went ahead and installed the widget as well and made sure the options were selected there. That didn't fix it.
By the way, If I embed the ""Sidebar" CONTAINER EMBEDDED HERE -" code, I don't get this error. This only happens if I call the plugin directly.
Thoughts?
8 personman Dec 28, 2007 22:26
Grab the release with the fix here:
https://sourceforge.net/project/showfiles.php?group_id=160495&package_id=256756
Thanks for reporting.
9 esanchez Dec 28, 2007 23:06
Now I"m getting an error on line 315:
On your latest build, I'm getting an error on line 315:
$summary_text = str_replace($search, $replace, $params['text']);
I definitely appreciate your help... If you think this is related to my own config, don't worry about it. If not, I don't mind if you send me the files via email to make it easy to troubleshoot for us.
10 personman Dec 28, 2007 23:12
Sorry about this. I should have tested this by calling it the old way. Try this file:
brendoman.com/dev/evocms-plugins/ministats_plugin/ministats_plugin-2.2.3.zip
11 esanchez Dec 28, 2007 23:23
Excellent!.
Two quick comments:
1. -Even though I have unselected the "Summary" checkbox, the summary text still shows up on the right-column.
2.- My Home page is built on the "Blog All" (blog=1) and your code correctly says that "it has zero of everything". It would be cool if your code bypassed blog=1 for the summary text for this particular blog.
Everything else is great. Good work and thanks for writing this. I've seen the code and it looks pretty complicated. Lots of work.
Edgar.
You can always sort your blog by views just by adding ?orderby=views onto the end of the url.
There is a plugin that adds a widget with a list of the most viewed posts:
http://plugins.b2evolution.net/index.php/2006/11/14/mini_stats_1