Skip to content
This repository has been archived by the owner on Nov 13, 2024. It is now read-only.

For people who want to hide donor's names from custom ban/comm search #9

Open
NullifidianSF opened this issue Dec 31, 2020 · 0 comments

Comments

@NullifidianSF
Copy link

NullifidianSF commented Dec 31, 2020

Donor's names will show up in "advanced bans/comms search -> search by admin".
In "pages/admin.bans.search.php" and "pages/admin.comms.search.php" change

$admin_list = $GLOBALS['db']->GetAll("SELECT * FROM " . DB_PREFIX . "_admins ORDER BY user ASC");

to

$admin_list = $GLOBALS['db']->GetAll("SELECT * FROM " . DB_PREFIX . "_admins WHERE NOT srv_group = 'Donors - Reserved slot' ORDER BY user ASC");

Rename Donors - Reserved slot part to what ever group name you use for donors.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant