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.
Awards 1.8.35 has been released.
  • Adds DVZ Stream Integration.

For a full list of changes, check the following link:
https://ougc.network/entry?plugin-awards&pid=261#pid261

Regards.

Quick fix 24/Mar/2025 : a quick fix was released using the same version number, simply replace the old files or follow the update instructions.
@SELLECK87 please try teh latest version, I fixed an issue that may be the reason for your users getting multiple awards (bug).

@Dirty Duck, it seems to me (guessing) that your PM issue is related to another plugin. Please check your logs, or enable warnings in your site (see attachment), adding the following to the top of the /inc/config.php file:

ini_set('display_errors', 0);
ini_set('display_startup_errors', 0);
error_reporting(E_ALL & ~E_DEPRECATED & ~E_STRICT);

Ultimately, a white page is a hidden error.

Regarding users getting awards, yes, it should be enough to disable the task. However, it is possible that the same problem you experience is the same as @SELLECK87, so please try the latest version.

Regards.
I will try right away since I have time currently. I thank you in advance for all your work so far. I will write to you as soon as I am done.

When I create a new category this error comes up
Hello, thanks for your responses as always.

Disabling another plugin did indeed fix the problem, thank you! It happened to be your own Additional Usergroup Inages. Are you aware of any issues with these two clashing in the past? Thought it best to let you know at least.
Quick fix 24/Mar/2025 : a quick fix was released using the same version number, simply replace the old files or follow the update instructions.

@SELLECK87 simply download again and replace the old files.
(2025-03-23, 06:26 PM)SELLECK87 Wrote: [ -> ]I will try right away since I have time currently. I thank you in advance for all your work so far. I will write to you as soon as I am done.

When I create a new category this error comes up

(2025-03-24, 07:21 PM)Dirty Duck Wrote: [ -> ]Hello, thanks for your responses as always.

Disabling another plugin did indeed fix the problem, thank you! It happened to be your own Additional Usergroup Inages. Are you aware of any issues with these two clashing in the past? Thought it best to let you know at least.

Yes, I did push a fix for that plugin months ago, try it first, if the problem persist then I might look into it.

Regards.
I don't want to be wrong but I think the conflict is due to the OUGC Profile Activity plugin. When I activate OUGC Award the user's activity disappears from the profile. I notice that it still keep sending the double award after time.
Just changed the files on the server for the current ones. I'll report back if the issue with the multiple awards still persists.

However, {bburl} doesn't seem to work anymore, all the images of the awards aren't getting displayed.

If you still need the database award tables please let me know, I can get them and send them to you if needed.
(2025-03-24, 09:48 PM)Omar G. Wrote: [ -> ]Yes, I did push a fix for that plugin months ago, try it first, if the problem persist then I might look into it.

Regards.

After updating it no longer clashes with awards. Thank you!
(EDIT: However, after updating to the new version of awards it seems to break all my award images (locally stored webps) as well as disable this plugin:
https://github.com/WildcardSearch/Advanced-Sidebox the last version didn't affect it at all so I'm unsure what would cause this?)

A question:
Is there any way to have awards be granted but for this to not be shown to the member? I'm trying to make an award for posting once in every forum. First I thought that just selecting multiple forums would achieve this but it instead seems to give the award when a member posts in any of the selected forums.

So my workaround is to have multiple awards that are given for posting in each forum, that then gives the originally intended award upon collection of them all. However I don't want these awards to be visible to the members as they're a backend solution to facilitate the 'Post in Every Forum' award.
If possible, I wanted to know if there are any new updates regarding this plugin. I am experiencing the same problem as @clonerawi
(2025-03-25, 01:51 AM)SELLECK87 Wrote: [ -> ]I don't want to be wrong but I think the conflict is due to the OUGC Profile Activity plugin. When I activate OUGC Award the user's activity disappears from the profile.

You can see in the first attachment that the 2 plugins work just fine in my test board. It might be another plugin causing the issue.

Try to set a test board in your computer to find the issue.

(2025-03-25, 11:18 AM)clonerawi Wrote: [ -> ]However, {bburl} doesn't seem to work anymore, all the images of the awards aren't getting displayed.

Hi, just pushed a fix to this, please try from the repository or wait for an official release.

You could also apply the fix if it is important for you now:
https://github.com/OUGC-Network/ougc-Awa...a9e89968c7

(2025-03-25, 01:51 AM)SELLECK87 Wrote: [ -> ]I notice that it still keep sending the double award after time.

(2025-03-25, 11:18 AM)clonerawi Wrote: [ -> ]Just changed the files on the server for the current ones. I'll report back if the issue with the multiple awards still persists.

Try to set a test board in your computer to find the issue.

In my live board where I update since I created this plugin, the task awards do not send multiple times to the same user.

If anyone is experiencing this issue, try to replicate in a fresh board to try to find what the issue may be.

Which SQL system you use ? My local has MySQLi 8.2.0 while my live forum has MySQLi 10.11.11 (MariaDB), this might be related to some DBMS compatbility issue.

(2025-03-25, 11:18 AM)clonerawi Wrote: [ -> ]If you still need the database award tables please let me know, I can get them and send them to you if needed.

Yes, please, do a backup of your database and forum files so I can install your forum in my local machine and replicate the issue that is causing your problem.

You can be save I will not exploit your forum files for other purposes.

(2025-03-25, 09:30 PM)Dirty Duck Wrote: [ -> ](EDIT: However, after updating to the new version of awards it seems to break all my award images (locally stored webps)

As you can see in my 2nd attachment it works for me using absolute urls. Do you use replacements ? If so read above. If not, check your ougcawards_awardImage template, as it may be necessary to update them.

(2025-03-25, 09:30 PM)Dirty Duck Wrote: [ -> ]as well as disable this plugin:
https://github.com/WildcardSearch/Advanced-Sidebox the last version didn't affect it at all so I'm unsure what would cause this?)


What is exactly being disabled ? Try to replicate in a test board using only the plugins you mention.

On a side note, I have decided to give up on ASB on my own, the required fixes are simply too many at the moment. Specially if you use PHP8+ (I use 8.4 as of now).

If anything, I would suggest to start looking into a replacement for the sideboxes you need.

(2025-03-25, 09:30 PM)Dirty Duck Wrote: [ -> ]A question:
Is there any way to have awards be granted but for this to not be shown to the member? I'm trying to make an award for posting once in every forum. First I thought that just selecting multiple forums would achieve this but it instead seems to give the award when a member posts in any of the selected forums.

What you are asking for is not possible.

I have implemented forum criteria like the one you mention (either post in some or post in all, etc), so that would be the path I'd go instead of granting "invisible" awards.

There is a disabled feature coded within the plugin to allow for custom criteria that could be used for what you want, but is currently incomplete.

I would suggest avoiding the "hidden" feature as you describe it and instead go a different route to grant awards based on complex criteria.

Regards.