Hi there. Here's one that's been bothering me for a while and I can't seem to get my head round it. I already have amember 2.3, installed on a clients site but now they want to set up a subscription to control 'searching and viewing bondprices'. A new user would sign up and be given the option of subscribing to view bond prices. (These are supplied via a php search page and getting the results from a mysql database). My client wants to set up different subscriptions that offer several choices such as 200 bonds viewable 500 bonds viewable 1000 bonds viewable and also whether each is for a 6 month or 12 month period. Not really sure how to set up the subscription process within amember to limit the searching for each subscription. Could anyone please give me any pointers that will get me any closer to setting this up. Thankyou Andrew
Andrew, if we are talking about custom PHP programming, it can be discussed in the helpdesk. We don't discuss prices here.
Money ?? Just advice Hi Alex Thanks for your reply. I do know that you offer extra php programming at variable costs. What I was getting at was if you could offer me any advice as to the direction I could take doing this by myself? I'm never going to learn if it's a case of paying out for scripts. Some hints, not pages of php coding. It's all part of the learning curve. Thought I'd try anyway as I like the amember script and wanted to stick with it for any future projects. All the best Andrew
Is the bond viewing script already exists? Is it PHP? If so, it is very easy to detemine which subscription level user have in aMember. use the following php code: PHP: <?php session_start(); if (in_array(array(1,2), $_SESSION['_amember_product_ids'])){ // user subscribed to product #1 or #2 } elseif (in_array(array(3,4), $_SESSION['_amember_product_ids'])){ // user subscribed to product #3 or #4 } elseif (in_array(array(5,6,7), $_SESSION['_amember_product_ids'])){ // user subscribed to product #5, #6 or #7 } else { // some other actions } ?>
Ready to go Thanks again for the reply. Will get down to experimenting straight away. Should open a lot more for me now. Will email you if my client needs some serious alterations using the script, then you can charge him a nice packet Bye Andrew