Hello Andy,
I have implemented this ajax rating system you wrote.
I also tried the "Cool rate system" you wrote.
They both work well. Thank you very much!
My problem is with the click-track table, which tracks whether someone of a given IP address has already submitted a rating.
The click-track table also tracks whether someone of a given IP address has already said whether a review is useful or not.
I want my users to have less error messages. They should not be given options that lead to error messages.
If the user has already submitted a rating, they should not be offered to submit a rating. And if the user has already said whether a review is useful or not, they should not be offered a Yes or No about the usefulness of the review.
Neither the information in the click-track table, nor the user's current IP address are in the tags available to the detail page.
I want to hide the ratings option with a condition based on:
In the ClickTrack table,
if the ClickType is "Rate"
and
if the LinkID is the same as the current ID
and
if the IP is the same as the user's current IP address
I also want to hide the review-helpful option with a condition based on:
In the ClickTrack table,
if the ClickType is "Review"
and
if the ReviewID is the same as the current ReviewID
and
if the IP is the same as the user's current IP address
Can you suggest globals that might provide the variables to create these conditions in the templates?
Thank you very much!!
I have implemented this ajax rating system you wrote.
I also tried the "Cool rate system" you wrote.
They both work well. Thank you very much!
My problem is with the click-track table, which tracks whether someone of a given IP address has already submitted a rating.
The click-track table also tracks whether someone of a given IP address has already said whether a review is useful or not.
I want my users to have less error messages. They should not be given options that lead to error messages.
If the user has already submitted a rating, they should not be offered to submit a rating. And if the user has already said whether a review is useful or not, they should not be offered a Yes or No about the usefulness of the review.
Neither the information in the click-track table, nor the user's current IP address are in the tags available to the detail page.
I want to hide the ratings option with a condition based on:
In the ClickTrack table,
if the ClickType is "Rate"
and
if the LinkID is the same as the current ID
and
if the IP is the same as the user's current IP address
I also want to hide the review-helpful option with a condition based on:
In the ClickTrack table,
if the ClickType is "Review"
and
if the ReviewID is the same as the current ReviewID
and
if the IP is the same as the user's current IP address
Can you suggest globals that might provide the variables to create these conditions in the templates?
Thank you very much!!