The effects of alcohol on sustanon 250 leucine for – real weight loss & bodybuilding benefits?
How to see which is...
 
Share:
Notifications
Clear all

Question How to see which is your global rating?

8 Posts
3 Users
0 Reactions
854 Views
Posts: 4
Topic starter
(@papablopoulus)
Active Member
Joined: 2 years ago

Hello, I am new with wpdiscuz. I have an online academy and I want to know which is my middle rating opinion about the videos.

 

I can not see at the dashboards. Anyone could help me?

Topic Tags
7 Replies
simskrystallen
Posts: 11
(@simskrystallen)
Active Member
Joined: 2 years ago

I don't think that's possible now. But this sounds like a feature that I would also liked to use. 🙂 

Reply
6 Replies
Asti
 Asti
Support
(@asti)
Joined: 7 years ago

Illustrious Member
Posts: 7617

Dear @simskrystallen, @papablopoulus

 We'll add this feature in near future versions. 

Reply
(@papablopoulus)
Joined: 2 years ago

Active Member
Posts: 4

@asti Thanks! is there any possible to take a notif by mail about the review?

Reply
Asti
 Asti
Support
(@asti)
Joined: 7 years ago

Illustrious Member
Posts: 7617

@papablopoulus,

I'll ask the developers and you know if there is a simple solution for this question. 

Reply
(@papablopoulus)
Joined: 2 years ago

Active Member
Posts: 4

@asti Thanks

Reply
Asti
 Asti
Support
(@asti)
Joined: 7 years ago

Illustrious Member
Posts: 7617

@papablopoulus,

You should use the hook code below. Just make little customizations: 

add_action('wpdiscuz_add_rating', function($rating, $post_id) {
    $r_post = get_post($post_id);
    $post_title = $r_post->post_title;
    $post_url = get_post_permalink($post_id);
    $headers = [];
    $fromName = "From Name";
    $fromEmail = "no-reply@yourdomain.com";
    $toEmail = "youremail@example.com";
    $headers[] = "Content-Type: text/html; charset=UTF-8";
    $headers[] = "From: " . $fromName . " <" . $fromEmail . "> \r\n";
    $subject = "Rating Added";
    $message = "Your message here";
    wp_mail($toEmail, $subject, $message, $headers);
}, 15, 2);

This article should be helpful for you: https://www.wpbeginner.com/plugins/how-to-easily-add-custom-code-in-wordpress-without-breaking-your-site/

Reply
(@papablopoulus)
Joined: 2 years ago

Active Member
Posts: 4

@simskrystallen Thanks simskrystallen! Do u know any plugin could do this? Or unless a notif by mail about the review?

Reply
Share: