Jump to content

Force client to update contacts on login


ihostgreen

Recommended Posts

Hey all...

 

Is there any way to force users to update their client details upon login...

 

We implemented a couple of new custom fields for added security and would like all our clients to update them but well you know what they are like half have other half only login when paying invoices and dont bother to update them...

 

Either force or add a warning note to the main login page would be good :)

 

Thanks

Ni

Link to comment
Share on other sites

I've been looking into it for another integration i'm doing but it seems as though the only real way to do it (as there is no client login actionhook) is to include PHP code in your major templates preventing pages from being displayed if the values are empty.

 

You basically have to do this to whatever area you do not want them to access until the information is filled out.

 

Luckily my integration only requires that i block the order page until certain info is filled out so i only have to block that.

 

If your FORCING them to do it (i'm assuming you mean don't let them goto any other pages until it's filled out) then you really have to block every page they can access and provide a link to the client area where they can modify the values.

 

Just blocking the header links won't in the above situation as a user can enter a page URL directly because of the way WHMCS is setup.

 

If any of that's unclear please let me know! I get jumbled sometimes..

Link to comment
Share on other sites

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.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated