Work on 1.5.9.Is this working with the latest Xenforo ?
Work on 1.5.9.Is this working with the latest Xenforo ?
On XenForo 2.0 I rename this addonalways have trouble finding this resource as it uses the word Topic instead of Thread.
heh.
Thanks! I will test and answer in this thread.I noticed a bug today: it seems when a user has "delete own posts" but not "delete own threads" under this addon, they can delete their own threads anyway by deleting the OPs.
For the moment have just turned off "delete own posts", which is redundant with the normal section's version anyway. But seemed I should report it.
ErrorException: Undefined index: user_id - library/InfisJSC/TopicStarter/Model/Thread.php:127
#0 /var/www/html/forums/library/InfisJSC/TopicStarter/Model/Thread.php(127): XenForo_Application::handlePhpError(8, 'Undefined index...', '/var/www/html/f...', 127, Array)
#1 /var/www/html/forums/library/InfisJSC/TopicStarter/Model/Thread.php(85): InfisJSC_TopicStarter_Model_Thread->_checkPermission(true, NULL, Array, NULL, 'tsRighTviewThre...')
#2 /var/www/html/forums/library/Andy/CalendarPlus/WidgetRenderer/CalendarPlus.php(112): InfisJSC_TopicStarter_Model_Thread->canViewThread(Array, Array)
#3 /var/www/html/forums/library/WidgetFramework/WidgetRenderer.php(683): Andy_CalendarPlus_WidgetRenderer_CalendarPlus->_render(Array, 'forum_list', Array, Object(XenForo_Template_Public))
#4 /var/www/html/forums/library/WidgetFramework/Core.php(397): WidgetFramework_WidgetRenderer->render(Array, 'forum_list', Array, Object(XenForo_Template_Public), '')
#5 /var/www/html/forums/library/WidgetFramework/Core.php(316): WidgetFramework_Core->_renderWidgetsFor('forum_list', Array, Object(XenForo_Template_Public), '???????????????...')
#6 /var/www/html/forums/library/WidgetFramework/Listener.php(126): WidgetFramework_Core->renderWidgetsFor('forum_list', Array, Object(XenForo_Template_Public), Array)
#7 [internal function]: WidgetFramework_Listener::template_post_render('forum_list', '?????????????<o...', Array, Object(XenForo_Template_Public))
#8 /var/www/html/forums/library/XenForo/CodeEvent.php(58): call_user_func_array(Array, Array)
#9 /var/www/html/forums/library/XenForo/Template/Abstract.php(195): XenForo_CodeEvent::fire('template_post_r...', Array, 'forum_list')
#10 /var/www/html/forums/library/XenForo/Template/Public.php(110): XenForo_Template_Abstract->render()
#11 /var/www/html/forums/library/XenForo/ViewRenderer/HtmlPublic.php(124): XenForo_Template_Public->render()
#12 /var/www/html/forums/library/XenForo/FrontController.php(639): XenForo_ViewRenderer_HtmlPublic->renderContainer(Object(XenForo_Template_Public), Array)
#13 /var/www/html/forums/library/XenForo/FrontController.php(158): XenForo_FrontController->renderView(Object(XenForo_ControllerResponse_View), Object(XenForo_ViewRenderer_HtmlPublic), Array)
#14 /var/www/html/forums/index.php(19): XenForo_FrontController->run()
#15 {main}
This error is not my addon's error. Other addon cleares, changes or provides incorrect data. Value user_id is must be always present.Hi. I get the exception below in the log. Is there a way I can fix that?
We use XF 1.5.9.
Code:ErrorException: Undefined index: user_id - library/InfisJSC/TopicStarter/Model/Thread.php:127 #0 /var/www/html/forums/library/InfisJSC/TopicStarter/Model/Thread.php(127): XenForo_Application::handlePhpError(8, 'Undefined index...', '/var/www/html/f...', 127, Array) #1 /var/www/html/forums/library/InfisJSC/TopicStarter/Model/Thread.php(85): InfisJSC_TopicStarter_Model_Thread->_checkPermission(true, NULL, Array, NULL, 'tsRighTviewThre...') #2 /var/www/html/forums/library/Andy/CalendarPlus/WidgetRenderer/CalendarPlus.php(112): InfisJSC_TopicStarter_Model_Thread->canViewThread(Array, Array) #3 /var/www/html/forums/library/WidgetFramework/WidgetRenderer.php(683): Andy_CalendarPlus_WidgetRenderer_CalendarPlus->_render(Array, 'forum_list', Array, Object(XenForo_Template_Public)) #4 /var/www/html/forums/library/WidgetFramework/Core.php(397): WidgetFramework_WidgetRenderer->render(Array, 'forum_list', Array, Object(XenForo_Template_Public), '') #5 /var/www/html/forums/library/WidgetFramework/Core.php(316): WidgetFramework_Core->_renderWidgetsFor('forum_list', Array, Object(XenForo_Template_Public), '???????????????...') #6 /var/www/html/forums/library/WidgetFramework/Listener.php(126): WidgetFramework_Core->renderWidgetsFor('forum_list', Array, Object(XenForo_Template_Public), Array) #7 [internal function]: WidgetFramework_Listener::template_post_render('forum_list', '?????????????<o...', Array, Object(XenForo_Template_Public)) #8 /var/www/html/forums/library/XenForo/CodeEvent.php(58): call_user_func_array(Array, Array) #9 /var/www/html/forums/library/XenForo/Template/Abstract.php(195): XenForo_CodeEvent::fire('template_post_r...', Array, 'forum_list') #10 /var/www/html/forums/library/XenForo/Template/Public.php(110): XenForo_Template_Abstract->render() #11 /var/www/html/forums/library/XenForo/ViewRenderer/HtmlPublic.php(124): XenForo_Template_Public->render() #12 /var/www/html/forums/library/XenForo/FrontController.php(639): XenForo_ViewRenderer_HtmlPublic->renderContainer(Object(XenForo_Template_Public), Array) #13 /var/www/html/forums/library/XenForo/FrontController.php(158): XenForo_FrontController->renderView(Object(XenForo_ControllerResponse_View), Object(XenForo_ViewRenderer_HtmlPublic), Array) #14 /var/www/html/forums/index.php(19): XenForo_FrontController->run() #15 {main}
I have the same error in my server log. Have you or anyone else found a fix for this?Hi. I get the exception below in the log. Is there a way I can fix that?
We use XF 1.5.9.
Code:ErrorException: Undefined index: user_id - library/InfisJSC/TopicStarter/Model/Thread.php:127 #0 /var/www/html/forums/library/InfisJSC/TopicStarter/Model/Thread.php(127): XenForo_Application::handlePhpError(8, 'Undefined index...', '/var/www/html/f...', 127, Array) #1 /var/www/html/forums/library/InfisJSC/TopicStarter/Model/Thread.php(85): InfisJSC_TopicStarter_Model_Thread->_checkPermission(true, NULL, Array, NULL, 'tsRighTviewThre...') #2 /var/www/html/forums/library/Andy/CalendarPlus/WidgetRenderer/CalendarPlus.php(112): InfisJSC_TopicStarter_Model_Thread->canViewThread(Array, Array) #3 /var/www/html/forums/library/WidgetFramework/WidgetRenderer.php(683): Andy_CalendarPlus_WidgetRenderer_CalendarPlus->_render(Array, 'forum_list', Array, Object(XenForo_Template_Public)) #4 /var/www/html/forums/library/WidgetFramework/Core.php(397): WidgetFramework_WidgetRenderer->render(Array, 'forum_list', Array, Object(XenForo_Template_Public), '') #5 /var/www/html/forums/library/WidgetFramework/Core.php(316): WidgetFramework_Core->_renderWidgetsFor('forum_list', Array, Object(XenForo_Template_Public), '???????????????...') #6 /var/www/html/forums/library/WidgetFramework/Listener.php(126): WidgetFramework_Core->renderWidgetsFor('forum_list', Array, Object(XenForo_Template_Public), Array) #7 [internal function]: WidgetFramework_Listener::template_post_render('forum_list', '?????????????<o...', Array, Object(XenForo_Template_Public)) #8 /var/www/html/forums/library/XenForo/CodeEvent.php(58): call_user_func_array(Array, Array) #9 /var/www/html/forums/library/XenForo/Template/Abstract.php(195): XenForo_CodeEvent::fire('template_post_r...', Array, 'forum_list') #10 /var/www/html/forums/library/XenForo/Template/Public.php(110): XenForo_Template_Abstract->render() #11 /var/www/html/forums/library/XenForo/ViewRenderer/HtmlPublic.php(124): XenForo_Template_Public->render() #12 /var/www/html/forums/library/XenForo/FrontController.php(639): XenForo_ViewRenderer_HtmlPublic->renderContainer(Object(XenForo_Template_Public), Array) #13 /var/www/html/forums/library/XenForo/FrontController.php(158): XenForo_FrontController->renderView(Object(XenForo_ControllerResponse_View), Object(XenForo_ViewRenderer_HtmlPublic), Array) #14 /var/www/html/forums/index.php(19): XenForo_FrontController->run() #15 {main}
See previous message - user_id is not must changed or cleared in other plugins. You can change the priority of the run of the handler so that my add-on works before other add-ons.I have the same error in my server log. Have you or anyone else found a fix for this?
Thanks in advance!
I will not add new permissions for the 1.x. For 2.x - maybe.For me it would be very nice if there was a permission to upload an attachment only for TS.
Could use it for a simple gallery like forum or other resources.
Hello,Thanks! I will test and answer in this thread.
Hello,
Did you test it ?
Yes , it's true. Can you please fix this error before 2.x ?
My addon is not use custom tables.@infis Please let me know that Topic (thread) starter's permissions database table name?
Yes. But I don't have free time for that now.Hello,
Any plan to update this addon for Xenforo 2.0 ? ETA ?
Regards,
We use essential cookies to make this site work, and optional cookies to enhance your experience.