Jump to content

SoftwareFactory

Friends
  • Posts

    216
  • Joined

Reputation Activity

  1. Thanks
    SoftwareFactory got a reaction from JoshTX in Brilliant Discord Integration   
    First, for everyone who has not done that yet: don't install the new 1.0.13 update and wait for 1.0.13.1.
    @JoshTX I have just sent you a PM.
    @Morrigan @Taylor M. Sorry for that; 1.0.13.1 has just been submitted with a fix for that and it is waiting for approval. The problem is this may take a few days, and 4.5 will not let you install a new version manually so you will just need to wait.
    @ibinod Thanks for your purchase; I am afraid the best what you can do for now is to disable the app and wait until 1.0.13.1 is available.
    @flashpoint I am sorry, but I am not able to help you with that. You will need to submit a support ticket to IPS.
     
    I will keep you all updated; once again, sorry for the whole inconvenience. I know it is a pain for you and your communities.
  2. Like
    SoftwareFactory reacted to Morrigan in Brilliant Discord Integration   
    No worries, thanks for the quick update!
  3. Thanks
    SoftwareFactory reacted to flashpoint in Brilliant Discord Integration   
    I managed to fix it, seems like it doesn't support 4.5. Once I upgraded to 4.5.2 the issue went away. 😛
  4. Like
    SoftwareFactory got a reaction from ahc in Brilliant Discord Integration   
    First, for everyone who has not done that yet: don't install the new 1.0.13 update and wait for 1.0.13.1.
    @JoshTX I have just sent you a PM.
    @Morrigan @Taylor M. Sorry for that; 1.0.13.1 has just been submitted with a fix for that and it is waiting for approval. The problem is this may take a few days, and 4.5 will not let you install a new version manually so you will just need to wait.
    @ibinod Thanks for your purchase; I am afraid the best what you can do for now is to disable the app and wait until 1.0.13.1 is available.
    @flashpoint I am sorry, but I am not able to help you with that. You will need to submit a support ticket to IPS.
     
    I will keep you all updated; once again, sorry for the whole inconvenience. I know it is a pain for you and your communities.
  5. Thanks
    SoftwareFactory reacted to Ryan Ashbrook in Why is this hook causing ICS to have a parse error in ACP?   
    A fix for this should be forthcoming in 4.5.2.
  6. Thanks
    SoftwareFactory reacted to MrFisc in Why is this hook causing ICS to have a parse error in ACP?   
    All of the following testing was done on a production style ICS installation without `IN_DEV=true` or the developer toolset installed. It was just a naked ICS 4.5 installation with only my application installed as a third party application.
    The hook in question:
    //<?php /* To prevent PHP errors (extending class does not exist) revealing path */ if ( !defined( '\IPS\SUITE_UNIQUE_KEY' ) ) { exit; } class ts3integration_hook_AppLogo extends _HOOK_CLASS_ { /* !Hook Data - DO NOT REMOVE */ public static function hookData() { return array_merge_recursive( array ( 'appmenu' => array ( 0 => array ( 'selector' => '#acpAppList', 'type' => 'add_before', 'content' => '', ), ), ), parent::hookData() ); } /* End Hook Data */ } Note that it has no content in it.
    The parser error I see is:
    How I verified it was my hook
    When i include this hook in my project, compile my project and install it on a fresh installation of IPS, I get a 500 error. 
    After a lot of debugging i've confirmed it is this hook that's causing the issue by filtering it out in the \IPS\Theme PHP file (./system/Theme/Theme.php).
    if ($data['class'] != 'ts3integration_hook_AppLogo') { $class = "IPS\\Theme\\" . $data['class'] . "_tmp"; $templateHooks = array_merge_recursive( $templateHooks, $class::hookData() ); } When I wrap that code in an if statement filtering out my hook, the page loads just fine.
    How I debugged further
    I found the relevant code in Theme.php and updated it to print a lot of information.
    try { if ( @eval( $compiledGroup ) === FALSE ) { throw new \IPS\Theme\TemplateException( 'Invalid Template', 1000, NULL, array( 'group' => $group, 'app' => $app, 'location' => $location ), $this ); } } catch ( \ParseError $e ) { header('Content-Type: text/plain;'); echo $app . '/' . $location . '/' . $group . PHP_EOL; print_r($e); echo $compiledGroup; exit; } Which resulted in this
    core/admin/global ParseError Object ( [message:protected] => syntax error, unexpected 'endforeach' (T_ENDFOREACH), expecting elseif (T_ELSEIF) or else (T_ELSE) or endif (T_ENDIF) [string:Error:private] => [code:protected] => 0 [file:protected] => /var/www/html/system/Theme/Theme.php(854) : eval()'d code [line:protected] => 238 [trace:Error:private] => Array ( [0] => Array ( [file] => /var/www/html/system/Dispatcher/Admin.php [line] => 120 [function] => getTemplate [class] => IPS\_Theme [type] => -> ) [1] => Array ( [file] => /var/www/html/system/Dispatcher/Dispatcher.php [line] => 109 [function] => init [class] => IPS\Dispatcher\_Admin [type] => -> ) [2] => Array ( [file] => /var/www/html/admin/index.php [line] => 14 [function] => i [class] => IPS\_Dispatcher [type] => :: ) ) [previous:Error:private] => ) // REMOVED LONG $compiledGroup OUTPUT The $compiledGroup output was too long to display here, however I did discover which line was causing the issue by running it through a PHP syntax validator and found the unexpected `endforeach;`. You can see it on the last line of this block:
     
    if ( $appAndModule . "_" . $key === $currentItem ): $return .= <<<CONTENT > </ul> </li> CONTENT; endforeach; Conclusion
    I don't understand how my hook above causes this issue. Especially since the unexpected endforeach; has nothing to do with my hook. To me this seems like a bug in ICS and not an issue with my application, but I can't tell for certain.
  7. Like
    SoftwareFactory reacted to craigf136 in Brilliant Discord Integration   
    Sorted, seems to have been live streams app causing an issue.

    Hold fire on that, new error and only one one member awaiting approval.
    IPS\Login\Exception: 401: 401: Unauthorized (0) (2) #0 /public_html/applications/brilliantdiscord/sources/RateLimit/RateLimit.php(153): IPS\brilliantdiscord\_LoginHandler->IPS\brilliantdiscord\{closure}(Object(Closure)) #1 /public_html/applications/brilliantdiscord/sources/LoginHandler.php(180): IPS\brilliantdiscord\_RateLimit::limitHandle('users/@me', NULL, Object(Closure)) #2 /public_html/applications/brilliantdiscord/sources/LoginHandler.php(260): IPS\brilliantdiscord\_LoginHandler->_userData('QoOPZtSJWVyXyS7...') #3/public_html/init.php(820) : eval()'d code(261): IPS\brilliantdiscord\_LoginHandler->userProfileName(Object(IPS\Member)) #4 /public_html/init.php(820) : eval()'d code(320): IPS\brilliantdiscord_hook_member->discordForceJoin() #5/public_html/applications/brilliantdiscord/modules/admin/manage/approvalqueue.php(245): IPS\brilliantdiscord_hook_member->discordAction('1', Object(IPS\Member)) #6 /public_html/system/Dispatcher/Controller.php(85): IPS\brilliantdiscord\modules\admin\manage\_approvalqueue->doAction() #7 /public_html/applications/brilliantdiscord/modules/admin/manage/approvalqueue.php(39): IPS\Dispatcher\_Controller->execute() #8 /public_html/system/Dispatcher/Dispatcher.php(152): IPS\brilliantdiscord\modules\admin\manage\_approvalqueue->execute() #9 /public_html/aether/index.php(14): IPS\_Dispatcher->run() #10 {main}  
  8. Thanks
    SoftwareFactory got a reaction from greenside in Brilliant Discord Integration   
    It does! 🙂
     
    When editing a group in ACP, you can assign roles to it in the “Discord Settings” tab. During synchronization the app will include roles from all groups - primary and secondary.
  9. Thanks
    SoftwareFactory got a reaction from Josiah Wallingford in Brilliant Discord Integration   
    For now you can revoke bot’s permission to „Manage Roles”:

  10. Like
    SoftwareFactory got a reaction from Josiah Wallingford in Brilliant Discord Integration   
    You can disable nickname synchronization in Behavior settings in ACP. To disable kicking members when they’re banned, just remove the „kick members” permission from the bot’s role.
    We are aware of some visual oddities in ACP. Besides, it works correctly on 4.5. An update which fixes them will be available next week.
  11. Thanks
    SoftwareFactory got a reaction from Scrinn in Brilliant Discord Integration   
    Sure. Already working on it.
    Could you send me your website URL in a private message? I’ll try to make something and that works for you.
  12. Like
    SoftwareFactory got a reaction from flashpoint in Brilliant Discord Integration   
    This is not yet possible, unfortunately. If you want to hide the button, you can try to use CSS for this purpose.
    This is a nice idea; definitely something that may be added on a feature update!
    This is usually caused by pasting a wrong client secret into the configuration; make sure it is OK. Let me know if it doesn’t solve your issue.
  13. Like
    SoftwareFactory got a reaction from BouncingXkala in Brilliant Discord Integration   
    This is not yet possible, unfortunately. If you want to hide the button, you can try to use CSS for this purpose.
    This is a nice idea; definitely something that may be added on a feature update!
    This is usually caused by pasting a wrong client secret into the configuration; make sure it is OK. Let me know if it doesn’t solve your issue.
  14. Like
    SoftwareFactory reacted to ahc in Brilliant Discord Integration   
    Feature Request: When sending notifications to Discord regarding things like gallery images, files/products, etc. can the default image be embedded within the notification?
  15. Like
    SoftwareFactory got a reaction from Josiah Wallingford in Brilliant Discord Integration   
    Well... This is definitely something that needs to be changed. I’ll send you a PM with a temporary solution for this problem. Sorry for the inconvenience, though.
    Since 1.0.12 (which has been released today), Instant Notifications are no longer sent before a member finishes registration after posting with Post Before Register 🙂
    If you don’t want to send notifications about content from specific categories, you’ll just need to add every other category to notification conditions.
    I’ll look into this issue and contact you very soon. Sorry for the inconvenience.
    I suppose that 1.0.12 will resolve your issues. Or, you can try changing types of your notification from Instant to Late.
    Sorry, but I’m not sure what do you mean.
    This should no longer happen after you update to 1.0.12. However, if it doesn’t resolve your issue, please let me know.
    Look at this post:
    ————————————
    I skipped posts about Rate Limits issues. If you still have trouble using Brilliant Discord Integration due to Rate Limits after upgrading to 1.0.12, please let me know in a private message.
  16. Like
    SoftwareFactory got a reaction from DChiuch in Brilliant Discord Integration   
    Well... This is definitely something that needs to be changed. I’ll send you a PM with a temporary solution for this problem. Sorry for the inconvenience, though.
    Since 1.0.12 (which has been released today), Instant Notifications are no longer sent before a member finishes registration after posting with Post Before Register 🙂
    If you don’t want to send notifications about content from specific categories, you’ll just need to add every other category to notification conditions.
    I’ll look into this issue and contact you very soon. Sorry for the inconvenience.
    I suppose that 1.0.12 will resolve your issues. Or, you can try changing types of your notification from Instant to Late.
    Sorry, but I’m not sure what do you mean.
    This should no longer happen after you update to 1.0.12. However, if it doesn’t resolve your issue, please let me know.
    Look at this post:
    ————————————
    I skipped posts about Rate Limits issues. If you still have trouble using Brilliant Discord Integration due to Rate Limits after upgrading to 1.0.12, please let me know in a private message.
  17. Sad
    SoftwareFactory reacted to notmacknelson in Brilliant Discord Integration   
    Yes, I am; however this was an issue on the previous version as well. We've been dealing with it on and off for at least a few weeks.
  18. Like
    SoftwareFactory reacted to GTAPoliceMods in Brilliant Discord Integration   
    Just a suggestion, would love to see a notification option for reported content :)
  19. Like
    SoftwareFactory reacted to AtariAge in Brilliant Discord Integration   
    Thanks for digging into it, much appreciated. 
     ..Al
  20. Thanks
    SoftwareFactory got a reaction from InfinityRazz in Brilliant Discord Integration   
    This is not possible yet, but we are looking to change it in future updates. 
    You need to enable widget in your Discord server settings:

  21. Thanks
    SoftwareFactory got a reaction from Charef in Brilliant Discord Integration   
    This is not possible yet, but we are looking to change it in future updates. 
    You need to enable widget in your Discord server settings:

  22. Thanks
    SoftwareFactory got a reaction from kmk in Brilliant Discord Integration   
    This is not possible yet, but we are looking to change it in future updates. 
    You need to enable widget in your Discord server settings:

  23. Like
    SoftwareFactory reacted to Linda A in Brilliant Discord Integration   
    Thank you! 
  24. Like
    SoftwareFactory got a reaction from Linda A in Brilliant Discord Integration   
    Thanks for these kind words!
    Unfortunately, it isn't possible. Brilliant Discord Integration only synchronizes data from your website to the Discord server and not the other way around.
    You will need to create roles on your Discord server yourself (https://support.discordapp.com/hc/en-us/articles/214836687-Role-Management-101). Then, you can assign them to specific groups on your site (in the Discord Settings tab when editing a group).
    There is no guide, but if you will have any questions/issues, you can always get in touch either here or in a private message. We'll be happy to help 🙂
  25. Like
    SoftwareFactory got a reaction from ADKGamers in Brilliant Discord Integration   
    This has been mentioned here by us, but we’re going to send messages to everyone who hasn’t downloaded the new version yet.
     
    I’ve sent you a PM.
    Just wanted to reveal that rate limits are going to be almost non-existent after the next update, which will significantly reduce number of requests to Discord with a reinvented synchronization process.
×
×
  • Create New...