Customizing SMF > Tips and Tricks
[Trick] Administrate Yourself
Labradoodle-360:
I know I made a topic for this a while ago, but things have changed enough, that I decided to just start a new topic.
A long time ago, I decided to make a script for people who needed to administrate themselves, if they lost their main account, or for some reason it was un-administered..
I decided it was finally time to update it, so here it is.
Here are the features I worked in to this version.
* Works on all themes
* Follows forums width
* Validates session
* Pushes guests to a login form
* Error notifications
* Success notification
* Uses a "language" function, for easy translation
* Separates Source from Display
* Redirects Administrators
Note: This does not work on XAMPP if you don't have a password setup, sorry Ha2. :P
Right now, it only will work with the SMF 2.0 series, and has validation to stop it from being run on SMF 1.1x series.
Although I wrote this version with the mindset of eventually backporting it to 1.1x.
Screenshots and zip attached.
To use, simply download "administrate.php" and upload it to the same directory as your forums SSI.php, then visit in your browser.
Enjoy,
Labradoodle-360
texasman1979:
Just to double check, does this check to see if the account was at one time an admin? How would it prevent a would be hacker from gaining access? Or is it like install.php, intended to be removed after use?
Arantor:
It requires the database password, which it checks for.
texasman1979:
Ah kk. Sounds like a pretty good deal. Lab you come up with some pretty good stuff. :) maybe i can get you to check my site out and me some thoughts, maybe we can put our heads together on something sometime.
Labradoodle-360:
Sure, feel free to shoot me a pm.
Moved to Tips and Tricks :)
Navigation
[0] Message Index
[#] Next page
Go to full version