Delete group?

Is there a way to delete a group?  I need to remove it completely not suspend.

Quote · 3 Aug 2008

Admin > content > groups

Quote · 3 Aug 2008

Yes, those are the "categories"... but I want to delete a "group" within the category.

Quote · 3 Aug 2008

Interesting  ..... 

There is no way to delete the group(s).

Workaround:
phpMyAdmin > groups > your_group_name(s) > delete

Interesting note for boonex staff:
As well as this oversite, when you delete a category with groups in it, the groups are not deleted but rather orphaned with non-existant categID numbers.  (which adds to DB glut)

Quote · 3 Aug 2008

Great - that worked!  Now... does anyone know how I can have the groups sorted A-Z?

Quote · 3 Aug 2008

here is the answer

create a file called delgroup.php and insert the following into it -

<?php
require_once( '../inc/header.inc.php' );
require_once( BX_DIRECTORY_PATH_INC . 'design.inc.php' );
require_once( BX_DIRECTORY_PATH_INC . 'admin_design.inc.php' );
require_once( BX_DIRECTORY_PATH_INC . 'utils.inc.php' );
require_once( BX_DIRECTORY_PATH_CLASSES . 'BxDolGroups.php' );
$ID=$_REQUEST["ID"];
$cat=$_REQUEST["cat"];
db_res( "DELETE FROM `Groups` WHERE `ID`=$ID" );
header("location:groups.php?view_cat=$cat");
?>

------------------------------------------------------------------------------

put this into your admin root folder

next ope admin/groups.php and do the following -

2: Search in groups.php this Code (Line 240):
$aRowTmpl['group_name'] = "<a href=\"{$site['url']}group.php?ID={$arrGroup['ID']}\">".htmlspecialchars_adv( $arrGroup['Name'] )."</a>

3: Replace with this Code:
$aRowTmpl['group_name'] = "<a href=\"{$site['url']}group.php?ID={$arrGroup['ID']}\">".htmlspecialchars_adv( $arrGroup['Name'] )."</a> - <a href=\"delgroup.php?cat=$cat&ID={$arrGroup['ID']}\">Delete</a>";

========================================

Go to your Adminmenu and under Content/Groups you can delete the Groups.

u can thank me all anytime..;)

Dean

Quote · 4 Mar 2009

I may sound dumb but where in the Admin should I go to Admin > content > groups ?

I searched everywhere to delete some categories from groups and in the Administration section, there is no CONTENT button to click on... Am I missing on something? I have 7.0.5 version. Thank you!

Quote · 21 Mar 2011

 

I may sound dumb but where in the Admin should I go to Admin > content > groups ?

I searched everywhere to delete some categories from groups and in the Administration section, there is no CONTENT button to click on... Am I missing on something? I have 7.0.5 version. Thank you!

You can manage categories for modules from Administration > Settings > Categories Settings.

BoonEx Certified Host: Zarconia.net - Fully Supported Shared and Dedicated for Dolphin
Quote · 21 Mar 2011
 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.