Quote:
Originally Posted by Triky
Where do I disable post caching? I have tried to set up this:
admincp -> vb options -> server settings & optimization options ->
Cached Posts Lifespan
.. to 0. But it doesn't work. Viewing my thread as guest it still show the code.
|
My guess is that the variable is not inside scope. What you need to do is to create your own parser based on the one readily defined (search for it, I have posted how to create custom BB codes that use PHP).
Quote:
Originally Posted by Triky
Anyway, then.. how would I go to edit it in order to be viewed also when post caching is on?
|
That's tricky (get it?

). I have not actually looked into it, but it would probably require some sort of doing the "Code" BB code replacement last minute, and disabling the parsing of it beforehand.