Jump to content

Trophies and Medals - Supporttopic


Recommended Posts

Error when trying to approve a download file

INSERT INTO `trophies_members` ( `member_id`, `date`, `data`, `trophy_id`, `medal_id` ) VALUES ( 9452, 1554514065, '[]', 8, 0 )
IPS\Db\Exception: Duplicate entry '9452-8-0' for key 'member,trophy,medal' (1062)
#0 /home/nginx/domains/mycommunity.com/public/system/Db/Db.php(936): IPS\_Db->preparedQuery('/*IPS\\trophies\\...', Array)
#1 /home/nginx/domains/mycommunity.com/public/applications/trophies/sources/Item/Item.php(183): IPS\_Db->insert('trophies_member...', Array)
#2 /home/nginx/domains/mycommunity.com/public/applications/trophies/sources/Trophy/Trophy.php(472): IPS\trophies\_Item->awardToMember(Object(IPS\Member))
#3 /home/nginx/domains/mycommunity.com/public/applications/trophies/extensions/core/Profile/TrophiesAndMedals.php(30): IPS\trophies\_Trophy::updateTrophiesForMember(Object(IPS\Member))
#4 /home/nginx/domains/mycommunity.com/public/applications/core/modules/front/members/profile.php(217): IPS\trophies\extensions\core\Profile\_TrophiesAndMedals->__construct(Object(IPS\Member))
#5 /home/nginx/domains/mycommunity.com/public/init.php(588) : eval()'d code(23): IPS\core\modules\front\members\_profile->manage()
#6 /home/nginx/domains/mycommunity.com/public/system/Dispatcher/Controller.php(96): IPS\core\modules\front\members\trophies_hook_profile->manage()
#7 /home/nginx/domains/mycommunity.com/public/applications/core/modules/front/members/profile.php(73): IPS\Dispatcher\_Controller->execute()
#8 /home/nginx/domains/mycommunity.com/public/init.php(588) : eval()'d code(41): IPS\core\modules\front\members\_profile->execute()
#9 /home/nginx/domains/mycommunity.com/public/system/Dispatcher/Dispatcher.php(152): IPS\core\modules\front\members\hook4828->execute()
#10 /home/nginx/domains/mycommunity.com/public/index.php(13): IPS\_Dispatcher->run()
#11 {main}

 

Link to comment
4 hours ago, Joel R said:

Error when trying to approve a download file


INSERT INTO `trophies_members` ( `member_id`, `date`, `data`, `trophy_id`, `medal_id` ) VALUES ( 9452, 1554514065, '[]', 8, 0 )
IPS\Db\Exception: Duplicate entry '9452-8-0' for key 'member,trophy,medal' (1062)
#0 /home/nginx/domains/mycommunity.com/public/system/Db/Db.php(936): IPS\_Db->preparedQuery('/*IPS\\trophies\\...', Array)
#1 /home/nginx/domains/mycommunity.com/public/applications/trophies/sources/Item/Item.php(183): IPS\_Db->insert('trophies_member...', Array)
#2 /home/nginx/domains/mycommunity.com/public/applications/trophies/sources/Trophy/Trophy.php(472): IPS\trophies\_Item->awardToMember(Object(IPS\Member))
#3 /home/nginx/domains/mycommunity.com/public/applications/trophies/extensions/core/Profile/TrophiesAndMedals.php(30): IPS\trophies\_Trophy::updateTrophiesForMember(Object(IPS\Member))
#4 /home/nginx/domains/mycommunity.com/public/applications/core/modules/front/members/profile.php(217): IPS\trophies\extensions\core\Profile\_TrophiesAndMedals->__construct(Object(IPS\Member))
#5 /home/nginx/domains/mycommunity.com/public/init.php(588) : eval()'d code(23): IPS\core\modules\front\members\_profile->manage()
#6 /home/nginx/domains/mycommunity.com/public/system/Dispatcher/Controller.php(96): IPS\core\modules\front\members\trophies_hook_profile->manage()
#7 /home/nginx/domains/mycommunity.com/public/applications/core/modules/front/members/profile.php(73): IPS\Dispatcher\_Controller->execute()
#8 /home/nginx/domains/mycommunity.com/public/init.php(588) : eval()'d code(41): IPS\core\modules\front\members\_profile->execute()
#9 /home/nginx/domains/mycommunity.com/public/system/Dispatcher/Dispatcher.php(152): IPS\core\modules\front\members\hook4828->execute()
#10 /home/nginx/domains/mycommunity.com/public/index.php(13): IPS\_Dispatcher->run()
#11 {main}

 

Are you using the latest release?

Link to comment

Just installed this however getting this error, any help with this would be great.
 

INSERT INTO `DB_IPB_trophies_members` ( `member_id`, `date`, `data`, `trophy_id`, `medal_id` ) VALUES ( 3854, 1555096285, '[]', 2, 0 )
IPS\Db\Exception: Duplicate entry '3854-2-0' for key 'member,trophy,medal' (1062)
#0 /home/outbreak/public_html/forums/system/Db/Db.php(936): IPS\_Db->preparedQuery('/*IPS\\trophies\\...', Array)
#1 /home/outbreak/public_html/forums/applications/trophies/sources/Item/Item.php(183): IPS\_Db->insert('trophies_member...', Array)
#2 /home/outbreak/public_html/forums/applications/trophies/sources/Trophy/Trophy.php(472): IPS\trophies\_Item->awardToMember(Object(IPS\Member))
#3 /home/outbreak/public_html/forums/applications/trophies/extensions/core/Profile/TrophiesAndMedals.php(30): IPS\trophies\_Trophy::updateTrophiesForMember(Object(IPS\Member))
#4 /home/outbreak/public_html/forums/applications/core/modules/front/members/profile.php(217): IPS\trophies\extensions\core\Profile\_TrophiesAndMedals->__construct(Object(IPS\Member))
#5 [internal function]: IPS\core\modules\front\members\_profile->manage()
#6 /home/outbreak/public_html/forums/init.php(588) : eval()'d code(39): call_user_func_array('parent::manage', Array)
#7 /home/outbreak/public_html/forums/init.php(588) : eval()'d code(23): IPS\core\modules\front\members\steam_hook_steamDefault->manage()
#8 /home/outbreak/public_html/forums/system/Dispatcher/Controller.php(96): IPS\core\modules\front\members\trophies_hook_profile->manage()
#9 /home/outbreak/public_html/forums/applications/core/modules/front/members/profile.php(73): IPS\Dispatcher\_Controller->execute()
#10 /home/outbreak/public_html/forums/system/Dispatcher/Dispatcher.php(152): IPS\core\modules\front\members\_profile->execute()
#11 /home/outbreak/public_html/forums/index.php(13): IPS\_Dispatcher->run()
#12 {main}

 

Link to comment

Two things - Screenshot is on default IPS Theme for you to know it has already been flipped and tried

also have already did the support tool, and disabled other 3rd party plugins/apps

still same results

@Fosters

1. Fa - Icons for Trophies are not showing good on profiles & trophy & medal page

screenshot-www.fierceteam.com-2019_04.14-08-46-53.thumb.png.69179be72b2f761b4185d765ea1ce8ca.png

2. When trying to make a Medal via acp

  • the Fa-Icon doesn't start off for you like when making a trophy fa-icon
  • Fa-Icons & Images will not show after saving - doesn't show in profiles, or main page for trophies & medals, or postbit
Edited by Mr. Fierce God
Link to comment
46 minutes ago, Mr. Fierce God said:

Two things - Screenshot is on default IPS Theme for you to know it has already been flipped and tried

also have already did the support tool, and disabled other 3rd party plugins/apps

still same results

@Fosters

1. Fa - Icons for Trophies are not showing good on profiles & trophy & medal page

screenshot-www.fierceteam.com-2019_04.14-08-46-53.thumb.png.69179be72b2f761b4185d765ea1ce8ca.png

2. When trying to make a Medal via acp

  • the Fa-Icon doesn't start off for you like when making a trophy fa-icon
  • Fa-Icons & Images will not show after saving - doesn't show in profiles, or main page for trophies & medals, or postbit

Oh god, sorry for this.
1. I thought that we changed the colors and that we removed the fosters branding (gold and black).. This was removed now.
2. The size bug was fixed too
3. The broken FA icon selector for medals was fixed too ( actually.. it was never implemented there, we wanted  and we're still going to remove them in the future, but as long as we haven't finished the trophy logic we'll keep them..)

 

tropjy.png

Link to comment
  • 3 weeks later...
On 5/3/2019 at 2:42 AM, Mark Spieker said:

Is there a way to award Trophies based on the leaderboard? I googled it, found nothing, I don't see it in the options, and I installed "Rules" and don't see anything in there.

 

Thanks!

~Mark

Unfortunately there's no way to do this

Link to comment
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...