Nirjonadda
Well-known member
How to update, as normal update process? As well do you have any preview or screenshot from this new update?
All the photos have been updated on the overview tab, it’s update as a normal process.How to update, as normal update process? As well do you have any preview or screenshot from this new update?
You cannot ban them from viewing, but you can reply ban them, if you would like I could add that as an option.Is it possible insert possibility to ban an user from a single thread?
h_thread_owner
to xf_h_thread_owner
There is no default move post permission, if there was you wouldn't have had that conflict with move posts originally. Also I may or may not change table names. I just never seen the necessity of putting the xf prefix to my own table.What does Mod Permissions > [H] Move Posts? Already xenforo core Mod Permissions have move post Permissions.
There is no default move post permission
There is no option for this when creating permissions groups.One more development improvement request, When permission are not set then permissions should closed by default, only open when permissions are set. Look like xenforo permission does this.
The key word in that permission is "Thread" you can move, merge, etc when managing threads, says nothing about posts. I'll have to take a look and see what permission they use by default. If that permission can be removed, I'll remove it.What does this permission? I just making discussion for confirmation, If your add-on are not conflict with xenforo permission.
The only reason behind them not having their own permission group is because it is simpler to add them and tie them to the bottom. They have such a high display order nothing should interfere.Also why not add own group for this permission without mixing with xenforo permission.
Example: [H]Thread Owner Rights moderator permissions
There is no option for this when creating permissions groups.
If that permission can be removed, I'll remove it.
I'll be pushing an update this week, it'll be the last update until I get return back from vacation.@Haydric I have found that your add-on conflict with xenforo permission. Can not move post after enabled your add-on.
With add-on:
View attachment 186487
Without add-on:
View attachment 186490
With add-on after enabled permission [H] Move Posts
View attachment 186489
So [H] Move Posts conflict with xenforo permission.
I'll be pushing an update this week, it'll be the last update until I get return back from vacation.
ErrorException: [E_NOTICE] Trying to get property 'user_id' of non-object src/addons/haydric/toRights/XF/Entity/Post.php:15
Generated by: Unknown account Nov 2, 2018 at 10:31 PM
Stack trace
#0 src/addons/haydric/toRights/XF/Entity/Post.php(15): XF::handlePhpError(8, '[E_NOTICE] Tryi...', '/home/nadda/pub...', 15, Array)
#1 src/XF/Pub/Controller/Thread.php(210): haydric\toRights\XF\Entity\Post->canView(NULL)
#2 src/XF/Mvc/Dispatcher.php(249): XF\Pub\Controller\Thread->actionPost(Object(XF\Mvc\ParameterBag))
#3 src/XF/Mvc/Dispatcher.php(88): XF\Mvc\Dispatcher->dispatchClass('XF:Thread', 'Post', 'html', Object(XF\Mvc\ParameterBag), 'forums', Object(TickTackk\ContentCopyProtection\XF\Pub\Controller\Thread), NULL)
#4 src/XF/Mvc/Dispatcher.php(41): XF\Mvc\Dispatcher->dispatchLoop(Object(XF\Mvc\RouteMatch))
#5 src/XF/App.php(1931): XF\Mvc\Dispatcher->run()
#6 src/XF.php(329): XF\App->run()
#7 index.php(13): XF::runApp('XF\\Pub\\App')
#8 {main}
Request state
array(4) {
["url"] => string(57) "/threads/english-to-bangla-word-meaning.29544/post-301689"
["referrer"] => bool(false)
["_GET"] => array(0) {
}
["_POST"] => array(0) {
}
}
The error you continue to get is not coming from this add-on, after checking the stack trace you need to contact the developer of the "Content Copy Protection," because I do not get this error and cannot replicate this error.Also getting Server error log.
Code:ErrorException: [E_NOTICE] Trying to get property 'user_id' of non-object src/addons/haydric/toRights/XF/Entity/Post.php:15 Generated by: Unknown account Nov 2, 2018 at 10:31 PM Stack trace #0 src/addons/haydric/toRights/XF/Entity/Post.php(15): XF::handlePhpError(8, '[E_NOTICE] Tryi...', '/home/nadda/pub...', 15, Array) #1 src/XF/Pub/Controller/Thread.php(210): haydric\toRights\XF\Entity\Post->canView(NULL) #2 src/XF/Mvc/Dispatcher.php(249): XF\Pub\Controller\Thread->actionPost(Object(XF\Mvc\ParameterBag)) #3 src/XF/Mvc/Dispatcher.php(88): XF\Mvc\Dispatcher->dispatchClass('XF:Thread', 'Post', 'html', Object(XF\Mvc\ParameterBag), 'forums', Object(TickTackk\ContentCopyProtection\XF\Pub\Controller\Thread), NULL) #4 src/XF/Mvc/Dispatcher.php(41): XF\Mvc\Dispatcher->dispatchLoop(Object(XF\Mvc\RouteMatch)) #5 src/XF/App.php(1931): XF\Mvc\Dispatcher->run() #6 src/XF.php(329): XF\App->run() #7 index.php(13): XF::runApp('XF\\Pub\\App') #8 {main} Request state array(4) { ["url"] => string(57) "/threads/english-to-bangla-word-meaning.29544/post-301689" ["referrer"] => bool(false) ["_GET"] => array(0) { } ["_POST"] => array(0) { } }
The error you continue to get is not coming from this add-on, after checking the stack trace you need to contact the developer of the "Content Copy Protection," because I do not get this error and cannot replicate this error.
ErrorException: [E_NOTICE] Trying to get property 'user_id' of non-object src/addons/haydric/toRights/XF/Entity/Post.php:15
Generated by: ask Dec 2, 2018 at 9:27 PM
Stack trace
#0 src/addons/haydric/toRights/XF/Entity/Post.php(15): XF::handlePhpError(8, '[E_NOTICE] Tryi...', '/home/nadda/pub...', 15, Array)
#1 src/XF/Alert/AbstractHandler.php(21): haydric\toRights\XF\Entity\Post->canView(NULL)
#2 src/XF/Entity/UserAlert.php(39): XF\Alert\AbstractHandler->canViewContent(Object(SV\ChangePostDate\XF\Entity\Post), NULL)
#3 src/XF/Pub/Controller/Account.php(1121): XF\Entity\UserAlert->canView()
#4 [internal function]: XF\Pub\Controller\Account->XF\Pub\Controller\{closure}(Object(NF\Discord\XF\Entity\UserAlert))
#5 src/XF/Mvc/Entity/AbstractCollection.php(167): array_filter(Array, Object(Closure))
#6 src/XF/Pub/Controller/Account.php(1122): XF\Mvc\Entity\AbstractCollection->filter(Object(Closure))
#7 src/XF/Mvc/Dispatcher.php(249): XF\Pub\Controller\Account->actionAlertsPopup(Object(XF\Mvc\ParameterBag))
#8 src/XF/Mvc/Dispatcher.php(88): XF\Mvc\Dispatcher->dispatchClass('XF:Account', 'AlertsPopup', 'json', Object(XF\Mvc\ParameterBag), 'account', Object(AddonFlare\PaidRegistrations\XF\Pub\Controller\Account), NULL)
#9 src/XF/Mvc/Dispatcher.php(41): XF\Mvc\Dispatcher->dispatchLoop(Object(XF\Mvc\RouteMatch))
#10 src/XF/App.php(1931): XF\Mvc\Dispatcher->run()
#11 src/XF.php(329): XF\App->run()
#12 index.php(13): XF::runApp('XF\\Pub\\App')
#13 {main}
Request state
array(4) {
["url"] => string(145) "/account/alerts-popup?_xfRequestUri=%2F&_xfWithData=1&_xfToken=1543764205%2C35aac960644a124b88f41ac014a72e71&_xfResponseType=json&_=1543763694425"
["referrer"] => string(23) "/"
["_GET"] => array(5) {
["_xfRequestUri"] => string(1) "/"
["_xfWithData"] => string(1) "1"
["_xfToken"] => string(43) "1543764205,35aac960644a124b88f41ac014a72e71"
["_xfResponseType"] => string(4) "json"
["_"] => string(13) "1543763694425"
}
["_POST"] => array(0) {
}
}
ErrorException: [E_NOTICE] Trying to get property 'user_id' of non-object src/addons/haydric/toRights/XF/Entity/Post.php:15
Generated by: Nirjonmela Dec 3, 2018 at 3:53 AM
Stack trace
#0 src/addons/haydric/toRights/XF/Entity/Post.php(15): XF::handlePhpError(8, '[E_NOTICE] Tryi...', '/home/nadda/pub...', 15, Array)
#1 src/XF/Pub/Controller/Thread.php(210): haydric\toRights\XF\Entity\Post->canView(NULL)
#2 src/XF/Mvc/Dispatcher.php(249): XF\Pub\Controller\Thread->actionPost(Object(XF\Mvc\ParameterBag))
#3 src/XF/Mvc/Dispatcher.php(88): XF\Mvc\Dispatcher->dispatchClass('XF:Thread', 'Post', 'html', Object(XF\Mvc\ParameterBag), 'forums', Object(ThemeHouse\Topics\XF\Pub\Controller\Thread), NULL)
#4 src/XF/Mvc/Dispatcher.php(41): XF\Mvc\Dispatcher->dispatchLoop(Object(XF\Mvc\RouteMatch))
#5 src/XF/App.php(1931): XF\Mvc\Dispatcher->run()
#6 src/XF.php(329): XF\App->run()
#7 index.php(13): XF::runApp('XF\\Pub\\App')
#8 {main}
Request state
array(4) {
["url"] => string(57) "/threads/english-to-bangla-word-meaning.29544/post-301689"
["referrer"] => bool(false)
["_GET"] => array(0) {
}
["_POST"] => array(0) {
}
}
Fixed move permission for post, works with normal permission now. Modified the canView function in the Post Entity to find correct user_id.
If this error continues, check stack trace, as this error was not replicate by myself, as it could be conflicting with another add-on.
I tried several times to replicate this error, and to no avail did I. Checking through your stack traces their are other add-on namespaces listed. I have modified the canView() function of that file in hope of killing this error.@Haydric This Server error log Generated from your add-on. Disabled "Content Copy Protection" but still having this server error log. You can replicate this error from viewing deleted thread with post.
View attachment 189665
Code:ErrorException: [E_NOTICE] Trying to get property 'user_id' of non-object src/addons/haydric/toRights/XF/Entity/Post.php:15 Generated by: ask Dec 2, 2018 at 9:27 PM Stack trace #0 src/addons/haydric/toRights/XF/Entity/Post.php(15): XF::handlePhpError(8, '[E_NOTICE] Tryi...', '/home/nadda/pub...', 15, Array) #1 src/XF/Alert/AbstractHandler.php(21): haydric\toRights\XF\Entity\Post->canView(NULL) #2 src/XF/Entity/UserAlert.php(39): XF\Alert\AbstractHandler->canViewContent(Object(SV\ChangePostDate\XF\Entity\Post), NULL) #3 src/XF/Pub/Controller/Account.php(1121): XF\Entity\UserAlert->canView() #4 [internal function]: XF\Pub\Controller\Account->XF\Pub\Controller\{closure}(Object(NF\Discord\XF\Entity\UserAlert)) #5 src/XF/Mvc/Entity/AbstractCollection.php(167): array_filter(Array, Object(Closure)) #6 src/XF/Pub/Controller/Account.php(1122): XF\Mvc\Entity\AbstractCollection->filter(Object(Closure)) #7 src/XF/Mvc/Dispatcher.php(249): XF\Pub\Controller\Account->actionAlertsPopup(Object(XF\Mvc\ParameterBag)) #8 src/XF/Mvc/Dispatcher.php(88): XF\Mvc\Dispatcher->dispatchClass('XF:Account', 'AlertsPopup', 'json', Object(XF\Mvc\ParameterBag), 'account', Object(AddonFlare\PaidRegistrations\XF\Pub\Controller\Account), NULL) #9 src/XF/Mvc/Dispatcher.php(41): XF\Mvc\Dispatcher->dispatchLoop(Object(XF\Mvc\RouteMatch)) #10 src/XF/App.php(1931): XF\Mvc\Dispatcher->run() #11 src/XF.php(329): XF\App->run() #12 index.php(13): XF::runApp('XF\\Pub\\App') #13 {main} Request state array(4) { ["url"] => string(145) "/account/alerts-popup?_xfRequestUri=%2F&_xfWithData=1&_xfToken=1543764205%2C35aac960644a124b88f41ac014a72e71&_xfResponseType=json&_=1543763694425" ["referrer"] => string(23) "/" ["_GET"] => array(5) { ["_xfRequestUri"] => string(1) "/" ["_xfWithData"] => string(1) "1" ["_xfToken"] => string(43) "1543764205,35aac960644a124b88f41ac014a72e71" ["_xfResponseType"] => string(4) "json" ["_"] => string(13) "1543763694425" } ["_POST"] => array(0) { } }
Code:ErrorException: [E_NOTICE] Trying to get property 'user_id' of non-object src/addons/haydric/toRights/XF/Entity/Post.php:15 Generated by: Nirjonmela Dec 3, 2018 at 3:53 AM Stack trace #0 src/addons/haydric/toRights/XF/Entity/Post.php(15): XF::handlePhpError(8, '[E_NOTICE] Tryi...', '/home/nadda/pub...', 15, Array) #1 src/XF/Pub/Controller/Thread.php(210): haydric\toRights\XF\Entity\Post->canView(NULL) #2 src/XF/Mvc/Dispatcher.php(249): XF\Pub\Controller\Thread->actionPost(Object(XF\Mvc\ParameterBag)) #3 src/XF/Mvc/Dispatcher.php(88): XF\Mvc\Dispatcher->dispatchClass('XF:Thread', 'Post', 'html', Object(XF\Mvc\ParameterBag), 'forums', Object(ThemeHouse\Topics\XF\Pub\Controller\Thread), NULL) #4 src/XF/Mvc/Dispatcher.php(41): XF\Mvc\Dispatcher->dispatchLoop(Object(XF\Mvc\RouteMatch)) #5 src/XF/App.php(1931): XF\Mvc\Dispatcher->run() #6 src/XF.php(329): XF\App->run() #7 index.php(13): XF::runApp('XF\\Pub\\App') #8 {main} Request state array(4) { ["url"] => string(57) "/threads/english-to-bangla-word-meaning.29544/post-301689" ["referrer"] => bool(false) ["_GET"] => array(0) { } ["_POST"] => array(0) { } }
We use essential cookies to make this site work, and optional cookies to enhance your experience.