2 of 2
2
Can you limit comments to one per member per article using PHP?
Posted: 16 June 2008 02:33 PM   [ Ignore ]   [ # 19 ]  
Lab Assistant
Avatar
RankRank
Total Posts:  270
Joined  07-26-2003

Hi Robin,

Can this module/extension be used to rate individual comments on a comment entry page. This is an example of what I’m trying to do.

The entry rating is working. Now we’re trying to get the rating of the individual comments associated with this entry working, with no luck so far.

This is the code we’re using:

{!-- Start comment rating --}
{exp
:ez_rate:form module="comment"}
Average score
: {current_ave} / Total votes: {current_votes} {if user_rating}/ Your rating: {user_rating}{/if}
<br />
{if logged_in}
{if rating_field}
Rating
: <INPUT TYPE=RADIO NAME="rating" VALUE="1">1
        
<INPUT TYPE=RADIO NAME="rating" VALUE="2">2
        
<INPUT TYPE=RADIO NAME="rating" VALUE="3">3
        
<INPUT TYPE=RADIO NAME="rating" VALUE="4">4
        
<INPUT TYPE=RADIO NAME="rating" VALUE="5">5
&nbsp; &nbsp; <input type="submit" name="submit" value="Submit" />
{/if}
{
/if}
{
/exp:ez_rate:form}
{
!-- End comment rating --}

Any help you can offer would be greatly appreciated.

Thank you,
Robert

Profile
 
 
   
2 of 2
2
 
Post Marker Legend
New Topic New posts Hot Topic Hot Topic with new posts New Poll New Poll Moved Topic Moved Topic Sticky Topic Sticky topic
Old Topic No new posts Hot Old Topic Hot Topic with no new posts Old Poll Old Poll Closed Topic Closed Topic Announcement Announcements
Theme
Change Theme
Visitor Statistics
The most visitors ever was 1149, on July 16, 2007 09:33 AM
Total Registered Members: 65075 Total Logged-in Users: 29
Total Topics: 82207 Total Anonymous Users: 18
Total Replies: 441816 Total Guests: 176
Total Posts: 524023    
Members ( View Memberlist )
Newest Members:  TomsBmackskithbtggAdminempoleongwishPasha MahardikarmarkdurandomcatClutch Bearings