CraKteR Wrote:MyBB bug
Within adminfunctions.php
Find:
if(in_array($startforum['fid'], $selected) || (is_array($selected) && in_array($forum['fid'], $selected)))
Change too:
if((is_array($selected) && in_array($startforum['fid'], $selected)) || (is_array($selected) && in_array($forum['fid'], $selected)))
Thank you so much CraKteR!
Seems like Tikitiki missed something. Updated the Trash can plugin again.
Making a plugin that fits on each theme is impossible. Can you show your index template ?
Here it is -
<html>
<head>
<title>{$mybb->settings['bbname']}</title>
{$headerinclude}
</head>
<body>
{$header}
{$pplease}
{$wm}
<sf_shoutbox>
{$forums}
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<thead>
<tr>
<td class="thead" colspan="2">
<div class="expcolimage"><img src="{$theme['imgdir']}/collapse{$collapsedimg['boardstats']}.gif" id="boardstats_img" class="expander" alt="[-]" /></div>
<div><strong>{$lang->boardstats}</strong></div>
</td>
</tr>
</thead>
<tbody style="{$collapsed['boardstats_e']}" id="boardstats_e">
{$whosonline}
{$online_today}
{$birthdays}
{$forumstats}<!-- ASOIP_2_0_I -->
</tbody>
</table>
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<tr>
<td class="tfoot" align="center" colspan="2"><b>{$logoutlink}<a href="misc.php?action=markread">{$lang->markread}</a> | <a href="showteam.php">{$lang->forumteam}</a> | <a href="stats.php">{$lang->forumstats}</a></b>
</td>
</tr>
</table>
<br />
<table border="0" class="symbols" cellspacing="1" cellpadding="2" align="center">
<tr>
<td class="thead_bottom" colspan="3"></td>
</tr>
<tr>
<td class="trow1" width="220" style="white-space:nowrap" align="center"><img src="{$theme['imgdir']}/on.gif" alt="{$lang->new_posts}" style="vertical-align: middle; padding-bottom: 4px;" /> <span class="smalltext">{$lang->new_posts}</span></td>
<td class="trow1" width="220" style="white-space:nowrap" align="center"><img src="{$theme['imgdir']}/off.gif" alt="{$lang->no_new_posts}" style="vertical-align: middle; padding-bottom: 4px;" /> <span class="smalltext">{$lang->no_new_posts}</span></td>
<td class="trow1" width="220" style="white-space:nowrap" align="center"><img src="{$theme['imgdir']}/offlock.gif" alt="{$lang->forum_locked}" style="vertical-align: middle;" /> <span class="smalltext">{$lang->forum_locked}</span></td>
</tr>
<tr>
<td class="thead_bottom" colspan="3"></td>
</tr>
</table>
{$footer}
</body>
</html>
Hey, could someone make a zip of the Trash can mod and sent it to me? I can't figure out how to get my Linux to unzip rar's.
My forum has the theme "think green" for MyBB 1.2.8.
Without plugin, all languages can be change. It is now everything OK.
Thank you for the help through the support.
But, if I activate the plugin, it blocks the change of the language in the USER CP.
The guests can change the language, but not the User.
I don't find any error. What can be the cause? Cookie?
After the User login, the User can also not change the guest language. User logout, after it, is the change from the guest language possible.
Best Regards
Bernhard