MyBB Community Forums

Full Version: Apply style of theme the cure for plugin Advanced Header Announce
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi all,
I use plugin Advanced Header Announce http://mods.mybb.com/view/advanced-header-announce
I want it synchronize with theme thecure and display below forum title.
here my code after customize
"template"    => "
			  <div class=\"thead_main\"><div class=\"thead_left\"><div class=\"thead_right\"><div class=\"thead_text\">
<div class=\"expcolimage\"><img src=\"{\$theme[\'imgdir\']}/collapse{\$collapsedimg[\'boardstats\']}.gif\" id=\"boardstats_img\" class=\"expander\" alt=\"[-]\" title=\"[-]\" /></div>
<div align=\"center\"><strong><a>{\$mybb->settings[\'titleofannouncment\']}</a></strong></div>
<div><strong>{\$lang->boardstats}</strong></div>
</div></div></div></div>
<table border=\"0\" cellspacing=\"{\$theme[\'borderwidth\']}\" cellpadding=\"{\$theme[\'tablespace\']}\" class=\"tborder\">
<tbody style=\"{\$expdisplay}\" id=\"cat_{\$forum[\'fid\']}_e\">
<tr>
<td class=\"tcat tcat_left\" width=\"50%\" style=\"text-align:center;\"><span class=\"smalltext\"><strong>{\$mybb->settings[\'titleofannouncment2\']}</strong></span></td>
<td class=\"tcat tcat_right\" width=\"50%\" style=\"text-align:center;\"><span class=\"smalltext\"><strong>{\$mybb->settings[\'titleofannouncment3\']}</strong></span></td>
</tr>
<tr>
<td class=\"trow1\" width=\"50%\" valign=\"top\" style=\"text-align:center;\">{\$mybb->settings[\'announcmentcode\']}</td>
<td class=\"trow2\" width=\"50%\" valign=\"top\" style=\"text-align:center;\">{\$mybb->settings[\'announcmentcode2\']}</td>
</tr>
{\$sub_forums}
</tbody>
</table>
<div class=\"tfoot_main\"><div class=\"tfoot_left\"><div class=\"tfoot_right\"></div></div></div>
<p>"
and here result:
[attachment=20998]

but it can not collapse or expanse and some style not like theme, I think I have some mistake but I can not solve my self. Please help if you have solution for issue.
thank so much
Upload boardstats.gif to your ./images/ folder.
(2010-12-27, 04:26 AM)Yaldaram Wrote: [ -> ]Upload boardstats.gif to your ./images/ folder.
Please tell more detail, I just custom code via the cure style. I do not see broadstats.gif any where.
very easy

[attachment=23315]
goodluck