Dolphin Community Software

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.

community web site developer

Tag: support

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}” );
}

Just thought this might help with a few problems that might pop up.

  Blogs workable (with the design not altered in anyway) - this is likely a change to the related php file. It sounds like the page is missing the name of the php file in the link (the form’s submit action) - 5mins to fix. Either way it could only be related to at most 3 functions… wont take long at all - no matter what the problem.

 

Groups workable (” “) - A careful restore of the orca (group orca) files and related dbase tables to their original state from a fresh install of dolphin will bring this back to life. Half hour.. an hour for a junior.

Banners active in admin section - this has likely been altered in the php code to allow for your rotating banner (an add-on) - problem could be in the __top_banner__ (etc) functions or the CSS…

link top banner to diffrent place other than join.php - this is likely a 30second change to one of the header files in your templates/* directory

Here’s how you can change it.

Problem: Someone added a rotating banner for me that scrolls through 5 diffrent banners if I had them. I want to link these banners to seperate places but cannot find where to do this.

Solution: To locate the URL your rotating banner has, open the files /templates/base/_header.html and /templates/tmpl_UNI(??)/_header.html Look for the link (where to send the click on the banner) and change it to your new page..