Thread Owner Rights

Thread Owner Rights [Paid] 1.4.0

No permission to buy ($10.00)

Haydric

Active member
#83

Nirjonadda

Well-known member
#84
@Haydric Getting lot of Server error log.

Code:
ErrorException: Template error: Method canAddOwners is not callable on the given object (NF\TrashCan\XF\Entity\Thread) src/XF/Template/Templater.php:932

Generated by: Unknown account Feb 7, 2018 at 2:44 PM

Stack trace

#0 [internal function]: XF\Template\Templater->handleTemplateError(512, 'Method canAddOw...', '/home/nadda/pub...', 932, Array)
#1 src/XF/Template/Templater.php(932): trigger_error('Method canAddOw...', 512)
#2 internal_data/code_cache/templates/l1/s30/public/thread_view.php(344): XF\Template\Templater->method(Object(NF\TrashCan\XF\Entity\Thread), 'canAddOwners', Array)
#3 src/XF/Template/Templater.php(1246): XF\Template\Templater->{closure}(Object(ThemeHouse\Reactions\XF\Template\Templater), Array)
#4 src/XF/Template/Template.php(24): XF\Template\Templater->renderTemplate('thread_view', Array)
#5 src/XF/Mvc/Renderer/Html.php(48): XF\Template\Template->render()
#6 src/XF/Mvc/Dispatcher.php(332): XF\Mvc\Renderer\Html->renderView('XF:Thread\\View', 'public:thread_v...', Array)
#7 src/XF/Mvc/Dispatcher.php(303): XF\Mvc\Dispatcher->renderView(Object(XF\Mvc\Renderer\Html), Object(XF\Mvc\Reply\View))
#8 src/XF/Mvc/Dispatcher.php(44): XF\Mvc\Dispatcher->render(Object(XF\Mvc\Reply\View), 'html')
#9 src/XF/App.php(1889): XF\Mvc\Dispatcher->run()
#10 src/XF.php(328): XF\App->run()
#11 index.php(13): XF::runApp('XF\\Pub\\App')
#12 {main}

Request state

array(4) {
  ["url"] => string(21) "/threads/31970/page-4"
  ["referrer"] => string(47) "/threads/31970/page-3"
  ["_GET"] => array(0) {
  }
  ["_POST"] => array(0) {
  }
}
 

Haydric

Active member
#86
@Haydric Getting lot of Server error log.

Code:
ErrorException: Template error: Method canAddOwners is not callable on the given object (NF\TrashCan\XF\Entity\Thread) src/XF/Template/Templater.php:932

Generated by: Unknown account Feb 7, 2018 at 2:44 PM

Stack trace

#0 [internal function]: XF\Template\Templater->handleTemplateError(512, 'Method canAddOw...', '/home/nadda/pub...', 932, Array)
#1 src/XF/Template/Templater.php(932): trigger_error('Method canAddOw...', 512)
#2 internal_data/code_cache/templates/l1/s30/public/thread_view.php(344): XF\Template\Templater->method(Object(NF\TrashCan\XF\Entity\Thread), 'canAddOwners', Array)
#3 src/XF/Template/Templater.php(1246): XF\Template\Templater->{closure}(Object(ThemeHouse\Reactions\XF\Template\Templater), Array)
#4 src/XF/Template/Template.php(24): XF\Template\Templater->renderTemplate('thread_view', Array)
#5 src/XF/Mvc/Renderer/Html.php(48): XF\Template\Template->render()
#6 src/XF/Mvc/Dispatcher.php(332): XF\Mvc\Renderer\Html->renderView('XF:Thread\\View', 'public:thread_v...', Array)
#7 src/XF/Mvc/Dispatcher.php(303): XF\Mvc\Dispatcher->renderView(Object(XF\Mvc\Renderer\Html), Object(XF\Mvc\Reply\View))
#8 src/XF/Mvc/Dispatcher.php(44): XF\Mvc\Dispatcher->render(Object(XF\Mvc\Reply\View), 'html')
#9 src/XF/App.php(1889): XF\Mvc\Dispatcher->run()
#10 src/XF.php(328): XF\App->run()
#11 index.php(13): XF::runApp('XF\\Pub\\App')
#12 {main}

Request state

array(4) {
  ["url"] => string(21) "/threads/31970/page-4"
  ["referrer"] => string(47) "/threads/31970/page-3"
  ["_GET"] => array(0) {
  }
  ["_POST"] => array(0) {
  }
}
I’m going to see if I can replicate this error.

Thank you!
will be this fix applied for the lite version?
Is this an issue in the lite version. If so I will fix it sometime today.
 

Haydric

Active member
#89
@Haydric Getting lot of Server error log.

Code:
ErrorException: Template error: Method canAddOwners is not callable on the given object (NF\TrashCan\XF\Entity\Thread) src/XF/Template/Templater.php:932

Generated by: Unknown account Feb 7, 2018 at 2:44 PM

Stack trace

#0 [internal function]: XF\Template\Templater->handleTemplateError(512, 'Method canAddOw...', '/home/nadda/pub...', 932, Array)
#1 src/XF/Template/Templater.php(932): trigger_error('Method canAddOw...', 512)
#2 internal_data/code_cache/templates/l1/s30/public/thread_view.php(344): XF\Template\Templater->method(Object(NF\TrashCan\XF\Entity\Thread), 'canAddOwners', Array)
#3 src/XF/Template/Templater.php(1246): XF\Template\Templater->{closure}(Object(ThemeHouse\Reactions\XF\Template\Templater), Array)
#4 src/XF/Template/Template.php(24): XF\Template\Templater->renderTemplate('thread_view', Array)
#5 src/XF/Mvc/Renderer/Html.php(48): XF\Template\Template->render()
#6 src/XF/Mvc/Dispatcher.php(332): XF\Mvc\Renderer\Html->renderView('XF:Thread\\View', 'public:thread_v...', Array)
#7 src/XF/Mvc/Dispatcher.php(303): XF\Mvc\Dispatcher->renderView(Object(XF\Mvc\Renderer\Html), Object(XF\Mvc\Reply\View))
#8 src/XF/Mvc/Dispatcher.php(44): XF\Mvc\Dispatcher->render(Object(XF\Mvc\Reply\View), 'html')
#9 src/XF/App.php(1889): XF\Mvc\Dispatcher->run()
#10 src/XF.php(328): XF\App->run()
#11 index.php(13): XF::runApp('XF\\Pub\\App')
#12 {main}

Request state

array(4) {
  ["url"] => string(21) "/threads/31970/page-4"
  ["referrer"] => string(47) "/threads/31970/page-3"
  ["_GET"] => array(0) {
  }
  ["_POST"] => array(0) {
  }
}
I upgraded the version on my personal site to the new version from 1.3.3 to 1.3.4 to 1.3.5 and this error could not be replicated. Also this seems to be an error NF/TrashCan directory not from my add-on.
 

Haydric

Active member
#90
@Haydric Getting lot of Server error log.

Code:
ErrorException: Template error: Method canAddOwners is not callable on the given object (NF\TrashCan\XF\Entity\Thread) src/XF/Template/Templater.php:932

Generated by: Unknown account Feb 7, 2018 at 2:44 PM

Stack trace

#0 [internal function]: XF\Template\Templater->handleTemplateError(512, 'Method canAddOw...', '/home/nadda/pub...', 932, Array)
#1 src/XF/Template/Templater.php(932): trigger_error('Method canAddOw...', 512)
#2 internal_data/code_cache/templates/l1/s30/public/thread_view.php(344): XF\Template\Templater->method(Object(NF\TrashCan\XF\Entity\Thread), 'canAddOwners', Array)
#3 src/XF/Template/Templater.php(1246): XF\Template\Templater->{closure}(Object(ThemeHouse\Reactions\XF\Template\Templater), Array)
#4 src/XF/Template/Template.php(24): XF\Template\Templater->renderTemplate('thread_view', Array)
#5 src/XF/Mvc/Renderer/Html.php(48): XF\Template\Template->render()
#6 src/XF/Mvc/Dispatcher.php(332): XF\Mvc\Renderer\Html->renderView('XF:Thread\\View', 'public:thread_v...', Array)
#7 src/XF/Mvc/Dispatcher.php(303): XF\Mvc\Dispatcher->renderView(Object(XF\Mvc\Renderer\Html), Object(XF\Mvc\Reply\View))
#8 src/XF/Mvc/Dispatcher.php(44): XF\Mvc\Dispatcher->render(Object(XF\Mvc\Reply\View), 'html')
#9 src/XF/App.php(1889): XF\Mvc\Dispatcher->run()
#10 src/XF.php(328): XF\App->run()
#11 index.php(13): XF::runApp('XF\\Pub\\App')
#12 {main}

Request state

array(4) {
  ["url"] => string(21) "/threads/31970/page-4"
  ["referrer"] => string(47) "/threads/31970/page-3"
  ["_GET"] => array(0) {
  }
  ["_POST"] => array(0) {
  }
}
Hey curious to see if you were able to fix this error, if not I will be taking a look into trying to fix the issue.
 

Nirjonadda

Well-known member
#92
I am getting this Server error logs. Also asking to @Yugensoft If this error happened from Yugensoft\TimeSpentOnline ?

Code:
ErrorException: Template error: Method canTriggerCacheUpdate is not callable on the given object (haydric\toRights\XF\Entity\Post) src/XF/Template/Templater.php:932

Generated by: Unknown account Feb 18, 2018 at 11:53 PM

Stack trace

#0 [internal function]: XF\Template\Templater->handleTemplateError(512, 'Method canTrigg...', '/home/nadda/pub...', 932, Array)
#1 src/XF/Template/Templater.php(932): trigger_error('Method canTrigg...', 512)
#2 internal_data/code_cache/templates/l1/s30/public/post_macros.php(531): XF\Template\Templater->method(Object(haydric\toRights\XF\Entity\Post), 'canTriggerCache...', Array)
#3 src/XF/Template/Templater.php(659): XF\Template\Templater->{closure}(Object(Yugensoft\TimeSpentOnline\XF\Template\Templater), Array, Array)
#4 internal_data/code_cache/templates/l1/s30/public/thread_view.php(601): XF\Template\Templater->callMacro('post_macros', 'post', Array, Array)
#5 src/XF/Template/Templater.php(1246): XF\Template\Templater->{closure}(Object(Yugensoft\TimeSpentOnline\XF\Template\Templater), Array)
#6 src/XF/Template/Template.php(24): XF\Template\Templater->renderTemplate('thread_view', Array)
#7 src/XF/Mvc/Renderer/Html.php(48): XF\Template\Template->render()
#8 src/XF/Mvc/Dispatcher.php(332): XF\Mvc\Renderer\Html->renderView('XF:Thread\\View', 'public:thread_v...', Array)
#9 src/XF/Mvc/Dispatcher.php(303): XF\Mvc\Dispatcher->renderView(Object(XF\Mvc\Renderer\Html), Object(XF\Mvc\Reply\View))
#10 src/XF/Mvc/Dispatcher.php(44): XF\Mvc\Dispatcher->render(Object(XF\Mvc\Reply\View), 'html')
#11 src/XF/App.php(1889): XF\Mvc\Dispatcher->run()
#12 src/XF.php(328): XF\App->run()
#13 index.php(13): XF::runApp('XF\\Pub\\App')
#14 {main}

Request state

array(4) {
  ["url"] => string(64) "/threads/tollywood.14590/"
  ["referrer"] => bool(false)
  ["_GET"] => array(0) {
  }
  ["_POST"] => array(0) {
  }
}
 

Haydric

Active member
#94
I am getting this Server error logs. Also asking to @Yugensoft If this error happened from Yugensoft\TimeSpentOnline ?

Code:
ErrorException: Template error: Method canTriggerCacheUpdate is not callable on the given object (haydric\toRights\XF\Entity\Post) src/XF/Template/Templater.php:932

Generated by: Unknown account Feb 18, 2018 at 11:53 PM

Stack trace

#0 [internal function]: XF\Template\Templater->handleTemplateError(512, 'Method canTrigg...', '/home/nadda/pub...', 932, Array)
#1 src/XF/Template/Templater.php(932): trigger_error('Method canTrigg...', 512)
#2 internal_data/code_cache/templates/l1/s30/public/post_macros.php(531): XF\Template\Templater->method(Object(haydric\toRights\XF\Entity\Post), 'canTriggerCache...', Array)
#3 src/XF/Template/Templater.php(659): XF\Template\Templater->{closure}(Object(Yugensoft\TimeSpentOnline\XF\Template\Templater), Array, Array)
#4 internal_data/code_cache/templates/l1/s30/public/thread_view.php(601): XF\Template\Templater->callMacro('post_macros', 'post', Array, Array)
#5 src/XF/Template/Templater.php(1246): XF\Template\Templater->{closure}(Object(Yugensoft\TimeSpentOnline\XF\Template\Templater), Array)
#6 src/XF/Template/Template.php(24): XF\Template\Templater->renderTemplate('thread_view', Array)
#7 src/XF/Mvc/Renderer/Html.php(48): XF\Template\Template->render()
#8 src/XF/Mvc/Dispatcher.php(332): XF\Mvc\Renderer\Html->renderView('XF:Thread\\View', 'public:thread_v...', Array)
#9 src/XF/Mvc/Dispatcher.php(303): XF\Mvc\Dispatcher->renderView(Object(XF\Mvc\Renderer\Html), Object(XF\Mvc\Reply\View))
#10 src/XF/Mvc/Dispatcher.php(44): XF\Mvc\Dispatcher->render(Object(XF\Mvc\Reply\View), 'html')
#11 src/XF/App.php(1889): XF\Mvc\Dispatcher->run()
#12 src/XF.php(328): XF\App->run()
#13 index.php(13): XF::runApp('XF\\Pub\\App')
#14 {main}

Request state

array(4) {
  ["url"] => string(64) "/threads/tollywood.14590/"
  ["referrer"] => bool(false)
  ["_GET"] => array(0) {
  }
  ["_POST"] => array(0) {
  }
}
Hmm, that function shouldn’t be callable on the file because that function doesn’t exist on the extension. As I am not able to replicate this as I don’t have an addon with that function.
 
#95
Can you have a feature to "Manage Reply Bans for Own Threads Only"?

There is a feature to manage reply bans, but it is a global permission. Also, an option to automatically reply ban anyone on your block/ignore list would be awesome.
 

Nirjonadda

Well-known member
#96
@Haydric We are getting one issue, Thread starter (Super administrator) can not delete own post or other post in same thared, when this add-on enabled. Please let me fix this issue ASAP. Thanks
 

Haydric

Active member
#98
So sorry for the delayed update, I have been swamped with school for the past few months and just haven't had the time until recently to patch this issue. Sorry for any inconvenience this caused.
 

Nirjonadda

Well-known member
#99
@Haydric This issue are not only for admin, User can not delete own thread from XF default permissions.

Example: Delete own post are not work without [H] Soft Delete Any Post permissions.

Does fixed can Delete own post if [H] Soft Delete Any Post permission set to no? Also can not download 1.3.6 in your site because showing Site Being upgraded to 2.0.
 
So sorry for the delayed update, I have been swamped with school for the past few months and just haven't had the time until recently to patch this issue. Sorry for any inconvenience this caused.
Any update on my previous post:
Can you have a feature to "Manage Reply Bans for Own Threads Only"?

There is a feature to manage reply bans, but it is a global permission. Also, an option to automatically reply ban anyone on your block/ignore list would be awesome.
 
Top