Hi everyone,
I would like to use the 'Rate This module from the development area and allow 3-4 different questions to be asked with a rating star for each question. I'm pretty new to PHP so would it be possible for anyone to help?
Thanks
Rate This Module
Rate This Module
Last edited by Zappa on Mon Apr 09, 2007 9:40 pm, edited 1 time in total.
Re: Rate This Module
Think RateThis module is the wrong choice. You can "only" rate" a page.
For more questions you should use a poll module. There are two in CMSms Forge.
For more questions you should use a poll module. There are two in CMSms Forge.
Re: Rate This Module
I've had a look at them polling systems only they can't be used for what I need. I'm trying to make a reviewing system which allows a user to give feedback on a product such as quality build, customer service, ease of use etc.
The problem with them polling systems is that they wont allow me to have a rating for each product page as all the results are stored in one poll?
Thanks
The problem with them polling systems is that they wont allow me to have a rating for each product page as all the results are stored in one poll?
Thanks
Re: Rate This Module
Hmm, have not tried yet to insert more than one "RateThis" call per page.
Have you tried it ?
Have you tried it ?
Last edited by cyberman on Wed Apr 11, 2007 7:06 pm, edited 1 time in total.
Re: Rate This Module
Just tried that now and it is possible however the rates are logged by cookies so you can only make one rate on the page. I'm guessing that the result will be going into the same database column? Hmm 

Re: Rate This Module
That's right. At the moment the module uses the pageID to track the rating so putting more that one each page isn't going to work.
Now - if you only have one product on each page but want to ask 4 different questions then that's probablyt not too big a job - you'd need to expand the form to submit four separate ratings, add a few more columns into the database and then get the module to track all the values rather than just the single rating. It wouldn't be pretty but fairly stragihtforward.
On the other hand if you want to have four (or more) separate forms on a page then things are going to get messy. You'd have to get unique identifiers for each and that's not going to be easy.
How are you adding these products? If youre just a module to put them up (cataloguer?) it might be possible to use an ID from that module but on the whole I don't think it's going to be feasible.
Let me know if the first option is what you want though and I'll give it some more thought.
cheers.
s.
Now - if you only have one product on each page but want to ask 4 different questions then that's probablyt not too big a job - you'd need to expand the form to submit four separate ratings, add a few more columns into the database and then get the module to track all the values rather than just the single rating. It wouldn't be pretty but fairly stragihtforward.
On the other hand if you want to have four (or more) separate forms on a page then things are going to get messy. You'd have to get unique identifiers for each and that's not going to be easy.
How are you adding these products? If youre just a module to put them up (cataloguer?) it might be possible to use an ID from that module but on the whole I don't think it's going to be feasible.
Let me know if the first option is what you want though and I'll give it some more thought.
cheers.
s.