Jump to content

GTAPoliceMods

Members
  • Posts

    167
  • Joined

  • Last visited

Reputation Activity

  1. Thanks
    GTAPoliceMods got a reaction from Fosters in Trophies and Medals - Supporttopic   
    As @EmpireKicking referenced, line 107 of extensions/core/MemberSync/Item.php should read:
    \IPS\Db::i()->delete( 'trophies_memberdetails', array( 'member_id=?', $member2->member_id ) ); @Fosters
    This fixes the error when merging accounts.
  2. Like
    GTAPoliceMods got a reaction from EmpireKicking in Trophies and Medals - Supporttopic   
    As @EmpireKicking referenced, line 107 of extensions/core/MemberSync/Item.php should read:
    \IPS\Db::i()->delete( 'trophies_memberdetails', array( 'member_id=?', $member2->member_id ) ); @Fosters
    This fixes the error when merging accounts.
  3. Like
    GTAPoliceMods reacted to Fosters in Trophies and Medals - Supporttopic   
    Thanks. I have added this fix to the next version which is aimed for this weekend. ( for 4.5 and 4.6 🙂 ) 
    Apologies. I have replied.
  4. Thanks
    GTAPoliceMods got a reaction from Fosters in Trophies and Medals - Supporttopic   
    Line 52 of "global/profile/table" should read "{$medal->awardedCount}" instead of "{$trophy->awardedCount}" as it does right now @Fosters. Medal counts are currently not displaying properly.
     
  5. Like
    GTAPoliceMods got a reaction from James101 in Trophies and Medals - Supporttopic   
    Line 52 of "global/profile/table" should read "{$medal->awardedCount}" instead of "{$trophy->awardedCount}" as it does right now @Fosters. Medal counts are currently not displaying properly.
     
  6. Thanks
    GTAPoliceMods got a reaction from Trivorek in Trophies and Medals - Supporttopic   
    @RoleplayUK Seems like $this->_item is null, because the trophy or medal the app's trying to load can't be found. As a temporary fix, you can try wrapping the offending call in an if statement to check if the trophy or medal is loaded properly.
    On line ~245 of applications / trophies / sources / Trophy / MemberTrophy.php, try replacing:
    public function getItemImage($class = '', $sizeForFa = 2, $addTitle = FALSE, $menu = TRUE ) { return $this->_item->getItemImage($class, $sizeForFa, $addTitle, $menu); } with:
    public function getItemImage($class = '', $sizeForFa = 2, $addTitle = FALSE, $menu = TRUE ) { if ($this->_item) { return $this->_item->getItemImage($class, $sizeForFa, $addTitle, $menu); } } Hopefully that'll stop the errors from appearing. Keep in mind the trophy or medal that can't be loaded won't appear on postbits.
    @Douglas Glover That functionality already exists in the app. Can be found at example.com/trophies or example.com/index.php?app=trophies&module=items&controller=index , unless I'm misunderstanding.
  7. Thanks
    GTAPoliceMods got a reaction from Douglas Glover in Trophies and Medals - Supporttopic   
    @RoleplayUK Seems like $this->_item is null, because the trophy or medal the app's trying to load can't be found. As a temporary fix, you can try wrapping the offending call in an if statement to check if the trophy or medal is loaded properly.
    On line ~245 of applications / trophies / sources / Trophy / MemberTrophy.php, try replacing:
    public function getItemImage($class = '', $sizeForFa = 2, $addTitle = FALSE, $menu = TRUE ) { return $this->_item->getItemImage($class, $sizeForFa, $addTitle, $menu); } with:
    public function getItemImage($class = '', $sizeForFa = 2, $addTitle = FALSE, $menu = TRUE ) { if ($this->_item) { return $this->_item->getItemImage($class, $sizeForFa, $addTitle, $menu); } } Hopefully that'll stop the errors from appearing. Keep in mind the trophy or medal that can't be loaded won't appear on postbits.
    @Douglas Glover That functionality already exists in the app. Can be found at example.com/trophies or example.com/index.php?app=trophies&module=items&controller=index , unless I'm misunderstanding.
  8. Like
    GTAPoliceMods got a reaction from RoleplayUK in Trophies and Medals - Supporttopic   
    @RoleplayUK We're running the latest version of this app on 4.5. Many issues, but our in-house development team fixed them on our copy.
    Would be great if the dev would follow through with their promise to fix the app.
    Keen eye for noticing, by the way.
  9. Like
    GTAPoliceMods got a reaction from RoleplayUK in Trophies and Medals - Supporttopic   
    I'll see what I can do.
    EDIT: If anyone wants to respond to this post with any info on a bug they're experiencing I can let you know if we encountered it and if so how we remedied it. I'd love to share everything we've patched altogether, but I couldn't tell you where the original author's code stops and where ours begins.
  10. Sad
    GTAPoliceMods got a reaction from bfarber in Appreciation thread for removing admin session IDs from URIs   
    Thank you so much for removing admin session IDs from URIs.
    This change brings tears to my eyes.
  11. Like
    GTAPoliceMods got a reaction from Morrigan in Appreciation thread for removing admin session IDs from URIs   
    Thank you so much for removing admin session IDs from URIs.
    This change brings tears to my eyes.
  12. Like
    GTAPoliceMods got a reaction from Daniel F in Appreciation thread for removing admin session IDs from URIs   
    Thank you so much for removing admin session IDs from URIs.
    This change brings tears to my eyes.
  13. Like
    GTAPoliceMods got a reaction from Rikki in Appreciation thread for removing admin session IDs from URIs   
    Thank you so much for removing admin session IDs from URIs.
    This change brings tears to my eyes.
  14. Like
    GTAPoliceMods got a reaction from SoftwareFactory in Brilliant Discord Integration   
    Just a suggestion, would love to see a notification option for reported content :)
  15. Haha
    GTAPoliceMods reacted to kmk in More intuitive button icon   
    Right now is

    It should be like that 

  16. Like
    GTAPoliceMods reacted to Lilythe in Trophies and Medals - Supporttopic   
    Hey! So this question was asked only once before, many many many moons ago that I saw, but appeared to have gotten lost in the shuffle and not answered.
    I currently have to go into my admin panel and look at who was awarded a medal to read the medal note. Is there any way to display the medal note on the profile display tab for Trophies and Medals? I feel like this has to be an option somewhere, but I'm just not finding it.
    Thank you so much for the app, by the way, I really do love it! 
  17. Like
    GTAPoliceMods reacted to bfarber in Block Specific Incoming Emails From Creating Support Tickets   
    AdminCP > Commerce > Support > Settings, click on "Incoming Email", and then there's a configuration option for "ignore filters" at the bottom of the tab.
  18. Thanks
    GTAPoliceMods reacted to Adriano Faria in Test License, is that a thing?   
    Test Install here:
     
  19. Like
    GTAPoliceMods reacted to Gangst3r in Trophies and Medals - Supporttopic   
    New issues. First on mobile view (Picture below)

  20. Like
    GTAPoliceMods got a reaction from Morrigan in Brilliant Discord Integration   
    Just a suggestion, would love to see a notification option for reported content :)
  21. Like
    GTAPoliceMods reacted to Daddy in Give Someone A Gift File   
    I don't seem to have the Can Purchase File to Other Member option in Downloads -> Paid File Settings.
    Also, as @GTAPoliceMods mentioned, this would make a nice commerce plugin as well 🙂
  22. Like
    GTAPoliceMods reacted to Adriano Faria in Give Someone A Gift File   
    File is the content item from Downloads. It was designed to work only with it.
  23. Like
    GTAPoliceMods got a reaction from IPCommerceFan in Remove first and last name from Commerce Support Tickets   
    You can never go wrong with a little GTA in life ;)
    Thanks again and stay safe!
  24. Like
    GTAPoliceMods got a reaction from Maxxius in Remove first and last name from Commerce Support Tickets   
    This is exactly what we needed! Thank you very much for taking the time to develop this and even better sharing it to the entire community. We have gone ahead and implemented this and so far it works like a charm.
    Once again thank you so much
  25. Like
    GTAPoliceMods reacted to IPCommerceFan in Remove first and last name from Commerce Support Tickets   
    Glad I could help!  Nice site btw, makes me feel like installing GTA5 again 😄
×
×
  • Create New...