I really don't need to show any more code.
What is there works fine if i comment out the query, once it's uncommented like in the above code it wont work.
edit:
here's what's ive tried to do with the fetch template:
Code:
require_once('includes/quickmod.php');
$moderate = quick_mod_template();
That is the plugin.
This is the code in quickmod.php:
Code:
function quick_mod_template()
{
return eval('$moderate = "' . fetch_template('navbar_moderation') . '";');
}
nothing.
edit2: I just noticed that even if (altho it's very stupid, but i'm only testing here) I just put "$moderate = 'test';" into my plugin, and remove all other code, then put $moderate in a template, it won't show... :S