Home Upgrade Search Memberlist Extras Hacker Tools Award Goals Help Wiki Contact

[The Brotherhood]Toolkit for All Group Leaders/Owners [RELEASED]

[Image: 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]

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
Sounds pretty useful, the blacklisting part would actually be pretty nice since the owners wouldn't have to check the UID of each member if they got accepted.
Cryptic back at it again with the white Vans.
OT: sounds very promising.
Signature space for rent. Send me a PM or buy it here.
[Image: ux8AIrU.png]
(May 23, 2016 02:25 PM)Michael Wrote:  Cryptic back at it again with the white Vans.


:)

A lot of the HFES features were my idea (like Pretty PMs), so I'm back at it again with the ideas. :)
This sounds sick, I will let you know if I have any suggestions.

Thanks for this!
[Image: wLEDPgD.png]

02/28/16 - 08/05/17
As always The Brotherhood is being the HQ group that it is!
I also have the userscript to add/remove a user to the group from a button located on their profile, shown below.

[Image: 613e20588f9661c26fe7095664d21d0f.png]

It would be cool to add this into the toolkit as well. I have the code if you're interested, but I'm not sure who originally made it.
[Image: wLEDPgD.png]

02/28/16 - 08/05/17
I dont know if there would be a way to implement this, but a check of members in the group that recently got warnings, bans, etc.
(May 23, 2016 02:32 PM)Krave Wrote:  I also have the userscript to add/remove a user to the group from a button located on their profile, shown below.

[Image: 613e20588f9661c26fe7095664d21d0f.png]

It would be cool to add this into the toolkit as well. I have the code if you're interested, but I'm not sure who originally made it.

Yeah I have a couple of userscripts that I use (including that one) that will be included in the tool kit.
(May 23, 2016 02:34 PM)Cryptic™ Wrote:  Yeah I have a couple of userscripts that I use (including that one) that will be included in the tool kit.

Ah, awesome. I can't wait for this! 🤗
[Image: wLEDPgD.png]

02/28/16 - 08/05/17
OP has been updated with 3 new feature that were just implemented.
  • Highlight users on managegroup.php
  • Auto Accept/Deny/Ignore All Join Requests
  • Quick Add / Remove to group by visiting users profile 
O how you are kind and wise great Cryptic leader of ours. bows

Thank you for your gifts. They shall not go to waste.
[Image: e5PuZa4.png]
(May 23, 2016 02:37 PM)Cryptic™ Wrote:  OP has been updated with 3 new feature that were just implemented.
  • Highlight users on managegroup.php
  • Auto Accept/Deny/Ignore All Join Requests
  • Quick Add / Remove to group by visiting users profile 

My erection is already fierce.
[Image: wLEDPgD.png]

02/28/16 - 08/05/17
Group leader interested in testing such features posting here.
I was literally just working on something like this (GlitchKit as I was going to call it), to make group leader/owner administration easier.
nameless


Possibly Related Threads...
Thread / Author Replies Views Last Post
[The Brotherhood] by JoshAllenOct 4, 2026 02:12 AM 129 3,795 Oct 4, 2026 02:12 AM
Last Post: Capps
by neiqhtworks.Sep 7, 2024 04:25 PM 9 497 Sep 7, 2024 04:25 PM
Last Post: Sky
by EnnuiDec 31, 2022 06:14 PM 3 198 Dec 31, 2022 06:14 PM
Last Post: Pentatonix