MyBB Community Forums

Full Version: problem with this plugin
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
hi,

i've tried to install this plugin->  http://community.mybb.com/mods.php?action=view&pid=680

and im getting this http://i.imgur.com/nUZFppz.png

i've tried to edit the position on the core file but got no success, any help?
if the plugin uses a template then colspan needs to be changed for the rows (may be 2 to 4)
(2016-05-01, 02:27 AM).m. Wrote: [ -> ]if the plugin uses a template then colspan needs to be changed for the rows (may be 2 to 4)

i believe this happens inside the file, he doesn't use any template

function onlinetoday_activate()
{
	global $db;
	$template = array(
		"tid"		=> NULL,
		"title"		=> "online_today_index",
		"template"	=> "<tr>
	<td class=\"tcat\"><strong>{\$lang->whos_online_today}</strong> [<a href=\"online.php?action=today\">{\$lang->complete_list}</a>]</td>
</tr>
<tr>
	<td class=\"trow1\"><span class=\"smalltext\">{\$lang->online_note_today}<br />{\$onlinemembers}</span></td>
</tr>

i tried to add colspan here and it didn't worked (unless i coded badly)
/bump
you can try changing
<td class=\"tcat\"> to <td class=\"tcat\" colspan=\"2\">
<td class=\"trow1\"> to <td class=\"trow1\" colspan=\"2\">