Jump to content
Announcing Achievements! ×

Community

Trophies and Medals - Supporttopic


Fosters

Recommended Posts

19 hours ago, Dean_ said:

Trying Alpha 1, post bits are not resizing, also postbit position has no effect, and trophies do not show under signature. (default theme)

Do you see the same error as @Chris59 ?

3 minutes ago, Chris59 said:

Forum 4.5 Not show trophies or medals , default theme , alpha 1


863650605_Skrmavbild2020-08-24kl_18_30_29.png.5713889de508bcf10b5634411fba3dc3.png

What's the logged error? (ACP => System => System Log)

Link to comment
Share on other sites

  • Replies 1k
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Popular Posts

It’s taking longer then expected but it’s coming  😞 everybody with an active license can contact me and will get a free license for any of our other apps as compensation.   

Too many issues for a plugin that costs 49$ ;_;

Foster's Tutorial: Quality Content Are you looking for a way to reward quality postings in your community? Are you looking to recognize superusers who make an outsized contribution to yo

Posted Images

#0 xxx/applications/trophies/sources/Trophy/MemberTrophy.php(111): IPS\Patterns\_ActiveRecord::load('1')
#1 xxx/applications/trophies/sources/Trophy/MemberTrophy.php(54): IPS\trophies\Trophy\_MemberTrophy::getFromCache(Object(IPS\Member), 'postbit')
#2 xxx/system/Theme/Theme.php(854) : eval()'d code(233): IPS\trophies\Trophy\_MemberTrophy::fetchForPostbit(Object(IPS\Member))
#3 xxx/system/Theme/SandboxedTemplate.php(61): IPS\Theme\class_trophies_front_global->postbit(Object(IPS\Member))
#4 xxx/system/Theme/Theme.php(854) : eval()'d code(2586): IPS\Theme\_SandboxedTemplate->__call('postbit', Array)
#5 xxx/system/Theme/SandboxedTemplate.php(61): IPS\Theme\class_forums_front_topics->postContainer(Object(IPS\forums\Topic), Object(IPS\forums\Topic\Post), Array, 'cPostQuestion i...')
#6 xxx/system/Theme/Theme.php(854) : eval()'d code(4608): IPS\Theme\_SandboxedTemplate->__call('postContainer', Array)
#7 xxxsystem/Theme/SandboxedTemplate.php(61): IPS\Theme\class_forums_front_topics->topic(Object(IPS\forums\Topic), Array, Object(IPS\forums\Topic\Post), Array, NULL, NULL, Array)
#8 xxx/applications/forums/modules/front/forums/topic.php(459): IPS\Theme\_SandboxedTemplate->__call('topic', Array)
#9 xxx/system/Dispatcher/Controller.php(101): IPS\forums\modules\front\forums\_topic->manage()
#10 xxx/system/Content/Controller.php(50): IPS\Dispatcher\_Controller->execute()
#11 xxx/applications/forums/modules/front/forums/topic.php(39): IPS\Content\_Controller->execute()
#12 xxx/system/Dispatcher/Dispatcher.php(152): IPS\forums\modules\front\forums\_topic->execute()
#13 xxx/index.php(13): IPS\_Dispatcher->run()
#14 {main}

 

And no shows under signature as well . not working 😉 

Edited by Chris59
Link to comment
Share on other sites

22 minutes ago, Fosters said:

Do you see the same error as @Chris59 ?

What's the logged error? (ACP => System => System Log)

I did on Ehren's theme, but he just released an update. I do not get that error on the default theme.

Just searching through the logs and I see this;

Error (1060) Duplicate column name 'linktarget': addColumn ["trophies_trophy",{"name":"linktarget","type":"MEDIUMTEXT","length":null,"decimals":null,"values":null,"allow_null":true,"default":null,"comment":"","unsigned":false,"zerofill":false,"auto_increment":false,"binary":false}]

I also went through and disabled anything that might cause issues. I first thought EnhancedUserInfo caused it, but turning it off made no difference.

Error: Call to a member function getItemImage() on null in /home2/hxpvezuh/public_html/applications/trophies/sources/Trophy/MemberTrophy.php:238
Stack trace:
#0 /home2/hxpvezuh/public_html/system/Theme/Theme.php(854) : eval()'d code(263): IPS\trophies\Trophy\_MemberTrophy->getItemImage('trophy_trophyic...', 2, true)
#1 /home2/hxpvezuh/public_html/system/Theme/SandboxedTemplate.php(61): IPS\Theme\class_trophies_front_global->postbit(Object(IPS\Member))
#2 /home2/hxpvezuh/public_html/system/Theme/Theme.php(854) : eval()'d code(2598): IPS\Theme\_SandboxedTemplate->__call('postbit', Array)
#3 /home2/hxpvezuh/public_html/system/Theme/SandboxedTemplate.php(61): IPS\Theme\class_core_global_plugins->EnhancedUserInfoPanel(Object(IPS\forums\Topic\Post))
#4 /home2/hxpvezuh/public_html/system/Theme/Theme.php(854) : eval()'d code(2413): IPS\Theme\_SandboxedTemplate->__call('EnhancedUserInf...', Array)
#5 /home2/hxpvezuh/public_html/system/Theme/Theme.php(901) : eval()'d code(53): IPS\Theme\class_forums_front_topics->postContainer(Object(IPS\forums\Topic), Object(IPS\forums\Topic\Post), Array, '')
#6 /home2/hxpvezuh/public_html/system/Theme/SandboxedTemplate.php(61): IPS\Theme\hook678->postContainer(Object(IPS\forums\Topic), Object(IPS\forums\Topic\Post), Array, '')
#7 /home2/hxpvezuh/public_html/system/Theme/Theme.php(854) : eval()'d code(4783): IPS\Theme\_SandboxedTemplate->__call('postContainer', Array)
#8 /home2/hxpvezuh/public_html/system/Theme/SandboxedTemplate.php(61): IPS\Theme\class_forums_front_topics->topic(Object(IPS\forums\Topic), Array, NULL, Array, NULL, NULL, Array)
#9 /home2/hxpvezuh/public_html/applications/forums/modules/front/forums/topic.php(459): IPS\Theme\_SandboxedTemplate->__call('topic', Array)
#10 /home2/hxpvezuh/public_html/system/Dispatcher/Controller.php(101): IPS\forums\modules\front\forums\_topic->manage()
#11 /home2/hxpvezuh/public_html/system/Content/Controller.php(50): IPS\Dispatcher\_Controller->execute()
#12 /home2/hxpvezuh/public_html/applications/forums/modules/front/forums/topic.php(39): IPS\Content\_Controller->execute()
#13 /home2/hxpvezuh/public_html/system/Dispatcher/Dispatcher.php(152): IPS\forums\modules\front\forums\_topic->execute()
#14 /home2/hxpvezuh/public_html/index.php(13): IPS\_Dispatcher->run()
#15 {main}

 

Edited by Dean_
Link to comment
Share on other sites

Hello,

I get the following error message when a user is deleted

Best Regards

DELETE FROM `trophies_memberdetails` WHERE id=193
IPS\Db\Exception: Unknown column 'id' in 'where clause' (1054)
#0 /var/www/vhosts/httpdocs/system/Db/Db.php(1299): IPS\_Db->preparedQuery('/*::ip...', Array)
#1 /var/www/vhosts/httpdocs/applications/trophies/extensions/core/MemberSync/Item.php(120): IPS\_Db->delete('trophies_member...', Array)
#2 /var/www/vhosts/httpdocs/system/Member/Member.php(3992): IPS\trophies\extensions\core\MemberSync\_Item->onDelete(Object(IPS\Member))
#3 /var/www/vhosts/httpdocs/system/Member/Member.php(335): IPS\_Member->memberSync('onDelete')
#4 /var/www/vhosts/httpdocs/applications/core/modules/admin/members/members.php(2968): IPS\_Member->delete(false)
#5 /var/www/vhosts/httpdocs/system/Dispatcher/Controller.php(90): IPS\core\modules\admin\members\_members->delete()
#6 /var/www/vhosts/httpdocs/system/Dispatcher/Dispatcher.php(152): IPS\Dispatcher\_Controller->execute()
#7 /var/www/vhosts/httpdocs/admin/index.php(14): IPS\_Dispatcher->run()
#8 {main}

Link to comment
Share on other sites

On 8/23/2020 at 9:59 PM, Dean_ said:

Trying Alpha 1, post bits are not resizing, also postbit position has no effect, and trophies do not show under signature. (default theme)

Other two issues are still present Fosters on default theme using Beta 1 which was released two hours ago.

Edited by Dean_
Link to comment
Share on other sites

Hello @Fosters,

 

I have a problem in my forum

Quote

[[Template trophies/front/global/postbit is throwing an error. This theme may be out of date. Run the support tool in the AdminCP to restore the default theme.]]

 

My theme is Deflection and is updated on the last version, compatible with 4.5. I tried with another 2 original themes and same problem.

 

3.thumb.png.92f0adc2cca67fe997c420796ee91f80.png

Link to comment
Share on other sites

Since I updated my board to 4.5 I can not edit trophies & medals already existing. I get this error : 2S119/1 (speak about CSRF key)

I matched the app with the new marketplace, and I tried to update it, but after the first alert that we have to agree, I get a simple alert box who said there was an error and I can not continue. 

On the front, Trophies & Medals already existing works fine. 

Link to comment
Share on other sites

Still having issues...

On 8/23/2020 at 9:59 PM, Dean_ said:

Trying Alpha 1, post bits are not resizing, also postbit position has no effect, and trophies do not show under signature. (default theme)

 

Quote

Other two issues are still present Fosters on default theme using Beta 1 which was released two hours ago.

 

Another day another issue with this app:

 Unable to delete members with ACP. Once disabled, I can delete a member.
DELETE FROM `trophies_memberdetails` WHERE id=682
IPS\Db\Exception: Unknown column 'id' in 'where clause' (1054)
#0 /home2/hxpvezuh/public_html/system/Db/Db.php(1299): IPS\_Db->preparedQuery('/*hxpvezuh_AUG1...', Array)
#1 /home2/hxpvezuh/public_html/applications/trophies/extensions/core/MemberSync/Item.php(120): IPS\_Db->delete('trophies_member...', Array)
#2 /home2/hxpvezuh/public_html/system/Member/Member.php(3992): IPS\trophies\extensions\core\MemberSync\_Item->onDelete(Object(IPS\Member))
#3 /home2/hxpvezuh/public_html/system/Member/Member.php(335): IPS\_Member->memberSync('onDelete')
#4 /home2/hxpvezuh/public_html/applications/core/modules/admin/members/members.php(2968): IPS\_Member->delete(false)
#5 /home2/hxpvezuh/public_html/system/Dispatcher/Controller.php(90): IPS\core\modules\admin\members\_members->delete()
#6 /home2/hxpvezuh/public_html/system/Dispatcher/Dispatcher.php(152): IPS\Dispatcher\_Controller->execute()
#7 /home2/hxpvezuh/public_html/admin/index.php(14): IPS\_Dispatcher->run()
#8 {main}

 

Edited by Dean_
Link to comment
Share on other sites

On 8/31/2020 at 7:30 PM, Mictlan said:

Hello,

I get the following error message when a user is deleted

Best Regards

DELETE FROM `trophies_memberdetails` WHERE id=193
IPS\Db\Exception: Unknown column 'id' in 'where clause' (1054)
#0 /var/www/vhosts/httpdocs/system/Db/Db.php(1299): IPS\_Db->preparedQuery('/*::ip...', Array)
#1 /var/www/vhosts/httpdocs/applications/trophies/extensions/core/MemberSync/Item.php(120): IPS\_Db->delete('trophies_member...', Array)
#2 /var/www/vhosts/httpdocs/system/Member/Member.php(3992): IPS\trophies\extensions\core\MemberSync\_Item->onDelete(Object(IPS\Member))
#3 /var/www/vhosts/httpdocs/system/Member/Member.php(335): IPS\_Member->memberSync('onDelete')
#4 /var/www/vhosts/httpdocs/applications/core/modules/admin/members/members.php(2968): IPS\_Member->delete(false)
#5 /var/www/vhosts/httpdocs/system/Dispatcher/Controller.php(90): IPS\core\modules\admin\members\_members->delete()
#6 /var/www/vhosts/httpdocs/system/Dispatcher/Dispatcher.php(152): IPS\Dispatcher\_Controller->execute()
#7 /var/www/vhosts/httpdocs/admin/index.php(14): IPS\_Dispatcher->run()
#8 {main}

 

2 hours ago, Dean_ said:

Still having issues...

 

 

Another day another issue with this app:

 Unable to delete members with ACP. Once disabled, I can delete a member.

DELETE FROM `trophies_memberdetails` WHERE id=682
IPS\Db\Exception: Unknown column 'id' in 'where clause' (1054)
#0 /home2/hxpvezuh/public_html/system/Db/Db.php(1299): IPS\_Db->preparedQuery('/*hxpvezuh_AUG1...', Array)
#1 /home2/hxpvezuh/public_html/applications/trophies/extensions/core/MemberSync/Item.php(120): IPS\_Db->delete('trophies_member...', Array)
#2 /home2/hxpvezuh/public_html/system/Member/Member.php(3992): IPS\trophies\extensions\core\MemberSync\_Item->onDelete(Object(IPS\Member))
#3 /home2/hxpvezuh/public_html/system/Member/Member.php(335): IPS\_Member->memberSync('onDelete')
#4 /home2/hxpvezuh/public_html/applications/core/modules/admin/members/members.php(2968): IPS\_Member->delete(false)
#5 /home2/hxpvezuh/public_html/system/Dispatcher/Controller.php(90): IPS\core\modules\admin\members\_members->delete()
#6 /home2/hxpvezuh/public_html/system/Dispatcher/Dispatcher.php(152): IPS\Dispatcher\_Controller->execute()
#7 /home2/hxpvezuh/public_html/admin/index.php(14): IPS\_Dispatcher->run()
#8 {main}

 

I'm really sorry for this, this was fixed, and is awaiting approval

 

14 hours ago, Archimed said:

Since I updated my board to 4.5 I can not edit trophies & medals already existing. I get this error : 2S119/1 (speak about CSRF key)

I matched the app with the new marketplace, and I tried to update it, but after the first alert that we have to agree, I get a simple alert box who said there was an error and I can not continue. 

On the front, Trophies & Medals already existing works fine. 

I can't reproduce the editing issue. Creating, editing and deleting them works fine for me. What's the full url where you see the error?

Link to comment
Share on other sites

DELETE FROM `trophies_memberdetails` WHERE id=2515
IPS\Db\Exception: Unknown column 'id' in 'where clause' (1054)
#0 /var/www/vhosts/xxx.de/httpdocs/system/Db/Db.php(1299): IPS\_Db->preparedQuery('/*dbpo20ipb::us...', Array)
#1 /var/www/vhosts/xxx.de/httpdocs/applications/trophies/extensions/core/MemberSync/Item.php(120): IPS\_Db->delete('trophies_member...', Array)
#2 /var/www/vhosts/xxx.de/httpdocs/system/Member/Member.php(3992): IPS\trophies\extensions\core\MemberSync\_Item->onDelete(Object(IPS\Member))
#3 /var/www/vhosts/xxx.de/httpdocs/system/Member/Member.php(335): IPS\_Member->memberSync('onDelete')
#4 /var/www/vhosts/xxx.de/httpdocs/applications/core/modules/admin/members/members.php(2968): IPS\_Member->delete(false)
#5 /var/www/vhosts/xxx.de/httpdocs/system/Dispatcher/Controller.php(90): IPS\core\modules\admin\members\_members->delete()
#6 /var/www/vhosts/xxx.de/httpdocs/system/Dispatcher/Dispatcher.php(152): IPS\Dispatcher\_Controller->execute()
#7 /var/www/vhosts/xxx.de/httpdocs/admin/index.php(14): IPS\_Dispatcher->run()
#8 {main}

Also have this problems. 

Can't delete any users. 

After deactivate the app, it works and i can delete the user. 

 

Edit: more information

#0 /var/www/vhosts/xxx.de/httpdocs/init.php(988): IPS\_Log::log('DELETE FROM `tr...', 'uncaught_except...')
#1 [internal function]: IPS\IPS::exceptionHandler(Object(IPS\Db\Exception))
#2 {main}

 

Edited by Sascha Prinz
Link to comment
Share on other sites

While duplicating one trophy to create another, I recieved this error after hitting "save". My changes were not saved.

TypeError: Argument 2 passed to IPS\trophies\extensions\trophies\TrophyCriteria\_Expression::memberMeetsCriteria() must be an instance of IPS\trophies\Trophy, instance of IPS\trophies\_Trophy given, called in /var/www/html/r278479/applications/trophies/sources/Trophy/Trophy.php on line 433 (0)
#0 /var/www/html/r278479/applications/trophies/sources/Trophy/Trophy.php(433): IPS\trophies\extensions\trophies\TrophyCriteria\_Expression::memberMeetsCriteria(Object(IPS\Member), Object(IPS\trophies\_Trophy), NULL)
#1 /var/www/html/r278479/applications/trophies/sources/Trophy/Trophy.php(478): IPS\trophies\_Trophy->memberMeetsCriteria(Object(IPS\Member))
#2 /var/www/html/r278479/applications/trophies/extensions/trophies/TrophyCriteria/Criteria.php(45): IPS\trophies\_Trophy::updateTrophiesForMember(Object(IPS\Member))
#3 /var/www/html/r278479/applications/trophies/sources/Trophy/Trophy.php(233): IPS\trophies\extensions\trophies\TrophyCriteria\_Criteria::handleForm(Array, Array)
#4 /var/www/html/r278479/system/Node/Controller.php(413): IPS\trophies\_Trophy->formatFormValues(Array)
#5 /var/www/html/r278479/system/Dispatcher/Controller.php(90): IPS\Node\_Controller->form()
#6 /var/www/html/r278479/system/Node/Controller.php(62): IPS\Dispatcher\_Controller->execute()
#7 /var/www/html/r278479/applications/trophies/modules/admin/trophies/trophy.php(54): IPS\Node\_Controller->execute()
#8 /var/www/html/r278479/system/Dispatcher/Dispatcher.php(152): IPS\trophies\modules\admin\trophies\_trophy->execute()
#9 /var/www/html/r278479/admin/index.php(14): IPS\_Dispatcher->run()
#10 {main}

 

Link to comment
Share on other sites

On 9/4/2020 at 4:39 PM, Fosters said:

I guess this was an oversight. I've changed this for the next version 🙂

Just installed Beta 2. And here's the list of problems I currently have:

  • Medals and Trophies images are not resizing on 4.5.X
  • In the signature is it meant to just display trophies or both medals and trophies? Because in the settings it appears as separate, however it shows both? So I'm totally confused, plus why is it called awards, I thought it was medals and trophies?
  • Medals are not showing despite being awarded, and there is a log of this action?
  • You cannot give medals to a member on their profile any more?
Link to comment
Share on other sites

35 minutes ago, Dean_ said:

You cannot give medals to a member on their profile any more?

Is the setting "Allow Moderator to Award Medal?" enabled and does the moderator have permissions to award medals?

There's a button on a profile if the setting is enabled and if the moderator has the proper permissions!

award.png

Link to comment
Share on other sites

10 minutes ago, Fosters said:

Is the setting "Allow Moderator to Award Medal?" enabled and does the moderator have permissions to award medals?

There's a button on a profile if the setting is enabled and if the moderator has the proper permissions!

award.png

Ah, sorry I assumed as an Admin I should already be enabled. Text is confusing. It should read, allow Admin and Moderators.

 

Edited by Dean_
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
  • Recently Browsing   0 members

    No registered users viewing this page.


×
×
  • Create New...

Important Information

We use technologies, such as cookies, to customise content and advertising, to provide social media features and to analyse traffic to the site. We also share information about your use of our site with our trusted social media, advertising and analytics partners. See more about cookies and our Privacy Policy