News:

Wondering if this will always be free?  See why free is better.

Main Menu

Boards Moderating (Update! v1.0.1)

Started by Yağız..., December 13, 2010, 01:23:20 PM

Previous topic - Next topic

Yağız...

Link to Mod

This mod shows the boards moderating in your users' profile.

Changelog:
v1.0.1

samurai-lupin

Hello, this is a very nice mod. Do you plan on doing a SMF 1.1 version of it?

TheListener

Hi Yaguz.

Like the idea.

How would I get this to show in the Ultimate Profile mod?

grafitus


samurai-lupin

Any chance there will be a version of this mod for SMF 1.1.12? Thank you

Cal O'Shaw

I'll also request a version for 1.1.12.

Grazie

Yağız...

v1.0.1

samurai-lupin

Thanks for making it compatible with SMF 1.1!

TheListener

Many thanks for the Ultimate Profile support bud.

Much appreciated.


Jessica.

suggestions...can you make it so the forums will be in a drop down list? so if someone is moderating a lot of forums the page won't be cluttered.
Testing Zone - SMF 2.0.7, default Curve
School & Chat - phpBB3, over 170 mods installed, official live forum

I use the latest version of Chrome

phpBB: Forum = a section; Board = whole site
SMF: Forum = whole site; Board = a section

Yağız...

Quote from: Jessica C on January 18, 2011, 03:55:56 PM
suggestions...can you make it so the forums will be in a drop down list? so if someone is moderating a lot of forums the page won't be cluttered.
I'm sorry for the late answer:

For SMF 1.1.12, find in ./Themes/default/Profile.template.php:
<ul class="reset">';
foreach ($context['boards_moderating'] as $board)
echo '
<li>', $board['link'], '</li>';
echo '
</ul>

Replace with:
<select name="boards_moderating" onchange="window.location.href = smf_scripturl + this.options[this.selectedIndex].value.substr(smf_scripturl.indexOf(\'?\') == -1 || this.options[this.selectedIndex].value.substr(0, 1) != \'?\' ? 0 : 1)">
<option value="" disabled="disabled" selected="selected">-----------------------------</option>';
foreach ($context['boards_moderating'] as $board)
echo '
<option value="?board=', $board['id'], '.0">', $board['name'], '</option>';
echo '
</select>


For SMF 2.0 RC4, find in ./Themes/default/Profile.template.php:
<ul class="reset">';
foreach ($context['boards_moderating'] as $board)
echo '
<li>', $board['link'], '</li>';
echo '
</ul>

Replace with:
<select name="boards_moderating" onchange="window.location.href = smf_scripturl + this.options[this.selectedIndex].value.substr(smf_scripturl.indexOf(\'?\') == -1 || this.options[this.selectedIndex].value.substr(0, 1) != \'?\' ? 0 : 1)">
<option value="" disabled="disabled" selected="selected">-----------------------------</option>';
foreach ($context['boards_moderating'] as $board)
echo '
<option value="?board=', $board['id'], '.0">', $board['name'], '</option>';
echo '
</select>

Advertisement: