Jump to content

pre action events


activa

Recommended Posts

Sometimes we need to block some email providers or client from some countries... ect , and the only way to not do this manually is to have a pre action event for Clients.Add action .it would be perfect to allow as inject our our code before the action then if we want we set errors, as now blesta allow as to inject code after client creation action.

Link to comment
Share on other sites

What do you use to determine if someone should be disallowed to create an account? Perhaps such constraints should be supported by Blesta some other way.

If we had before and after events for actions, I'm not sure we would necessarily prevent an action from completing based on what a before-event does. We currently don't do this with after-events now.

Link to comment
Share on other sites

i have already requested this feature, the competitor do this from years now, they have pre-events and after-events (hooks) and they look to response to complete the action or return the returned errors.

i think this behavior a great way to extend the software and give the developers the ability to do more features and staff . the events now in Blesta is just like a notification system about completed actions, and also i think is no sense for look for after-events return as the action is already completed. 

Link to comment
Share on other sites

  • 1 month later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...