The Admin User List works fine for moderators on my forum, so it's possible.quahappy wrote:and inability of Moderators not being to manage Members using Admin User List MOD)
Sure it is. Just got back from a vacation but will conjure up something for you soon.quahappy wrote:Is it possible so that only the founder of the board can have this option available (Change poster) to them, therefore not showing for all other Administrators?
Thanks for responding and hope you had a great holiday.Joe Belmaati wrote:Sure it is. Just got back from a vacation but will conjure up something for you soon.quahappy wrote:Is it possible so that only the founder of the board can have this option available (Change poster) to them, therefore not showing for all other Administrators?
It is? I'm intrigued! What file(s) requires code change for this? I'm using phpBB2.0.22. Maybe you could PM me to stop this Topic going Off-Topic? Thanks!marian0810 wrote:The Admin User List works fine for moderators on my forum, so it's possible.
You could also delete this code from change_poster.tpl:quahappy wrote:I was initially concerned about one of them inadvertently clicking on the Change Poster icon by mistake and going a bit too far. Well, anything is possible!
Code: Select all
<tr>
<td class="row2" align="center"><input type="checkbox" name="move_all" /></td>
<td class="row2"><span class="genmed">{L_MOVE_ALL}</span></td>
</tr>
In that casequahappy wrote:I do have the BBCode HTML MOD
Code: Select all
OPEN
viewtopic.php
FIND
$change_poster = ($userdata['user_level'] == ADMIN) ? '<a href="' . append_sid("changeposter.$phpEx?post_id=" . $postrow[$i]['post_id']) . '" class="gensmall"><img src="' . $images['icon_change_poster'] . '" alt="' . $lang['Change_poster'] . '" title="' . $lang['Change_poster'] . '" border="0" /></a>' : '';
REPLACE WITH
$change_poster = ($userdata['user_id'] == FOUNDER) ? '<a href="' . append_sid("changeposter.$phpEx?post_id=" . $postrow[$i]['post_id']) . '" class="gensmall"><img src="' . $images['icon_change_poster'] . '" alt="' . $lang['Change_poster'] . '" title="' . $lang['Change_poster'] . '" border="0" /></a>' : '';
OPEN
changeposter.php
FIND
if ($userdata['user_level'] != ADMIN)
{
redirect (append_sid("login.$phpEx?redirect=changeposter.$phpEx?post_id=$post_id"));
}
REPLACE WITH
if ($userdata['user_id'] != FOUNDER)
{
redirect (append_sid("login.$phpEx?redirect=changeposter.$phpEx?post_id=$post_id"));
}
It certainly does. Very useful that marian0810 and prevents all posts by one poster being switched to another selected. Believe me when I say I have put in my Admin and Moderators section step-by-step guides for other Administrators and they still get things cocked up! If in doubt about something, always ask first.marian0810 wrote:You could also delete this code from change_poster.tpl:
That would make the risk considerably smallerCode: Select all
<tr> <td class="row2" align="center"><input type="checkbox" name="move_all" /></td> <td class="row2"><span class="genmed">{L_MOVE_ALL}</span></td> </tr>
Excellent. Having the BBCode HTML MOD makes it easier for the Change Poster MOD only to be accessed by the founder of a forum. Thanks Joe!Joe Belmaati wrote:In that case
Code: Select all
OPEN viewtopic.php FIND $change_poster = ($userdata['user_level'] == ADMIN) ? '<a href="' . append_sid("changeposter.$phpEx?post_id=" . $postrow[$i]['post_id']) . '" class="gensmall"><img src="' . $images['icon_change_poster'] . '" alt="' . $lang['Change_poster'] . '" title="' . $lang['Change_poster'] . '" border="0" /></a>' : ''; REPLACE WITH $change_poster = ($userdata['user_level'] == FOUNDER) ? '<a href="' . append_sid("changeposter.$phpEx?post_id=" . $postrow[$i]['post_id']) . '" class="gensmall"><img src="' . $images['icon_change_poster'] . '" alt="' . $lang['Change_poster'] . '" title="' . $lang['Change_poster'] . '" border="0" /></a>' : ''; OPEN changeposter.php FIND if ($userdata['user_level'] != ADMIN) { redirect (append_sid("login.$phpEx?redirect=changeposter.$phpEx?post_id=$post_id")); } REPLACE WITH if ($userdata['user_level'] != FOUNDER) { redirect (append_sid("login.$phpEx?redirect=changeposter.$phpEx?post_id=$post_id")); }
Code: Select all
$userdata['user_level'] == FOUNDER
Code: Select all
$userdata['user_id'] == FOUNDER
LOL. It's ok. I haven't made the changes yet.Joe Belmaati wrote:Whoooops! Too fast there. Please change each instance (2) of
toCode: Select all
$userdata['user_level'] == FOUNDER
...apologies....Code: Select all
$userdata['user_id'] == FOUNDER