2018-04-12, 08:22 PM
Hey,
I recently installed the SIN - Online Today plugin. It worked perfectly in the default template. Since I use a custom theme I had to insert the class to the template manually.
The Plugin: https://community.mybb.com/mods.php?action=view&pid=680
So I took
from the template and inserted it into my index template.
And I changed {$onlinemembers} to {$online_today}.
It works but there is a little issue.
Somehow I got it twice now.
I tried several things but cannot manage to fix this little issue.
Ideas?
I recently installed the SIN - Online Today plugin. It worked perfectly in the default template. Since I use a custom theme I had to insert the class to the template manually.
The Plugin: https://community.mybb.com/mods.php?action=view&pid=680
So I took
<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>
from the template and inserted it into my index template.
And I changed {$onlinemembers} to {$online_today}.
It works but there is a little issue.
Somehow I got it twice now.
I tried several things but cannot manage to fix this little issue.
Ideas?