Jump to content

Restrict page for certain service


Tom Wilson

Recommended Posts

  • 2 weeks later...
On 06/05/2019 at 13:03, Tom Wilson said:

We would like to restrict the Weebly website builder page for customers who have 'product x' activated in their account. Is this possible?

yes, as Chris says it's just a hook (clientareapage) that a) is only triggered by the Weebly page and b) queries the database to see whether the current logged in client has an active instance of x - if they don't, the user can get redirected to another page.

Link to comment
Share on other sites

1 hour ago, brian! said:

yes, as Chris says it's just a hook (clientareapage) that a) is only triggered by the Weebly page and b) queries the database to see whether the current logged in client has an active instance of x - if they don't, the user can get redirected to another page. 

Do you know how to write this haha?

Link to comment
Share on other sites

Just now, Tom Wilson said:

Do you know how to write this haha?

yes haha - do you? lol

just on my way out, but i've bookmarked this and will take a look at it tomorrow (along with 100+ other threads and PMs i've bookmarked as needing to look at further!)... I miss being on holiday lol.

Link to comment
Share on other sites

1 minute ago, brian! said:

yes haha - do you? lol

just on my way out, but i've bookmarked this and will take a look at it tomorrow (along with 100+ other threads and PMs i've bookmarked as needing to look at further!)... I miss being on holiday lol.

You're amazing, thank you!

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