Extend comments fieldtype with custom field(s) and star rating

Recommended Posts

I am looking for a developer who can extend the comments fieldtype for me.

I need two additional fields:

  1. add a field "title"
  2. add a star rating field (in backend and frontend) the rating field in the backend can be an input field and does not have to display as stars, but would be nice. The frontend needs to display the rating as stars.

There are two Star Rating modules already available, one is a rating for pages

the other is a fieldtype.

I need a solution that has the ability to be rendered as average ratings (so half stars are possible, you can find the code in the first module I mentioned, the second one just handles integers).

There are two types of output. One is for products and will show average ratings (see attached screenshot)

and the other one is for a comment and only shows full stars.

Pls provide me an offer/estimate.

After we agreed, I provide you with FTP and Backend access and you tell me which files changed.

Work needs to be done until 21. August 2015.

Share this post

Link to post
Share on other sites

No response after four days. So I have to do it myself. Right now I got two custom inputfields working (title and rating), but yet without the stars. Thats the next step. I will post the result in the forums.

  • Like 1

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Recently Browsing   0 members

    No registered users viewing this page.

  • Similar Content

    • By encho
      Hi all, help needed with comments here. I see that there is a star rating system and possibility to upvote or downvote specific comments. Page on comments still does not go into details, especially about displaying them. I followed other things on that page, including the styling, to the letter. If you include custom code {stars}, stars are displayed but not properly (it shows 5 star only regardless of the rating). Also {votes} does show the arrows but they do not do anything. While in the backend things do work as expected (ie. stars can be set and votes changed). Am I missing something, like custom JavaScript or similar? Anyone else using these features in their comments?
    • By gerritvanaaken
      Hi there!
      I need to gather a list of all comments, regardless of the parent page of each comment. Is there a global $comments object, which can do this? Something like:
      foreach($comments->find('sort=-created') as $comment) { // show comment } I did not find anything similar in the forums. Can someone help me?
    • By Rudy
      Hi all, Happy New Year!
      Is there a setting to control the amount of Kb of comment text? One of my clients tried to reply to a comment posted and his reply got cut off. I checked it and it's only 2,351 characters. I noticed that maxComment is set to 80K in the module so this did not exceed the max yet.
    • By Batyr
      Hi, I wanted to use Comments module in my project and stumbled upon a problem. Whenever I submit comment with a star rating, it redirects me to unknown page as 
      #CommentForm and my websites preloader is keep turning but nothing is actually happening. Can you please give me a hand on this. What should I do in order to fix this. On my template I added comments field, but submitted comments are not shown. Is there anyway to make comments work on my page?
      Than you in advance

    • By paulb
      I recently started making a blog using Processwire and since i'm completely new, I struggle with a few things.
      I'm trying to make a comment section in my blog post, so I followed the tutorial and pasted the two code lines in my template.
      18 echo $page->comments->render(); 19 echo $page->comments->renderForm();  
      but now I have this error on my page :
      Error: Call to a member function render() on null (line 18 of C:\wamp64\www\processwire\site\assets\cache\FileCompiler\site\templates\Post.php)  
      Am I missing something?
      Thanks for your help.