No, you can only award to users, I'm afraid :/wrecked wrote:Is there a way to award a medal to a group?
No, you can only award to users, I'm afraid :/wrecked wrote:Is there a way to award a medal to a group?
Why you just don't use approve-icon, and set it to use same image that rate-good-icon uses? Or copy your rate-good-icon image and rename it as approve-icon image (I'm not sure about the correct names, but I guess you know what they are)?Jessica wrote:Because I used rate-good-icon instead of approve-icon, now the Rate good icon appears in my own posts on my board when it shouldn't, next to the rep score (though it's not clickable)
Code: Select all
if ( file_exists($device_image) )
Code: Select all
if ( file_exists($phpbb_root_path . 'images/medals/' . $device_image) )
Code: Select all
Medal System
PHP Version: 5.3.23
DBMS: MySQL(i) 5.5.30-log
phpBB3 Version: 3.0.11
Adding a new column named user_points to table phpbb_users
ERROR: The column user_points already exists on table phpbb_users.
That's probably why, yes. You can still install it.Sweeney wrote:i installed it via automod but on the last screen i get this error
is it because i have a points system installed? if so is there no way round it i would like them both on my forumCode: Select all
Medal System PHP Version: 5.3.23 DBMS: MySQL(i) 5.5.30-log phpBB3 Version: 3.0.11 Adding a new column named user_points to table phpbb_users ERROR: The column user_points already exists on table phpbb_users.
Been using this mod for about 3 months or so, on a a live board with about 500 members. We have full system of awards in several categories, and over 100 have been passed it.Is this still in the BETA? Because I want to install this one but I normally don't install BETA's
I don't understand what you mean by a level 1 medal..or "levels" for a medal...Ledsen Arkangel wrote:Anyhow, there is a funny bug when you show medals in viewtopic. If you use non-dynamic medals, and if you have more than one level for a medal, the level 1 medal is shown in viewtopic always, no matter which level user really has (if (s)he has the medal, that is). If you use dynamic medals, the medal of user's current level is shown. Looks like the script searches from a wrong place when it tries to find if the image file exists or not. I made the following fix and got it working:
OPEN includes/medals_viewtopic.php
FINDREPLACE WITHCode: Select all
if ( file_exists($device_image) )
Though now it doesn't look good, as it is done differently in medals_memberlist.php... but that was easiest way to do it (and because it now shows current level medal image instead of level 1 medal image, I'm pretty sure that it is a bug) ... I have to investigate that further to really understand how it is done in medals_memberlist.php, so I can get it look similar.Code: Select all
if ( file_exists($phpbb_root_path . 'images/medals/' . $device_image) )
Code: Select all
'MEDAL_AMOUNT' => 'Amount',
Code: Select all
'MEDALS_VIEW_EXPLAIN' => 'Viewing medal page',
Code: Select all
case 'faq':
$location = $user->lang['VIEWING_FAQ'];
$location_url = append_sid("{$phpbb_root_path}faq.$phpEx");
break;
Code: Select all
case 'medals':
$user->add_lang('mods/info_medals_mod');
$location = $user->lang['MEDALS_VIEW_EXPLAIN'];
$location_url = append_sid("{$phpbb_root_path}medals.$phpEx");
break;
Thank you, I will add that in.Solidjeuh wrote:Maybe you can add the medal page in viewonline.php
Open language/en/mods/info_medals_mod.php
search:After add:Code: Select all
'MEDAL_AMOUNT' => 'Amount',
Open viewonline.phpCode: Select all
'MEDALS_VIEW_EXPLAIN' => 'Viewing medal page',
SearchAfter add:Code: Select all
case 'faq': $location = $user->lang['VIEWING_FAQ']; $location_url = append_sid("{$phpbb_root_path}faq.$phpEx"); break;
Code: Select all
case 'medals': $user->add_lang('mods/info_medals_mod'); $location = $user->lang['MEDALS_VIEW_EXPLAIN']; $location_url = append_sid("{$phpbb_root_path}medals.$phpEx"); break;