[XenConcept] Hide BBCode

[XenConcept] Hide BBCode [Paid] 2.0.8 Beta 6

No permission to buy ($40.00)

XenConcept

Well-known member

rdn

Well-known member
PHP 8.0.2 incompatible?
Receiving lots of this error:

Code:
Server error log
TypeError: Template public:uw_fcs_post_comment error: XenConcept\HideBBCode\XF\BbCode\Renderer\Html::hasReacted(): Argument #2 ($post) must be of type XF\Entity\Post, UW\FCS\Entity\Comment given, called in /home/nginx/domains/domain.com/public/src/addons/XenConcept/HideBBCode/BbCode/HideBbCodeTrait.php on line 416 src/addons/XenConcept/HideBBCode/BbCode/HideBbCodeTrait.php:553
Generated by: User Feb 24, 2021 at 7:52 PM
Stack trace
#0 src/addons/XenConcept/HideBBCode/BbCode/HideBbCodeTrait.php(416): XenConcept\HideBBCode\XF\BbCode\Renderer\Html->hasReacted(1387142, Object(UW\FCS\Entity\Comment), Array)
#1 src/addons/XenConcept/HideBBCode/BbCode/HideBbCodeTrait.php(130): XenConcept\HideBBCode\XF\BbCode\Renderer\Html->checkHideReact(Object(UW\FCS\Entity\Comment), '1,2,3,')
#2 [internal function]: XenConcept\HideBBCode\XF\BbCode\Renderer\Html->renderTagHideReact(Array, '1,2,3,', Array, Array, Object(XenConcept\HideBBCode\XF\BbCode\Renderer\Html))
#3 src/XF/BbCode/Renderer/Html.php(308): call_user_func(Array, Array, '1,2,3,', Array, Array, Object(XenConcept\HideBBCode\XF\BbCode\Renderer\Html))
#4 src/XF/BbCode/Traverser.php(61): XF\BbCode\Renderer\Html->renderTag(Array, Array)
#5 src/XF/BbCode/Traverser.php(37): XF\BbCode\Traverser->renderSubTree(Array, Array)
#6 src/XF/BbCode/Traverser.php(20): XF\BbCode\Traverser->renderAst(Array, Object(CMTV\Code\XF\BbCode\RuleSet), Array)
#7 src/XF/SubContainer/BbCode.php(220): XF\BbCode\Traverser->render('[HIDEREACT=1,2,...', Object(XF\BbCode\Parser), Object(CMTV\Code\XF\BbCode\RuleSet), Array)
#8 src/XF/Template/Templater.php(2343): XF\SubContainer\BbCode->render('[HIDEREACT=1,2,...', 'html', 'profile_post_co...', Object(UW\FCS\Entity\Comment), Array)
#9 [internal function]: XF\Template\Templater->fnBbCode(Object(MaZ\AMP\XF\Template\XF22\Templater), false, '[HIDEREACT=1,2,...', 'profile_post_co...', Object(UW\FCS\Entity\Comment))
#10 src/XF/Template/Templater.php(1103): call_user_func_array(Array, Array)
#11 internal_data/code_cache/templates/l1/s17/public/uw_fcs_post_comment.php(118): XF\Template\Templater->func('bb_code', Array, false)
#12 src/XF/Template/Templater.php(1626): XF\Template\Templater->{closure}(Object(MaZ\AMP\XF\Template\XF22\Templater), Array, NULL)
#13 src/addons/MaZ/AMP/XF/Template/XF22/Templater.php(49): XF\Template\Templater->renderTemplate('uw_fcs_post_com...', Array, true, NULL)
#14 src/XF/Template/Templater.php(1655): MaZ\AMP\XF\Template\XF22\Templater->renderTemplate('public:uw_fcs_p...', Array)
#15 internal_data/code_cache/templates/l1/s17/public/uw_post_comments_main.php(130): XF\Template\Templater->includeTemplate('public:uw_fcs_p...', Array)
#16 src/XF/Template/Templater.php(1626): XF\Template\Templater->{closure}(Object(MaZ\AMP\XF\Template\XF22\Templater), Array, NULL)
#17 src/addons/MaZ/AMP/XF/Template/XF22/Templater.php(49): XF\Template\Templater->renderTemplate('uw_post_comment...', Array, true, NULL)
#18 src/XF/Template/Templater.php(1655): MaZ\AMP\XF\Template\XF22\Templater->renderTemplate('public:uw_post_...', Array)
#19 internal_data/code_cache/templates/l1/s17/public/post_macros.php(113): XF\Template\Templater->includeTemplate('public:uw_post_...', Array)
#20 src/XF/Template/Templater.php(962): XF\Template\Templater->{closure}(Object(MaZ\AMP\XF\Template\XF22\Templater), Array, Object(XF\Template\ExtensionSet))
#21 src/XF/Template/Templater.php(898): XF\Template\Templater->renderExtensionInternal('footer', Array, Array, Object(XF\Template\ExtensionSet))
#22 internal_data/code_cache/templates/l1/s17/public/post_macros.php(129): XF\Template\Templater->renderExtension('footer', Array, Object(XF\Template\ExtensionSet))
#23 src/XF/Template/Templater.php(962): XF\Template\Templater->{closure}(Object(MaZ\AMP\XF\Template\XF22\Templater), Array, Object(XF\Template\ExtensionSet))
#24 src/XF/Template/Templater.php(898): XF\Template\Templater->renderExtensionInternal('main_cell_inner', Array, Array, Object(XF\Template\ExtensionSet))
#25 internal_data/code_cache/templates/l1/s17/public/post_macros.php(140): XF\Template\Templater->renderExtension('main_cell_inner', Array, Object(XF\Template\ExtensionSet))
#26 src/XF/Template/Templater.php(962): XF\Template\Templater->{closure}(Object(MaZ\AMP\XF\Template\XF22\Templater), Array, Object(XF\Template\ExtensionSet))
#27 src/XF/Template/Templater.php(898): XF\Template\Templater->renderExtensionInternal('main_cell', Array, Array, Object(XF\Template\ExtensionSet))
#28 internal_data/code_cache/templates/l1/s17/public/post_macros.php(152): XF\Template\Templater->renderExtension('main_cell', Array, Object(XF\Template\ExtensionSet))
#29 src/XF/Template/Templater.php(962): XF\Template\Templater->{closure}(Object(MaZ\AMP\XF\Template\XF22\Templater), Array, Object(XF\Template\ExtensionSet))
#30 src/XF/Template/Templater.php(898): XF\Template\Templater->renderExtensionInternal('full_body', Array, Array, Object(XF\Template\ExtensionSet))
#31 internal_data/code_cache/templates/l1/s17/public/post_macros.php(182): XF\Template\Templater->renderExtension('full_body', Array, Object(XF\Template\ExtensionSet))
#32 src/XF/Template/Templater.php(799): XF\Template\Templater->{closure}(Object(MaZ\AMP\XF\Template\XF22\Templater), Array, Object(XF\Template\ExtensionSet))
#33 src/addons/MaZ/AMP/XF/Template/Templater.php(121): XF\Template\Templater->callMacro('post_macros', 'post', Array, Array, Object(XF\Template\MacroState))
#34 internal_data/code_cache/templates/l1/s17/public/thread_view.php(1110): MaZ\AMP\XF\Template\Templater->callMacro(NULL, 'post_macros::po...', Array, Array)
#35 src/XF/Template/Templater.php(1626): XF\Template\Templater->{closure}(Object(MaZ\AMP\XF\Template\XF22\Templater), Array, Object(XF\Template\ExtensionSet))
#36 src/addons/MaZ/AMP/XF/Template/XF22/Templater.php(49): XF\Template\Templater->renderTemplate('thread_view', Array, true, NULL)
#37 src/XF/Template/Template.php(24): MaZ\AMP\XF\Template\XF22\Templater->renderTemplate('public:thread_v...', Array)
#38 src/XF/Mvc/Renderer/Html.php(48): XF\Template\Template->render()
#39 src/XF/Mvc/Dispatcher.php(458): XF\Mvc\Renderer\Html->renderView('XF:Thread\\View', 'public:thread_v...', Array)
#40 src/XF/Mvc/Dispatcher.php(440): XF\Mvc\Dispatcher->renderView(Object(XF\Mvc\Renderer\Html), Object(XF\Mvc\Reply\View))
#41 src/XF/Mvc/Dispatcher.php(400): XF\Mvc\Dispatcher->renderReply(Object(XF\Mvc\Renderer\Html), Object(XF\Mvc\Reply\View))
#42 src/XF/Mvc/Dispatcher.php(58): XF\Mvc\Dispatcher->render(Object(XF\Mvc\Reply\View), 'html')
#43 src/XF/App.php(2326): XF\Mvc\Dispatcher->run()
#44 src/XF.php(488): XF\App->run()
#45 index.php(20): XF::runApp('XF\\Pub\\App')
#46 {main}


Server error log
Error: Template email:activity_summary_latest_posts error: Call to undefined method CMTV\Code\XF\BbCode\Renderer\EmailHtml::getRenderedHide() src/addons/XenConcept/HideBBCode/XF/BbCode/Renderer/EmailHtml.php:30
Generated by: User Feb 24, 2021 at 10:20 PM
Stack trace
#0 src/addons/XenConcept/HideBBCode/BbCode/HideBbCodeTrait.php(133): XenConcept\HideBBCode\XF\BbCode\Renderer\EmailHtml->getRenderedHide('hidereact', Object(XF\Phrase), 'hidden')
#1 [internal function]: XenConcept\HideBBCode\XF\BbCode\Renderer\EmailHtml->renderTagHideReact(Array, '1,2,4', Array, Array, Object(XenConcept\HideBBCode\XF\BbCode\Renderer\EmailHtml))
#2 src/XF/BbCode/Renderer/Html.php(308): call_user_func(Array, Array, '1,2,4', Array, Array, Object(XenConcept\HideBBCode\XF\BbCode\Renderer\EmailHtml))
#3 src/XF/BbCode/Traverser.php(61): XF\BbCode\Renderer\Html->renderTag(Array, Array)
#4 src/XF/BbCode/Traverser.php(37): XF\BbCode\Traverser->renderSubTree(Array, Array)
#5 src/XF/BbCode/Traverser.php(20): XF\BbCode\Traverser->renderAst(Array, Object(CMTV\Code\XF\BbCode\RuleSet), Array)
#6 src/XF/SubContainer/BbCode.php(220): XF\BbCode\Traverser->render('[HEADING=1][CEN...', Object(XF\BbCode\Parser), Object(CMTV\Code\XF\BbCode\RuleSet), Array)
#7 src/XF/Template/Templater.php(2343): XF\SubContainer\BbCode->render('[HEADING=1][CEN...', 'emailHtml', 'post', Object(XFMG\XF\Entity\Post), Array)
#8 src/XF/Template/Templater.php(2358): XF\Template\Templater->fnBbCode(Object(XF\Mail\Templater), false, '[HEADING=1][CEN...', 'post', Object(XFMG\XF\Entity\Post), Array, 'emailHtml')
#9 src/XF/Template/Templater.php(2368): XF\Template\Templater->fnBbCodeSnippet(Object(XF\Mail\Templater), false, '[HEADING=1][CEN...', 'post', Object(XFMG\XF\Entity\Post), 300, Array, 'emailHtml')
#10 [internal function]: XF\Template\Templater->fnBbCodeTypeSnippet(Object(XF\Mail\Templater), false, 'emailHtml', '[HEADING=1][CEN...', 'post', Object(XFMG\XF\Entity\Post), 300)
#11 src/XF/Template/Templater.php(1103): call_user_func_array(Array, Array)
#12 internal_data/code_cache/templates/l1/s13/email/activity_summary_latest_posts.php(35): XF\Template\Templater->func('bb_code_type_sn...', Array, false)
#13 src/XF/Template/Templater.php(1626): XF\Template\Templater->{closure}(Object(XF\Mail\Templater), Array, NULL)
#14 src/XF/Mail/Mailer.php(216): XF\Template\Templater->renderTemplate('activity_summar...', Array)
#15 src/XF/ActivitySummary/AbstractSection.php(172): XF\Mail\Mailer->renderPartialMailTemplate('activity_summar...', Array, Object(XF\Language), Object(OzzModz\EmailWhitelist\XF\Entity\User))
#16 src/XF/ActivitySummary/LatestPosts.php(124): XF\ActivitySummary\AbstractSection->renderSectionTemplate(Object(XF\ActivitySummary\Instance), 'activity_summar...', Array)
#17 src/XF/ActivitySummary/AbstractSection.php(46): XF\ActivitySummary\LatestPosts->renderInternal(Object(XF\ActivitySummary\Instance))
#18 src/XF.php(589): XF\ActivitySummary\AbstractSection->XF\ActivitySummary\{closure}()
#19 src/XF/ActivitySummary/AbstractSection.php(47): XF::asVisitor(Object(OzzModz\EmailWhitelist\XF\Entity\User), Object(Closure))
#20 src/XF/Job/ActivitySummaryEmail.php(144): XF\ActivitySummary\AbstractSection->render(Object(XF\ActivitySummary\Instance))
#21 src/XF/Job/ActivitySummaryEmail.php(111): XF\Job\ActivitySummaryEmail->generateEmailData(Object(OzzModz\EmailWhitelist\XF\Entity\User))
#22 src/XF/Job/ActivitySummaryEmail.php(67): XF\Job\ActivitySummaryEmail->generateAndSendEmail(Object(OzzModz\EmailWhitelist\XF\Entity\User))
#23 src/XF/Job/Manager.php(258): XF\Job\ActivitySummaryEmail->run(30)
#24 src/XF/Job/Manager.php(200): XF\Job\Manager->runJobInternal(Array, 30)
#25 src/XF/Job/Manager.php(84): XF\Job\Manager->runJobEntry(Array, 30)
#26 src/XF/Cli/Command/RunJobs.php(59): XF\Job\Manager->runQueue(false, 30)
#27 src/vendor/symfony/console/Command/Command.php(255): XF\Cli\Command\RunJobs->execute(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#28 src/vendor/symfony/console/Application.php(992): Symfony\Component\Console\Command\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#29 src/vendor/symfony/console/Application.php(255): Symfony\Component\Console\Application->doRunCommand(Object(XF\Cli\Command\RunJobs), Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#30 src/vendor/symfony/console/Application.php(148): Symfony\Component\Console\Application->doRun(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#31 src/XF/Cli/Runner.php(109): Symfony\Component\Console\Application->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#32 cmd.php(15): XF\Cli\Runner->run()
#33 {main}
Request state
array(1) {
  ["cli"] => string(59) "/home/nginx/domains/domain.com/public/cmd.php xf:run-jobs"
}
 

imno007

Well-known member
@XenConcept

In my testing, if you use "Hide reply or react," only reacting works. If a person replies, the text remains hidden. They have to react to unhide. And once you react, the page has to be refreshed to reveal text.

Also, I've noticed that you have to enable allow hide tags on replies if you want people to be able to edit an existing thread (first post) and hide anything. I assume that it was necessary for whatever reason, but figured I'd mention it just in case.
 
Last edited:
  • Like
Reactions: rdn

imno007

Well-known member
@XenConcept

One other thing, can you check to see if you're able to get "Hide showtogroups" to appear in the editor? I have it enabled in options and permissions, and the icon added, but cannot get it to appear in the drop-down.
 

rdn

Well-known member
Got this 2 errors today

Code:
TypeError: XenConcept\HideBBCode\Repository\HideBbCode::getDisabledHideTagsForEntity(): Argument #1 ($entity) must be of type XF\Mvc\Entity\Entity, null given, called in /public/src/addons/XenConcept/HideBBCode/XF/Service/Message/Preparer.php on line 21 src/addons/XenConcept/HideBBCode/Repository/HideBbCode.php:174
Generated by: User Mar 23, 2021 at 3:14 AM
Stack trace
#0 src/addons/XenConcept/HideBBCode/XF/Service/Message/Preparer.php(21): XenConcept\HideBBCode\Repository\HideBbCode->getDisabledHideTagsForEntity(NULL)
#1 src/XF/Container.php(270): XenConcept\HideBBCode\XF\Service\Message\Preparer->__construct(Object(XF\Pub\App), 'custom_field')
#2 src/XF/App.php(1691): XF\Container->createObject('XFMG\\XF\\Service...', Array)
#3 src/XF/Container.php(228): XF\App->XF\{closure}('XFMG\\XF\\Service...', Array, Object(XF\Container))
#4 src/XF/App.php(2979): XF\Container->create('service', 'XF:Message\\Prep...', Array)
#5 src/XF/CustomField/Set.php(183): XF\App->service('XF:Message\\Prep...', 'custom_field')
#6 src/XF/CustomField/Set.php(105): XF\CustomField\Set->set('caption', '', 'user', false)
#7 src/addons/XFMG/Service/Media/Editor.php(99): XF\CustomField\Set->bulkSet(Array, Array, 'user')
#8 src/addons/XFMG/Pub/Controller/Media.php(1053): XFMG\Service\Media\Editor->setCustomFields(Array)
#9 src/addons/XFMG/Pub/Controller/Media.php(1075): XFMG\Pub\Controller\Media->setupMediaItemEdit(Object(XFMG\Entity\MediaItem))
#10 src/XF/Mvc/Dispatcher.php(350): XFMG\Pub\Controller\Media->actionEdit(Object(XF\Mvc\ParameterBag))
#11 src/XF/Mvc/Dispatcher.php(257): XF\Mvc\Dispatcher->dispatchClass('XFMG:Media', 'Edit', Object(XF\Mvc\RouteMatch), Object(MaZ\AMP\Compat\XFMG\Pub\Controller\Media), NULL)
#12 src/XF/Mvc/Dispatcher.php(113): XF\Mvc\Dispatcher->dispatchFromMatch(Object(XF\Mvc\RouteMatch), Object(MaZ\AMP\Compat\XFMG\Pub\Controller\Media), NULL)
#13 src/XF/Mvc/Dispatcher.php(55): XF\Mvc\Dispatcher->dispatchLoop(Object(XF\Mvc\RouteMatch))
#14 src/XF/App.php(2326): XF\Mvc\Dispatcher->run()
#15 src/XF.php(488): XF\App->run()
#16 index.php(20): XF::runApp('XF\\Pub\\App')
#17 {main}
Request state
array(4) {
  ["url"] => string(47) "/media/fb_img_16164401809577555-jpg.103375/edit"
  ["referrer"] => string(63) "https://domain.com/media/fb_img_16164401809577555-jpg.103375/"
  ["_GET"] => array(1) {
    ["/media/fb_img_16164401809577555-jpg_103375/edit"] => string(0) ""
  }
  ["_POST"] => array(7) {
    ["title"] => string(28) "FB_IMG_16164401809577555.jpg"
    ["description"] => string(164) "TRENDY MASK FOR KIDDIE AND ADULTS.

Ordering system (wholesale):
Minimum order required per design.
12pcs - P55 each

STOCKS ON HAND. PAY TODAY SHIP TOMORROW."
    ["custom_fields"] => array(1) {
      ["caption_html"] => string(0) ""
    }
    ["_xfToken"] => string(8) "********"
    ["_xfRequestUri"] => string(43) "/media/fb_img_16164401809577555-jpg.103375/"
    ["_xfWithData"] => string(1) "1"
    ["_xfResponseType"] => string(4) "json"
  }
}


TypeError: XenConcept\HideBBCode\Repository\HideBbCode::getDisabledHideTagsForEntity(): Argument #1 ($entity) must be of type XF\Mvc\Entity\Entity, null given, called in /public/src/addons/XenConcept/HideBBCode/XF/Service/Message/Preparer.php on line 21 src/addons/XenConcept/HideBBCode/Repository/HideBbCode.php:174
Generated by: User Mar 23, 2021 at 3:14 AM
Stack trace
#0 src/addons/XenConcept/HideBBCode/XF/Service/Message/Preparer.php(21): XenConcept\HideBBCode\Repository\HideBbCode->getDisabledHideTagsForEntity(NULL)
#1 src/XF/Container.php(270): XenConcept\HideBBCode\XF\Service\Message\Preparer->__construct(Object(XF\Pub\App), 'custom_field')
#2 src/XF/App.php(1691): XF\Container->createObject('XFMG\\XF\\Service...', Array)
#3 src/XF/Container.php(228): XF\App->XF\{closure}('XFMG\\XF\\Service...', Array, Object(XF\Container))
#4 src/XF/App.php(2979): XF\Container->create('service', 'XF:Message\\Prep...', Array)
#5 src/XF/CustomField/Set.php(183): XF\App->service('XF:Message\\Prep...', 'custom_field')
#6 src/XF/CustomField/Set.php(105): XF\CustomField\Set->set('caption', '', 'user', false)
#7 src/addons/XFMG/Service/Media/Editor.php(99): XF\CustomField\Set->bulkSet(Array, Array, 'user')
#8 src/addons/XFMG/Pub/Controller/Media.php(1053): XFMG\Service\Media\Editor->setCustomFields(Array)
#9 src/addons/XFMG/Pub/Controller/Media.php(1075): XFMG\Pub\Controller\Media->setupMediaItemEdit(Object(XFMG\Entity\MediaItem))
#10 src/XF/Mvc/Dispatcher.php(350): XFMG\Pub\Controller\Media->actionEdit(Object(XF\Mvc\ParameterBag))
#11 src/XF/Mvc/Dispatcher.php(257): XF\Mvc\Dispatcher->dispatchClass('XFMG:Media', 'Edit', Object(XF\Mvc\RouteMatch), Object(MaZ\AMP\Compat\XFMG\Pub\Controller\Media), NULL)
#12 src/XF/Mvc/Dispatcher.php(113): XF\Mvc\Dispatcher->dispatchFromMatch(Object(XF\Mvc\RouteMatch), Object(MaZ\AMP\Compat\XFMG\Pub\Controller\Media), NULL)
#13 src/XF/Mvc/Dispatcher.php(55): XF\Mvc\Dispatcher->dispatchLoop(Object(XF\Mvc\RouteMatch))
#14 src/XF/App.php(2326): XF\Mvc\Dispatcher->run()
#15 src/XF.php(488): XF\App->run()
#16 index.php(20): XF::runApp('XF\\Pub\\App')
#17 {main}
Request state
array(4) {
  ["url"] => string(47) "/media/fb_img_16164401809577555-jpg.103375/edit"
  ["referrer"] => string(63) "https://domain.com/media/fb_img_16164401809577555-jpg.103375/"
  ["_GET"] => array(1) {
    ["/media/fb_img_16164401809577555-jpg_103375/edit"] => string(0) ""
  }
  ["_POST"] => array(7) {
    ["title"] => string(28) "FB_IMG_16164401809577555.jpg"
    ["description"] => string(164) "TRENDY MASK FOR KIDDIE AND ADULTS.

Ordering system (wholesale):
Minimum order required per design.
12pcs - P55 each

STOCKS ON HAND. PAY TODAY SHIP TOMORROW."
    ["custom_fields"] => array(1) {
      ["caption_html"] => string(0) ""
    }
    ["_xfToken"] => string(8) "********"
    ["_xfRequestUri"] => string(43) "/media/fb_img_16164401809577555-jpg.103375/"
    ["_xfWithData"] => string(1) "1"
    ["_xfResponseType"] => string(4) "json"
  }
}
 

rdn

Well-known member
Bug?

I got this error today.
Code:
Server error log
LogicException: Cannot call fastUpdate until the entity is saved src/XF/Mvc/Entity/Entity.php:1319
Generated by: User101 Mar 26, 2021 at 12:32 AM

Stack trace
#0 src/addons/Truonglv/FollowingAlerts/XF/Service/User/Follow.php(29): XF\Mvc\Entity\Entity->fastUpdate('alert_preferenc...', Array)
#1 src/addons/Truonglv/FollowingAlerts/XF/Pub/Controller/Member.php(71): Truonglv\FollowingAlerts\XF\Service\User\Follow->follow()
#2 src/XF/Mvc/Dispatcher.php(350): Truonglv\FollowingAlerts\XF\Pub\Controller\Member->actionTFAFollow(Object(XF\Mvc\ParameterBag))
#3 src/XF/Mvc/Dispatcher.php(257): XF\Mvc\Dispatcher->dispatchClass('XF:Member', 'TfaFollow', Object(XF\Mvc\RouteMatch), Object(XenConcept\HideBBCode\XF\Pub\Controller\Member), NULL)
#4 src/XF/Mvc/Dispatcher.php(113): XF\Mvc\Dispatcher->dispatchFromMatch(Object(XF\Mvc\RouteMatch), Object(XenConcept\HideBBCode\XF\Pub\Controller\Member), NULL)
#5 src/XF/Mvc/Dispatcher.php(55): XF\Mvc\Dispatcher->dispatchLoop(Object(XF\Mvc\RouteMatch))
#6 src/XF/App.php(2326): XF\Mvc\Dispatcher->run()
#7 src/XF.php(488): XF\App->run()
#8 index.php(20): XF::runApp('XF\\Pub\\App')
#9 {main}

Request state
array(4) {
  ["url"] => string(37) "/members/User102.1789538/tfa-follow"
  ["referrer"] => string(138) "https://domain.com/threads/thread-title.1053644/"
  ["_GET"] => array(1) {
    ["/members/emman2234_1789538/tfa-follow"] => string(0) ""
  }
  ["_POST"] => array(8) {
    ["email"] => array(1) {
      ["thread_create"] => string(1) "1"
    }
    ["alert"] => array(1) {
      ["thread_create"] => string(1) "1"
    }
    ["redirect"] => string(1) "/"
    ["_tfa_input_included"] => string(1) "1"
    ["_xfToken"] => string(8) "********"
    ["_xfRequestUri"] => string(118) "/threads/thread-title.1053644/"
    ["_xfWithData"] => string(1) "1"
    ["_xfResponseType"] => string(4) "json"
  }
}
 

themago

New member
Is it possible to use this without having to use the bbcode ? and just hide content (links) until someone reacts on all threads in a specified forum?
 
Top