Invision Community 4: SEO, prepare for v5 and dormant account notifications Matt November 11, 2024Nov 11
February 22, 20177 yr 37 minutes ago, sashGG said: When can we expect the updated version? The aforementioned update was released yesterday.
February 25, 20177 yr Please tell me, what the heck am I doing wrong? Debug for "Not Bad!": bw_is_admin : bw_is_mod : bw_has_avatar : bw_no_avatar : bw_best_answer : content_count : 0 repcount : 0 registration_time : 0 repgiven : 0 groupcheck : * topics_started : 5
February 26, 20177 yr Author 14 hours ago, knightsystems said: Please tell me, what the heck am I doing wrong? Debug for "Not Bad!": bw_is_admin : bw_is_mod : bw_has_avatar : bw_no_avatar : bw_best_answer : content_count : 0 repcount : 0 registration_time : 0 repgiven : 0 groupcheck : * topics_started : 5 Could you give the new version a try please? And please also update the application forms app if you're using it. Edited February 26, 20177 yr by fosters
March 7, 20177 yr Hi, I just installed the app and I have questions I want to show trophies by number of posts, but I want to show only one trophie. The problem is when I check only 1, medals are not showed... In Trophies and Medals section some tropies are showed giants Is there any way to separate the position of trophies and medals like this? Edited March 7, 20177 yr by Pedro Ibáñez
March 8, 20177 yr On 07/03/2017 at 0:20 PM, Pedro Ibáñez said: In Trophies and Medals section some tropies are showed giants Don't upload giant trophy images. Even if the images were resized by code, it's a bad practice. Edited March 8, 20177 yr by MikePT
March 8, 20177 yr Thanks MikePT, The images are the same size I don't know why some are uploaded well and some as giant...
March 10, 20177 yr Is it possible to display multiple times a Medal is given? Right now it just overwrites. Is it also possible to display the notes for the Medal?
March 13, 20177 yr Author On 8.3.2017 at 5:37 PM, Pedro Ibáñez said: Thanks MikePT, The images are the same size I don't know why some are uploaded well and some as giant... Could I get access to your ACP to take a look at this?
April 11, 20177 yr @fosters Shouldn't "User has posted at least X posts" be checking the member_posts field on the core_members table? It seems that it's checking the total amount of posts that the member has posted, but because there are forum categories where admins can disable the post counter, this will result in trophies being given even if the users don't have the right amount of posts on their post counter. Edited April 11, 20177 yr by MikePT
April 15, 20177 yr Author On 11.4.2017 at 0:49 PM, MikePT said: @fosters Shouldn't "User has posted at least X posts" be checking the member_posts field on the core_members table? It seems that it's checking the total amount of posts that the member has posted, but because there are forum categories where admins can disable the post counter, this will result in trophies being given even if the users don't have the right amount of posts on their post counter. Fair point, I'll change add a new option in the next release. Changing this behavior for existing clients would probably remove trophies for a lot of people, so making a new criteria would make IMO more sense here.
April 15, 20177 yr 6 hours ago, fosters said: Fair point, I'll change add a new option in the next release. Changing this behavior for existing clients would probably remove trophies for a lot of people, so making a new criteria would make IMO more sense here. Sure, more options for trophies are always welcome. Thank you. I'll be waiting for the new release then.
April 16, 20177 yr Author On 11.4.2017 at 0:49 PM, MikePT said: @fosters Shouldn't "User has posted at least X posts" be checking the member_posts field on the core_members table? It seems that it's checking the total amount of posts that the member has posted, but because there are forum categories where admins can disable the post counter, this will result in trophies being given even if the users don't have the right amount of posts on their post counter. It's checking already the member_posts column. if ( isset( $trophy->crdata['content_count'] ) AND $member->member_posts < $trophy->crdata['content_count'] ) { return FALSE; } Sorry for the confusion.
April 27, 20177 yr I just purchased this app! I hope it continues to be developed and improved. Edit: I just created my first trophy. I set the criteria, and it was automatically awarded. As soon as I got the trophy, I got an error in the back in. UPDATE `trophies_trophy` trophies_trophy SET `icon`=(IPS\File\FileSystem::__set_state(array( 'temporaryFilePath' => NULL, 'configuration' => array ( 'dir' => '/home/myawesomesite/public_html/uploads', 'url' => 'uploads', 'toggle' => '1', 'custom_url' => 'http://cdn.myawesomesite.com/uploads', ), 'configurationId' => 1, 'storageExtension' => 'trophies_TrophyIcon', 'originalFilename' => 'achievement-003-special-subscriber.png', 'filename' => 'achievement-003-special-subscriber.png.66a73fd1cb4b36ead27cf95d7a5ba7bd.png', 'container' => 'trophies', 'contents' => NULL, 'url' => IPS\Http\Url::__set_state(array( 'url' => 'http://cdn.myawesomesite.com/uploads/trophies/achievement-003-special-subscriber.png.66a73fd1cb4b36ead27cf95d7a5ba7bd.png', 'data' => array ( 'scheme' => 'http', 'host' => 'cdn.myawesomesite.com', 'port' => NULL, 'user' => NULL, 'pass' => NULL, 'path' => '/uploads/trophies/achievement-003-special-subscriber.png.66a73fd1cb4b36ead27cf95d7a5ba7bd.png', 'query' => '', 'fragment' => NULL, ), 'queryString' => array ( ), 'hiddenQueryString' => array ( ), 'isInternal' => false, 'isFriendly' => false, )), 'tempId' => NULL, 'attachmentThumbnailUrl' => NULL, 'thumbnailName' => NULL, 'thumbnailContainer' => NULL, ))),`groupcheck`=NULL WHERE id=1 IPS\Db\Exception: Unknown column 'groupcheck' in 'field list' (1054) #0 /home/myawesomesite/public_html/system/Db/Db.php(991): IPS\_Db->preparedQuery('/*IPS\\Node\\_Mod...', Array) #1 /home/myawesomesite/public_html/system/Patterns/ActiveRecord.php(493): IPS\_Db->update('`trophies_troph...', '`icon`=(?),`gro...', 'WHERE id=?') #2 /home/myawesomesite/public_html/system/Node/Model.php(2015): IPS\Patterns\_ActiveRecord->save() #3 /home/myawesomesite/public_html/system/Node/Model.php(2692): IPS\Node\_Model->save() #4 /home/myawesomesite/public_html/system/Node/Controller.php(383): IPS\Node\_Model->saveForm(Array) #5 /home/myawesomesite/public_html/system/Dispatcher/Controller.php(86): IPS\Node\_Controller->form() #6 /home/myawesomesite/public_html/system/Node/Controller.php(63): IPS\Dispatcher\_Controller->execute() #7 /home/myawesomesite/public_html/applications/trophies/modules/admin/trophies/trophy.php(32): IPS\Node\_Controller->execute() #8 /home/myawesomesite/public_html/system/Dispatcher/Dispatcher.php(129): IPS\trophies\modules\admin\trophies\_trophy->execute() #9 /home/myawesomesite/public_html/toc/index.php(14): IPS\_Dispatcher->run() #10 {main} Debug Criteria: bw_is_admin : bw_is_mod : bw_has_avatar : 1 bw_no_avatar : 1 bw_best_answer : bw_show_postbit : bw_show_profile : content_count : 0 repcount : 0 registration_time : 1 repgiven : 0 It's also worth mentioning that the trophy was only awarded to me as oppose to all my members. Is this happening because I am using a CDN? Edited April 27, 20177 yr by Subdreamer Added error message.
April 28, 20177 yr if I switch to this app from Iawards will my awards transfer over to this app automatically? I don't want my members to lose their current awards if I switch.
April 28, 20177 yr Author 8 hours ago, Subdreamer said: I just purchased this app! I hope it continues to be developed and improved. Edit: I just created my first trophy. I set the criteria, and it was automatically awarded. As soon as I got the trophy, I got an error in the back in. UPDATE `trophies_trophy` trophies_trophy SET `icon`=(IPS\File\FileSystem::__set_state(array( 'temporaryFilePath' => NULL, 'configuration' => array ( 'dir' => '/home/myawesomesite/public_html/uploads', 'url' => 'uploads', 'toggle' => '1', 'custom_url' => 'http://cdn.myawesomesite.com/uploads', ), 'configurationId' => 1, 'storageExtension' => 'trophies_TrophyIcon', 'originalFilename' => 'achievement-003-special-subscriber.png', 'filename' => 'achievement-003-special-subscriber.png.66a73fd1cb4b36ead27cf95d7a5ba7bd.png', 'container' => 'trophies', 'contents' => NULL, 'url' => IPS\Http\Url::__set_state(array( 'url' => 'http://cdn.myawesomesite.com/uploads/trophies/achievement-003-special-subscriber.png.66a73fd1cb4b36ead27cf95d7a5ba7bd.png', 'data' => array ( 'scheme' => 'http', 'host' => 'cdn.myawesomesite.com', 'port' => NULL, 'user' => NULL, 'pass' => NULL, 'path' => '/uploads/trophies/achievement-003-special-subscriber.png.66a73fd1cb4b36ead27cf95d7a5ba7bd.png', 'query' => '', 'fragment' => NULL, ), 'queryString' => array ( ), 'hiddenQueryString' => array ( ), 'isInternal' => false, 'isFriendly' => false, )), 'tempId' => NULL, 'attachmentThumbnailUrl' => NULL, 'thumbnailName' => NULL, 'thumbnailContainer' => NULL, ))),`groupcheck`=NULL WHERE id=1 IPS\Db\Exception: Unknown column 'groupcheck' in 'field list' (1054) #0 /home/myawesomesite/public_html/system/Db/Db.php(991): IPS\_Db->preparedQuery('/*IPS\\Node\\_Mod...', Array) #1 /home/myawesomesite/public_html/system/Patterns/ActiveRecord.php(493): IPS\_Db->update('`trophies_troph...', '`icon`=(?),`gro...', 'WHERE id=?') #2 /home/myawesomesite/public_html/system/Node/Model.php(2015): IPS\Patterns\_ActiveRecord->save() #3 /home/myawesomesite/public_html/system/Node/Model.php(2692): IPS\Node\_Model->save() #4 /home/myawesomesite/public_html/system/Node/Controller.php(383): IPS\Node\_Model->saveForm(Array) #5 /home/myawesomesite/public_html/system/Dispatcher/Controller.php(86): IPS\Node\_Controller->form() #6 /home/myawesomesite/public_html/system/Node/Controller.php(63): IPS\Dispatcher\_Controller->execute() #7 /home/myawesomesite/public_html/applications/trophies/modules/admin/trophies/trophy.php(32): IPS\Node\_Controller->execute() #8 /home/myawesomesite/public_html/system/Dispatcher/Dispatcher.php(129): IPS\trophies\modules\admin\trophies\_trophy->execute() #9 /home/myawesomesite/public_html/toc/index.php(14): IPS\_Dispatcher->run() #10 {main} Debug Criteria: bw_is_admin : bw_is_mod : bw_has_avatar : 1 bw_no_avatar : 1 bw_best_answer : bw_show_postbit : bw_show_profile : content_count : 0 repcount : 0 registration_time : 1 repgiven : 0 It's also worth mentioning that the trophy was only awarded to me as oppose to all my members. Is this happening because I am using a CDN? Are you using the recent version? The sql error should be resolved already
April 28, 20177 yr 10 hours ago, fosters said: Are you using the recent version? The sql error should be resolved already It says I have Trophies & Medals 1.0.19. However, if you visit the application's page here on IPS, it is listed as Trophies and Medals 1.0.15. When I download the file again, it shows trophies_1.0.19.tar. I "updated" the app and I am still getting the same error message. Edited April 28, 20177 yr by Subdreamer Added information regarding trophies_1.0.19.tar.
May 2, 20177 yr Author On 28.4.2017 at 3:10 AM, Volstate said: if I switch to this app from Iawards will my awards transfer over to this app automatically? I don't want my members to lose their current awards if I switch. No, but if you create trophies with the same criteria, they should get them again.
May 12, 20177 yr Will this be upgraded for 4.2? Are medials of your own criteria, not just based on forum achievements? So I could make up a random medal, and once that user has reached it, I can manually award them?