Hi!
I just wanted to know how to disable a plugin for specific pages... if it is a possibile thing to do... thanks
Hi,
You must give us more détails
Ok, sorry.
I'm talking about the SEF urls plugin.
If you check someone's last uploads, because of the SEF plugin, image links are like this:
dislplayimage-lastupby-0-72.html
and image pages are also rewritten ... and, if clicked, don't show anything...
Should I modify it, I've even made a file for the last uploads which is "lastupby.php" and is identical to "thumbnails.php".
How to disable the plugin there? Thanks
SEF plugin is expérimental and buggy.
I know, but isn't there a way to disable any plugin on a coppermine php page?
you'll need to modify core code for that...
include/init.inc.php
find
if ($CONFIG['enable_plugins'] == 1) {
CPGPluginAPI::load();
}
replace with eg.
if ($CONFIG['enable_plugins'] == 1 && $_REQUEST['album'] != 10) {
CPGPluginAPI::load();
}
to disable plugins within the album with the id (aid) 10
there are several other ways to disable plugins.