![]() |
Hack so Guests can't view [code] tags...
I know it's around here somewhere, I just can't manage to find it.
Can someone link me or tell me how to set my forum up so guests can't view [code] tags. Thank you. |
Here's an old one from 3.0.x -- you could try asking someone to port it over to 3.5.x/3.6.x as I don't believe there are any others like it.
https://vborg.vbsupport.ru/showthrea...ghlight=bbcode |
Quote:
But thanks for finding that link, I'll try it out. |
There are a lot of customizations that have been made to vB.org by the Coding Team -- but you'll find that a majority of them haven't been released to the public, unfortunately.
|
Quote:
Well if anyone else knows how to do this, please let me know. |
I think there was a version for 3.5, more then likely it will work on 3.6
|
Quote:
Thanks. |
You can just edit the template in the ACP.
|
Oh true... I didn't think of that. Edit the BBCode "code" tag's template and use an if conditional.
Code:
<if condition="$bbuserinfo[userid] == '0'">Only Registered Members may view Code Tag Contents</if> |
Quote:
|
Yeah, I was just giving the basic concept - an else statement is assumed.
|
So can one of you show me the exact code I need to use and which code to replace? And where it's at.
|
Quote:
|
In bbcode_code and bbcode_code_printable find:
Code:
$code Code:
<if condition="$bbuserinfo[userid] == '0'">Only Registered Users may view Code. |
Quote:
Quote:
Even AcidBurner couldn't help and I gave him admin access. Anyone else care to help? |
Anyone else know what might be wrong? It's still not working.
|
Quote:
ahha..using the same idea [img] tag also can be hide from guest? so guest cant see image? Right? |
<a href="https://vborg.vbsupport.ru/showthread.php?t=105160&highlight=hide+bbcode" target="_blank">https://vborg.vbsupport.ru/showt...ht=hide+bbcode</a>
|
All times are GMT. The time now is 07:37 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|