New reply 17 Sep, 2025, 2:33 pm
| Stream |
|
New reply 17 Sep, 2025, 2:33 pm New reply 31 Jul, 2025, 12:23 am New thread 31 Jul, 2025, 12:22 am New reply 19 Jul, 2025, 2:37 pm New thread 19 Jul, 2025, 2:29 pm New reply 15 Jul, 2025, 7:50 am New reply 15 Jul, 2025, 2:46 am New thread 13 Jul, 2025, 12:28 am New reply 3 Jul, 2025, 3:12 am New thread 3 Jul, 2025, 2:55 am |
| Files |
{$post['ougc_feedback_average']} can be used to display the user feedback average stat in posts. This variable isn't inserted by default, thus is only present for custom usage.ougcfeedback_postbit, postibt, and postbit_classic templates.ougcfeedback_postbit template, then the average value should be appended to the {$post['ougc_feedback']} variable, this last variable in turn replaces <!--OUGC_FEEDBACK--> inside the postbit_author_user template and can be used in both the postbit and postbit_classic templates ( default ).{$post['ougc_feedback_average']} variable only inside the ougcfeedback_postbit template. *{$post['ougc_feedback_average']} variable you would need to edit the ougcfeedback_postbit_average template itself.$stats array variable can be used inside the ougcfeedback_postbit_average template to display additional or other data than the average stat. A list of all stats variables follow : **{$stats['total']} to display the total amount of feedback,{$stats['positive']} to display the amount of positive feedback,{$stats['neutral']} to display the amount of neutral feedback,{$stats['negative']} to display the amount of negative feedback,{$stats['positive_percent']} to display the percentage of positive feedback relative to the total,{$stats['neutral_percent']} to display the percentage of neutral feedback relative to the total,{$stats['negative_percent']} to display the percentage of negative feedback relative to the total,{$stats['positive_users']} to display the amount of unique users that gave positive feedback,{$stats['neutral_users']} to display the amount of unique users that gave neutral feedback, and{$stats['negative_users']} to display the amount of unique users that gave negative feedback.{$post['ougc_feedback_average']} variable will be updated by Ajax actions only if used inside the ougcfeedback_postbit template. Specifically only if inside the tag with class value of ougcfeedback_info_{$post['uid']}.{$class} variable only matches the value of the {$average} variable.Show In Posts and Show In Forums settings.