Boonex, the creators of Dolphin web site software. It is by far, one of the best platforms to build your community web service with. Customizing your Dolphin web site takes experience, or the support from someone who knows this Boonex product.
I am known as Dadniel at Boonex's sister site - Expertzzz, one of the top 6 contributors to the Dolphin platform. My custom modifications are ranked high with recommendations from almost every client.
When you need to learn something, or need some help modifying this best-of-breed community site software, check out my blog.
OPEN :: / group_actions.php
FIND:::
case ‘delmem’:
if( $arrGroup['creatorID'] == $memberID )
{
$mem = (int)$_REQUEST['mem'];
if( $mem )
{
if( $mem != $memberID )
{
$oGroups->resignGroupMember( $mem, $groupID );
Header( “Location: {$site['url']}grp.php?action=mygroups” );
exit;
}
else
{
$_page['header'] = _t( “_Group member delete error” );
$_page['header_text'] = _t( “_Group member delete error” );
$_page_cont[$_ni]['page_main_code'] = MsgBox(_t( “_You cannot delete yourself from group because you are group creator” ));
}
}
exit;
}
else
{
$_page['header'] = _t( “_Group member delete error” );
$_page['header_text'] = _t( “_Group member delete error” );
$_page_cont[$_ni]['page_main_code'] = MsgBox(_t( “_You cannot delete group member because you are not group creator” ));
}
break;
(AFTER IT…) ADD:
case ‘delgrp’: // start delete group function
if( $arrGroup['creatorID'] == $memberID )
{
// put delete function here
$sql = “DELETE FROM `Groups` WHERE `ID` = ‘”.$groupID.”‘ “;
db_res ( $sql);
$sql = ” DELETE FROM `GroupsGallery` WHERE `groupID` = ‘”.$groupID.”‘ “;
db_res ( $sql) ;
if( $_SERVER['HTTP_REFERER'] )
Header( “Location: {$_SERVER['HTTP_REFERER']}” );
else
Header( “Location: {$site['url']}grp.php” );
exit;
}
else
{
$_page['header'] = _t( “_Group member delete error” );
$_page['header_text'] = _t( “_Group member delete error” );
$_page_cont[$_ni]['page_main_code'] = MsgBox(_t( “_You cannot delete group because you are not group creator” ));
}
break; // end delete group
OPEN ::: /inc/classes/BxDolGroups.php
FIND :::
if ( $aGroupInfo['creatorID'] == $iMemberID ){
$sRetHtml .= $this->genGroupActionBtn( ‘Edit group’, “{$this->sCurrFile}?action=edit&ID={$iGroupID}” );
}
CHANGE TO :::
if ( $aGroupInfo['creatorID'] == $iMemberID ){
$sRetHtml .= $this->genGroupActionBtn( ‘Delete group’, “group_actions.php?a=delgrp&ID={$iGroupID}”, true );
$sRetHtml .= $this->genGroupActionBtn( ‘Edit group’, “{$this->sCurrFile}?action=edit&ID={$iGroupID}” );
}
Search Engine Optimization Dolphin -
Did you know - that once you change the option to use perma-links, you have to open the Navigation builder and move any button.
This will rebuild your menu and ensure the correct URLs are used depending on your selection within the Dolphin admin panel.
Just figured it out - thought I’d post a note…
Been a busy new year!
I haven’t forgotten about this blog - just got busy with other things!
Stick around - will write a few posts this week.
![]()