Admins Can Post As Alternative User

Started by karlbenson, October 14, 2007, 04:31:47 PM

Previous topic - Next topic

Nao 尚

Quote from: Rumbaar on December 21, 2008, 06:16:32 PM
The author has removed this Customization from the customization area, so it's no longer available.
That's because it's changed hands again:
http://custom.simplemachines.org/mods/index.php?mod=1554
I will not make any deals with you. I've resigned. I will not be pushed, filed, stamped, indexed, briefed, debriefed or numbered.

Aeva Media rocks your life.

KensonPlays

I know this is very old, but, I just installed this mod, because http://forums.digitalpoint.com/showthread.php?p=11458814 suggested to use this, and I uploaded it fine, and it won't apply, the applying page won't even show up! 

*sorry for this being posted on a old topic*

Owner of Mesozoic Haven

qubbah

hope anybody can help to add
</td>
</tr>' : '';
if ($context['user']['is_admin'])
{
echo ' <tr>
<td class="smalltext"><label for="check_postasforumstaff"><input type="checkbox" name="postasforumstaff" id="postasforumstaff" value="1" class="check" /> '.$txt['adminscanpostasaltuser'].'</label></td>
<td class="smalltext"></td>
</tr>';
}
echo ' </table>
</div>
</td>
</tr>';

to
</td>
</tr>' : '';
if ($context['can_modify_any'] && isset($_REQUEST['msg']) && $context['is_first_post'])
{
echo ' <tr>
<td class="smalltext"><label for="check_changeallsubject"><input type="checkbox" name="changeallsubject" id="changeallsubject" value="1" class="check" /> ' . $txt['changeallsubject'] . '</label></td>
<td class="smalltext"></td>
</tr>';
}
echo ' </table>
</div>
</td>
</tr>';

qubbah

i want to add


if ($context['user']['is_admin'])
{
echo ' <tr>



in

// Display the check boxes for all the standard options - if they are available to the user!
echo '
<tr>
<td></td>
<td>
<div id="postMoreOptions">
<table width="80%" cellpadding="0" cellspacing="0" border="0">
<tr>
<td class="smalltext"><label for="check_postasforumstaff"><input type="checkbox" name="postasforumstaff" id="postasforumstaff" value="1" class="check" /> '.$txt['adminscanpostasaltuser'].'</label></td>
<tr>

qubbah

actually the original code want to replace

</tr>' : '', '
</table>
</div>
</td>
</tr>';


with

</tr>' : '';
if ($context['user']['is_admin'])
{
echo ' <tr>
<td class="smalltext"><label for="check_postasforumstaff"><input type="checkbox" name="postasforumstaff" id="postasforumstaff" value="1" class="check" /> '.$txt['adminscanpostasaltuser'].'</label></td>
<td class="smalltext"></td>
</tr>';
}
echo ' </table>
</div>
</td>
</tr>';


but i have a problem because i have a mod that take the original code..

</tr>' : '';
if ($context['can_modify_any'] && isset($_REQUEST['msg']) && $context['is_first_post'])
{
echo ' <tr>
<td class="smalltext"><label for="check_changeallsubject"><input type="checkbox" name="changeallsubject" id="changeallsubject" value="1" class="check" /> ' . $txt['changeallsubject'] . '</label></td>
<td class="smalltext"></td>
</tr>';
}
echo ' </table>
</div>
</td>
</tr>';


anybody can help me to add
</tr>' : '';
if ($context['user']['is_admin'])
{
echo ' <tr>
<td class="smalltext"><label for="check_postasforumstaff"><input type="checkbox" name="postasforumstaff" id="postasforumstaff" value="1" class="check" /> '.$txt['adminscanpostasaltuser'].'</label></td>
<td class="smalltext"></td>
</tr>';
}
echo ' </table>
</div>
</td>
</tr>';

under the first line one?

Garou

qubbah, This mod is is outdated no longer supported. Its switched hands a couple of times now.

The last time it was updated was in the thread at http://www.simplemachines.org/community/index.php?topic=280897.msg2129057#msg2129057 but it looks as if I'm supporting it as the latest author seems to have disappeared.

None the less that feature is already built in as there is a permission in the user group permissions under the  post settings. Unless you check the box for a particular group it is not usable.

I highly recommend that you uninstall this version and get the one from the link above.


qubbah

Quote from: Garou on October 28, 2009, 10:20:41 PM
qubbah, This mod is is outdated no longer supported. Its switched hands a couple of times now.

The last time it was updated was in the thread at http://www.simplemachines.org/community/index.php?topic=280897.msg2129057#msg2129057 but it looks as if I'm supporting it as the latest author seems to have disappeared.

None the less that feature is already built in as there is a permission in the user group permissions under the  post settings. Unless you check the box for a particular group it is not usable.

I highly recommend that you uninstall this version and get the one from the link above.


ok tq.. i didnt now.. there is a new version till you tell me this.. tq..

but is this mod with your link compatible with smf 1.1.10?

ChaosEnergy

pleaaaaaase
let there be an update to smf 2.0 rc2
Chaos Empire ®

tragidy

Quote from: ChaosEnergy on December 27, 2009, 10:09:55 AM
pleaaaaaase
let there be an update to smf 2.0 rc2

I would like to see this show up in 2.0 RC3 - Final and even 1.1.X
Open source Matters, the GNU GPL License is one of the most valuable text ever created by mankind.
Support all open source projects when possible as their concepts are paving the future. ~ tragidy

Sweetwater

i found it a useful mod in 1.1x

Would again be useful in 2.0RC3

Is anyone taking it over?

Kind Regards,

Sweetwater



Spoogs


Advertisement: