Disable the original plugin based template cache. Under your forums, create a new folder called 'cache' and make sure it is writable by the webserver user (www or nobody or similar).
Copy everything in the first code block and put it in a new php file. Save it as yourforums.com/forums/includes/functions_hooks.php
Then, in your adminCP, open 'Add a new plugin'. Under hook location, select 'cache templates'. Under 'Plugin PHP code', put everything from the second code block in orban's post. Make sure 'active' is yes, give it a descriptive name like 'Orban's experimental template cache' and save it.
That's it.
If you ever make any changes to your templates, you have to manually delete forums/cache/*.php otherwise your template changes will not become active.
If this interferes with any other plugin, then there is no remedy as of now. You have to either stop using the other plugin or go back to the old cache.
|