Jump to content

Restrict Affiliate Access


kpelham

Recommended Posts

I want to remove a lot of the client area links (like downloads) so that affiliates do not have access to them...only hosting clients.

 

If I remove them from the header template, it would remove them from all the client area pages...right?

 

That wouldn't work...

 

thanks!!!!

Link to comment
Share on other sites

I think what I need to do is figure out how to isolate the affiliate page and set up the client area links I want them to have access to. Maybe put it in another folder.. dunno

 

I could be wrong, but it looks like the suggestions you are making will effect the whole client area. I want to remove access to certain areas of the client area from the affiliates.

Link to comment
Share on other sites

I think I see now. You have affiliates who are not clients. Just do a database check on the top of the pages that you want to restrict to see if they are in the affiliates table (and don't have any products or domains) if so display an access denied message (will only display if they manually find the page.) then do the same check for the menu and homepage template to show a different menu based on the same database query.

 

On a side note why would you not want to encourage your clients to become affiliates and your affiliates to also become clients?

Link to comment
Share on other sites

Yikes! don't think I know enough to mess around with the db!

 

I'd love to have clients who are affiliates and vise versa. But, if you're not a paying client, I don't want you having access to client download area! No ticky...no shirty!!!

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