Jump to content

Download: (inv) Awards


Gunnar94

Recommended Posts

  • Replies 494
  • Created
  • Last Reply

Oh, I am sorry, I thought you meant would it be possible to add it in an upcoming version. If you want to do it yourself edit the hook file, you can figure out what the hook file is by looking in your Admin CP. The file should begin with "awardsPostView".

Change this line (Line 67):


$awards .= $this->getThumb($this->settings['upload_url'] . UPLOAD_FOLDER . "{$a['icon']}", $a['name']);

To this:


$awards .= $this->getThumb($this->settings['upload_url'] . UPLOAD_FOLDER . "{$a['icon']}", $a['notes']);



That will do it! ;)

Link to comment

You have changed it so that when you hold the mouse over an award in the member info panel it now shows the description. I have edited the hook file so it shows the name again however, each time any hook gets updated all the hooks are rewritten so it will generate the file again with the description setting.

Can you tell me how this can be avoided as this is a pain and we have no desire for a description.

Many thanks :smile:

Link to comment

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.

×
×
  • Create New...