May 23, 2016 02:21 PM
(This post was last modified: Jun 27, 2016 09:26 PM by Cryptic™.)
![[Image: Nl9Dktj.png?1?5163]](https://i.imgur.com/Nl9Dktj.png?1?5163)
Over the past 2-3 years I've seen many people make threads in the
Suggestions and Ideas forum requesting better tools for group leaders / owners, and Omniscient is always busy with other stuff so it will probably be a long time before they are implemented.
In the mean time 'Remix is working on a Group Leader/Owner Enhancement Suite similar to HFES (HF Enhancement Suite - 2 years strong - Making life easier for thousands of HF users! by Emylbus ).
It will be released sometime within the next 2 weeks and here are the features it will have:
- Page that shows activity of members in the group such as:
-Posts in the group,
-Posts outside the group
- A way to blacklist members so their never added to the group, (basically when a leader blacklists a group, it'll show on the members profile and all leaders can see it.
- Highlight users on managegroup.php
- Auto Accept/Deny/Ignore All Join Requests
- Quick Add / Remove to group by visiting users profile
There are more features being developed that I don't want to mention at the moment.
It is now released.
You can install it here
https://greasyfork.org/en/scripts/20989-...ement-suit
Settings will be on this page after you install it:
https://hackforums.net/usercp.php?action=options
Don't forget to thank 'Remix for coding this.
I had a lot of the ideas and he brought them to life.
If you have any suggestions for this toolkit post them below and way may consider it.
Installation:
For the blacklist feature each group has to host their own API on a webserver
Name the file bl_api.php or whatever you want.
Here is the code for the API http://pastebin.com/dWarXLhp
also here is a copy incase the pastebin gets removed
PHP Code
<?php
error_reporting(0);
$output = [];
if(empty($_GET['action']))
die(json_encode(['missing action']));
$action = $_GET['action'];
if($action == 'add' || $action == 'remove') {
if(empty($_GET['uid']))
die(json_encode(['missing uid']));
$uid = $_GET['uid'];
if($action == 'add') {
if(!$handle = fopen('blacklisted_users.txt', 'a'))
die(json_encode(['unable to open file']));
if(!fwrite($handle, $uid.PHP_EOL))
die(json_encode(['unable to write to file']));
} else {
$content = explode(PHP_EOL, file_get_contents('blacklisted_users.txt'));
$after = '';
foreach ($content as $val) {
if($val == $uid || $val == '')
continue;
$after .= $val.PHP_EOL;
}
if(!$handle = fopen('blacklisted_users.txt', 'w'))
die(json_encode(['unable to open file']));
if(!fwrite($handle, $after))
die(json_encode(['unable to write to file']));
}
$output[] = 'ok';
} else if($action == 'read') {
$content = '';
if(($content = file_get_contents('blacklisted_users.txt')))
$output = explode(PHP_EOL, $content);
}
die(json_encode($output));
Once you have that file hosted on a webserver all leaders of the group need to provide a link to that file in the 'blacklist URL' field on the settings page here https://hackforums.net/usercp.php?action=options
All group leaders must use the same API link as it acts as a centralized database for each group.
Group Invitation Settings
The group invitation settings are for the add/remove buttons on users profile.
![[Image: MEOkdgG.png]](https://i.imgur.com/MEOkdgG.png)
In the above picture, I can add Omni to the brotherhood with the click of a button, If Omni was in BH it would let me remove Omni
Under the 'Group Invitation' section of settings you must enter your groups info.
For example:
Group Name = The Brotherhood
Group ID = 54
Group Image NamE/URL = https://hackforums.net/images/modern_bl/...erhood.png
How to use the Activity Check feature are here https://hackforums.net/showthread.php?ti...id51327140
FAQ:
I am a leader of multiple groups, can I still use the activity check feature?
Yes. Just pop in the thread URL and correct group ID.
How do I find my group ID?
You go to https://hackforums.net/usercp.php?action=usergroups
If you highlight the "View Members" button for any group you lead you will see
https://hackforums.net/managegroup.php?gid=XX
XX is your group id




![[Image: ux8AIrU.png]](https://i.imgur.com/ux8AIrU.png)
![[Image: wLEDPgD.png]](https://i.imgur.com/wLEDPgD.png)
![[Image: 613e20588f9661c26fe7095664d21d0f.png]](https://i.gyazo.com/613e20588f9661c26fe7095664d21d0f.png)

![[Image: e5PuZa4.png]](https://i.imgur.com/e5PuZa4.png)
