Restrict purchase on Unapproved members

Hello Folks

its me Yet again LOL

I need help in figuring out how restrict Unapproved new members from purchasing featured membership before their account has been approved by the admin of the site as i have specific criteria the applicant must match before their account is activated (Approved),

I have had a few new members coming onto the site and purchasing featured membership without being approved which puts us in a bad situation as we cannot decline their application.

 

i look forward to your savvy responses.

 

Chris.

All for one and one for all....ah sod it who am i kidding!
Quote · 23 Jun 2013

Page Access Control?

TravelNotes.org - The Online Guide to Travel
Quote · 23 Jun 2013

Yes, as stated, you can denied access to the membership page as well as hide the menu item from those with certain membership levels using page access control.  I don't have details for you but it would seem that you would need to enable the promotional membership level then move the member into the standard membership level when you approve the application with standard membership level then able to see the membership page and menu item.

Geeks, making the world a better place
Quote · 23 Jun 2013

By the way, you can still decline their application and simply issue a membership payment refund.

Geeks, making the world a better place
Quote · 23 Jun 2013

I dont think this is a membership level aspect as Unconfirmed and Awaiting Approval are not membership types i dont think but i shall take a look.

 

Chris

All for one and one for all....ah sod it who am i kidding!
Quote · 23 Jun 2013

Nope as i thought this doesnt work :( any other ideas?

All for one and one for all....ah sod it who am i kidding!
Quote · 23 Jun 2013

Why doesn't it work?.  Evidently the people signing up are getting access to the site membership page and thus purchasing a membership even though you have not approved them.  They are not guests; what are they?  They have to have some type of membership level, either guests or promotional or standard.  Perhaps this is a shortcoming in the Dolphin script; however, it is happening.  I don't know if promotional memberships have such site access or not as I am not using promotional membership.

What about activation; in advance settings, moderation, is Auto-activate profiles after joining: checked?

Geeks, making the world a better place
Quote · 23 Jun 2013

Have a look at the following (free) module, maybe it's what you're looking for

http://www.boonex.com/m/block-unconfirmed-members

Dedicated servers for as little as $32 (28 euro) - See http://denre.com for more information
Quote · 23 Jun 2013

That seems perfect Denre!

Geek_Girl - There are 4 memberships Guest,Standard, Featured and Staff (i dont have promotional active) but there ARE 2 Sub memberships "Unconfirmed and Awaiting Approval {After email confirmation} ) however you CAN restrict the Approved 4 Memberships but cannot edit access to the two sub memberships so must be a shortfall in the code.

All for one and one for all....ah sod it who am i kidding!
Quote · 24 Jun 2013

oh wait ! damn, the code is only for Unconfirmed members who havnt confirmed their email addresses, i already have a deny code for unconfirmed, im looking to restrict those whom HAVE confimed their email addresses but are awaiting approval for the site from the admin.

All for one and one for all....ah sod it who am i kidding!
Quote · 24 Jun 2013

So inactive members; and I am assuming that they are not automatically active upon joining; the checkbox thing I asked about, then that would seem to be a flaw with Dolphin.  Inactive members should not be able to buy memberships.  I guess I could test this on my test site to see.\

So, if inactive members are allow to buy memberships, then what is needed is to check for active state and if false, deny access.  However, this should already be a part of Dolphin; thus a flaw in the Dolphin code, and should be reported as a bug.

Geeks, making the world a better place
Quote · 24 Jun 2013

 

there ARE 2 Sub memberships "Unconfirmed and Awaiting Approval {After email confirmation} )

Would you mind explaining sub memberships?  How does this work, how does one set up a sub membership?

Geeks, making the world a better place
Quote · 24 Jun 2013

 

 

there ARE 2 Sub memberships "Unconfirmed and Awaiting Approval {After email confirmation} )

Would you mind explaining sub memberships?  How does this work, how does one set up a sub membership?

 These are standard on boonex sites - when a new member joins your site awaiting email confirmation there status is " unconfirmed " then if auto approval is not selected the member status will change to "approval" I changed the language key to "Awaiting Approval" after they have been approved there membership then becomes promotional or standard depending on how you have your site set up and can upgrade from there .

All for one and one for all....ah sod it who am i kidding!
Quote · 24 Jun 2013

 

 

there ARE 2 Sub memberships "Unconfirmed and Awaiting Approval {After email confirmation} )

Would you mind explaining sub memberships?  How does this work, how does one set up a sub membership?

 These are standard on boonex sites - when a new member joins your site awaiting email confirmation there status is " unconfirmed " then if auto approval is not selected the member status will change to "approval" I changed the language key to "Awaiting Approval" after they have been approved there membership then becomes promotional or standard depending on how you have your site set up and can upgrade from there .

All for one and one for all....ah sod it who am i kidding!
Quote · 24 Jun 2013

They are not sub memberships. They are statuses. Membership status.

And yes, i agree that members that have not confirmed their emails, or are otherwise not in a active state they should not be able to purchase other memberships.

https://www.deanbassett.com
Quote · 24 Jun 2013

To prevent members whos status is not active from being able to purchase any memberships do the following.

Edit modules/boonex/membership/classes/BxMbpModule.php

Look for this at about line 78

    function getAvailableLevelsBlock()
    {
        if(!$this->isLogged())
            return MsgBox(_t('_membership_err_required_login'));


Add this directly under it.

        if(!isProfileActive())
            return MsgBox(_t('_membership_err_not_active'));

Save changes.


Now create a language key.

Key name: _membership_err_not_active
Language Text: Sorry. Your account is not currently active. You cannot purchase any memberships until your account becomes active.


https://www.deanbassett.com
Quote · 24 Jun 2013

Thank Dean, in my opinion this should be added as a ticket.

Geeks, making the world a better place
Quote · 24 Jun 2013

 I just added the ticket

 

http://www.boonex.com/trac/dolphin/ticket/3242#ticket

Bosun / Moderator -- My Products : http://www.boonex.com/market/posts/danielmarseille
Quote · 24 Jun 2013
 
 
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.