Hello,
This is quite a big topic and if I have gone from help to paying for help then so be it lol Please read on.
Topic: Dynamic user registration form (full membership)
Plugins: S2Member Pro | BuddyPress | bbPress
Details;
I have created 2 S2Member Pro Registration Form (Free Membership and Full Membership),
Free Membership is straight forward. But a user must register as a level 0 member to actually get the free stuff. Also I would need to hide the dropdown list from free membership subscribers.
Full Membership dropdown list needs to be dynamic and read from an external file
For the Full Membership registration form I have created a dynamic dropdown menu using the following information from Youtube which I have working perfectly.
What I would like to happen;
The next step I want to be able to do is;
When a user clicks one of the dropdown list options. (ie. a school)
Based on the option the user selects;
This selection will also determine what provisions this school has. (ie. resources)
It should also add predefined ccap codes of the provisions to the users profile custom capability field dynamically when the user submits the form; (used to restrict access to posts, groups, forums, members, etc)
Usage;
I fill in the details of the form as I normally would and then I select a school in the dropdown list and because I select a specific school in the list this school will have specific resources, could only be 1 resource or it could be 5 resources, these resources can only be access based on the users membership type (full membership), school selection (dropdown menu) and the predefined ccaps (external file).
Also is it possible to make a function that reads the school codes and ccap codes or names from an external file. I think it would be easier to maintain that way.
Any assistance would be sooooooo appreciated.
Thanks
Toadz.