Open your Bb Code, edit its permissions settings.how can i deactivate the Info "This content is protected" ?
<xen:if is="!{$visitor.user_id}">
<span style="font-size:10px;padding-left:10px;"><i>Sorry, you need to <a href="{xen:link register}">register</a> or <a href="{xen:link login}">login</a> to see this BBcode !</i></span>
<xen:else />
Version 3.1.2 released
- Fix a bug that prevented the viewing permissions to work with XenForo Bb Codes
This update is recommanded.
<xen:require css="bbm_viewer_content_protected.css" />
<div class="bbm_protected_title">
{xen:raw $phrase}
</div>
<xen:require css="bbm_viewer_content_protected.css" />
<xen:if is="{$tagName} == 'url'">
<xen:include template="yourNewTemplate" />
<xen:else />
<div class="bbm_protected_title">
{xen:raw $phrase}
</div>
</xen:if>
<xen:if is="in_array({$tagName}, array('url', 'attach'))">
so if i made a template called "hide_url_guest"
? - can i just use code that i found lying such as:
<xen:if is="!{$visitor.user_id} OR {$visitor.user_state} != 'valid'">
Please <label for="LoginControl"><a href="{xen:link login}" class="inner">Register/Login (Confirm your Email)</a></label> to view Links or Attachments
</xen:if>
and i would include this for the css?
<xen:require css="hide_url_guest.css" /> <-- i assume you where referring the the customisations made in here?
Last time someone reported such a problem, he found the problem came from an incorrect permissions settings [ref]. If you're sure of you, contact by pm (admin+ftp access), I will have a look, but that will next weekend.Hello, cclaerhout -
where do I find the permission settings?
Update: I found it, under user permissions.
My problem is, that the "This content is protected" message shows up, while I have all permissions on "not set". What do I need to do to disable any kind of protection (everyone is allowed to see everything)?
I know there is a setting "Activate the Bb Codes Content Protection", but either way it gives the above message. Strangely enough, my fellow admin sees "This content is protected", while I do see the content. We both are members of the admin group, with no additional memberships.
ErrorException: Fatal Error: syntax error, unexpected end of file, expecting function (T_FUNCTION) - library/BBM/Protection/Helper/ContentProtection.php:8
Generated By: Unknown Account, Yesterday at 8:38 PM
Stack Trace
#0 [internal function]: XenForo_Application::handleFatalError()
#1 {main}
Request State
array(3) {
["url"] => string(42) "http://dressedwell.net/taigachat/list.json"
["_GET"] => array(0) {
}
["_POST"] => array(8) {
["sidebar"] => string(1) "1"
["lastrefresh"] => string(2) "79"
["fake"] => string(1) "0"
["room"] => string(1) "1"
["_xfRequestUri"] => string(1) "/"
["_xfNoRedirect"] => string(1) "1"
["_xfToken"] => string(8) "********"
["_xfResponseType"] => string(4) "json"
}
}
XenForo_Exception: Invalid model 'BBM_Model_BbCodes' specified - library/XenForo/Model.php:192
Generated By: Leitmotif, Yesterday at 8:37 PM
Stack Trace
#0 /home/dressedw/public_html/library/BBM/Helper/Bbm.php(108): XenForo_Model::create('BBM_Model_BbCod...')
#1 /home/dressedw/public_html/library/BBM/BbCode/Formatter/Base.php(52): BBM_Helper_Bbm::getBbmBbCodes()
#2 /home/dressedw/public_html/library/BBM/BbCode/Formatter/Base.php(38): BBM_BbCode_Formatter_Base->bakeBbmTags()
#3 /home/dressedw/public_html/library/XenForo/BbCode/Formatter/Base.php(117): BBM_BbCode_Formatter_Base->getTags()
#4 /home/dressedw/public_html/library/BBM/BbCode/Formatter/Base.php(28): XenForo_BbCode_Formatter_Base->__construct()
#5 /home/dressedw/public_html/library/XenForo/BbCode/Formatter/Base.php(1941): BBM_BbCode_Formatter_Base->__construct()
#6 /home/dressedw/public_html/library/Dark/TaigaChat/ControllerPublic/TaigaChat.php(33): XenForo_BbCode_Formatter_Base::create('Base')
#7 /home/dressedw/public_html/library/XenForo/FrontController.php(347): Dark_TaigaChat_ControllerPublic_TaigaChat->actionList()
#8 /home/dressedw/public_html/library/XenForo/FrontController.php(134): XenForo_FrontController->dispatch(Object(XenForo_RouteMatch))
#9 /home/dressedw/public_html/index.php(13): XenForo_FrontController->run()
#10 {main}
Request State
array(3) {
["url"] => string(42) "http://dressedwell.net/taigachat/list.json"
["_GET"] => array(0) {
}
["_POST"] => array(8) {
["sidebar"] => string(1) "1"
["lastrefresh"] => string(2) "79"
["fake"] => string(1) "0"
["room"] => string(1) "1"
["_xfRequestUri"] => string(1) "/"
["_xfNoRedirect"] => string(1) "1"
["_xfToken"] => string(8) "********"
["_xfResponseType"] => string(4) "json"
}
}
ErrorException: Fatal Error: Class 'BBM_BbCode_Formatter_Base' not found - library/XenForo/BbCode/Formatter/Base.php:1941
Generated By: Leitmotif, Yesterday at 8:37 PM
Stack Trace
#0 [internal function]: XenForo_Application::handleFatalError()
#1 {main}
Request State
array(3) {
["url"] => string(42) "http://dressedwell.net/taigachat/list.json"
["_GET"] => array(0) {
}
["_POST"] => array(8) {
["sidebar"] => string(1) "1"
["lastrefresh"] => string(2) "79"
["fake"] => string(1) "0"
["room"] => string(1) "1"
["_xfRequestUri"] => string(1) "/"
["_xfNoRedirect"] => string(1) "1"
["_xfToken"] => string(8) "********"
["_xfResponseType"] => string(4) "json"
}
}
@Rambro Can you make sure the files uploaded correctly?@cclaerhout got several fatal errors with the new version:
Code:ErrorException: Fatal Error: syntax error, unexpected end of file, expecting function (T_FUNCTION) - library/BBM/Protection/Helper/ContentProtection.php:8 Generated By: Unknown Account, Yesterday at 8:38 PM Stack Trace
I don't know how is coded the Wiki ; some data might be missing in the view. In the Github version I've coded yesterday night a way to bypass the Bbm protection by adding a basic parameter to the view. I still need to write a tutorial (for developers) about this, but I will do that next week.Despite, content is still protected in Wiki for some reasons :
http://www.forum-des-portables-asus.fr/forums/index.php?wiki/index/
We use essential cookies to make this site work, and optional cookies to enhance your experience.