Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at

  • Anil Kumar 41 posts 202 karma points
    May 09, 2018 @ 21:54
    Anil Kumar

    Want to set Member status to suspend in default for MemberListView

    When an user is registered under Member group, the default value is considered as approval for member. How can we restrict the member status to Suspend Status by default. I would like like to approve or delete the user once the user registers.. Please assist

  • Robert Foster 459 posts 1809 karma points MVP 2x admin c-trib
    May 10, 2018 @ 08:28
    Robert Foster

    You would need to hook into the MemberService Created event and set the status to suspended as it's created - take a look at the documentation here:

    Start by creating a class to inherit from the ApplicationEventHandler class, and then subscribe to the appropriate event on the MemberService.

Please Sign in or register to post replies

Write your reply to: