-
Notifications
You must be signed in to change notification settings - Fork 22
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
administer all accounts #9
Comments
Currently, if you know the offensive image id, you can go to the view page and ban them there (as well as deleting all images uploaded by that user). |
I have a solution: I added this page and named it admin-index.php. This page can only be viewed by the admin. (Might not be perfect, but it works great!)
Then I changed this div in the inc/footer.php
To look like this: This adds a link that can only be viewed by admin that takes you to the view page where you can delete and/or ban, (administer).
|
Better than nothing, but show all images can kill the browser :P |
Almost done with a new solution. :) |
The original idea of this script was just a way for users to easily upload any images they have to share with others, so I don't think it's necessary for the admin to be able to easily browse through all uploaded images. However, I have added another option on the "view image" page to allow the admin to view all images uploaded by that specific user/IP address, just as a way to deal with possible abuse issues. This also required a fix for Cloudflare users, since the real IP address wasn't being passed to the script. |
New improved solution for an admin section. I added two pages, one admin.tpl.html and admin-index.php. This page can only be viewed by the admin. (Might not be perfect, but it works great!) readme.txt Features: Admin Index Section --- 10 most recently uploaded images. --- 10 most recently unhandled reports +++++++++++++++++++++++++++++++++++++++++++ Manage Users Section +++++++++++++++++++++++++++++++++++++++++++ Manage Images Section --- Shows total images in the database. +++++++++++++++++++++++++++++++++++++++++++ Manage Reports Section --- Shows all images reported. +++++++++++++++++++++++++++++++++++++++++++ User Info Section --- Get to this section by clicking user's email address anywhere. +++++++++++++++++++++++++++++++++++++++++++ TO INSTALL --- Upload admin-index.php & admin.tpl.html into the root directory of your image host. TO ADD AN ADMIN LINK (HEADER LINK RECOMMENDED) --- Find:
--- Replace with: This adds a link that can only be viewed by admin.
OR ADD A LINK IN THE FOOTER ---Open inc/footer.php --- Find:
Replace with: This adds a link that can only be viewed by admin.
Download Here ---> image-host.zip |
Opened this back up so people could find it. :) |
... or to mention it in your README.MD :p |
It's not my readme.md file. I was only contributing. |
i got this error and admin panel not working |
I found a solution You get some new warning, but the admin panel works fine |
Admin needs to be able to administer all accounts with options to delete images and ban the user/s.
Everything else is fantastic.
Just seems to be missing this important feature in my opinion.
The text was updated successfully, but these errors were encountered: