CMF Sponsors - Forum Sponsorship Ads [Deleted]

@Yoskaldyr - Mysqli error is showed when trying to create new forum in Admin panel, even if your addons are disabled.

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

Please fix that, I have to uninstall them temporary becouse I have to create new subforums.

Here is a complete server error log:


Code:
Server Error Log
Error Info
Zend_Db_Statement_Mysqli_Exception: Mysqli statement execute error : Field 'cmf_sponsor' doesn't have a default value - library/Zend/Db/Statement/Mysqli.php:214
Generated By: Sunka, 1 minute ago
Stack Trace

#0 /home/pijanitv/public_html/library/Zend/Db/Statement.php(297): Zend_Db_Statement_Mysqli->_execute(Array)
#1 /home/pijanitv/public_html/library/Zend/Db/Adapter/Abstract.php(479): Zend_Db_Statement->execute(Array)
#2 /home/pijanitv/public_html/library/Zend/Db/Adapter/Abstract.php(574): Zend_Db_Adapter_Abstract->query('INSERT INTO `xf...', Array)
#3 /home/pijanitv/public_html/library/XenForo/DataWriter.php(1624): Zend_Db_Adapter_Abstract->insert('xf_forum', Array)
#4 /home/pijanitv/public_html/library/XenForo/DataWriter.php(1613): XenForo_DataWriter->_insert()
#5 /home/pijanitv/public_html/library/XenForo/DataWriter.php(1405): XenForo_DataWriter->_save()
#6 /home/pijanitv/public_html/library/XenForo/ControllerAdmin/Forum.php(127): XenForo_DataWriter->save()
#7 /home/pijanitv/public_html/library/NodesAsTabs/ControllerAdmin/Forum.php(7): XenForo_ControllerAdmin_Forum->actionSave()
#8 /home/pijanitv/public_html/library/LiquidPro/SimpleForms/Listener/Proxy/AdminControllerForum.php(53): NodesAsTabs_ControllerAdmin_Forum->actionSave()
#9 /home/pijanitv/public_html/library/LiamW/PostMacros/Extend/ControllerAdmin/Forum.php(11): LiquidPro_SimpleForms_Listener_Proxy_AdminControllerForum->actionSave()
#10 /home/pijanitv/public_html/library/XenForo/FrontController.php(347): LiamW_PostMacros_Extend_ControllerAdmin_Forum->actionSave()
#11 /home/pijanitv/public_html/library/XenForo/FrontController.php(134): XenForo_FrontController->dispatch(Object(XenForo_RouteMatch))
#12 /home/pijanitv/public_html/admin.php(13): XenForo_FrontController->run()
#13 {main}

Request State

array(3) {
  ["url"] => string(47) "http://www.pijanitvor.com/admin.php?forums/save"
  ["_GET"] => array(1) {
    ["forums/save"] => string(0) ""
  }
  ["_POST"] => array(29) {
    ["title"] => string(15) "Samoniklo bilje"
    ["node_name"] => string(0) ""
    ["description"] => string(194) "Ovdje idu isključivo biljke koje <span style="color:#66ccff">nisu</span> našle svoje mjesto u nekom od drugih podforuma, a pronalaze se u globalu u prirodi (šume, livade, obale, šikare...). "
    ["parent_node_id"] => string(3) "504"
    ["display_order"] => string(3) "220"
    ["lpsf_forum_form_id"] => string(0) ""
    ["display_in_list"] => string(1) "1"
    ["nat_tabtitle"] => string(0) ""
    ["nat_display_order"] => string(1) "1"
    ["nat_position"] => string(3) "end"
    ["nat_childlinks"] => string(1) "0"
    ["nat_linkstemplate"] => string(0) ""
    ["nat_popup"] => string(1) "1"
    ["nat_tabid"] => string(0) ""
    ["allow_posting"] => string(1) "1"
    ["allow_poll"] => string(1) "1"
    ["count_messages"] => string(1) "1"
    ["find_new"] => string(1) "1"
    ["post_macros_enable"] => string(1) "1"
    ["allowed_watch_notifications"] => string(3) "all"
    ["default_sort_order"] => string(14) "last_post_date"
    ["default_sort_direction"] => string(4) "desc"
    ["list_date_limit_days"] => string(1) "0"
    ["default_prefix_id"] => string(1) "0"
    ["node_type_id"] => string(5) "Forum"
    ["_xfToken"] => string(8) "********"
    ["_xfRequestUri"] => string(23) "/admin.php?nodes/insert"
    ["_xfNoRedirect"] => string(1) "1"
    ["_xfResponseType"] => string(4) "json"
  }
}
 
This add-on adds ability to manage ads only by admins, not by general users.

I installed the add-on and it seems to be working well. However, I can not get the 90x30 thumbnail banner to display in the node list with my custom theme. Everything works as it should with the default style. Any idea where the setting is that I need to change for the custom theme?
 
@sid297, I've answered to your question on my support forum. If you still need help with adaptation to your custom style please write more information about your style.
 
Top Bottom