hmm, i think there isn't one out as i know..
you have to change two things or your queryammount would rise..
ok, open admin/functions.php find
PHP Code:
$gettemp=$DB_site->query_first("SELECT template FROM template WHERE title='".addslashes($templatename)."' AND (templatesetid=-1 OR templatesetid=" . intval($templatesetid). ") ORDER BY templatesetid DESC LIMIT 1");
change it to:
PHP Code:
$gettemp=$DB_site->query_first("SELECT template FROM template WHERE title='".addslashes($templatename)."' AND (templatesetid=-1 OR templatesetid=1 OR templatesetid=" . intval($templatesetid). ") ORDER BY templatesetid DESC LIMIT 1");
then find
PHP Code:
$temps=$DB_site->query("SELECT template,title
FROM template
WHERE (title IN ('$templateslist')
AND (templatesetid=-1 OR templatesetid=" . intval($templatesetid) . "))
".iif ($loadmaxusers,"OR (title = 'maxloggedin')","")."
".iif ($loadbirthdays,"OR (title = 'birthdays')","")."
ORDER BY templatesetid");
and change it to
PHP Code:
$temps=$DB_site->query("SELECT template,title
FROM template
WHERE (title IN ('$templateslist')
AND (templatesetid=-1 OR templatesetid=1 OR templatesetid=" . intval($templatesetid) . "))
".iif ($loadmaxusers,"OR (title = 'maxloggedin')","")."
".iif ($loadbirthdays,"OR (title = 'birthdays')","")."
ORDER BY templatesetid");
where i've inserted templatesetid=1 make sure that your main setid is 1, if its another id, change it to that in my code

.
then you can create new styles with new templatesets. every template you make custom in your new set would be taken from the new set, everyone you let be original would take from templatesetid=1. if there isn't one it'll use the global one