Messages/articles rating system

Hi guys,
I'm looking for an example of a servlet application for messages/articles posting and rating system.It should have the basic following functionnality:
1. User's can login or create account
- properties include id, first, last, email, zip, date created, customerProperty1, customerProperty2
2. Users can create messages (just HTML text) on the system in one of 16 cateogries ("Business", "Graphics", "Email",ie)
3. Messages the following properites: id, title (name), description, user (publishing the message), rating (1 to 5), contents (text), categoryID (point to category)
4. Categories has the following properites: id, name, description, number of messages in the category
5. Everone on the system can see the messages and navigate the categories
6. Registered users can rate messages an a scale to 1 to 5
7. Messages should be ranked by thoese with highest commulative ratings.
I would be very gratefull if someone could point me to any open source project similar to this one so i can build on top of it.
many thanks for your help.

You need two columns in your database - "count" which is
incremented by one each time someone rates, and "total" which
contains the total of all ratings. To calculate the average of the
ratings, do <CFSET average = total / count>. You can round
the average to any number of decimal points you want.
Do you intend to prevent someone from rating multiple
times?

Similar Messages

  • Rating system

    Hi, I am implementing the rating system in the application
    where the user chose the rating from the fiveoptions of 1,2,3,4,5
    and then submit, the rating field holds the value of the submited
    value, when i try to rate again, it picks the current value and
    store n the database,
    i want to show like that if 3 users rated the article, the
    rating should be shown as the average of three voters.
    Well i tries to use theevaluate funcion but that didnot
    worked the wayi want.
    I want theway like storing the voting in a temp table and
    then evaluating the value of temp vote field and then show on the
    web.
    can anyone know how to implement her. this idea
    Thanks for ur advance help., if any

    You need two columns in your database - "count" which is
    incremented by one each time someone rates, and "total" which
    contains the total of all ratings. To calculate the average of the
    ratings, do <CFSET average = total / count>. You can round
    the average to any number of decimal points you want.
    Do you intend to prevent someone from rating multiple
    times?

  • DM 4.5, software issues message "Cannot find system in table file"

    Serious error in Desktop Manager Software V 4.5Windows XP SP3MS OutlookDesktop Manager Software V 4.5, accompanies new RIM Blackberry Curve package purchased retail Bell MobilityJune 2009
    After installation DM 4.5, software issues message “Cannot find system in table file”This happens during “Intellisynch” [Outlook <> Curve] set up. Tried 4 times to make this work – no luck [I am experienced DM user – 4 BBerrys over 8 years]Called Bell Tech support 3 calls total time 2 hours !!Ended up trying to do command prompt and registry setting changes over the phoneDespite 3 long calls this did NOT solve the problem
    Went to Blackberry web site -- their remedy is disgraceful - they expect untrained PC users to do clean removes of DM 4.5 with Windows Registry edits by hand. Highly risky – dangerous – and likely will not work
    REMEDYUse MS Add/Remove programs to remove DM 4.5 or 4.7Download old version - DM 4.2 Release 2 from BBerry web suiteLoad DM 4.2DM 4.2 works fine – copied 1000 contacts and 1000 calendar entries from Outlook correctly to my new CurveDoug SeabornToronto Canada416 819 3684   

    Hi and welcome to the forums!
    These procedures do work, and are not very hard.
    A lot of users have dealt successfully with it.
    Here is the Knowledgebase article:
    Let us know if you need some help or explanations.
    OK?
    Thanks,
    Bifocals
     http://www.blackberry.com/btsc/search.do?cmd=displayKC&docType=kc&externalId=KB15278&sliceId=1&docTy...
    The following error message appears at the end of the synchronization process in BlackBerry® Desktop Manager:
    Cannot find table in system file
    CauseA BlackBerry Desktop Software upgrade failed to remove the Connectors folder from C:\Program Files\Research In Motion\BlackBerry\Connectors. As a result, older Microsoft Outlook applications were registered with BlackBerry Desktop Software.
    Resolution
    To resolve this issue, complete the following steps:
    Verify that the Connectors folder is present in the following folder: C:\Program Files\Research In Motion\BlackBerry\Connectors\MS Outlook Connector
    If the Connectors folder is present, complete the tasks listed below.
    Task 1 - Remove the existing Microsoft Outlook connector ilxolkCompanion.fil
    Open a command prompt.
    Navigate to the following folder: C:\Program Files\Research In Motion\BlackBerry\Connectors\MS Outlook Connector
    Type regsvr32 -u ilxolkCompanion.fil. Note: Microsoft Outlook will no longer be listed as an available application in BlackBerry Desktop Manager.
    Task 2 - Register the most current Microsoft Outlook connector
    Open a command prompt.
    Navigate to the following location: C:\Program Files\Research In Motion\BlackBerry\IS71 Connectors\MS Outlook Connector
    Type regsvr32 msoutlookconnector.fil. Note: Microsoft Outlook will now be registered as an available application in BlackBerry Desktop Manager.
    Note: After these tasks are complete, remove and re-install the BlackBerry Desktop Software. For instructions, see KB02206.
    Click Accept as Solution for posts that have solved your issue(s)!
    Be sure to click Like! for those who have helped you.
    Install BlackBerry Protect it's a free application designed to help find your lost BlackBerry smartphone, and keep the information on it secure.

  • Using Aperture's star rating system

    Forum member mrhooper posted [something in another thread|http://discussions.apple.com/thread.jspa?messageID=13357908#13357908] which caught my eye. I didn't have time to respond, and now that thread is marked answered -- and my reply is slightly off-topic -- so I started this new thread in the hopes of learning how better to use the star rankings in Aperture.
    Below is +what I do.+ I'm very curious to find out what you do -- or to hear any suggestions for making what I do more sensible.
    Here is (part of) mrhooper's comment.
    So we are now bringing over everything into Aperture and then rating images on a 1, 2, 4, 5 basis. Come on, if its a 3 make a decision. Everything else is a 9, and then the rejects are deleted. And then the trash is emptied and they are out of the library.
    So we bring in the raw and then quickly rate, and I can't image a 400 shoot taking much more than 5 minutes rate.
    Go through once for 1, then for 2, by then the 4 is obvious and the 5 we just love anyway. 9 everything else.
    Fwiw (always an auspicious start to an Internet posting), I TOTALLY agree re: the wasted gamut of the seven-level rating system (that's rejected-unrated-1-2-3-4-5).
    Here's what I've settled on:
    • If I look at a picture, I rate it. Reject or save-and-decide-later. That's "9" and "1". So "unrated" is meaningful to me. It doesn't mean "less than rated", and, importantly, it doesn't mean "not-rejected"; it means, literally, not-yet-rated. (The problem solved here occurs when I am part way through tossing rejects from a Project and I am interrupted.)
    Immediately after import, I add a Project description, assign a Place, and Stack images taken in burst mode or with any range of exposure settings. When I rate images in a Project, the first thing I do is go through these Stacks and select the most usable image from these minor variations (I need to do this before comparing un-like images in the Project). Within any Stack, I might have rejects ("9") and saves (1-star); the "pick" of the Stack gets a 2-star rating (1-star is already in use).
    • 1- and 2-star ratings +have the same value to me as images.+ The only difference is that 2-star images came from Stacks. (Those Stacks may contain 1-star images which for any number of reasons I want to retain even though they are not a Stack pick and will likely never be promoted nor processed nor printed nor published).
    Now I can go through my Project and make my picks. I mark images to be developed in RED (I use the 8 color labels to track image development). All of these also get upgraded to 3- or 4-stars.
    • 3-star means "keep". The general idea is that in a few years time I will likely want to do some major weeding in my Aperture orchard. Any 1- or 2-star images will then be unceremoniously deleted. 3-star images will be kept.
    • 4-star means good enough for publication. One of the best of the Project.
    After I develop the images in a Project, I will re-assign the star rankings. During development, some images will be promoted.
    • 5-star means not only good enough to be published as one of the best of the Project (and I mean that at whatever level one works -- from emailed to friends to printed for sale), but good enough to be included in some other sampling of my work. (I keep an Album for my Portfolio. The images in the Album are selected from my 5-star images.
    Note that in my use, +star ratings are Project specific+. There is no value-equivalence between the star ratings -- and I consciously try to avoid comparisons across Projects. (If I've done a shoot, I need to know which are the usable/salable shots in that shoot -- I don't need to know how they rank in my life's work.) All of the 4-star images in one Project may be of less comparative value to me than the only 4-star image in another Project.
    So in my system, "Reject", "3-star", and "4-star" are the only ratings which are necessary. They correspond to the all important distinctions mrhooper indicated:
    - throw-out
    - keep but don't use
    - use.
    The other star ratings could -- and from a tidy database standard, should -- be replaced by a metadatum that is not part of the rating gamut.
    The orchard floor is yours ...
    Message was edited by: Kirby Krieger

    Hi Kirby,
    Thanks for opening this up, as I suspect most of us have gone through the "let's see that's a 1 or no... probably a 2, perhaps I can clean up the backgound and then it would be 3. " etc etc.
    We settled on a similar process where you suggest it is a project by project rating, not our life's work.
    So we skip 3, play with 4 and 5, that should be obvious.
    1 and 2, they are going to be deleted at some stage in the future, unless it is some rare thing, and that doesn't happen every shoot.
    In Jan this year looked at the 2008 year 1, 2 and deleted most of them. Hey, we hadn't used them, touched them, improved them or even thought about them. Goodbye.
    Some memorabilia, sentimental value ones got to stay.
    When we look for the best, then 5 is the go. Maybe a review of 4's but only if we are struggling in 5s
    Which by the way we tend to be fairly generous with I suppose.
    Checked a shot of 60 images early in the week, 15 are in the 4 and 5, 8 are 5.
    We also use the wonderful color system. Now this sorts out a lot of things for later smart albums.
    Here are a few Green-teaching. Red-for web site pages, Blue - the crown jewels, the ones we both love. Purple- spec shots for photo library etc.
    Yep, sometimes a shot might be two or more colors, but it is not stopping us at the moment.
    We do shoot burst, but don't stack. If its a 4 I want to be able to see it. We create albums in the project Star 4, Star 5, so there they are in a hurry. Yep, know it is easy to do that in the search box, and can use Ctlr1-5, but the clever is later when we can be really specific in search for albums with Star 5, or what ever.
    Just to finish off, the 4 and 5 get keywords, lots of them. From event, to person, to specific lighting, to species, or building type or.....
    want a pic of a 1937 Ford- in Blue, at the Last Cafe, in Spring, in the sunshine, front lit, side view?
    That is what Aperture does.
    and because of the way we use projects for each shoot, bet I could find it in about 10 seconds in quick review of the appropriate year or month as well.
    This is not the thread on project names, but we have from the beginning way back in iPhoto(5) put them in as a date and description.
    Cool thing now in Projects/Full Screen, is I can Filter by the date number so typing in 9012 gets me all the projects only from 2009, December. (9) 0 (12) Oh, am aware of what is going to happen when we have been round the scale once and the numbers come back. And we have a plan.
    I am sure there are other ways to start a good system, to use the ratings and the keywords of Aperture, and agree that you have to think project specific when it comes to what is a 5.
    Reserving 5 only for the 'very best image you ever took of a rose", is a bit limiting and what if my "Very best waterfall picture' is even better?
    Thanks for starting a good ideas discussion.
    Regards
    DJ

  • Rating System Change

    Due to the request of many of our community users, (see this thread) I have taken an intermediate step towards solving our ratings problem
    in the community.   Now, only relatively established users with 50 or
    more posts will be able to rate messages.   In my experience, the vast
    majority of 1 star ratings come from users new to the community.  We do not intend for any message rating to be negative, however, due to the nature of the 1 to 5 star system, anything less than 5 stars can be interpreted as an insult.
    I realize this does not fix the problem.  There are currently no other
    feasible options available for the rating system.  I do know that at
    some point in the future, our forum vendor will release new rating
    system options to us.  At that point, I will start a discussion about
    which of the options is best for our community.  Unfortunately, I do
    not have an idea of their timeline currently.  I hope to be able to
    give an update on when we might expect new options soon. 
    Regards,
    Laura
    Web Support and Operations
    National Instruments
    Message Edited by Laura F. on 09-14-2007 05:01 PM

    Let the proclaimation ring throughout the land!
    This sounds like a wonderful solution and seems to be yet another way that NI listens to the community.
    Matt Holt
    Certified LabVIEW Architect

  • Keep receiving messages from FSS.system.notice.urg...

    Keep receiving messages from FSS.system.notice.urgent.us.  
    Anyreason why?  Cannot find explainations.

    Hi, Plastic, and welcome to the Community,
    But my question is this, This is a brand new account (2 days old) set up only on a skype phone. I have told no one my skype name, so how did the caller know my name to call?
    Question: When you set up your new Skype account, did the Skype app on your phone provide the option to secure your account via setting the privacy settings to permit incoming audio calls, video calls, and instant messages from people on your contact list only?   If not, please sign on via a laptop or computer to do this.  Remember to Save your settings as you proceed through the screens/windows.
    It's not like they can randomly guess a skype name.
    Yes, they can.
    How are our details stored?
    Please refer to these FAQ articles for explanation: https://support.skype.com/en/faq/FA143/is-skype-se​cure and https://support.skype.com/en/faq/FA31/does-skype-u​se-encryption
    Can wild characters be used in skype calls?
    If you mean something like an "*" such as in a database search, then, no.
    No one should be able to call my skype number unless I tell them my ID or chose to use something easily guessed, and then even if this was the case, within two days?
     If you secure your account and profile (do not specify a gender; leave location and other settings which default to "Public" neutral or blank), then your Skype account should not be easily found.
    Skype has significantly reduced the number of ways other Skype users can find their friends, colleagues, and so on, but still allows for general searches based on only four Add a Contact features: Skype name, full name, e-mail address, or telephone number input in the Profile.   Your new Skype account fell into the scammer's random search parameters.
    Also, why does Skype allow user names that include system.notice? This would seem to me words that should be reserved for system notices, or am I missing something here?
    Yours is a valid point which I have read many times - however, these titles are only titles such as how you might change your name as it appears in your Profile settings; the scammers constantly change the underlying Skype account names they use.  Please see this FAQ article for the details of a Skype name vs. a display name: https://support.skype.com/en/faq/FA110/can-i-chang​e-my-skype-name
    Securing your account should rid you of these nuisance messages as well as unsolicited contact invitations.
    Best regards,
    Elaine
    Was your question answered? Please click on the Accept as a Solution link so everyone can quickly find what works! Like a post or want to say, "Thank You" - ?? Click on the Kudos button!
    Trustworthy information: Brian Krebs: 3 Basic Rules for Online Safety and Consumer Reports: Guide to Internet Security Online Safety Tip: Change your passwords often!

  • While creating message in Satellite system we would like to get popup scren

    Hi Gurus,
    While creating message in Satellite system we would like to get a popup screen that should populate/show list of persons responsible/Business partners to whom the mail should go directly to their mail box. Do we have to develop a report for it or can use an already existing job?
    Thanks in advance,
    Vinod Palli

    Hi you can create messages from two places either from the standard help menu.
    help->create support message
    or
    test workbench status message->click messages tab and then click create button.
    Now go  to tcode Solution_manager
    select your landscape and then press execute button you will get the list of all messages with status ,person create d and person responsible.
    if you click any one you can go into the details of the same.
    PLEASE :reward point for the same.
    Regards
    Prakhar

  • SOLMAN EHP1 - anyone can create support message in Satellite System's Help?

    Hi,
    I just curios that why everyone can create support message in satellite system-> help -> create support message?
    I tested with restricted profile user and without role SAP_SUPPDESK_CREATE, NO BP created but he still manage to create support message???? Any idea??
    Also, same goes to any user can process ticket in SOLMAN with no BP-Employee role and SAP_SUPPDESK_* roles assigned.
    Your kind input is very much appreciated.
    Thanks,
    Nicholas Chang

    Hi Nicholas
    If you are using a "Named" user instead of the Trusted Relationship in the RFC maintained in BCOS_CUST for entry OSS_MSG then this is quite possible. In this case the "Named" user will be used to call the interface to create message and the calling user ie the end user creating the ticket will only be used as "Reporter" of the message.
    The user entered in the RFC details probably has the authorization to create Support desk messages.
    Regards
    Amit

  • Create support message in satellite system

    Hi,
    What are the pre-requisites to configure  creating support message in satellite system.
    Thanks
    Rajesh

    Hi,
    Follow this blog u can set up ur service desk
    mainly it comprises of roles table entry and rfc destination in satellite systems
    /people/bruyneel.guillaume/blog/2008/05/02/service-desk-implementation-guide-part-i
    /people/bruyneel.guillaume/blog/2008/06/13/service-desk-implementation-guide-part-ii
    hope it solves ur problem
    Regards
    Prakhar

  • Error message "Live file system repair is not supported."

    System won't boot. Directed to Disk Utility to repair but get error message "Live file system repair is not supported."  Appreciate all help.
    Thanks.
    John

    I recently ran into a similar issue with my Time Machine backup disk. After about 6 days of no backups - I had swapped the disk for my photo library for a media project; I reattached the Time Machine disk and attempted a backup.
    Time Machine could not backup to the disk. Running Disk Utility and attempting to Repair the disk ended up returning the "Live file system repair is not supported" message.
    After much experimentaion with disk analysis softwares, I came to the realization that the issue might be that the USB disk dock wasn't connected directly to the MacBook Pro - it was daisy-chained through a USB Hub.
    Connecting the USB disk dock directly to the MBP and running Disk Utility appears to have resolved the issue. DU ran for about 6 hours and succesfully repaired the disk. Consequently, I have been able to use that Time Machine disk for subsequent backups.

  • How do I use the rating system for multiple raters?

    My wife, her sister, and I are all rating some photos I took a couple of days ago. Each of us, of course, has different favorites.
    I would like to record our different ratings in the LR3 rating system but can't see an immediately obvious way to do so. I thought of using the color labels--different color for each of us. But each photo will only take one color label. I could use the star ratings, one star for only one selection, two for two, etc. But that would not record who chose which. I need to know that.
    Has anyone had the same problem? If so, is there some rather obvious solution? I would think that it's not all that unusual for several folk to participate in a shoot, using one camera; and then to need some way to record their differing judgments on the photos in LR3.
    Any thoughts would be helpful. Thanks in advance,
    John Kendrick

    The rating system in LR3 is not really designed with that type of functionality in mind.  The "target Lightroom user" is an individual that uses LR to create a catalog of photographs which can be graded with a star rating based upon their opinion of the photograph.  The concept of seperate star ratings for multiple users doesn't really fit into that concept.  LR3, in general, is designed with a single photographer in mind... one that essentially uses the program by his/herself... so it has a bare minimum of 'group' functionality.
    It may be possible to find a plug-in that will enable star ratings by multiple users, but I've never heard of one before.
    If you really, really need this type of functionality (i.e. saving star ratings by multiple people), the only way to do it that I could think of would be to create multiple collections of the same shoot, each of which is filled with virtual copies of the original photos.  Each collection could hypothetically be called '08-03-2010 Bill Ratings'...'08-03-2010 Jill Ratings'... etc... etc.  Admittedly, such a workaround may very well be more trouble than its worth... that's just the only way I can think of that you might come close to achieving the functionality you're after.
    ***EDIT:  You beat me to it (VC idea) while I was typing this reply, Ian... wasn't trying to post redundant info...

  • HT4623 I still have an iPad 1, and need to update to iOS 7 to use Keynote, Pages and Numbers but I get the message the my system is updated in iOS 5.1.1 and doen's offer me another update!

    I still have an iPad 1, and need to update to iOS 7 to use Keynote, Pages and Numbers but I get the message the my system is updated in iOS 5.1.1 and doent's offer me another update! How can I update it? Or I can't?

    ayrosa wrote:
    I still have an iPad 1, and need to update to iOS 7 
    Sorry... This is not possible. The iPad 1 can Only go as far as iOS 5.1.1

  • Error while processing message to remote system

    Hi,
    I am trying to load the data from flat file to R/3. I am using the file adapter to pick the file and RFC adapter to transfer into R/3. I am getting the success status in the sxmb_moni and adapter framework(green for both the adapters). But when i check the status in the RWB message monitoring, I am getting the error.
    I am using the message interface defined in the software component for R/3 system which has a different namespace. When i am trying to upload data, i am getting the error as namespace missing in RWB. The detailed error in RWB is as follows:
    Exception caught by adapter framework: error while processing message to remote system:com.sap.aii.af.rfc.core.client.RfcClientException: could not get functionname from XML requst: com.sap.aii.af.rfc.RfcAdapterException: failed to read funtionname from XML document: missing namespace declara
    Delivery of the message to the application using connection AFW failed, due to: error while processing message to remote system:com.sap.aii.af.rfc.core.client.RfcClientException: could not get functionname from XML requst: com.sap.aii.af.rfc.RfcAdapterException: failed to read funtionname from XML document: missing namespace declara.
    The previous thread relating this is:
    Process Integration (PI) & SOA Middleware
    Requesting for a solution.
    Regards,
    Raghavendra

    Hi,
    >>><i>So i tried creating a RFC(using sm59)in the R/3,
    When i try to import the RFC i have created, I am not able to see the one i have created.</i>
    In your R/3 system, go to se38, enter your RFC name. Go to attributes tab, and click on the radio button named "remote enabled"
    This will enable your RFC to be called by an application outside the R/3 system.
    >>><i>Can you please let me know as to what is it that it is connecting to the R/3(destination) and why am i not able to find my RFC.</i>
    You are tyring to log on to your R/3 system, from xi, in order to import the RFC that you have created. Hence you are asked for user id and password.
    You are not able to find your RFC since it has not been remotely enabled or has not been activated.
    Regards,
    Smitha.

  • File to RFC - error while processing message to remote system:com.sap.aii.

    Hi
    i m working on File to RFC scenario. the records are getting displayed in sender CC and receiver CC. But in receiver CC i m also getting the following error:
    Message processing failed. Cause: com.sap.engine.interfaces.messaging.api.exception.MessagingException: com.sap.aii.adapter.rfc.afcommunication.RfcAFWException: error while processing message to remote system:com.sap.aii.adapter.rfc.core.client.RfcClientException: JCO.Exception while calling ZRFC in remote system (RfcClient[CC_RIS_STC_PIMASTER_RECEIVER]):com.sap.mw.jco.JCO$Exception: (104) RFC_ERROR_SYSTEM_FAILURE:      Screen output without connection to user.    
    Error in processing caused by: com.sap.aii.adapter.rfc.afcommunication.RfcAFWException: error while processing message to remote system:com.sap.aii.adapter.rfc.core.client.RfcClientException: JCO.Exception while calling ZRFC in remote system (RfcClient[CC_RIS_STC_PIMASTER_RECEIVER]):com.sap.mw.jco.JCO$Exception: (104) RFC_ERROR_SYSTEM_FAILURE:      Screen output without connection to user.   
    It was working fine few hours earlier but showing this error now. i was giving a SUBMIT program , but stopped that now.
    But still facing the same problem. and in SXMB_MONI its showing recorded for Outbound processing.
    could anyone help.

    Hi
    I am Facing  Following Error When I am trying to call SAP Screen through JCO.jar
    com.sap.mw.jco.JCO$Exception: (104) RFC_ERROR_SYSTEM_FAILURE: Screen output without connection to user
    Please Guide Whethere it is possible to call SAP screen Through JCO.jar  ot NOT
    Please HELP if it is possible to Call SAP screen through JCO.jar with step and Code
    Thanks
    Vivek

  • HTTP_RESP_STATUS_CODE_NOT_OK - HTTP message to XI system

    Hi,
    We receive this error when trying to post HTTP message to XI system.
    Have edited the username, password in SICF, xi->engine but it did not solve the problem.
    Can you please let us know if there is anything else we can do.
    Regards,
    Amar

    hi,
    when making a call to xi you need to provide credentials before the interface is executed .
    for example
      reqString = reqString + document.MessageParameters.Server.value+":";
      reqString = reqString + document.MessageParameters.Port.value + "/sap/xi/adapter_plain?";
      reqString = reqString + "namespace=" + senderNamespace;
      reqString = reqString + "&interface=" + document.MessageParameters.SenderInterface.value;
      reqString = reqString + "&service=" + document.MessageParameters.SenderService.value;
      reqString = reqString + "&party=" + document.MessageParameters.SenderParty.value;
      reqString = reqString + "&agency=" + document.MessageParameters.SenderAgency.value;
      reqString = reqString + "&scheme=" + document.MessageParameters.SenderScheme.value;
      reqString = reqString + "&QOS=" + document.MessageParameters.Qos.value;
      reqString = reqString + "&sap-user=<b>useid</b>&sap-password=<b>pwd</b>";
      reqString = reqString + "&sap-client=" + document.MessageParameters.Client.value + "&sap-language=D";
    cheers,
    naveen

Maybe you are looking for