Forums / WEB Site / Script testing and error fixing
Mod Levels In Rw Script
Started on the old forum in May 2007 · view the original in the archive · old links redirect here
22 replies · 1,790 views · started 19 years ago · 1 min read
TL;DR · summary of 22 replies
Regz asked for help in creating mod levels with different functions in the RW script. Lordx suggested editing core.php and admin.php to include mod levels, but it didn't work as expected. Subzero provided a suggestion using if(isadmin and if(ismod if(hadmin) but needed further clarification on how to assign access for all or not. Wizard offered code snippets related to creating owner lists in core.php.
Written automatically from the replies by a language model on our own server. It can be wrong; the posts below are the source.
Sort replies:
Oldest
Top voted
Newest
LO
WI
3 participants
subzero
Super moderator Fellow · 3,954 posts
19 years ago
#21
hmmmm you mite got me there wait see the post in wap/web script updated ??mod fix by me
ill clean all this forum and move all there ok to you and it be easy to find
Visit: Chat4u.mobi - The New Lay Of being a site of your dreams!
Visit: WapMasterz Coming Back Soon!
SCRIPTS FOR SALE BY SUBZERO
Chat4u Script : coding-talk.com/f28/chat4u-mobi-script-only-150-a-17677/ - > Best Script for your site no other can be hacked by sql or uploaders.
FileShare Script : coding-talk.com/f28/file-wap-share-6596/ -> Uploader you will never regret buying yeah it mite be old now but it still seems to own others...
_______…
RE
hmmmm you mite got me there wait see the post in wap/web script updated ??mod fix by me
ill clean all this forum and move all there ok to you and it be easy to find
Ok Subzero thnx .....
FL
++++SIMPLE++++
Copy From Core.php
function isadmin($uid)
{
$admn = mysql_fetch_array(mysql_query("SELECT perm FROM ibwf_users WHERE id='".$uid."'"));
if($admn[0]>='2')
{
return true;
}else{
return false;
}
}
Edit It To What U Want E.g Owner
function isowner($uid)
{
$admn = mysql_fetch_array(mysql_query("SELECT perm FROM ibwf_users WHERE id='".$uid."'"));
if($admn[0]>='3')
{
return true;
}else{
return false;
}
}
Do The Same In List.php
And Index.php Copy Edit Paste