No Partial Access Without Confirmation Email

Hi,

How can I control such that a registered member is completely blocked from accessing any parts of the site that is available to confirmed members only. I noticed that a registered user is still able to access the site, upload avatar and other limited access to the site even after I have ticked the option that requires them to confirm email.

Logically, it doesn't make sense and confusing to permit (partial access) to a user, i.e. upload his avatar, grant him limited access and YET requires him to confirm email. What would be nice if he is send to a landing page that tells him that he has to confirm email before proceeding any further.

Is there such a feature or is there a workaround such to achieve this - Users not granted any access until he confirmed the confirmation email sent to him.

Appreciate if anyone can shed some resolution on this matter.

Best regards,

Quote · 9 Dec 2010

admin/settings/moderation settings

mrpowless moderation settings

once done open inc/classes/BxDolJoinProcessor

replace:

if ('EXIT' == BxDolService::call('avatar', 'join', array ($iMemID, $sStatusText))) {
exit;
}

with:

/*       if ('EXIT' == BxDolService::call('avatar', 'join', array ($iMemID, $sStatusText))) {
exit;
}
*/

that stops going to avatar...everything else is pretty limited. You can now block the entire menu

open inc/classes/BxDolMenu.php

after:

if( !$this->aTopMenu or !is_array( $this->aTopMenu ) ) {
echo '<b>Warning!</b> Cannot evaluate Menu Cache.';
return false;
}

add:

if(!isProfileActive($iId))
{
return false;
}

above just says if the profile isnt active dont show them the gol darn menu!  many mnay more ways to do this but this is easiest for a person who may or may not know how to open and edit php files.

*** i do not suggest you do any of this and if you do you will have to do it again and again with each upgrade so keep detailed notes on each and every "modification"  please only use modules if you do not know how to code.

I have video tutorials to help you mrpowless.com
Quote · 9 Dec 2010

Hi MrPowless,

Thank you for your instruction. I applied the instruction as per outlined in the BxDolJoinProcessor.php but avatar prompting still appear. the second part works and it completely remove the entire menu but user still remains log (without any means of navigation) in. Is there a way, not to permit login at all, a redirection of some sort?


Nonetheless thank you for sharing this. Appreciate it.

 

Regards,
PSF

Quote · 9 Dec 2010

MrPowless,

 

Actually I reviewed again and it works. The avatar is removed.

 

Thanks,

PSF

Quote · 9 Dec 2010

Your welcome.... good... my answers are done while I write the code and do it on my on dev server so I know it works before I hit Submit.

Like I said there are many more ways to do this but this gives users the idea! go to your gol darn email and get confirmed!!!!

I have video tutorials to help you mrpowless.com
Quote · 9 Dec 2010

MrPowless

Your solution with regards to the BxDolJoinProcessor is great. Now that the avatar is disabled, I edited the Join Complete language key and is able to provide a better information to Registered user on the need  confirm the Confirmation Mail before their account gets activated.

 

Once again, thank you for providing such a comprehensive and detailed steps on getting this functionality a reality.

 

Cheers and warm regards,
PSF

Quote · 9 Dec 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.