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.
Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49
Additionally, a feature to limit the visible awards could be nice, then the plugin could set the visible status based on the limit.

As of now, no such feature has been coded as far as I can recall (there is no limit).

Update: I did create a Github issue for this:
https://github.com/Sama34/OUGC-Awards/issues/68

It is unlikely this will make it a 1.8 release.
Please note, the next release of this plugin will likely be the last feature release for the 1.8 branch, as there is plenty of features already coded that are not officially released.

If anyone wants to get this released soon you can contribute by upgrading your board using the develop branch and report any issues.

Some of the new features are:
  • Award presets. Allow users to categorize their awards in presets that are displayed separated in profiles and posts.
  • Award sorting. Allows users to sort the display order of their awards, as well as hide any from the main (not preset) list.
Hello, I've got a following problem, in the ACP under Manage Awards -> Task -> Award create
The column in which you can enter the path to the award picture is missing. If there is someone who could help me there
it would be pretty cool.

PS. in the Award Page is it also not showing Awards. Ya'll can see it on the screens I'll send.
Awards are located inside categories. The task feature is an independent feature off the awards, you can't set the image of awards within the form for tasks.
Hello Omar, yes I noticed that too. But how and especially where can I indicate the path to the award picture?

EDIT: I've found it xD
i have issue in ougc_awards.js line 30

[Image: O8YOFJq.png]
Hi, the ougc_awards.js has to be loaded after jQuery. Check your headerinclude template to sort them properly.
Hi Omar

Just to report... today update the MyBB 1.8.28 but in the moment to update the script, display that messenge:

Warning [2] Use of undefined constant THIS_SCRIPT - assumed 'THIS_SCRIPT' (this will throw an Error in a future version of PHP) - Line: 71 - File: inc/plugins/ougc_awards.php PHP 7.2.34 (Linux)



 Use of undefined constant THIS_SCRIPT - assumed 'THIS_SCRIPT' (this will throw an Error in a future version of PHP) - Line: 2244 - File: inc/plugins/ougc_awards.php PHP 7.2.34 (Linux)
File	Line	Function
/inc/class_error.php	153	errorHandler->error
/inc/plugins/ougc_awards.php	2244	errorHandler->error_callback
/inc/plugins/ougc_awards.php	4175	OUGC_Awards->__construct
/inc/class_plugins.php	38	require_once
/inc/functions.php	225	pluginSystem->load
/inc/class_core.php	600	run_shutdown
[PHP]		MyBB->__destruct



Anexo imagen de Soporte:

[Image: omar-plugin-awards.jpg]

when finish the update the board forum its ok with plugin OUGC Awards


Big Grin
Hi, the warning shouldn't affect the upgrade system in any major way. I think this is fixed in the development branch of the plugin.
hi i just cant get it to center in the postbit

can someone give me a few lines of code
or if i do use center tags

it ends up like this...

https://imgur.com/a/tGUhGRO

<div style="text-align:center">{$br}{$award['fimage']}{$viewall}
</div>

v annoying
Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49