Fosters Posted September 6, 2020 Author Posted September 6, 2020 38 minutes ago, Dean_ said: 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? Where do you see awards? It's saying "Trophies and Medals" for me. The image size is working for me on https://fosters.space/index.php?/profile/1-admin/&tab=node_trophies_TrophiesAndMedals and https://fosters.space/index.php?/trophies/ 😞
Dean_ Posted September 6, 2020 Posted September 6, 2020 (edited) 30 minutes ago, Fosters said: Where do you see awards? It's saying "Trophies and Medals" for me. Not sure why the toggle switch says awards? I mean, I know what it is but I don't think the term 'awards' suits it here. (I know you award people but as a setting it doesn't make sense). I think if we have the option to display in postbit and signatures, maybe it might be good idea to have them split up? Medals under signatures, and trophies in postbit (avatar). Then have the option to swap them around if we wish. 30 minutes ago, Fosters said: The image size is working for me on https://fosters.space/index.php?/profile/1-admin/&tab=node_trophies_TrophiesAndMedals and https://fosters.space/index.php?/trophies/ 😞 I set to 10px10px, but they don't change while on the forums. Edited September 6, 2020 by Dean_
Dean_ Posted September 6, 2020 Posted September 6, 2020 37 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! Button doesn't show for me with the option enabled (cache cleared).
Fosters Posted September 6, 2020 Author Posted September 6, 2020 Is the mod permission set? Should I take a look at your installation?
Dean_ Posted September 6, 2020 Posted September 6, 2020 5 minutes ago, Fosters said: Is the mod permission set? Should I take a look at your installation? Probably best, as I could be having a very long moment. I'll send a pm. Fosters 1
Sethhh. Posted September 6, 2020 Posted September 6, 2020 On 9/3/2020 at 1:43 AM, Sethhh. said: Hello @Fosters, I have a problem in my forum 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. No solutions for this?
Fosters Posted September 6, 2020 Author Posted September 6, 2020 1 hour ago, Sethhh. said: No solutions for this? What’s the logged error ?
Dean_ Posted September 6, 2020 Posted September 6, 2020 @Fosters PM sent, it’s late in the UK so just leave me a message and I’ll pick it up in the morning. Fosters 1
Sethhh. Posted September 7, 2020 Posted September 7, 2020 (edited) 8 hours ago, Fosters said: What’s the logged error ? FIRST: SECOND: Edited September 7, 2020 by Sethhh. Fosters 1
EmpireKicking Posted September 7, 2020 Posted September 7, 2020 I did had a template error but now that's gone I get another error. Saving and edited the seeing is not making any changes at all 😞 even set to 1 max trophies does nothing
Dean_ Posted September 7, 2020 Posted September 7, 2020 1 minute ago, EmpireKicking said: I did had a template error but now that's gone I get another error. Saving and edited the seeing is not making any changes at all 😞 even set to 1 max trophies does nothing I’ve reported this. Also, are you using Enhanced User Info? If so you need to disable it as you can see it’s not supported and maybe causing you issues.
EmpireKicking Posted September 7, 2020 Posted September 7, 2020 1 minute ago, Dean_ said: I’ve reported this. Also, are you using Enhanced User Info? If so you need to disable it as you can see it’s not supported and maybe causing you issues. Nope, not using that plugin...
Dean_ Posted September 7, 2020 Posted September 7, 2020 22 minutes ago, EmpireKicking said: Nope, not using that plugin... Then ignore me 😂
Fosters Posted September 7, 2020 Author Posted September 7, 2020 6 hours ago, Sethhh. said: FIRST: SECOND: thx fixed and fixed. This were issues caused by guest content.
Fosters Posted September 7, 2020 Author Posted September 7, 2020 1 hour ago, EmpireKicking said: I did had a template error but now that's gone I get another error. Saving and edited the seeing is not making any changes at all 😞 even set to 1 max trophies does nothing Have you ever customized the postbit template manually? Is there any other 3rd party app changing the postbit?
Chris59 Posted September 7, 2020 Posted September 7, 2020 #0 /home/xxx/xxx/xxx.se/applications/trophies/sources/Trophy/MemberTrophy.php(109): IPS\Patterns\_ActiveRecord::load('') #1 /home/xxx/xxx/xxx.se/applications/trophies/sources/Trophy/MemberTrophy.php(54): IPS\trophies\Trophy\_MemberTrophy::getFromCache(Object(IPS\Member), 'postbit') #2 /home/xxx/xxx/xxx.se/applications/trophies/sources/Trophy/MemberTrophy.php(42): IPS\trophies\Trophy\_MemberTrophy::fetchForPostbit(Object(IPS\Member)) #3 /home/xxx/xxx/xxx.se/system/Theme/Theme.php(854) : eval()'d code(292): IPS\trophies\Trophy\_MemberTrophy::fetchForSignature(Object(IPS\Member)) #4 /home/xxx/xxx/xxx.se/system/Theme/SandboxedTemplate.php(61): IPS\Theme\class_trophies_front_global->signature(Object(IPS\Member)) #5 /home/xxx/xxx/xxx.se/system/Theme/Theme.php(854) : eval()'d code(1805): IPS\Theme\_SandboxedTemplate->__call('signature', Array) #6 /home/xxx/xxx/xx.se/system/Theme/SandboxedTemplate.php(61): IPS\Theme\class_forums_front_topics->post(Object(IPS\forums\Topic), Object(IPS\forums\Topic\Post), 'topic_comment', 'forums', 'forums', 'forums_Topic') #7 /home/xxx/xxx/xx.se/system/Theme/Theme.php(854) : eval()'d code(2613): IPS\Theme\_SandboxedTemplate->__call('post', Array) #8 /home/xxx/xxx/xx.se/system/Theme/SandboxedTemplate.php(61): IPS\Theme\class_forums_front_topics->postContainer(Object(IPS\forums\Topic), Object(IPS\forums\Topic\Post), Array, '') #9 /home/xxx/xxx/xxx.se/system/Theme/Theme.php(854) : eval()'d code(4974): IPS\Theme\_SandboxedTemplate->__call('postContainer', Array) #10 /home/xxx/xxx/xxx.se/system/Theme/SandboxedTemplate.php(61): IPS\Theme\class_forums_front_topics->topic(Object(IPS\forums\Topic), Array, NULL, Array, NULL, NULL, Array) #11 /home/xxx/xxx/xxx.se/applications/forums/modules/front/forums/topic.php(459): IPS\Theme\_SandboxedTemplate->__call('topic', Array) #12 /home/xxx/xxx/xxx.se/init.php(886) : eval()'d code(24): IPS\forums\modules\front\forums\_topic->manage() #13 /home/xxx/xxx/xxx.se/system/Dispatcher/Controller.php(101): IPS\forums\modules\front\forums\badges_hook_post->manage() #14 /home/xxx/xxx/xxx.se/system/Content/Controller.php(50): IPS\Dispatcher\_Controller->execute() #15 /home/xxx/xxx/xxx.se/applications/forums/modules/front/forums/topic.php(39): IPS\Content\_Controller->execute() #16 /home/xxx/xxx/xxx.se/system/Dispatcher/Dispatcher.php(152): IPS\forums\modules\front\forums\_topic->execute() #17 /home/xxx/xxx/xxx.se/index.php(13): IPS\_Dispatcher->run() #18 {main} 1. System log full of this , using font awesome icons don't work at all 2. Tried with graphics and its start work better, but still error in postbit , now for members 3. Only shows one trophy in postbit and signature field 4. Serie of trophys and you add one and remove one at same time trigger new errors (replace one) 5. copy one medal change some values does not save
EmpireKicking Posted September 7, 2020 Posted September 7, 2020 3 hours ago, Fosters said: Have you ever customized the postbit template manually? Is there any other 3rd party app changing the postbit? Nope there isn't any other plugins regards to postbit at all. Only thing that has been changed and has always been working is <li class='ipsResponsive_hidePhone ipsType_break cfields'>
INDIG0 Posted September 7, 2020 Posted September 7, 2020 (edited) I have a problem, what should I do about it?) 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.]] ps. default theme Edited September 7, 2020 by AlphaStar
Sethhh. Posted September 9, 2020 Posted September 9, 2020 One more bug: Medals are hidden in profile but are showing in postbit ( under the avatar ).
LittleFang Posted September 11, 2020 Posted September 11, 2020 I'm receiving that same error, AlphaStar, it's highly disruptive and I'm not sure how to proceed save for turning off the plugin.
Douglas Glover Posted September 11, 2020 Posted September 11, 2020 Like others I am seeing the following error in postbit: I believe I've narrowed the issue specifically to this line in the code: {{$items = \IPS\trophies\Trophy\MemberTrophy::fetchForPostbit($author);}} If I JUST include that line in the postbit, I see the error. Further, the error only seem to show for people with no trophies/medals. As you can see above the first person has some showing, while the second person throws an error. Any fix?
Dean_ Posted September 11, 2020 Posted September 11, 2020 (edited) Noticed something weird with my install recently. Guests are triggering trophies achievements? The widget displays new user in the list, with no name or display picture. When clicking on it profile it takes you to this link; www.mywebsite.com/profile/706-{%3F}/?tab=activity The profile is blank, and the user group is showing as 'guests'. After around 10 minutes, the link doesn't work and then the page displays this; Sorry, there is a problem We could not locate the item you are trying to view. Error code: 2C138/1 There's no member, no spam accounts, and no logs... Very weird behaviour. Edited September 11, 2020 by Dean_
Fosters Posted September 12, 2020 Author Posted September 12, 2020 21 hours ago, Dean_ said: Noticed something weird with my install recently. Guests are triggering trophies achievements? The widget displays new user in the list, with no name or display picture. When clicking on it profile it takes you to this link; www.mywebsite.com/profile/706-{%3F}/?tab=activity The profile is blank, and the user group is showing as 'guests'. After around 10 minutes, the link doesn't work and then the page displays this; Sorry, there is a problem We could not locate the item you are trying to view. Error code: 2C138/1 There's no member, no spam accounts, and no logs... Very weird behaviour. Hvave you deleted any members recently?
Fosters Posted September 12, 2020 Author Posted September 12, 2020 23 hours ago, Douglas Glover said: Like others I am seeing the following error in postbit: I believe I've narrowed the issue specifically to this line in the code: {{$items = \IPS\trophies\Trophy\MemberTrophy::fetchForPostbit($author);}} If I JUST include that line in the postbit, I see the error. Further, the error only seem to show for people with no trophies/medals. As you can see above the first person has some showing, while the second person throws an error. Any fix? What's the logged error? ( You can see in in your ACP => System => Support - System Log)
Fosters Posted September 12, 2020 Author Posted September 12, 2020 I think I've finally found and fixed the issue. New version pending approval.
Recommended Posts