News:

Wondering if this will always be free?  See why free is better.

Main Menu

Member Awards (2.0 Compatible!)

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

Previous topic - Next topic

hcfwesker

Look on the MOD page and parse the MOD for your version, and see the area it goes in, in that file.

recived

Quote from: hcfwesker on January 24, 2012, 10:03:20 AM
Look on the MOD page and parse the MOD for your version, and see the area it goes in, in that file.
I tried. did not work. All the code is automatically added with no problems at all files. The profile displays, awards are added, but the display does not work. How so then?

Kindred

if you are using smf 1.1.x or if you added your theme in 2.0 after installing this mod then you will have to manually apply the changes to the display.template.php in your custom theme
Сл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."

MrCreatoR

#2643
Russian translation...

For index.xml:
Quote<file name="$languagedir/Modifications.russian-utf8.php" error="skip">
	
	
<
operation>
	
	
	
<
search position="end" />
	
	
	
<
add><![CDATA[
### Awards
global $scripturl;
// Used by: Errors
$txt['cannot_manage_awards'] = 'У вас нет прав на управление наградами.';

// Used by: Help
$helptxt['awards'] = 'Этот раздел позволяет вам управлять, назначать, и катализировать награды, а также изменять некоторые настройки.';

// Used by: ManagePermissions
$txt['permissionname_manage_awards'] = 'Управление наградами';
$txt['permissionhelp_manage_awards'] = 'Это позволит участникам добавлять, править или назначать новые награды';

// Used by: Multiple Areas
$txt['awards'] = 'Награды';
$txt['awards_view_album'] = 'Просмотр альбома наград этого участника.';
$txt['awards_main'] = 'Главное меню';
$txt['awards_modify'] = 'Добавить/Изменить';
$txt['awards_assign'] = 'Назначить';
$txt['awards_categories'] = 'Категорий';
$txt['awards_settings'] = 'Настройки';
$txt['whoallow_awards'] = 'Управление <a href="' $scripturl '?action=awards">Наградами</a>.';

// Used by: Profile
$txt['showAwards'] = 'Награды участника';
$txt['listAwards'] = 'Список доступных наград';
### End Awards]]></add>
	
	
</
operation>
	
</
file>

ManageAwards.russian-utf8.php file is attached.

fullmoonya

i attach again the image of the problem. please have a look. what could be the problem with it?
do not mark my topic solve unless it is REALLY SOLVED.
my forum

Visit My Blog:
Google SEO Share

hcfwesker

Sorry I havent got a clue.  I didn't update to the latest version cause of some feature changes i didnt like. 

Have you tried changing how your menus are layed out?  Click the double arrows next to "Profile Info" in the top menu box to change your menu views ( can be changed back with another simple click).  This MOD may have been built around the newer SMF2 menu layout.   The layout you chose to use is on SMF2, but based on SMF1

Just test it and see if it works.


fullmoonya

#2646
now i found out the problem. i tried to install a new forum for test and got no bug. but there is some problem when i remove the sub buttons of my main menu. its the same as the image i just attached previously.

EDIT:

ouch. im wrong. i thought the problem is in the main menu but the real problem is the css of this mod because when i uninstall the ezportal, it returns to the same look as in the image i attached. :(
do not mark my topic solve unless it is REALLY SOLVED.
my forum

Visit My Blog:
Google SEO Share

atoast

Is there a way show only the favorite award in a user's post?

MrCreatoR

Spuds
Why «Show Awards» in the profile always gives me this:
QuoteThis member has not received any awards
?
even if the user having awards.

what is the different between «Show Awards» and «Awards List»?

hcfwesker

Quote from: MrCreatoR on January 29, 2012, 01:03:33 PMwhat is the different between «Show Awards» and «Awards List»?

Show Awards will show the Members Awards.  Awards List will show the entire awards catalogue.  It's worded confusingly, I know, which is why I edited both those link titles on my site.

"Show My Awards"
"Awards Master List"

MrCreatoR

hcfwesker [?]
QuoteShow Awards will show the Members Awards.  Awards List will show the entire awards catalogue
Thanks, so the strings should be more specific.

Updated translation.

atoast

#2651
While I translate this extension into german, could anyone tell me how to show the big image of the favorite award in a user's post?

i tried the most obvious things like adding _favorite to some 'awards' codes, but it didnt surprise me that it didnt work out :/
i am talking about this code in the display.template.php:

// Show their awards?
if (!empty($message['member']['awards']) && $modSettings['awards_in_post'] > 0){
echo '
  <div id="description-wrap" style="margin: 20px auto; width: 700px;">
<div class="description">
<div class="description-text">

<fieldset style="border: 1px solid black; padding: 5px;">
<legend>', $txt['awards'], '</legend>';

// 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++;
}


edit: before i start translating: am i right when i am using codes like &ouml; &auml; in the normal translation and in the utf-8 version öäü letters?

MrCreatoR

Anyone can tell me please why this mod does not support Unicode?



It's Russian, all changes i made converted to ?????.
And BTW, i tested the mod on localhost forum, there is no such problem.

Fustrate

Are you using Russian UTF8 on both sites?
Steven Hoffman
Former Team Member, 2009-2012

Fed Drago

Are there any plans to make this Mod fully compatible with SMF 2.02?

Thank you
Fed


MrCreatoR

[?]
QuoteAre you using Russian UTF8 on both sites?
How can i check it?

Kindred

ummm... fed....   it works just fine with 2.0.2
Сл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."

Fed Drago

Quote from: Kindred on February 03, 2012, 07:32:21 AM
ummm... fed....   it works just fine with 2.0.2

Not for me I will try to install it again but it is giving me an error I will copy and post it when I get the chance.

Cheers

hcfwesker

You're going to get install errors depending on the amount of MODs you already have installed.  you'll just have to make the manual edits.

Advertisement: