MyBB Community Forums

Full Version: OUGC Awards
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Could you check the ougc_awards_users database table for that user ?

I think the tid column will be repeated for the same award, which will mean the user is getting the same awards from the same award task.

If this is the case, please share a capture of your award task settings so I can replicate in my test forum.

Regards.
I have deactivated and reactivated the plugin and the problem is just that the task does not now assign users the award. The setting is this so, in theory, everyone who has sent at least 1 message should get the award. However, I am the only one who has received the award three times within a few minutes.

https://i.imgur.com/8dheddP.jpeg

https://i.imgur.com/YIbaTph.png
Is there any news on this fantastic plugin? I had to suspend the plugin because of the constant awards
Hi, yes I did read your message, I'm waiting for my local test forum to show any issues, but I just can't see to get any.

From your image, I see you did select some groups to match for the criteria, but you did not select groups in the "Criteria Requirement" setting. Maybe not related.

Please check the ougc_awards_users table, order by uid and share a screenshot of your rows for your uid.

Regards.
By the way, you should be able to disable the task and still keep the plugin active.

Regards.
Hi Omar, I only got around to installing the update now - I'm getting into falconry at the moment, so I've been insanely busy since last year. Sorry!!

Installing worked, even though I was a bit of an idiot but we managed to fix it.

So far, the award-requests don't seem to be working and I'm not quite sure why. When I click it nothing happens. All files are uploaded (I checked three times now), the necessary settings all seem to be in order.

Also, this is probably a bit of a dumb question but could you maybe point me in the right direction when it comes to styling the presets that are displayed in the postbit? I thought I had to go into ougcawards_postBitPreset but when I edit that one nothing happens. I just want to remove the name of the preset the user created Big Grin I also checked: ougcawards_postbit, ougcawards_postbit_preset, ougcawards_postbit_preset_award but those don't seem to be the correct templates either.

Thank you so much in advance!

EDIT:

I also noticed, that the display order in the tasks isn't working properly. The plugin seems to list it in order of time of creation instead of what I put into display order.

There was also a different error, but that might be my fault, so I'll keep an eye on that one for now and report back if necessary.

Please note that I'm running this plugin on php8. On a different forum on php7 I wasn't able to get it to work.

inc/plugins/ougc_awards.php page doesnt have this line anymore. I'm facing the same issue
(2015-10-28, 08:27 PM)GWAVE Wrote: [ -> ]How can you change the name of the PM sender from "MyBB Engine"? Can you set it so that the sender is an account?
Sorted that. Just edit inc/plugins/ougc_awards.php and edit the users ID on the $fromid=0

Thanks!
(2025-02-11, 08:55 PM)clonerawi Wrote: [ -> ]Hi Omar, I only got around to installing the update now - I'm getting into falconry at the moment, so I've been insanely busy since last year. Sorry!!

Installing worked, even though I was a bit of an idiot but we managed to fix it.

So far, the award-requests don't seem to be working and I'm not quite sure why. When I click it nothing happens. All files are uploaded (I checked three times now), the necessary settings all seem to be in order.

Also, this is probably a bit of a dumb question but could you maybe point me in the right direction when it comes to styling the presets that are displayed in the postbit? I thought I had to go into ougcawards_postBitPreset but when I edit that one nothing happens. I just want to remove the name of the preset the user created Big Grin I also checked: ougcawards_postbit, ougcawards_postbit_preset, ougcawards_postbit_preset_award but those don't seem to be the correct templates either.

Thank you so much in advance!

EDIT:

I also noticed, that the display order in the tasks isn't working properly. The plugin seems to list it in order of time of creation instead of what I put into display order.

There was also a different error, but that might be my fault, so I'll keep an eye on that one for now and report back if necessary.

Please note that I'm running this plugin on php8. On a different forum on php7 I wasn't able to get it to work.

Hi, try again, I will now only use the master branch (I was using the feature-1833 branch before.

Basically the DEBUG mode was enabled by default by mistake in the master branch, so you were updating the correct templates but they were being ignored.

I have been having some time difficulties but I will check the issues you shared when possible.

(2025-02-17, 05:24 PM)hashxploiter Wrote: [ -> ]
inc/plugins/ougc_awards.php page doesnt have this line anymore. I'm facing the same issue
(2015-10-28, 08:27 PM)GWAVE Wrote: [ -> ]How can you change the name of the PM sender from "MyBB Engine"? Can you set it so that the sender is an account?
Sorted that. Just edit inc/plugins/ougc_awards.php and edit the users ID on the $fromid=0

Thanks!

Check the following line:
https://github.com/OUGC-Network/ougc-Awa....php#L2374

Regards.
Hi I edited the file as you have advised. it is still sending messages as MyBB Engine. below are the steps I have performed. please advise. appreciate your help.[attachment=47703][attachment=47704]
  • deactivated and uninstalled the plugin
  • edited the line
  • activated the plugin again
(2025-02-17, 05:24 PM)hashxploiter Wrote: [ -> ]
inc/plugins/ougc_awards.php page doesnt have this line anymore. I'm facing the same issue
(2015-10-28, 08:27 PM)GWAVE Wrote: [ -> ]How can you change the name of the PM sender from "MyBB Engine"? Can you set it so that the sender is an account?
Sorted that. Just edit inc/plugins/ougc_awards.php and edit the users ID on the $fromid=0

Thanks!

Check the following line:
https://github.com/OUGC-Network/ougc-Awa....php#L2374

Regards.
(2025-02-18, 03:00 AM)Omar G. Wrote: [ -> ]Hi, try again, I will now only use the master branch (I was using the feature-1833 branch before.

Basically the DEBUG mode was enabled by default by mistake in the master branch, so you were updating the correct templates but they were being ignored.

And here I was, thinking I'm either an idiot or going insane. That worked, thank you!

(2025-02-18, 03:00 AM)Omar G. Wrote: [ -> ]I have been having some time difficulties but I will check the issues you shared when possible.

awesome, thank you for adressing these issues so quickly nonetheless!