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.

How can I change the box display in profiles to in-line display?
Files
#1
By default awards are displayed in a box format inside profile pages. To change this display to display awards in-line rather that a box, you only need to edit the templates provided with the plugin. A example modification with a default installation is as follows:
  • Replace the `ougcawards_profile` template with the following:
    Code:
    {$awardlist}{$multipage}
  • Replace the `ougcawards_profile_multipage` template with the following:
    Code:
    {$multipage}
  • Replace the `ougcawards_profile_row` template with the following:
    Code:
    {$award['fimage']}
  • Leave the `ougcawards_profile_row_category` template empty.
  • Replace the `ougcawards_profile_row_empty` template with the following:
    Code:
    {$lang->ougc_awards_profile_empty}

After finishing the template modifications, you will need to move the variable `{$memprofile['ougc_awards']}` within the `member_profile` template around to display the awards wherever you want. The following preview is just an example of how the end result after editing the templates could be.

   
Reply