The following warnings occurred: | ||||||||||||
Warning [2] Undefined variable $unreadreports - Line: 26 - File: global.php(961) : eval()'d code PHP 8.2.25 (Linux)
|
admin_panels.php - Printable Version +- UserSpice (https://userspice.com/forums) +-- Forum: Miscellaneous (https://userspice.com/forums/forumdisplay.php?fid=28) +--- Forum: Modifications and Hackery (https://userspice.com/forums/forumdisplay.php?fid=29) +--- Thread: admin_panels.php (/showthread.php?tid=528) |
admin_panels.php - Brandin - 04-16-2017 Hello, I noticed while manually updating my admin.php file there is this section: https://hastebin.com/hatoteqeji.xml What does this functionality do exactly? Should I be using this instead of manually editing my admin.php file? Is there documentation on this? Thank you! admin_panels.php - mudmin - 04-16-2017 Yes. If you create the file usersc/includes/admin_panels.php You can add your own admin panels in there and they will automatically be included. We've thought of everything...except documenting this feature admin_panels.php - Brandin - 04-16-2017 Love it So, if I add the PHP for the panel as well, e.g. if it is a panel with items that can be updated (a new setting I manually created), do I put this in admin_panels or admin.php? What do I submit to? [SELF]? Thank you! admin_panels.php - mudmin - 04-17-2017 You put all the php in admin_panels and you submit to admin.php because when that page is viewed, admin_panels would technically be a part of admin.php. admin_panels.php - Brandin - 04-17-2017 Ahh, I like it! Time to do some more moving lol admin_panels.php - Brandin - 04-17-2017 This is an AMAAAAAZING feature! Thank you mudmin! |