Schedule Content for XF 2.x

Schedule Content for XF 2.x [Paid] 1.1.0

Buy for $20.00

Truonglv

Staff member
Tech Support
truonglv submitted a new resource:

Schedule Content for XF 2.x - Schedule content for XF 2.x

Description: This addon allow user can set scheduled post.
When a thread was scheduled this only display for admin, mod and owner of thread can view :)
- Admin or Mod (who have permission to do) can stop scheduling thread

Features:
  • Support invisible (thread don't display before publishing) and locked (thread don't allow reply before expiring)
  • Support send alerts to user.
  • Support changing owner of thread. (Supported 1.2.1)
  • Allow set default scheduled time and...
Read more about this resource...
 

tajhay

Member
4) Screen Shot 2019-05-08 at 11.47.01 pm.png

Tried to stop scheduling the thread and it says no content was returned.

5) When you get the schedule date/time screen, it should default to perhaps current hours and mins, or hours at 12 and mins at 00. Should indicate somewhere that it is using 24 hour clock regardless.
 

tajhay

Member
this version seems extremely buggy.
Had it installed for for a day and have a few different server log errors and have only scheduled 1 thread in that time.

6)


Code:
ErrorException: Template error: Method canEdit is not callable on the given object (Truonglv\Schedule\Entity\Schedule) src/XF/Template/Templater.php:980
Generated by: mt.wellington May 9, 2019 at 9:17 PM
Stack trace
#0 [internal function]: XF\Template\Templater->handleTemplateError(512, 'Method canEdit ...', '/home/nginx/dom...', 980, Array)
#1 src/XF/Template/Templater.php(980): trigger_error('Method canEdit ...', 512)
#2 internal_data/code_cache/templates/l1/s19/public/tsc_helper_macros.php(71): XF\Template\Templater->method(Object(Truonglv\Schedule\Entity\Schedule), 'canEdit', Array)
#3 src/XF/Template/Templater.php(701): XF\Template\Templater->{closure}(Object(ThemeHouse\ReactPlus\XF\Template\Templater), Array, Array)
#4 src/XF/Template/Templater.php(779): XF\Template\Templater->callMacro('tsc_helper_macr...', 'thread_view_blo...', Array, Array)
#5 src/addons/Truonglv/Schedule/Util/Callback.php(90): XF\Template\Templater->renderMacro('tsc_helper_macr...', 'thread_view_blo...', Array)
#6 [internal function]: Truonglv\Schedule\Util\Callback::renderBlock('', Array, Object(ThemeHouse\ReactPlus\XF\Template\Templater))
#7 src/XF/Template/Templater.php(1389): call_user_func(Array, '', Array, Object(ThemeHouse\ReactPlus\XF\Template\Templater))
#8 internal_data/code_cache/templates/l1/s19/public/tsc_helper_macros.php(11): XF\Template\Templater->callback('Truonglv\\Schedu...', 'renderBlock', '', Array)
#9 src/XF/Template/Templater.php(701): XF\Template\Templater->{closure}(Object(ThemeHouse\ReactPlus\XF\Template\Templater), Array, Array)
#10 internal_data/code_cache/templates/l1/s19/public/thread_view.php(170): XF\Template\Templater->callMacro('tsc_helper_macr...', 'thread', Array, Array)
#11 src/XF/Template/Templater.php(1301): XF\Template\Templater->{closure}(Object(ThemeHouse\ReactPlus\XF\Template\Templater), Array)
#12 src/addons/BR/ModernStatistic/XF/Template/Templater.php(27): XF\Template\Templater->renderTemplate('thread_view', Array, true)
#13 src/XF/Template/Template.php(24): BR\ModernStatistic\XF\Template\Templater->renderTemplate('public:thread_v...', Array)
#14 src/XF/Mvc/Renderer/Html.php(48): XF\Template\Template->render()
#15 src/XF/Mvc/Dispatcher.php(418): XF\Mvc\Renderer\Html->renderView('XF:Thread\\View', 'public:thread_v...', Array)
#16 src/XF/Mvc/Dispatcher.php(400): XF\Mvc\Dispatcher->renderView(Object(XF\Mvc\Renderer\Html), Object(XF\Mvc\Reply\View))
#17 src/XF/Mvc/Dispatcher.php(360): XF\Mvc\Dispatcher->renderReply(Object(XF\Mvc\Renderer\Html), Object(XF\Mvc\Reply\View))
#18 src/XF/Mvc/Dispatcher.php(53): XF\Mvc\Dispatcher->render(Object(XF\Mvc\Reply\View), 'html')
#19 src/XF/App.php(2177): XF\Mvc\Dispatcher->run()
#20 src/XF.php(390): XF\App->run()
#21 index.php(20): XF::runApp('XF\\Pub\\App')
#22 {main}
7)
Code:
ErrorException: Template error: Template public:tl_schedule_stop_confirm is unknown src/XF/Template/Templater.php:618
Generated by: tajhay May 8, 2019 at 11:46 PM
Stack trace
#0 [internal function]: XF\Template\Templater->handleTemplateError(512, 'Template public...', '/home/nginx/dom...', 618, Array)
#1 src/XF/Template/Templater.php(618): trigger_error('Template public...', 512)
#2 src/XF/Template/Templater.php(566): XF\Template\Templater->getTemplateData('public', 'tl_schedule_sto...')
#3 src/XF/Template/Templater.php(1300): XF\Template\Templater->getTemplateCode('public', 'tl_schedule_sto...')
#4 src/addons/BR/ModernStatistic/XF/Template/Templater.php(27): XF\Template\Templater->renderTemplate('tl_schedule_sto...', Array, true)
#5 src/XF/Template/Template.php(24): BR\ModernStatistic\XF\Template\Templater->renderTemplate('public:tl_sched...', Array)
#6 src/XF/Mvc/Renderer/Json.php(84): XF\Template\Template->render()
#7 src/XF/Mvc/Renderer/Json.php(68): XF\Mvc\Renderer\Json->renderHtmlFallback('Truonglv\\Schedu...', 'public:tl_sched...', Array)
#8 src/XF/Mvc/Dispatcher.php(418): XF\Mvc\Renderer\Json->renderView('Truonglv\\Schedu...', 'public:tl_sched...', Array)
#9 src/XF/Mvc/Dispatcher.php(400): XF\Mvc\Dispatcher->renderView(Object(XF\Mvc\Renderer\Json), Object(XF\Mvc\Reply\View))
#10 src/XF/Mvc/Dispatcher.php(360): XF\Mvc\Dispatcher->renderReply(Object(XF\Mvc\Renderer\Json), Object(XF\Mvc\Reply\View))
#11 src/XF/Mvc/Dispatcher.php(53): XF\Mvc\Dispatcher->render(Object(XF\Mvc\Reply\View), 'json')
#12 src/XF/App.php(2177): XF\Mvc\Dispatcher->run()
#13 src/XF.php(390): XF\App->run()
#14 index.php(20): XF::runApp('XF\\Pub\\App')
#15 {main}
 

donwon

New Member
Thank you!


Now can you tell me where we find our scheduled threads and posts before they post? Like a list of them all or calendar?
 

fabian

New Member
Hello,
just like in this forum, a user can see the sub menu point "Schedule list" even though he is not authorized to schedule anything.
Does it make sense to display this at all? Users ask about the point of it ...

Thank you
Fabian
 

Thread view new threads

Top