GrimShadow
11-19-2003, 05:55 PM
I have an upload script and im trying to integrate it with ipb. I already know how to make users login first, but im trying to make it so only mods, smods, and admins can use it, and have all others redirect back to the forums.
The current way i am trying is adding an action in the index.php to go to sources/upload.php the upload.php will determine if the users is a mod, smod, admin. If the users is a mod, smod, or admin it will then go to sources/lib/uploadfiles.php, if they arent it will simply redirect them back. Does anyone know how to go about doing this?
The current way i am trying is adding an action in the index.php to go to sources/upload.php the upload.php will determine if the users is a mod, smod, admin. If the users is a mod, smod, or admin it will then go to sources/lib/uploadfiles.php, if they arent it will simply redirect them back. Does anyone know how to go about doing this?