Hack Forums
[The Brotherhood]Toolkit for All Group Leaders/Owners [RELEASED] - Printable Version

+- Hack Forums (https://hackforums.net)
+-- Forum: Crews and Clans Private Forums (https://hackforums.net/forumdisplay.php?fid=53)
+--- Forum: Group and Crew General Discussions (https://hackforums.net/forumdisplay.php?fid=52)
+--- Thread: [The Brotherhood]Toolkit for All Group Leaders/Owners [RELEASED] (/showthread.php?tid=5279669)

Pages: Pages 1 2 3 4 5 6 7 8 9


[The Brotherhood]Toolkit for All Group Leaders/Owners [RELEASED] - Cryptic™ - May 23, 2016

[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-group-leader-enhancement-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/groupimages/english/brotherhood.png

How to use the Activity Check feature are here https://hackforums.net/showthread.php?tid=5279669&pid=51327140#pid51327140

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


* - ze-slade - May 23, 2016

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.


* - Michael - May 23, 2016

Cryptic back at it again with the white Vans.
OT: sounds very promising.


* - Cryptic™ - May 23, 2016

(May 23, 2016 02:25 PM)Μichael 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. :)


* - Krave - May 23, 2016

This sounds sick, I will let you know if I have any suggestions.

Thanks for this!


* - Roytoy - May 23, 2016

As always The Brotherhood is being the HQ group that it is!


* - Krave - May 23, 2016

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.


* - Compulsive - May 23, 2016

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.


* - Cryptic™ - May 23, 2016

(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.


* - Krave - May 23, 2016

(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! 🤗


* - Cryptic™ - May 23, 2016

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 



* - Realizm - May 23, 2016

O how you are kind and wise great Cryptic leader of ours. bows

Thank you for your gifts. They shall not go to waste.


* - Krave - May 23, 2016

(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.


* - kawaii - May 23, 2016

Group leader interested in testing such features posting here.


* - glitchgxd - May 23, 2016

I was literally just working on something like this (GlitchKit as I was going to call it), to make group leader/owner administration easier.