Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeGetting StartedGetting StartedNew to DNN Plat...New to DNN Plat...Some questions on modulesSome questions on modules
Previous
 
Next
New Post
6/30/2011 5:06 PM
 
Hi
I'm very new to DNN and CMSs in general. I would like to add a kind of rating to users, so other users could give positive or negative feedback to other users, kind of like a karma rating.

I am unsure on how modules interact with existing functionality. Say for example I wanted to display a "+" and "-" on profile pages to allow users to vote, how do I get them to appear on an existing page? Do I have to extend that area of the code? Do I write a completely separate module and set up my site so it appears in the right place?

Apologies if anything is unclear or obvious, I just discovered DNN a couple of days ago.

Thanks
 
New Post
7/5/2011 1:54 AM
 
Hi
As per my knowledge, I think you need to build a separate profile module where you can add your extra feature add to your site.

Thanks
Sibabrata Dash
Mindfire Solutions
 
New Post
7/6/2011 7:27 AM
 
I was also facing this same issue. Thanks for the update.

Meanwhile, I would like to know if there is any free e-book available for dotnetnuke . I am quite eager to learn it.
 
New Post
7/6/2011 8:26 PM
 
The user profile in DotNetNuke is extensible. Here is how you can approach this:

1) During installation of your module, create PropertyDefinition for the extra data you are trying to create for user profile.

2) Call ProfileController.AddPropertyDefinition should be used to create this new definition.

3) The module should implement IUpgradeable. Package installer will call UpgradeModule method during installation. In this method you can have your calls to extend the User Profile (AddPropertyDefinition)

4) In the PropertyDefinition three properties are very important PropertyCategory, which you can called as "Preferences" and PropertyName, which can be your custom name, say "FacebookUserName", and lastly DataType, which dictates how the control is rendered in UI. For what I can see your needs are you could say that as "DataType:Text".





2) On

Ash Prasad
Director of Engineering
DNN Corp.
 
New Post
7/7/2011 4:54 AM
 
Thanks for the replies everyone.

Ash, rather than just adding a text field to a user, I want a value that can be updated by other modules. So say a user submits an article, and I have a module that lets people vote on it. I want the plus/minus votes to increase/decrease the user Karma points.

An example would be something like Ebay ratings. Ratings are given for individual transactions but are summed up at the seller/buyer level.

Am I making any sense?

 
Previous
 
Next
HomeHomeGetting StartedGetting StartedNew to DNN Plat...New to DNN Plat...Some questions on modulesSome questions on modules


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out