Is there a way to restrict what a user can see for subscriptions?

Discussion in 'Troubleshooting' started by sabbok, May 28, 2008.

  1. sabbok

    sabbok New Member

    Joined:
    Apr 29, 2008
    Messages:
    33
    Is there a way to restrict what a user can see for subscriptions?

    For example, I have 6 product groups, 1 I want available to the general public, and 5 others restricted to a specific group of users... is there a way to do this?

    I know you can do price group=-2 to hide it on initial sign up, but after you sign up, anything else under -2 is not available to you in the subscriptions list, only the global list.

    Anyone figure out an effective way to do/manage this functionality?
  2. calisolllc

    calisolllc Member

    Joined:
    Feb 19, 2007
    Messages:
    194
    A lot depends on HOW do you define "Another specific group of users"?
    Something similar can be achieved with a combination of "SCOPE" and "Require another subscription to order this product" and "Disallow subscription to this
    product if the following conditions meet and user has". These are all options on the product/subscriptions maintenance page of Control Panel
    You can even set different negative price groups for the products and only link to those from the particular members areas you wish to make the offer to
  3. sabbok

    sabbok New Member

    Joined:
    Apr 29, 2008
    Messages:
    33
    Hi Calisollc,

    Hey thank you for pointing that out, I think I was just over complicating this in my head. I'll attempt a few more scenario's and go from there, thanks again!
  4. sabbok

    sabbok New Member

    Joined:
    Apr 29, 2008
    Messages:
    33
    Scenario

    So I'm going to elaberate a bit here to see if anyone has had a similar setup and can slap me around a bit to get this going. No idea what I did but now when I do this:

    http://www.mysite.com/amember/signup.php?pricegroup=-2

    I no longer get just my pricegroup 2's anymore...

    So here's the scenario to kinda get anyone who's interested on the same page:

    I have multiple products, lets call them:

    • Prodgroup1 (price group = -1)
    • Prodgroup2 (price group = -2)
    • Prodgroup3 (price group = -3)

    There are 12 items under each prodgroup.

    Now Prodgroup1, Prodgroup2, and Prodgroup3 are the same products, but priced seperately based on different clients. All are at different dollar amounts, and even have different taxation based on location.

    Now to make this more complicated, Prodgroup1 must be available to everyone (public product at a flat cost), Prodgroup2 and Prodgroup3 however are for specific customers at a negotiated rate, and Prodgroup2/Prodgroup3 must not be able to see each other or Prodgroup1 when logged in through the: http://www.mywebsite.com/amember/member site.

    So this is the scenario I'm working with. What I've done so far:


    • [*]All products have been setup, each with different product groups. A user can do their initial signup being able to select multiple products, and in any order they wish as products have no dependencies on each other.


    The catch:

    When the user logs in and sees other items in their productgroup they can sign up for, they can also see anything else setup on the system (haven't been able to hide these from view)​


    Yeah I know, "where does this guy come up with this stuff", but unfortunately this is how it is right now unfortunately.

    So, if you have any idea, a similar setup, whatever, any ideas would be great. The part that I get stuck at is essentially being able to subscribe to multiple items indepentently within the same pricegroup and have it so the user doesn't see unnecessary items to confuse the selection process or the portal they are redirected to.

    Thanks in advance, and Calis, don't chew me out on that lol, you've been awesome with pointing me in the right direction so far, I just wanted to clarify myself some more so I don't end up reinventing the wheel if someones already figured this out.
  5. calisolllc

    calisolllc Member

    Joined:
    Feb 19, 2007
    Messages:
    194
    Rather than show products on the member page, hide them all from signup pages and only show links to the products from each group in a separate page you write yourself. Make ALL products negative price groups and therefore don't use member page for any signups at all. Set negative dependencies for products which are not allowable for subscribers of certain products, and set positive dependencies for those products allowable for subscribers of certain products.
    It may get a little complicated to set up but it can be done. If you send me FULL specifics (product names, which products can be purchased by which members and which cant etc etc) I can detail how it should be achieved. If you want email me at editor AT Packedlaunch DOT com.
    I am fairly committed over the next day or so so expect to wait 24-48 hrs
  6. sabbok

    sabbok New Member

    Joined:
    Apr 29, 2008
    Messages:
    33
    Calis, you the man, thank you so much, I will do this right away.
  7. sabbok

    sabbok New Member

    Joined:
    Apr 29, 2008
    Messages:
    33
    I think I have a solution brewing, but need to know one thing:

    How do I get rid of the signup link from the member.php page? (yes very newbish I know :rolleyes:)

    See diagram attached.
  8. davidm1

    davidm1 aMember User & Partner

    Joined:
    May 16, 2006
    Messages:
    4,437
    Thats the login page- what a user will see when they try to access the members page when they arent logged in.

    David
  9. calisolllc

    calisolllc Member

    Joined:
    Feb 19, 2007
    Messages:
    194
    OK Chris, got you stuff will get a chance to go thru it and do the setup plan for you tomorrow (its night here in Australia right now).
    As for your last post like David stated thats a login page and nobody wh isnt already a member will find themselves at that page under normal circumstance and even if they did if all price groups are set to not display by default then they couldnt sign up for anything anyway. The sign up link could be taken out I guess if really required.
    Anyway I'll work thru the specs of the scenario you sent me and get back to you prob tomorrow night.
  10. sabbok

    sabbok New Member

    Joined:
    Apr 29, 2008
    Messages:
    33
    Aye, if someone could tell me what is making the signup link there (the whole line) to show up, I'd like to have the option to cut that part out so I can force individuals to signup through the links I provide to them instead of arbitrarily finding the signup page and paying for the wrong items.

    Hope that makes sense.
  11. sabbok

    sabbok New Member

    Joined:
    Apr 29, 2008
    Messages:
    33
    Anyone know how to get rid of this line without messing everything else up:

    "Not registered yet? Signup Here"

    I don't need to modify this in the slightest, just need to pull it out completely.
  12. calisolllc

    calisolllc Member

    Joined:
    Feb 19, 2007
    Messages:
    194
    Hey Chris,

    I got tied up last night on a government job and wont get a chance to do your stuff from the email till tonight my time. I will also take a look at your signup link problem when I work on the other stuff for you this evening (that's YOUR Friday night)
  13. sabbok

    sabbok New Member

    Joined:
    Apr 29, 2008
    Messages:
    33
    Thanks Callisol!
  14. sabbok

    sabbok New Member

    Joined:
    Apr 29, 2008
    Messages:
    33
    I guess Calisol is a bit busy with work so does anyone else know how to remove the login portion in the screenshot from earlier in this thread?
  15. jimjwright

    jimjwright New Member

    Joined:
    Sep 12, 2007
    Messages:
    162
    If you are wanting to remove the "Not registered yet? Signup here " from your login page then remove the following lines from templates/login.html file

    PHP:
    <br />
    <
    p>#_TPL_LOGIN_NOT_REGISTERED_YET# <a href="{$config.root_url}/{if $affiliates_signup}aff_{/if}signup.php">#_TPL_LOGIN_SIGNUP_HERE#</a></p>
    <br />

    Jimmy
  16. sabbok

    sabbok New Member

    Joined:
    Apr 29, 2008
    Messages:
    33
    thanks jim!

Share This Page