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.
(2024-12-17, 04:18 AM)OmarĀ G. Wrote: [ -> ]Hi @SELLECK87 I pushed a fix for that just now.

Regards and thanks for contributing by taking the initiative to update and report issues !


Hi Omar. Don't worry mate. In fact, I thank you for the work you do with your beautiful plugins. The least I can do is to report any errors I encounter Smile
I have now activated the plugin and no errors come up. The error in discussions comes up now. White screen with this error.
I think that error is present when using this plugin, but it is related to another plugin.

&$post['additionalgroups'] in the postbit hook should be a string, but it seems to be an array for you.

Please share a list of all the plugins you use, also Newpoints plugins, etc.

Regards.
Here is the list of active plugins in the forum
I think the issue you have is related to ougc Additional Usergroup Images, I just pushed and updated the Extend site plugin.

Regards.
I quickly tried the updated plugin and everything seems to work perfectly. Really remarkable that you can now manage the awards directly from the forum and not from the admin panel. Rated 10!

Place {$ougcAwardsJavaScript} in the headerinclude template.
Place {$ougcAwardsCSS} in the headerinclude template.

These variables to add to the headerinclude template enable notifications and smooth operation of the plugin, right? Because I notice that it doesn't work anyway. In the sense that even when I enter the task the awards are not given and the notifications of the award received do not open.
What notifications you mean ? There is a notification for award request (like the PM notification), but that is a different variable that should be mentioned in the README.

Regarding the task system, make sure the task is running, you can check this from the Task module in the AdminCP as well as its logs.

If the task is running fine, please share a screenshot of your award task configuration for me to replicate in my test board.

Regards.
No let's say that notifications no longer work with the plugin activated. I don't understand where the problem is

In fact as it says in the picture results in a notification but it does not make me open notifications Smile
Do you get some error if you go directly to the alerts page in the UCP ? I think that notification icon opens up a modal, so there is probably some error that is stopping the modal from opening.

Check the UCP to see if you can see the error in there, or the error.log file in the root of your forum if you log errors. Maybe the browser console for JS errors.

What version of MyAlerts do you use ? I did test alerts, but only using MyAlerts 2.1.0
MyAlerts (2.0.4)

I looked and no error or warning comes out regarding my alert plugin and your plugin however surely there is something conflicting and so activated your plugin the notifications cannot be displayed.

I simply wanted to point out that I just updated My Alert to the latest version and yet there is still the problem with notifications
Try visiting the alers modal directly :
https://omarg.me/newpoints3/alerts.php?modal=1

Add this to the top of your inc/config.php file :
ini_set('display_errors', 1);
ini_set('display_startup_errors', 1);
error_reporting(E_ALL & ~E_DEPRECATED & ~E_STRICT);

(you might want to remove it after finding the errors)

There should be some error around.

Regards.