-
Richard Benton G4WKW replied to the topic Disable Group abandonment and Group access request in the forum How-to & Troubleshooting 2 years, 3 months ago
As I have not managed to code something that works to identify my specific group, I did a bit of lateral thinking and my code looks to see whether or not a “group_mod” is present in a group and (if not) the Join/Hide button is hidden, like the case of group_admins, when only one is present. I can live with it for now, as I just have to make sure…[Read more]
-
Richard Benton G4WKW replied to the topic Disable Group abandonment and Group access request in the forum How-to & Troubleshooting 2 years, 3 months ago
// SPECIAL G4WKW CODE
// If NO group mods, STOP ANYONE abandoning that group.
$group_mods = groups_get_group_mods( $group->id );
$modsno = count( $group_mods );
if ( $modsno < 1 ) {
return false;
}
-
Richard Benton G4WKW replied to the topic Disable Group abandonment and Group access request in the forum How-to & Troubleshooting 2 years, 3 months ago
Seems I wrote too much? I will post in two parts:
Hi @hcmendez, I am trying to do exactly the same thing myself and found the post your referenced, which was now made 10 years ago! I have developed a staging test site for a Radio Club, where registration is disabled and all user accounts will be set up for the users. There are 3 levels of…[Read more]
-
Richard Benton G4WKW replied to the topic Disable Group abandonment and Group access request in the forum How-to & Troubleshooting 2 years, 3 months ago
My reply is not showing up, so attempting a test one.
@g4wkw
Active 2 years, 2 months ago