On my website I have unchecked Auto-Activate Profiles After Joining , so all profiles are manually activated. Till that time all profiles remains in Approval State.
In Dolphin 7.1.6, new user can add Avatar at join page or after successful joining.
In 7.2, there is no option to add Avatar/Profile Photo on join page for the new user. Even after joining and confirming email they cannot add Avatar/Profile Photo because they are in Approval state.
But in 7.1.6 even if they are in Approval state then also they can add Avatar/Profile Photo.
I want the same to be in 7.2 also. Even if they are in Approval state then also they can add Avatar/Profile Photo.
I cannot find any setting where to allow Approval user to add Avatar/Profile Photo.
Anyone knows how to do this?
|
Helped by @Igor L
Account -> Avatar
Even Approval user can also add Avatar!
|
Approval or Unconfirmed user cannot add Avatar. It says access denied! Getting this error after update to 7.3 |
Approval or Unconfirmed user cannot add Avatar. It says access denied! Getting this error after update to 7.3
Any help??
|
Usually when profile is not active then almost anything isn't allowed, we believe that is is safe behaviour.
If you want to allow non active members to do the same actions like active members, then do the following modifications:
1. inc/profiles.inc/php file
function isProfileActive($iId = 0)
{
$aProfile = getProfileInfo($iId);
if($aProfile === false || empty($aProfile))
return false;
return $aProfile['Status'] == 'Active' || $aProfile['Status'] == 'Approval';
}
2. inc/membership_levels.inc.php file
if ($isCheckMemberStatus) {
$active = getProfileInfo( $iDestID );
if ($active['Status'] != 'Active' && $active['Status'] != 'Approval') {
$result[CHECK_ACTION_RESULT] = CHECK_ACTION_RESULT_NOT_ACTIVE;
$result[CHECK_ACTION_MESSAGE] = _t_ext(CHECK_ACTION_MESSAGE_NOT_ACTIVE, $arrLangFileParams);
return $result;
}
}
Rules → http://www.boonex.com/terms |
You could have better implemented that by creating a separate membership for Approval or Unconfirmed user because different people have different need and you should not restrict what site administrator should implement.
As per your code modification, if Approval or Unconfirmed user starts acting like Active user then what is the use of having Approval and Unconfirmed level??
Now coming to the question, my only need is to allow them to add Avatar as it was in the previous versions and nothing else. What should I do?
|
You could have better implemented that by creating a separate membership for Approval or Unconfirmed user because different people have different need and you should not restrict what site administrator should implement.
It requires a lot of code modifications, but it's already done in Trident (a.k.a Dolphin 8)
As per your code modification, if Approval or Unconfirmed user starts acting like Active user then what is the use of having Approval and Unconfirmed level??
Now coming to the question, my only need is to allow them to add Avatar as it was in the previous versions and nothing else. What should I do?
I can provide instructions for all media modules (Photos, Videos, Sounds and Files) only:
2 modifications in inc/classes/BxDolFilesModule.php file:
$bNotAllowView = $this->_iProfileId == 0;// || !isLoggedActive();
function isAllowedAdd ($isPerformAction = false, $isNotDefineActions = false, $isCheckMemberStatus = false)
Rules → http://www.boonex.com/terms |
I can provide instructions for all media modules
But that is not what the user wanted so why give that solution?
Geeks, making the world a better place |
yeah - or have an unconfirmed user act the same as a Guest - so you can use the existing Guest membership to define actions.
You could have better implemented that by creating a separate membership for Approval or Unconfirmed user because different people have different need and you should not restrict what site administrator should implement.
As per your code modification, if Approval or Unconfirmed user starts acting like Active user then what is the use of having Approval and Unconfirmed level??
Now coming to the question, my only need is to allow them to add Avatar as it was in the previous versions and nothing else. What should I do?
caredesign.net |
@AlexT: So when is the separate membership coming for the two APPROVAL and UNCONFIRMED?
7.3.1 or 10 (LEAP) (Well, it was 7.4 previously)?
|
It's not planned for Dolphin at all for now, if you need such dramatic changes it's better to move to Trident.
@AlexT: So when is the separate membership coming for the two APPROVAL and UNCONFIRMED?
Rules → http://www.boonex.com/terms |
I can provide instructions for all media modules
But that is not what the user wanted so why give that solution?
I think affecting 4 modules, is better than affecting all modules, so maybe somebody can live with it.
Rules → http://www.boonex.com/terms |
It's not planned for Dolphin at all for now, if you need such dramatic changes it's better to move to Trident.
@AlexT: So when is the separate membership coming for the two APPROVAL and UNCONFIRMED?
What is there in Trident? Nothing!
You are just wasting your time in that. Neither this nor that is going to become better if you continue to work on both. Choose one and make it perfect!
So because of this change, I should move to Trident? Is it has all the features which Dolphin has??
You must mention for every update what is going to change. So that site owner can decide whether they want to go with the update or not. You should not restrict what they should do!!
|
Rules → http://www.boonex.com/terms |