News:

Want to get involved in developing SMF, then why not lend a hand on our github!

Main Menu

Member Awards (2.0 Compatible!)

Started by Spuds, September 18, 2006, 03:14:03 PM

Previous topic - Next topic

Kindred

Probably not then. Spuds has not been active on this site in a while and the mod has not been touched in 2 years...

So, yes, it works just fine on 2.0.4 but ere will likely be no additional "official" updates.
Which does not make translating it a bad idea, since, as with the bug fixes, the community support for this mod exists.
Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

TheListener

QuoteSpuds has not been active on this site in a while

Not according to his profile.


Kindred

He has been around, but not very active, afaik...
Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

ATLANTIS29

I am using SMF 2.0.4 with the Theme Black Rain i install this mod and it dose not display the awards nor can i find any of the mods edits in the Display.template.php in the black rain folder i am attaching the Display.template.php file for you to look at while you have it if you can set it to display 2 awards automatically (my members will only ever have 2 or less awards) so they don't have to fav them and also remove the "awards" surround so it just shows the actual images

thanks in advance

Kindred

Did you have black rain installed when you installed this mod? If not, did you manually apply the display.template.php (and other files) changes to your custom theme? If so, did you check the boaes at the bottom of the install review to make it try to install into the custom theme?

And as for customizing the display even further...  that would involve more than just the display.template file
Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

hcfwesker

Quote from: Kindred on April 01, 2013, 09:04:37 AM
Did you have black rain installed when you installed this mod? If not, did you manually apply the display.template.php (and other files) changes to your custom theme? If so, did you check the boaes at the bottom of the install review to make it try to install into the custom theme?

I've noticed a lot of members having issue with the install on that file, reason being is .... This operation isn't vital to the installation of this mod. ... so if there is an error, the file won't actually show it on the Install page unless the file is manually clicked open to check for successes or errors in install.

Quote from: ATLANTIS29 on April 01, 2013, 08:16:30 AM
I am using SMF 2.0.4 with the Theme Black Rain i install this mod and it dose not display the awards nor can i find any of the mods edits in the Display.template.php

Display.template.php

Code (FIND) Select
// This shows the popular messaging icons.

Code (ADD BFORE) Select

// Show their awards?
if (!empty($message['member']['awards']) && $modSettings['awards_in_post'] > 0){
echo '
<li>
<fieldset style="border: 0px solid black; padding: 5px;">';

// Couldn't limit it in Load.php, so let's do it here.
$awards = 0;
foreach ($message['member']['awards'] as $award){
if($awards < $modSettings['awards_in_post'])
echo '
<a href="', $scripturl, $award['more'], '"><img src="', dirname($scripturl), $award['img'], '" alt="', $award['description'], '" title="', $award['description'], '" /></a> ';
$awards++;
}

echo '
</fieldset>
</li>';
}



Quote from: ATLANTIS29 on April 01, 2013, 08:16:30 AMset it to display 2 awards automatically (my members will only ever have 2 or less awards) so they don't have to fav them and also remove the "awards" surround so it just shows the actual images

You can set this number under the Awards Settings in the AdminCP awards section.  I removed the text "Awards" and the border around them


SD-X

A few pages back also has some bug fixes, which are probably linked to the installation errors too. I know at least one of them fixes messages coming up in the error log.

realJedi

I finally decided to install this mod but can't find the entry
Code ("./Sources/Load.php") Select
'permissions' => array(), to paste 'awards' => isset($user_settings['awards']) ? $user_settings['awards'] : array(), so I'm a little confused.

Any idea in what section of the file this has to be put in to work?

Thank you.

Skaty

How can i change this info from award's description to "award's name" ?


Kindred

change the text in modifications.YOURLANGUAGE.php
Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

Skaty

Quote from: Kindred on April 03, 2013, 07:26:12 AM
change the text in modifications.YOURLANGUAGE.php

When i hold the cursor on award, it shows description of award, i want to show award's name.

Kindred

ah... that is not how your question was phrased. :)

change the code in display.template.php
Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

Skaty

Quote from: Kindred on April 03, 2013, 09:11:27 AM
ah... that is not how your question was phrased. :)

change the code in display.template.php

English is not that good :)

Wich code is this exactly ?

$award['description'], '" title="', $award['description'],

i try it with

$award['name'], '" title="', $award['name'],

hcfwesker

Try this instead

$award['award_name'], '" title="', $award['award_name'],

Skaty

Quote from: hcfwesker on April 03, 2013, 11:28:16 AM
Try this instead

$award['award_name'], '" title="', $award['award_name'],

Thank you, it worked.

realJedi

Quote from: realJedi on April 02, 2013, 02:26:09 PM
I finally decided to install this mod but can't find the entry
Code ("./Sources/Load.php") Select
'permissions' => array(), to paste 'awards' => isset($user_settings['awards']) ? $user_settings['awards'] : array(), so I'm a little confused.

Any idea in what section of the file this has to be put in to work?

Thank you.

Help please ???

Skaty

Quote from: realJedi on April 05, 2013, 10:35:47 AM
Quote from: realJedi on April 02, 2013, 02:26:09 PM
I finally decided to install this mod but can't find the entry
Code ("./Sources/Load.php") Select
'permissions' => array(), to paste 'awards' => isset($user_settings['awards']) ? $user_settings['awards'] : array(), so I'm a little confused.

Any idea in what section of the file this has to be put in to work?

Thank you.

Help please ???

Whick file was that ? Give all codes and your file.

hcfwesker

Quote from: realJedi on April 05, 2013, 10:35:47 AM
Help please ???

are you installing this manually.  it'll install fine through the package manager

Skaty

how can i increase awards description character limit, it is not showing all of them.

i tried with these but didn't work.

type="text" name="description" id="description" value="', $context['award']['description'], '" size="30" />

Skaty

Any idea ?  How can i increase award descriptions, character limit is to low.

Advertisement: