delete groups created

I've asked about this everywhere but here so I'm asking for some help.

How do you delete groups already created. I have some groups created for testing while we are building our site and now we want to delete them. I know you can suspend them in admin panel but how do you delete them from the groups page list?

Many thanks,

JC

Quote · 21 Aug 2008

Go to phpMyAdmin > groups table and delete whichever group ..... 
.

Quote · 22 Aug 2008

Thanks!!!!!!!!

Quote · 23 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
 
 
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.