Community Support Forums — WordPress® ( Users Helping Users ) — 2011-12-06T18:50:25-05:00 http://www.primothemes.com/forums/feed.php?f=4&t=16213 2011-12-06T18:50:25-05:00 http://www.primothemes.com/forums/viewtopic.php?t=16213&p=54707#p54707 <![CDATA[Re: Custom Client Login with a Twist?]]> Statistics: Posted by ajb224 — December 6th, 2011, 6:50 pm


]]>
2011-12-06T18:12:03-05:00 http://www.primothemes.com/forums/viewtopic.php?t=16213&p=54702#p54702 <![CDATA[Re: Custom Client Login with a Twist?]]>
Anyone else feel free to to suggest something else, but I would do something along these lines:

Create a page that has a PHP code in it to check for a PHP $_GET variable which would be an ID associated with a company's login. You can have an associative array at the top that has your list of companies that have registered. ( Or you can even have this automated with a few hooks into the user_register hook ), which would display a form for free registration from Dashboard -> s2Member -> PayPal® Pro Forms, or you can create one of your own that would also add a custom capability based on the company's name.

That will allow users to get free access to the custom capability based on their business, and if you set it up correctly, the music and videos section also.

Then, you can add a PHP code to your Login Welcome Page to check for the custom capabilities for the company's name, and have it either redirect the user to the correct page, or show the content the business set up ( however you have it set up ).

It's a bit of work, but a coder familiar with s2Member/WordPress could automate it fully this way. If you can't do it yourself, you can check out the website I'm part of @ http://s2installs.com . This can also be accomplished with the Free version, but it would require a bit more coding because you'd need to set up a dynamic registration form.

Hope that helps!

Statistics: Posted by Bruce C — December 6th, 2011, 6:12 pm


]]>
2011-12-06T17:15:24-05:00 http://www.primothemes.com/forums/viewtopic.php?t=16213&p=54696#p54696 <![CDATA[Re: Custom Client Login with a Twist?]]>
Let's say Acme wants 1000 members to have access to special Acme-only content as well as a few other protected sections (called Music and Videos). They pay me for this. I then create an Acme page and put that content on there. Music and Videos already exists and is protected. I can tell Acme to send their members to example.com/Acme, but how do I get those 1000 people registered and then directed to example.com/Acme to see their private content, with additional access to Music and Videos? I don't want them to pay or go through a laborious registration process, but I need some way for them to get tagged as Acme users and for that to also give them access to Music and Videos. Is that clear?

Statistics: Posted by ajb224 — December 6th, 2011, 5:15 pm


]]>
2011-12-06T17:07:45-05:00 http://www.primothemes.com/forums/viewtopic.php?t=16213&p=54695#p54695 <![CDATA[Re: Custom Client Login with a Twist?]]>
Are you trying to allow users to view a special page, or change a special page?

Statistics: Posted by Bruce C — December 6th, 2011, 5:07 pm


]]>
2011-12-06T15:51:22-05:00 http://www.primothemes.com/forums/viewtopic.php?t=16213&p=54693#p54693 <![CDATA[Custom Client Login with a Twist?]]>
I've created a private page that has their content. It's easy enough to create a special URL, like example.com/privateclientname, that would tag anyone who has that URL as a client member. But how do I connect this with S2Member so that people can land on that page and register and be taken to their private page in the simplest way possible? Any ideas would be appreciated.

Gratefully,
Andy

Statistics: Posted by ajb224 — December 6th, 2011, 3:51 pm


]]>