Top Poster Statistics Widgets+Contest Winner+Page Of Day-Week-Month

Top Poster Statistics Widgets+Contest Winner+Page Of Day-Week-Month 2.1.0

No permission to download
Update is completed, version 1.1.0 should be released very soon with Widget framework integration.

Thanks guys for waiting. :D
I would rather wait a long time for a good addon than get a rushed one now. So you probably don't need this advice from me, but please take your time and make the best addon you can :)
 
I think it would be good that this addon for topics and not just for posts.
New topics are worth more than many posts for a forum.
 
still no idea how to add a widget.

what widget framework folder

First you need to have widget framework installed on your website.
Once you have that setup, just download this plugin extract the files.
Now here open the Widget Framework folder, you will find an XML.
Upload this XML to the Admin panel->Appearance->Import Widget
It then will be added to widget framework.

You would also have to go to Admincp->Options->Top Poster Of Month and disable the two checkboxes concerning the displaying of blocks in sidebar. If you don't do this you will have multiple copies of same block when using the widget framework.
 
lol my fault I had downloaded the zip folder and then unzipped the previous version. hence no widget framework forlder :D
 
I installed it, installed the widget framework and when I run the crob job I get this error.

Mysqli statement execute error : Column 'user_id' cannot be null

  1. Zend_Db_Statement_Mysqli->_execute() in Zend/Db/Statement.php at line 297
  2. Zend_Db_Statement->execute() in Zend/Db/Adapter/Abstract.php at line 479
  3. Zend_Db_Adapter_Abstract->query() in PosterOfMonth/Model/PosterOfMonth.php at line 73
  4. PosterOfMonth_Model_PosterOfMonth->endMonthCron() in PosterOfMonth/Cron.php at line 25
  5. PosterOfMonth_Cron::finishMonthlyContest()
  6. call_user_func() in XenForo/Model/Cron.php at line 356
  7. XenForo_Model_Cron->runEntry() in XenForo/ControllerAdmin/Cron.php at line 213
  8. XenForo_ControllerAdmin_Cron->actionRun() in XenForo/FrontController.php at line 347
  9. XenForo_FrontController->dispatch() in XenForo/FrontController.php at line 134
  10. XenForo_FrontController->run() in /home2/morethb8/public_html/bettingforum/admin.php at line 13
 
I installed it, installed the widget framework and when I run the crob job I get this error.

Mysqli statement execute error : Column 'user_id' cannot be null

  1. Zend_Db_Statement_Mysqli->_execute() in Zend/Db/Statement.php at line 297
  2. Zend_Db_Statement->execute() in Zend/Db/Adapter/Abstract.php at line 479
  3. Zend_Db_Adapter_Abstract->query() in PosterOfMonth/Model/PosterOfMonth.php at line 73
  4. PosterOfMonth_Model_PosterOfMonth->endMonthCron() in PosterOfMonth/Cron.php at line 25
  5. PosterOfMonth_Cron::finishMonthlyContest()
  6. call_user_func() in XenForo/Model/Cron.php at line 356
  7. XenForo_Model_Cron->runEntry() in XenForo/ControllerAdmin/Cron.php at line 213
  8. XenForo_ControllerAdmin_Cron->actionRun() in XenForo/FrontController.php at line 347
  9. XenForo_FrontController->dispatch() in XenForo/FrontController.php at line 134
  10. XenForo_FrontController->run() in /home2/morethb8/public_html/bettingforum/admin.php at line 13

Which version of the software are you using?
You have to update the addon files as well for it to work. This was already fixed in v1.01
 
I installed fresn installation of the new software. I see now that the leaderboard works, but when I run the other cron ir shows this, maybe because I dont have a previous month winner?
 
Also is there a way to use only thewidget, without the addon. I think its possible, I disable the addon( I have 2 leaderboards if I use the widget too) and its working good with only 1 leaderboard, but when I uninstall the leaderboard I get erorr that the table is missing.
end_Db_Statement_Mysqli_Exception: Mysqli prepare error: Table 'morethb8_xenforo.ls_pom_winner' doesn't exist - library/Zend/Db/Statement/Mysqli.php:77

Can I just create this table in phpmyadmin, but how many columns? or this doesnt matter?
 
I installed fresn installation of the new software. I see now that the leaderboard works, but when I run the other cron ir shows this, maybe because I dont have a previous month winner?

I will take a look at this and provide a better solution for people with new installs.

Also is there a way to use only thewidget, without the addon. I think its possible, I disable the addon( I have 2 leaderboards if I use the widget too) and its working good with only 1 leaderboard, but when I uninstall the leaderboard I get erorr that the table is missing.
end_Db_Statement_Mysqli_Exception: Mysqli prepare error: Table 'morethb8_xenforo.ls_pom_winner' doesn't exist - library/Zend/Db/Statement/Mysqli.php:77

Can I just create this table in phpmyadmin, but how many columns? or this doesnt matter?

Please install the addon, it handles all the processing stuff, also please uncheck the options in admincp for displaying the sidebar.
This thing would help you. Read the quote below

First you need to have widget framework installed on your website.
Once you have that setup, just download this plugin extract the files.
Now here open the Widget Framework folder, you will find an XML.
Upload this XML to the Admin panel->Appearance->Import Widget
It then will be added to widget framework.

You would also have to go to Admincp->Options->Top Poster Of Month and disable the two checkboxes concerning the displaying of blocks in sidebar. If you don't do this you will have multiple copies of same block when using the widget framework.
 
Thank you, now I understand how it works. But the error when I run the 2nd cron job is because I dont have previous monthly winner, and not because I made something wrong?
 
Thank you, now I understand how it works. But the error when I run the 2nd cron job is because I dont have previous monthly winner, and not because I made something wrong?

Ya I totally understand, I will add a security layer for people having new install of software whenever there is a version update. :)
 
Hello,

I have install the addon and the widget xml but i don't see a ribbon on the winner.
Also i have put on display 5 in sidebar and it gives always 10 posters. The winner of the month is also not shown in sidebar. Any help plz?
 
Hello,

I have install the addon and the widget xml but i don't see a ribbon on the winner.
Also i have put on display 5 in sidebar and it gives always 10 posters. The winner of the month is also not shown in sidebar. Any help plz?

I think it has to run a month before it sets one - until tabulations are done it does not show the top poster of the month (at least the the way it worked until it counted the posts)
 
Back
Top Bottom