Admins only script*Not really solved*
4 posters
Page 1 of 1
Admins only script*Not really solved*
Hello everyone.
I would like this code to apply to admins only:
this is the quick mod tool's script, I only want it for the admins to see and use.
Thanks
Moderators have there own moderation panel like this.
Now, its time for one for the admins only.
What script would make this code visible to admins only?
I would like this code to apply to admins only:
- Code:
<table class="noprint" width="100%" border="0" cellspacing="2" cellpadding="0" align="center">
<tr>
<td colspan="2" align="left" valign="top" nowrap="nowrap">
{S_TOPIC_ADMIN}
<form name="action" method="get" action="{S_FORM_MOD_ACTION}">
<input type="hidden" name="t" value="{TOPIC_ID}" />
<input type="hidden" name="sid" value="{S_SID}" />
<span class="gen">{L_MOD_TOOLS}
{S_SELECT_MOD} <input class="liteoption" type="submit" value="{L_GO}" /></span>
</form>
</td>
</tr>
</table>
this is the quick mod tool's script, I only want it for the admins to see and use.
Thanks
Moderators have there own moderation panel like this.
Now, its time for one for the admins only.
What script would make this code visible to admins only?
Last edited by Leaf on July 10th 2010, 3:56 am; edited 1 time in total
Re: Admins only script*Not really solved*
Hello,
I don't think there is an Admin-only script, even with the templates.
I don't think there is an Admin-only script, even with the templates.
Darren1- Helper
- Posts : 11853
Reputation : 566
Language : English
Re: Admins only script*Not really solved*
Darren1 wrote:Hello,
I don't think there is an Admin-only script, even with the templates.
I'm not sure if its a script, or what.
I just want to make it so that code is only visible to my admins.
that is the quick mod tools*the drop down one.
Re: Admins only script*Not really solved*
I don't know anywhere in the templates that are specific to admins so I can't help you.
I personally doubt that there is a code, or script that is admin specific.
I personally doubt that there is a code, or script that is admin specific.
Darren1- Helper
- Posts : 11853
Reputation : 566
Language : English
Re: Admins only script*Not really solved*
Darren1 wrote:I don't know anywhere in the templates that are specific to admins so I can't help you.
I personally doubt that there is a code, or script that is admin specific.
Well, without editing this only moderators could see this.
So if this is an modertor and admin script, what is just the admin script?
Re: Admins only script*Not really solved*
I know that there is a registered member script and a non-registered member script, but I don't think there is a admin/mod script.
KingOfSports- Hyperactive
- Posts : 2487
Reputation : 38
Language :
Location :
Re: Admins only script*Not really solved*
KingOfSports wrote:I know that there is a registered member script and a non-registered member script, but I don't think there is a admin/mod script.
One of my friends is a programmer and he is helping me.
He said to use this script, but its not working:
<?php
$admin = array("uid1","uid2","uid3");
if($user == $admin) {
//code that allows them to see the box.
} else {
alert("you're no admin. gtfo.");
}
?>
Re: Admins only script*Not really solved*
thats php and forumotion doesn't support php
Darren1- Helper
- Posts : 11853
Reputation : 566
Language : English
Re: Admins only script*Not really solved*
Darren1 wrote:thats php and forumotion doesn't support php
O shoot.
Thanks guys.
This topic isn't solved, but since we can't really solve it, marking it as solved lol.
Re: Admins only script*Not really solved*
Solved > Locked
ankillien- Energetic
- Posts : 5198
Reputation : 129
Language : English, XHTML, CSS, JS, PHP, SQL
Similar topics
» Mods / admins comments script problem
» Moderators Able to Ban Admins? [solved]
» Difference between Admins and Moderators - Solved
» How to change colour of admins text (solved)
» Help with script. [SOLVED.]
» Moderators Able to Ban Admins? [solved]
» Difference between Admins and Moderators - Solved
» How to change colour of admins text (solved)
» Help with script. [SOLVED.]
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum