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
Why would this suddenly vanish from my sidebar?

It's still installed, nothing has been changed but today it's now gone?
It's 1st march and nobody has posted anything yet on your forum. The cron should refresh the stats within 6 hours.
It would remain hidden unless somebody posts in the forum. It defaults to being hidden when there are no people to show in the leaderboard
 
After reverting to a different template it doesnt show anymore:

<xen:include template="ls_posterofmonth_index" /> i tried adding that to forum_list
 
It's 1st march and nobody has posted anything yet on your forum. The cron should refresh the stats within 6 hours.
It would remain hidden unless somebody posts in the forum. It defaults to being hidden when there are no people to show in the leaderboard


No. It's vanished now.

Nothing has changed
 
it's not done this way. The winner of previous month just gets the ribbon. No user group is created at the moment.

I sent a message to @surfsup as well with this suggestion - how about some metrics/optiions for user group promotions in the ACP so we can set up our own groups? Just a thought. :D
 
Looks like the update sorted mine out as well. It's not showing last months winners though. I guess this is due to the update?
 
After installing this version I am getting the following DB error in the ACP Log :( - here it is:

Code:
Server Error Log
Error Info
ErrorException: Cannot modify header information - headers already sent by (output started at /home/pgweb/public_html/forums/library/PosterOfMonth/Model/PosterOfMonth.php:140) - deferred.php:26
Generated By: Unknown Account, Today at 1:00 PM
Stack Trace

#0 [internal function]: XenForo_Application::handlePhpError(2, 'Cannot modify h...', '/home/pgweb/pub...', 26, Array)
#1 /home/pgweb/public_html/forums/deferred.php(26): header('Content-Type: a...')
#2 {main}

Request State

array(3) {
  ["url"] => string(49) "http://www.precursorgames.com/forums/deferred.php"
  ["_GET"] => array(0) {
  }
  ["_POST"] => array(4) {
    ["_xfRequestUri"] => string(59) "/forums/index.php?threads/stage-1-pushed-back-in-time.3274/"
    ["_xfNoRedirect"] => string(1) "1"
    ["_xfToken"] => string(8) "********"
    ["_xfResponseType"] => string(4) "json"
  }
}

Delete... Close

Any ideas?
 
After installing this version I am getting the following DB error in the ACP Log :( - here it is:

Code:
Server Error Log
Error Info
ErrorException: Cannot modify header information - headers already sent by (output started at /home/pgweb/public_html/forums/library/PosterOfMonth/Model/PosterOfMonth.php:140) - deferred.php:26
Generated By: Unknown Account, Today at 1:00 PM
Stack Trace

#0 [internal function]: XenForo_Application::handlePhpError(2, 'Cannot modify h...', '/home/pgweb/pub...', 26, Array)
#1 /home/pgweb/public_html/forums/deferred.php(26): header('Content-Type: a...')
#2 {main}

Request State

array(3) {
  ["url"] => string(49) "http://www.precursorgames.com/forums/deferred.php"
  ["_GET"] => array(0) {
  }
  ["_POST"] => array(4) {
    ["_xfRequestUri"] => string(59) "/forums/index.php?threads/stage-1-pushed-back-in-time.3274/"
    ["_xfNoRedirect"] => string(1) "1"
    ["_xfToken"] => string(8) "********"
    ["_xfResponseType"] => string(4) "json"
  }
}

Delete... Close

Any ideas?

My bad, just for testing I did a print on the cron job :p
https://mega.co.nz/#!gFhxHJ6Z!sMcsNQOEZURogPZ5LrXv13XVwuskGwIpASyg4WBvSfU
This is the same version, just update the files on the server no need to upgrade anything in admincp!
 
Code:
Mysqli prepare 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 '' at line 1

Zend_Db_Statement_Mysqli->_prepare() in Zend/Db/Statement.php at line 115
Zend_Db_Statement->__construct() in Zend/Db/Adapter/Mysqli.php at line 381
Zend_Db_Adapter_Mysqli->prepare() in Zend/Db/Adapter/Abstract.php at line 478
Zend_Db_Adapter_Abstract->query() in Zend/Db/Adapter/Abstract.php at line 734
Zend_Db_Adapter_Abstract->fetchAll() in PosterOfMonth/Model/PosterOfMonth.php at line 216
PosterOfMonth_Model_PosterOfMonth->changeUserGroup() in PosterOfMonth/Validate.php at line 15
PosterOfMonth_Validate::validateUserGroupsAllowed()
call_user_func_array() in XenForo/DataWriter/Option.php at line 346
XenForo_DataWriter_Option->_validateOptionValuePreSave() in XenForo/DataWriter/Option.php at line 211
XenForo_DataWriter_Option->_preSave() in XenForo/DataWriter.php at line 1446
XenForo_DataWriter->preSave() in XenForo/DataWriter.php at line 1385
XenForo_DataWriter->save() in XenForo/Model/Option.php at line 1131
XenForo_Model_Option->importOptionsAddOnXml() in XenForo/Model/AddOn.php at line 324
XenForo_Model_AddOn->importAddOnExtraDataFromXml() in XenForo/Model/AddOn.php at line 226
XenForo_Model_AddOn->installAddOnXml() in XenForo/Model/AddOn.php at line 169
XenForo_Model_AddOn->installAddOnXmlFromFile() in XenForo/ControllerAdmin/AddOn.php at line 187
XenForo_ControllerAdmin_AddOn->actionInstall() in XenForo/FrontController.php at line 347
XenForo_FrontController->dispatch() in XenForo/FrontController.php at line 134
XenForo_FrontController->run() in /opt/lampp/htdocs/xen13/admin.php at line 13

Had this probleme with previous version and this one too, what can be the cause? (xenforo 1.3 btw)
 
Code:
Mysqli prepare 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 '' at line 1

Zend_Db_Statement_Mysqli->_prepare() in Zend/Db/Statement.php at line 115
Zend_Db_Statement->__construct() in Zend/Db/Adapter/Mysqli.php at line 381
Zend_Db_Adapter_Mysqli->prepare() in Zend/Db/Adapter/Abstract.php at line 478
Zend_Db_Adapter_Abstract->query() in Zend/Db/Adapter/Abstract.php at line 734
Zend_Db_Adapter_Abstract->fetchAll() in PosterOfMonth/Model/PosterOfMonth.php at line 216
PosterOfMonth_Model_PosterOfMonth->changeUserGroup() in PosterOfMonth/Validate.php at line 15
PosterOfMonth_Validate::validateUserGroupsAllowed()
call_user_func_array() in XenForo/DataWriter/Option.php at line 346
XenForo_DataWriter_Option->_validateOptionValuePreSave() in XenForo/DataWriter/Option.php at line 211
XenForo_DataWriter_Option->_preSave() in XenForo/DataWriter.php at line 1446
XenForo_DataWriter->preSave() in XenForo/DataWriter.php at line 1385
XenForo_DataWriter->save() in XenForo/Model/Option.php at line 1131
XenForo_Model_Option->importOptionsAddOnXml() in XenForo/Model/AddOn.php at line 324
XenForo_Model_AddOn->importAddOnExtraDataFromXml() in XenForo/Model/AddOn.php at line 226
XenForo_Model_AddOn->installAddOnXml() in XenForo/Model/AddOn.php at line 169
XenForo_Model_AddOn->installAddOnXmlFromFile() in XenForo/ControllerAdmin/AddOn.php at line 187
XenForo_ControllerAdmin_AddOn->actionInstall() in XenForo/FrontController.php at line 347
XenForo_FrontController->dispatch() in XenForo/FrontController.php at line 134
XenForo_FrontController->run() in /opt/lampp/htdocs/xen13/admin.php at line 13

Had this probleme with previous version and this one too, what can be the cause? (xenforo 1.3 btw)

An updated version of code which the resource owner hasn't updated yet :P
Just use this file to install it on your server.

https://mega.co.nz/#!gFhxHJ6Z!sMcsNQOEZURogPZ5LrXv13XVwuskGwIpASyg4WBvSfU

I posted the update a few replies earlier!
 
Top Bottom