MyBB Community Forums

Full Version: Where is this template?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Where can I find the Advanced Stats on Index plugin template?
I didn't find it....
I have to edit it.

Thank you.
Probably in the Global Template Set.
There is a "search" for templates by name in admincp.

To know the name of a template you want to edit simply view your source code and look for the comment tags that tell you the template name. More people need to know how to do this. It's ultra easy and 100% effective.
(2009-12-16, 10:22 PM)labrocca Wrote: [ -> ]To know the name of a template you want to edit simply view your source code and look for the comment tags that tell you the template name. More people need to know how to do this. It's ultra easy and 100% effective.

I did it and:
	//EDIT TEMPLATES
	require MYBB_ROOT."/inc/adminfunctions_templates.php";
	find_replace_templatesets("index", '#\{\$forums\}#', '<!-- ASOI_3_I_T -->{$forums}');
	find_replace_templatesets("index_boardstats", '#\{\$forumstats\}#', '{$forumstats}<!-- ASOI_3_I_B -->');
	find_replace_templatesets("portal", '#\{\$latestthreads\}#', '{$asoi_latestthreads}');
	find_replace_templatesets("portal", '#</table>#', '</table><!-- ASOI_3_P_B -->');
	find_replace_templatesets("portal", '#<table#', '<!-- ASOI_3_P_T --><table');

But I need to find the ASOI template to edit it...

It only have the StyleSheet:
function asoi_is_installed()
{
		global $db;
		$query = $db->simple_select("themestylesheets", "*", "name='asoi.css'");
		return ($db->num_rows($query) > 0);
}