[XenConcept] Restrict Guest Views

[XenConcept] Restrict Guest Views [Paid] 2.2.0 Patch Level 1

No permission to buy (€20.00)
Hi @XenConcept,

I think I found a bug.

When I restrict guest views, there is a problem with URL unfurling.

It doesn't load the URL description + image from the forum the add-on is enabled if you post the same link multiple times until you reach the restricted views limit.

The URL works as it's not restricted to be viewed by members only and guests are allowed via permission to view it. But the description+image will fail after x times when posted multiple times in a row
 
Last edited:
Hi @XenConcept,

I think I found a bug.

When I restrict guest views, there is a problem with URL unfurling.

It doesn't load the URL description + image from the forum the add-on is enabled if you post the same link multiple times until you reach the restricted views limit.

The URL works as it's not restricted to be viewed by members only and guests are allowed via permission to view it. But the description+image will fail after x times when posted multiple times in a row
Hello,

Do you have an example? With screenshots?
 
This resource has been removed and is no longer available. The following reason was provided:
This resource has been deleted by XenForo Ltd. in line with our resource housekeeping criteria.
 
@XenConcept Seems like all of your add-ons are broken with the latest releases of XenForo 2.2 and 2.3 due to the way the copyright is injected into PAGE_CONTAINER:

  • LogicException: Template public:PAGE_CONTAINER error: Cannot modify container while locked
  • src/XF/Container.php:326

  • Generated by: Unknown account
  • Sep 11, 2026 at 8:15 AM


Stack trace​



#0 src/XF/Container.php(112): XF\Container->assertNotLocked()
#1 src/XF/Container.php(67): XF\Container->set('xenconcept_bran...', Array)
#2 src/XF/App.php(2609): XF\Container->offsetSet('xenconcept_bran...', Array)
#3 src/addons/XenConcept/RestrictGuestViews/Template/Callback/Copyright.php(33): XF\App->__set('xenconcept_bran...', Array)
#4 src/XF/Template/Templater.php(1708): XenConcept\RestrictGuestViews\Template\Callback\Copyright::getCopyrightText('', Array, Object(SV\StandardLib\XF\Template\Templater))
#5 internal_data/code_cache/templates/l1/s24/public/PAGE_CONTAINER.php(2612): XF\Template\Templater->callback('XenConcept\\Rest...', 'getCopyrightTex...', '', Array)
#6 src/XF/Template/Templater.php(1663): XF\Template\Templater->{closure}(Object(SV\StandardLib\XF\Template\Templater), Array, NULL)
#7 src/XF/Pub/App.php(565): XF\Template\Templater->renderTemplate('PAGE_CONTAINER', Array)
#8 src/XF/App.php(2283): XF\Pub\App->renderPageHtml('
 
Back
Top Bottom