alireza mohammadshah
 Nuke Newbie Posts:7

 |
| 10/25/2011 4:39 PM |
|
DEAR SIR, i need to separate my web site users into two groups of registered users there are 1- Doctors and 2- Patient and i need to ask different question from them on registration and also use different viewing permission and edit permissions how can i do that? |
|
|
|
|
Joseph Craig DNN MVP Posts:11667

 |
| 10/25/2011 6:05 PM |
|
Use the Dynamic Registration module from DataSprings.com to customize the registration process, ask different sets of questions, and assign the new users to different security groups. Create two security roles: Doctor, Patient Use page and module permissions to determine the viewing/editing roles based on the security role membership. These tutorials should be helpful: # Security Roles, Pages, Modules and Users: * DotNetNuke Users & Setting the Registration Options * Working with DotNetNuke Security Roles * Specifying The Required Fields Upon User Registration * User Accounts: Adding, Editing, Viewing, Deleting * How to Assign a Security Role to a User Account * Assigning Security Roles to Pages and Modules * DotNetNuke 5 Page and Module Permissions * Security Roles new features * How to Limit Modules Available in the Control Panel (Premium Modules) * How to Configure Which Modules Non-Administrators Can Add to a Page
|
|
Joe Craig, Patapsco Research Group Complete DNN Support |
|
|
alireza mohammadshah
 Nuke Newbie Posts:7

 |
| 10/26/2011 6:59 AM |
|
this web site is actually a non-profit website and does not have enough budget to buy that module and because there are several domain names based on different culture and languages we need more than one license of that module therefor i can't use module isn't there any other way to do that like can't i change the source of registration form All i need to do is make it based on a true or false question like if a customer wants to register as a doctor will click on true in a question of are you a doctor? And then some field will appear on page and if they are not doctors those fields will be completed by a default number like 0 and will get to database. But i don't know where can i change sources or is it even possible to do?
|
|
|
|
|
Joseph Craig DNN MVP Posts:11667

 |
| 10/26/2011 11:34 AM |
|
There is not a simple solution. Unfortunately the simplest solutions often involve buying something. But ... you might have access to some programming resources. If you do, here are some approaches. 1. Write a custom version of the User Accounts module. You can take what is there, and alter the Registration part to suit your needs. 2. Leave the User Accounts module alone, but put something custom in front of it. Basically, you would create a series of pages that ultimately would register the user. -- Replace the Register link (that is the USER skin object) in your skins with a link to a custom page The custom page would have two buttons, one to register as a Doctor and one to register as a Patient. -- One the Doctor and Patient pages, each can have a form to fill out, ending with a Register button. You could use the Form and List module for this. Clicking the "submit" button would then call your code to finalize the registration using the data from the form. |
|
Joe Craig, Patapsco Research Group Complete DNN Support |
|
|
alireza mohammadshah
 Nuke Newbie Posts:7

 |
| 10/26/2011 11:58 AM |
|
THANK YOU VERY MUCH MR.CRAIG but i really dont know how to put my own codes inside dnn would you tell me where is the code file for registering?(which one is it?) i can do it easily buy inserting a question of whether this is a normal user or a doctor and if he/she selects is a doctor i will show more field that i want.
|
|
|
|
|
Joseph Craig DNN MVP Posts:11667

 |
|
Joseph Craig DNN MVP Posts:11667

 |
| 10/26/2011 3:06 PM |
|
After thinking about it some more, I don't think that the DNM RAD approach is going to be very helpful. The second approach would involve several linked pages and forms. The last set of forms will likely require some custom code. Do you have programming experience? |
|
Joe Craig, Patapsco Research Group Complete DNN Support |
|
|
Joseph Craig DNN MVP Posts:11667

 |
|
alireza mohammadshah
 Nuke Newbie Posts:7

 |
| 10/27/2011 5:48 PM |
|
THANK YOU VERY MUCH MR.CRAIG IT WAS VERY HELPFUL I AM ALMOST DONE WITH CUSTOMIZING CODES OF THAT SQL YOU SENT ME |
|
|
|
|
alireza mohammadshah
 Nuke Newbie Posts:7

 |
| 11/01/2011 1:37 PM |
|
DEAR MR.CRAIG I have a new problem with those web sites. just to remind you i am using DNN to program a web site which will be a gate between doctors and patients for free, these web sites are all the same but they are in different languages and every specific language is under a new domain and to make it more interesting for doctors to come online and answer the patients questions free, we have added article pages to each web site. I have used YAF (yet another forum) and news article modules so far So i need to add every details of each website in a page of the others or to say better into a master website which is usable by doctors. these details are mostly how many online users is in an specific website, how many articles have added and by whom, number of patient's question asked and how many answered, and some others is there anything you can help me with? I believe it is a normal website Statistics but the problem is can i show them in any other website under another domain?
|
|
|
|
|
Joseph Craig DNN MVP Posts:11667

 |
| 11/01/2011 6:45 PM |
|
You should be able to do something like this with the Reports module. Basically, the Reports module can create any report that it's possible to do from your SQL database. Remember that a SQL query can also call stored procedures, so the Reports module can be a gateway to as complicated a process are you are able to write. Depending on your skill level with SQL, the may or may not be a challenge. |
|
Joe Craig, Patapsco Research Group Complete DNN Support |
|
|