Deactivating an acount

Does anybody know when a member deactivated his/her account, does everything such as sound, picture, video, blog, article of that person get deleted too or just the profile?

Quote · 25 Feb 2010

Well to answer your own question   create a test account on your site add a sound, picture, video, blog, article to the site and then deactivate the account.  no ?

https://dolphin-techs.com - Skype: Dolphin Techs
Quote · 25 Feb 2010

Hello, when profiles will delete there data will delete automaticaly :

db_res( "DELETE FROM `sys_admin_ban_list` WHERE `ProfID`='". $ID . "' LIMIT 1");
db_res( "DELETE FROM `sys_greetings` WHERE `ID` = '{$ID}' OR `Profile` = '{$ID}'" );
db_res( "DELETE FROM `sys_block_list` WHERE `ID` = '{$ID}' OR `Profile` = '{$ID}'" );
db_res( "DELETE FROM `sys_messages` WHERE Recipient = {$ID} " );
db_res( "DELETE FROM `sys_fave_list` WHERE ID = {$ID} OR Profile = {$ID}" );
db_res( "DELETE FROM `sys_friend_list` WHERE ID = {$ID} OR Profile = {$ID}" );
db_res( "DELETE FROM `sys_acl_levels_members` WHERE `IDMember` = {$ID}" );
db_res( "DELETE FROM `sys_tags` WHERE `ObjID` = {$ID} AND `Type` = 'profile'" );

// delete profile votings
require_once( BX_DIRECTORY_PATH_CLASSES . 'BxDolVoting.php' );
$oVotingProfile = new BxDolVoting ('profile', 0, 0);
$oVotingProfile->deleteVotings ($ID);

// delete profile comments
require_once (BX_DIRECTORY_PATH_CLASSES . 'BxDolCmts.php');
$oCmts = new BxDolCmts('profile', $ID);
$oCmts->onObjectDelete();
// delete all comments in all comments' systems, this user posted
$oCmts->onAuthorDelete($ID);

$iPossibleCoupleID = (int)db_value( "SELECT `ID` FROM `Profiles` WHERE `Couple` = '{$ID}'" );
if ($iPossibleCoupleID) {
db_res( "DELETE FROM `Profiles` WHERE `ID` = '{$iPossibleCoupleID}'" );
//delete cache file
deleteUserDataFile( $iPossibleCoupleID );
}

db_res( "DELETE FROM `Profiles` WHERE `ID` = '{$ID}'" );

All other module's data will not  deleted

PS: If possible do not write me personally, please try to ask on the forum first
Quote · 25 Feb 2010

Nowhere in that list does it say it will delete the following:

 

blogs

video

sounds

articles

photos/pictures/images

Profile Backgrounds

 

wouldn't we need some more code to pull this off completely?

 

require_once( BX_DIRECTORY_PATH_CLASSES . 'BxDolBlogs.php' )

 

Just as an example to start the train really moving forward.

Quote · 25 Feb 2010
 
 
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.