Not Solved OUGC Feedback Index Page
#1
Not Solved
I'm trying to implement the OUGC Feedback plugin into my theme template. The issue I'm running into is that I can't get the user's vouch count to display on the forum index page.

The following code doesn't show anything on the index page
{$mybb->user['ougc_feedback_average']}

How would I display the user's feedback average here?

Reference:
https://ougc.network/module?faqs&filtert...c_feedback
Reply
#2
Not Solved
Hi, {$post['ougc_feedback_average']} does work for me in a fresh install, just pasting the variable inside the ougcfeedback_postbit template (recommended approach), as well as inside the postbit and postbit_classic templates.

Also check your plugin settings, specially the both the Show In Posts, Show In Forums settings, as this feature is dependent on these settings.

Please try to replicate your issue in a fresh (clean) install, in the default theme. Once you get it working in the default theme, you might be able to figure out if it works in your custom theme.

Also, share your MyBB and plugin versions, as I did test this yesterday using MyBB 1.8.27 and OUGC Feedback 1.8.23

You can check the code for this in the following link :
https://github.com/Sama34/OUGC-Feedback/...1509-L1514

If {$post['ougc_feedback']} is working then {$post['ougc_feedback_average']} should be working as well.
Soporte en Español

[Image: signature.png]

Discord at omar.gonzalez (Omar G.#6117); Telegram at @omarugc;
Reply
#3
Not Solved
(2021-09-03, 07:47 PM)Omar G. Wrote: Hi, {$post['ougc_feedback_average']} does work for me in a fresh install, just pasting the variable inside the ougcfeedback_postbit template (recommended approach), as well as inside the postbit and postbit_classic templates.

Also check your plugin settings, specially the both the Show In Posts, Show In Forums settings, as this feature is dependent on these settings.

Please try to replicate your issue in a fresh (clean) install, in the default theme. Once you get it working in the default theme, you might be able to figure out if it works in your custom theme.

Also, share your MyBB and plugin versions, as I did test this yesterday using MyBB 1.8.27 and OUGC Feedback 1.8.23

You can check the code for this in the following link :
https://github.com/Sama34/OUGC-Feedback/...1509-L1514

If {$post['ougc_feedback']} is working then {$post['ougc_feedback_average']} should be working as well.

Thank you for your reply! The issue I'm having is that I can't get the feedback average to show up on the index page. Postbit is not an issue
Reply
#4
Not Solved
Hi, sorry, I misread your OP and assumed it was the same inquiry you previously asked by PM.

What you are trying to achieve is not possible as such data is not available, all current stats are built on the fly.

I won't be adding such feature to the current project, but it might be considered once this plugin is updated for MyBB 1.9

Regards.
Soporte en Español

[Image: signature.png]

Discord at omar.gonzalez (Omar G.#6117); Telegram at @omarugc;
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)