The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
![]()
How to hide contents of CODE for unregistered users for vb 3.6.7
|
#2
|
||||
|
||||
![]()
bbcode_code
replace PHP Code:
|
#3
|
|||
|
|||
![]()
Hi, thanks for the code. i think you forgot to add </div> before <else />
![]() Edited Donno whats the issue , some times registered members can view code sometimes they cant ![]() pl help |
#4
|
|||
|
|||
![]()
Have you reproduced this yourself?
|
#5
|
|||
|
|||
![]()
Dont knw what you mean but the issue is strange. just nw i posted a message in my forum and used the code tags and i logged out to view the post again. And i was able to see the content .. sigh.
|
#6
|
||||
|
||||
![]()
The problem is with post caching. Caches are style specific, but not usergroup specific.
|
#7
|
|||
|
|||
![]()
can something be done abt it?
|
#8
|
||||
|
||||
![]()
I made a mod that does this a while ago, but it was a bit of a "hack" so to speak. Whenever "[code]" or "[php]" (etc) was encountered in a post, it would set the cachable variable to false, and then the template condition would work as expected.
|
#9
|
|||
|
|||
![]()
May i please know where what is the name of hack or where can i find it?
|
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|