• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

Admin Notes 1.1.0

No permission to download
Notes in the AdminCP

Liam W

Well-known member
#1
Liam W submitted a new resource:

Admin Notes - Notes in the AdminCP

This is a simple addon that adds a notes facility to your AdminCP.

These notes are on a different page, and can be added and viewed by all with access to the AdminCP.

They can be deleted only by the creator.

If there are notes an admin hasn't viewed, an important message bar will be shown on the home page (of the AdminCP) linking them to the notes page.
Read more about this resource...
 

Helldon

Active member
#2
If we click on "There are unseen notes, click here to view them"

We got this error:

Error
The requested page could not be found.
 

Helldon

Active member
#7
Yea, had that one but this one should be better organized.
If there are notes an admin hasn't viewed, an important message bar will be shown on the home page (of the AdminCP) linking them to the notes page.
He allready answered my question, waiting for another response. But thanks for the headsup mate!
 

melbo

Well-known member
#11
We stopped using this and after uninstalling are getting errors when trying to set up a new admin. It would appear that there is some cruft left over after uninstalling?

Code:
Mysqli statement execute error : Field 'last_note_viewed' doesn't have a default value

Zend_Db_Statement_Mysqli->_execute() in Zend/Db/Statement.php at line 297
Zend_Db_Statement->execute() in Zend/Db/Adapter/Abstract.php at line 479
Zend_Db_Adapter_Abstract->query() in Zend/Db/Adapter/Abstract.php at line 574
Zend_Db_Adapter_Abstract->insert() in XenForo/DataWriter.php at line 1624
XenForo_DataWriter->_insert() in XenForo/DataWriter.php at line 1613
XenForo_DataWriter->_save() in XenForo/DataWriter.php at line 1405
XenForo_DataWriter->save() in XenForo/ControllerAdmin/Admin.php at line 133
XenForo_ControllerAdmin_Admin->actionSave() in XenForo/FrontController.php at line 347
XenForo_FrontController->dispatch() in XenForo/FrontController.php at line 134
XenForo_FrontController->run() in /home/****************/admin.php at line 13
 

Liam W

Well-known member
#12
We stopped using this and after uninstalling are getting errors when trying to set up a new admin. It would appear that there is some cruft left over after uninstalling?

Code:
Mysqli statement execute error : Field 'last_note_viewed' doesn't have a default value

Zend_Db_Statement_Mysqli->_execute() in Zend/Db/Statement.php at line 297
Zend_Db_Statement->execute() in Zend/Db/Adapter/Abstract.php at line 479
Zend_Db_Adapter_Abstract->query() in Zend/Db/Adapter/Abstract.php at line 574
Zend_Db_Adapter_Abstract->insert() in XenForo/DataWriter.php at line 1624
XenForo_DataWriter->_insert() in XenForo/DataWriter.php at line 1613
XenForo_DataWriter->_save() in XenForo/DataWriter.php at line 1405
XenForo_DataWriter->save() in XenForo/ControllerAdmin/Admin.php at line 133
XenForo_ControllerAdmin_Admin->actionSave() in XenForo/FrontController.php at line 347
XenForo_FrontController->dispatch() in XenForo/FrontController.php at line 134
XenForo_FrontController->run() in /home/****************/admin.php at line 13
Are there any other errors? The tables should removed on uninstall.

Liam
 

melbo

Well-known member
#13
Code:
Zend_Db_Statement_Mysqli_Exception: Mysqli statement execute error : Field 'last_note_viewed' doesn't have a default value - library/Zend/Db/Statement/Mysqli.php:214
Code:
#0 /home/survival/public_html/library/Zend/Db/Statement.php(297): Zend_Db_Statement_Mysqli->_execute(Array)
#1 /*/library/Zend/Db/Adapter/Abstract.php(479): Zend_Db_Statement->execute(Array)
#2 /*/library/Zend/Db/Adapter/Abstract.php(574): Zend_Db_Adapter_Abstract->query('INSERT INTO `xf...', Array)
#3 /*/library/XenForo/DataWriter.php(1624): Zend_Db_Adapter_Abstract->insert('xf_admin', Array)
#4 /*/XenForo/DataWriter.php(1613): XenForo_DataWriter->_insert()
#5 /*/library/XenForo/DataWriter.php(1405): XenForo_DataWriter->_save()
#6 /*/library/XenForo/ControllerAdmin/Admin.php(133): XenForo_DataWriter->save()
#7 /*/library/XenForo/FrontController.php(347): XenForo_ControllerAdmin_Admin->actionSave()
#8 /*/library/XenForo/FrontController.php(134): XenForo_FrontController->dispatch(Object(XenForo_RouteMatch))
#9 */admin.php(13): XenForo_FrontController->run()
#10 {main}
Code:
array(3) {
  ["url"] => string(52) "https://****/admin.php?admins/save"
  ["_GET"] => array(1) {
    ["admins/save"] => string(0) ""
  }
  ["_POST"] => array(7) {
    ["visitor_password"] => string(8) "********"
    ["username"] => string(7) "USERNAME"
    ["permissions"] => array(28) {
      [0] => string(6) "option"
      [1] => string(4) "help"
      [2] => string(12) "bbCodeSmilie"
      [3] => string(5) "addOn"
      [4] => string(9) "twoFactor"
      [5] => string(4) "node"
      [6] => string(6) "thread"
      [7] => string(10) "attachment"
      [8] => string(15) "resourceManager"
      [9] => string(6) "notice"
      [10] => string(4) "user"
      [11] => string(9) "userField"
      [12] => string(6) "trophy"
      [13] => string(7) "warning"
      [14] => string(3) "ban"
      [15] => string(9) "userGroup"
      [16] => string(11) "userUpgrade"
      [17] => string(5) "style"
      [18] => string(8) "language"
      [19] => string(4) "cron"
      [20] => string(12) "rebuildCache"
      [21] => string(14) "viewStatistics"
      [22] => string(8) "viewLogs"
      [23] => string(6) "import"
      [24] => string(3) "dev"
      [25] => string(14) "upgradeXenForo"
      [26] => string(12) "rotating_ads"
      [27] => string(13) "Tinhte_XenTag"
    }
    ["_xfToken"] => string(8) "********"
    ["_xfRequestUri"] => string(21) "/admin.php?admins/add"
    ["_xfNoRedirect"] => string(1) "1"
    ["_xfResponseType"] => string(4) "json"
  }
}
 

melbo

Well-known member
#15
Should I drop the table(s)?
Tried to reinstall and had an error:
An error occured while installing table xf_admin. Contact dev.
 

Liam W

Well-known member
#17
Should I drop the table(s)?
Tried to reinstall and had an error:
An error occured while installing table xf_admin. Contact dev.
@Liam W

We have the same error on our board, please advice?
If uninstalling, you can drop the table.

If you just disabled it, run this SQL:

Code:
ALTER TABLE xf_admin CHANGE last_note_viewed last_note_viewed INT(10) UNSIGNED NOT NULL DEFAULT '0';