The following warnings occurred:
Warning [2] Undefined array key "pointsview" - Line: 1442 - File: inc/plugins/newpoints/core/hooks.php PHP 8.2.11 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/plugins/newpoints/core/hooks.php 1442 errorHandler->error_callback
/inc/class_plugins.php 142 newpoints_blockview
/showthread.php 471 pluginSystem->run_hooks



This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

"View My Awards" link in header doesn't work.
Files
#1
By default, a quick link for users to view their awards in a modal is added to new installs. A preview can be seen below.
   

It might be possible that this link is missing in some custom themes. To verify that the necessary code is correctly added follow the next steps.
  • In the `headerinclude` template, the following code is required:
    Code:
    {$ougc_awards_js}

    By default this is added after `{$stylesheets}`, which in the default theme is located after the lines to load `jquery.js`, `jquery.plugins.min.js`, and `general.js`.

    It might be possible that the order of these files and variables affect the functionality of this feature.
  • In the `header_welcomeblock_member` template, the following code is required:
    Code:
    {$ougc_awards_welcomeblock}

The correct addition of these codes should ensure this feature works on most installs.
Reply