You need to Register for free and Login to post a message in the forum.

Forum

Subject: How to cope up with DNN modules
Prev Next
You are not authorized to post a reply.

Author Messages
sandip
Nuke Active Member
Nuke Active Member
Posts:29

21 Dec 2005 8:38 AM  

Hi All,

I have following issues.

 

  1. First I need user to get register himself/herself on my site through DNN register link. Then I will change his/her role to customer. Later I want to show customer’s profile. Can anybody tell me how to this.

     

  2. Actually I want to save customer information into separate table (tbl_Customer). And by default DNN will save user’s information into some other table. So when user gets login it will check into DNN’s table. If that is customer then show ‘My Profile’ link, which should fetch data from tbl_Customer. I want to keep both link; DNN’s by default ‘username’ link (link near to LOGOUT) and my customized ‘My Profile’ link.

     

  3. For eg. I register to this site as sandi sandi. So my basic information (first name, last name, password etc) is stored into DNN’s tables. When I clicked to username, DNN opens its default profile/register page. This website is also giving the ‘My Profile’ link, where I am getting my personal details (no. of posts, contact info etc).

     

Similar to this I want to keep my customer’s records… personal as well DNN’s default.

 

Please give me quick response so that I can move further. Also let me know if I need to explore my problem more.

 

Thanking you,

 

Sandi
leesykes
DNN Creative Staff
Nuke Master III
Nuke Master III
Posts:3375

21 Dec 2005 9:01 AM  
Hello sandip,

1) You can automatically assign a role to a user when they register with a DNN site. This video explains how to do that: DotNetNuke Security Roles

This video explains If you want to manually assign roles in DotNetNuke


To then display the users details alongside further details in a separate module, as we have done here:
http://www.dnncreative.com/Home/MyAccount/tabid/102/Default.aspx


  • Create a new page
  • Add to the page the "User Account" Module
  • Add to the rest of the page any of your other modules which contain the further data you wish to associate with your user.

I have created a "My Account" link which then links to this new page.


You can also force the page when clicking on the login / profile / register links to go to another page that you have previously created - to set this go to:

Admin menu / Site Settings / Advanced Settings / Page Management

Here you can set a variety of pages to use instead of the defaults.

NOTE: One caution, if you select the Login page - make sure you select a page where you have inserted the login module, otherwise you will not be ale to log back in to your website!


Hope this provides enough information to get you going, thanks,

Lee Sykes
Site Administrator
Subscribe to the website : DotNetNuke Video Tutorials : The Skinning Toolkit : DotNetNuke Podcasts

Twitter: www.twitter.com/leesykes

Lee Sykes's Facebook Profile
sandip
Nuke Active Member
Nuke Active Member
Posts:29

22 Dec 2005 10:26 AM  
Hello Lee,
Thank you for your reply.
Your points helped me to understand settings for the default pages.
My need is as follows.
I want to check logged in user. If this user is customer then I want to show his profile. I can do this easily by giving access of ‘My Profile’ page to customer role. But on that page I want customer ID so that I can show only his profile. How can track the customer Id (that is who is login and then get his/her Id).
Please tell me how to do this.

Thanking you,
Sandi
leesykes
DNN Creative Staff
Nuke Master III
Nuke Master III
Posts:3375

22 Dec 2005 11:10 AM  
Hello sandi,

Is this for your own custom module?

If it is what I would suggest is to find a project module that displays the Username - such as the core project Forum module and download the source code. - From this you will be able to extract the line of code.

It is a simple line of code, but I can't remember it off the top of my head. - I'm currently very busy trying to complete the video tutorials on skinning for the next issue, so I thought it would be quicker for you to point you in the right direction, rather than wait a day or so for me to dig out the code!

Hope this helps, if you have any more questions, please do not hesitate to ask, thanks,

Lee Sykes
Site Administrator
Subscribe to the website : DotNetNuke Video Tutorials : The Skinning Toolkit : DotNetNuke Podcasts

Twitter: www.twitter.com/leesykes

Lee Sykes's Facebook Profile
sandip
Nuke Active Member
Nuke Active Member
Posts:29

27 Dec 2005 9:13 AM  

Hi Lee,

 

Thanks for your help and hope you are enjoying Christmas holidays. I have found the user Id and now can do the things related to it.

 

My next module is to develop and tree structure design in my portal. So can you please tell me if such module is exists already or I can take reference from anywhere. Any link or docs or video will help me.

 

Thanking you,

 

Sandi  
sandip
Nuke Active Member
Nuke Active Member
Posts:29

27 Dec 2005 9:30 AM  

Hello Lee,

I feel I will explore more..

 

I want to show the user name and its child references. Like A have two child references as B & C. Then B may have D & E, and C may have another one or more child references.

 

Now I want to show A on top and ten bellow B & C as tree structure.

 

Also i have created new topic for this so you may reply on that topic.

 

 

Thanking you,

 

Sandi
leesykes
DNN Creative Staff
Nuke Master III
Nuke Master III
Posts:3375

04 Jan 2006 3:28 AM  
Hi Sandi,

You may find this module to be of interest, I've just discovered it this morning:

User Attributes - It allows you to create your own forms and choose your own registration options:

http://dnn310.ucanuse.com/PortalModules/UserAttributes25/tabid/57/Default.aspx



Lee Sykes
Site Administrator
Subscribe to the website : DotNetNuke Video Tutorials : The Skinning Toolkit : DotNetNuke Podcasts

Twitter: www.twitter.com/leesykes

Lee Sykes's Facebook Profile
You are not authorized to post a reply.
Forums > DotNetNuke® > DotNetNuke® Questions > How to cope up with DNN modules



ActiveForums 3.7

Latest Forum Posts

Email Set UP per Portal by islandman
How do I set up a unique email address per domain name off 1 hosting environment. for example...m...
RE: localhost Install issues by cdees
Lee: I wanted to follow up on this for anyone following this thread. I have been unable to solve t...
RE: Add New Profile Properties by WSI
HI Joe, The DNN version is 4.5.5. Thanks, Cliff
Change Skin on URL by vinita
Hi,Can the skin be changed based on the url used to access a portal. Multiple portal aliases may be ...
problem creating child portal by kabamaro
  Hello all i have 4 Aliases for my parent portal , lets call them X,y,Z,WIn all Aliases i can creat...
problem creating child portal by kabamaro
  Hello all i have 4 Aliases for my parent portal , lets call them X,y,Z,WIn all Aliases i can creat...
Best DNN portal ever! by derpir
I have been a subscriber since august 2008, and DNNCreative.com is simply the best DNN Portal, their...
RE: skinning trouble by derpir
Hello Yes could you be so kind and take a look att the htm-file and css-file.I would be very gratef...
Search function is not working by kishorpawar
I am using Seach module in my project but not working, i have set   host setting alsoHost --> Schedu...
RE: backend is changing from sql2005 to sql2008 by leesykes
hello,There should not be any code changes needed, but you'll need to make sure that SQL 2008 upgrad...
RE: skinning trouble by leesykes
Hello,I would need to see your code to help you with this one, you can zip up your files and attach ...
RE: Installing DotNetNuke 4.9.00 on VWD 2005 w/ SQL server 2008 by leesykes
I have run a test with SQL Server 2008 express and DotNetNuke installed in exactly the the same way ...
RE: Issue 39 Interview by leesykes
thanks Bill, glad it was useful, we will have a think about the best way to approach this,Thanks,
RE: Issue 39 Authentication by leesykes
yes I have a live site in 4.9.0 at it seems stable as well.
backend is changing from sql2005 to sql2008 by meenu
hi all advance thanks. in my DNN0408 website am using sql2005 as backend.now planning to remove sq...
About catalook error by kishorpawar
 I am  using dnn 4.8.4 version in my project, this  site is in 2 language,whenver i click on the BYN...
RE: Menu Keeps Verticaly by ruimacdonald
Tnx for your help. It's done. Rui
RE: Menu Keeps Verticaly by jncraig
The configuration of the MENU skin object is defined in the skin.xml file. You'll need to modify th...
RE: Add New Profile Properties by jncraig
I have not seen that problem. Which version of DotNetNuke are you using?
RE: Issue 39 Authentication by jncraig
I've been developing a new site using 4.9.0 and finding it quite stable.
DotNetNuke Modules
RSS Feeds