i just pmed you too. but i'll post instructions here as well.
a couple things:
1. the mods that the hack has you add into index.php... instead add those to global.php just above the part where it sets the phpinclude, header, and footer templates. in my 2.2.1 global.php it looks like this:
$header='';
$footer='';
// parse PHP include ##################
eval(gettemplate('phpinclude',0,0));
// parse css, header & footer ##################
eval("\$headinclude = \"".gettemplate('headinclude')."\";");
eval("\$header .= \"".gettemplate('header')."\";");
eval("\$footer .= \"".gettemplate('footer')."\";");
add the index.php mods just above this section.
2. the templates: in your header use this instead of what the insturctions say to use in your forumhome templates:
<select name="styleid" onchange="window.location=('index.php?s=$session[sessionhash]&changestyle='+this.options[this.selectedIndex].value)">
<option>Select Style...</option>
$dropdownbits
</select>
and in your forumhome_dropdownbit use this instead of what the instructions say:
<option value="$thisstyle[styleid]">$thisstyle[title] ($thisstyle[count] users)</option>
that should do it.
|