Please or Register to create posts and topics.

Rating system for Threads/Posts

PreviousPage 2 of 2

This one https://wordpress.org/plugins/wp-recall/ and my modifications šŸ™‚

ThisĀ https://ratingform.net/ (USD25)

Need to edit your “functions.php” with

function my_rating($authorID, $postID) {
    echo do_shortcode('[rating_form id="YOUR_ID" custom_id="'.$postID.'"]');
}

add_action('asgarosforum_after_post_message', 'my_rating', 10, 2);

 

Uploaded files:
  • rating.png

Hi everyone,

I am adding a forum with Asgaros (brilliant plugin by the way, I absolutely prefer it to BBpress).

However it is important that I am able to add a rating system (stars or thumbs up) to it.

Is there an easy and free way to add it? Which plugin can be used with which hooks/coding lines?

You would be a life savior, many thanks in advance,

Syndeh11

Hey everyone,

My request is still unanswered šŸ™ But I am still hopeful that such a feature can be implemented to my Forum, as it will greatly improve the users experience.

Many thanks for your assistance,

Syndeh11

Hello Syndeh11,

I have this on my todo-list so hopefully I can implement this in a future version. I cant give you any suggestions because I dont use such plugins yet.

If you want to support the development of Asgaros Forum, you can leave a good review or donate. Thank you very much!

Thanks for your reply @Asgaros, this feature would be a great added value to the forum.

In the meantime, I decided to do without it, but simply using the number of views as testimony of popularity.

Have a good week!

Syndeh11

Quote from Andreas on September 18, 2017, 3:38 pm

ThisĀ https://ratingform.net/ (USD25)

Need to edit your “functions.php” with

function my_rating($authorID, $postID) {
    echo do_shortcode('[rating_form id="YOUR_ID" custom_id="'.$postID.'"]');
}

add_action('asgarosforum_after_post_message', 'my_rating', 10, 2);
  1. function my_rating($authorID, $postID) {
  2. echo do_shortcode(‘[rating_form id=”YOUR_ID” custom_id=”‘.$postID.‘”]’);
  3. }
  4. add_action(‘asgarosforum_after_post_message’, ‘my_rating’, 10, 2);
function my_rating($authorID, $postID) {
    echo do_shortcode('[rating_form id="YOUR_ID" custom_id="'.$postID.'"]');
}

add_action('asgarosforum_after_post_message', 'my_rating', 10, 2);

 

Dear Andreas,

Thanks for your info; I m now using this hook and rating form.

How can I add another rating ID, and only to the topics (not to replies) ?

Thanks!

 

PreviousPage 2 of 2