Jump to content

SeNioR-

Members
  • Posts

    1,141
  • Joined

  • Days Won

    5

Reputation Activity

  1. Like
    SeNioR- reacted to Afrodude in UI Polish in Invision Community 4.7.8   
    @Ehren nice work as usual, and I cannot wait to see what you are going to make for IPS 5.0. 
  2. Haha
    SeNioR- reacted to Afrodude in Grow your community without limits   
  3. Haha
    SeNioR- got a reaction from Afrodude in Grow your community without limits   
  4. Like
    SeNioR- got a reaction from sobrenome in UI Polish in Invision Community 4.7.8   
    I still see a 1 second delay in font loading but it's better than before 🤙
  5. Like
    SeNioR- reacted to The Old Man in Downloads updates, GraphQL and more   
    Thanks @Daniel F that worked correctly for me inside a Pages PHP block and your explanation helped me understand the documentation a little easier.
    I thought that such blocks in Pages essentially were templates, my second misunderstanding.
    I just quickly tried using the GraphQL template helper in an actual theme template, but it fails to parse, essentially what was happening when I first tried the Pages custom block.
    I added this with the helper syntax to the core > profile > profile template:
    <div class='ipsWidget ipsWidget_vertical cProfileSidebarBlock ipsBox ipsBox--child ipsSpacer_bottom' data-controller='core.front.profile.toggleBlock'> <p>Hello {graphql='{core{me{name,url}}}'}</p> </div> but it displays as:

     
    Can you dumb it down even more, please? 😂 
  6. Like
    SeNioR- reacted to teraßyte in Downloads updates, GraphQL and more   
    Template output plugins require double quotes. Try this:
    {graphql="{core{me{name,url}}}"}  
  7. Like
    SeNioR- reacted to The Old Man in Downloads updates, GraphQL and more   
    Thanks, I thought the same and it didn't like it all!
    Oops, sorry @teraßyte I thought you mean double braces!
    Just tried it but no worky.

  8. Like
    SeNioR- reacted to The Old Man in Downloads updates, GraphQL and more   
    Hi @Daniel F
    I tried to cobble something basic together inside a custom PHP Pages Block after creating an API OAUTH in IPS4.7.7 (confusing in itself as to which options to select). First I tried the public client option, with no actual login screen, then I tried the private client option that generated a Client Secret as well as the Client ID.
    On the GraphQL documentation page it gives 2 examples, I figured trying the second for internal use in IPS templates would be the one to use, but neither work. All I get are error messages and it won’t save the block.
    $key = "myclientsecret-superlong-key"; $query = "{core{queries{me}}}"; $result = \IPS\Http\Url::external( rtrim( \IPS\Settings::i()->base_url, \'/\' ) . \'/api/graphql/index.php\' )->request()->login( $key, "" )->post( array(\'query\' => $query) )->decodeJson(); print_r($result); Results in:
    A configuration or server error has occurred EX0 Something went wrong. Please try again. ParseError: syntax error, unexpected token "\", expecting ")" (0) #0 /home/public_html/community/system/Helpers/Form/FormAbstract.php(382): IPS\cms\Blocks\_Block->IPS\cms\Blocks\{closure}('\r\n$key = "82fe2...') #1 /home/public_html/community/system/Helpers/Form/TextArea.php(119): IPS\Helpers\Form\_FormAbstract->validate() #2 /home//public_html/community/system/Helpers/Form/FormAbstract.php(170): IPS\Helpers\Form\_TextArea->validate() #3 /home/public_html/community/system/Helpers/Form/FormAbstract.php(147): IPS\Helpers\Form\_FormAbstract->setValue(true) #4 /home/public_html/community/system/Helpers/Form/TextArea.php(66): IPS\Helpers\Form\_FormAbstract->__construct('block_content', '', false, Array, Object(Closure), NULL, NULL, 'block_content') #5 /home/public_html/community/system/Helpers/Form/Codemirror.php(72): IPS\Helpers\Form\_TextArea->__construct('block_content', '', false, Array, Object(Closure), NULL, NULL, 'block_content') #6 /home/public_html/community/applications/cms/sources/Blocks/Block.php(678): IPS\Helpers\Form\_Codemirror->__construct('block_content', '', false, Array, Object(Closure), NULL, NULL, 'block_content') #7 /home/public_html/community/system/Node/Controller.php(496): IPS\cms\Blocks\_Block->form(Object(IPS\Helpers\Form)) #8 /home/public_html/community/system/Node/Controller.php(395): IPS\Node\_Controller->_addEditForm(Object(IPS\cms\Blocks\Block)) #9 /home/public_html/community/system/Dispatcher/Controller.php(107): IPS\Node\_Controller->form() #10 /home/public_html/community/system/Node/Controller.php(69): IPS\Dispatcher\_Controller->execute() #11 /home/public_html/community/applications/cms/modules/admin/pages/blocks.php(44): IPS\Node\_Controller->execute() #12 /home/public_html/community/system/Dispatcher/Dispatcher.php(153): IPS\cms\modules\admin\pages\_blocks->execute() #13 /home/public_html/community/admin/index.php(13): IPS\_Dispatcher->run() #14 {main} Also tried 
    {graphql='{core{me{name,email,url}}}'} but that doesn’t include the Client secret?
     
    Should we be able to use that query in 4.7.7 or do we need to wait for 4.7.8?
    Thank you.
  9. Like
    SeNioR- reacted to Daniel F in Downloads updates, GraphQL and more   
    There’s an issue in our documentation which will be resolved soon. 
  10. Like
    SeNioR- reacted to Adriano Faria in Downloads updates, GraphQL and more   
    Suggestion: change the following message for the link to delete the pending version.

  11. Like
    SeNioR- reacted to Hisashi in UI Polish in Invision Community 4.7.8   
    I'm enjoying seeing these small improvements to make the layout modern. It is even better to see community participation with suggestions for improvement.
    @Adriano Faria made great observations.
  12. Agree
    SeNioR- reacted to marklcfc in UI Polish in Invision Community 4.7.8   
    I don't really like the "Improved alignment in posts" change, as I've had this empty space issue for a while and it now looks like alot more posts have the empty space issue at the end of posts
  13. Like
    SeNioR- got a reaction from AlexJ in UI Polish in Invision Community 4.7.8   
    I still see a 1 second delay in font loading but it's better than before 🤙
  14. Like
    SeNioR- got a reaction from Grafidea in UI Polish in Invision Community 4.7.8   
    I still see a 1 second delay in font loading but it's better than before 🤙
  15. Like
    SeNioR- got a reaction from wegorz23 in UI Polish in Invision Community 4.7.8   
    I still see a 1 second delay in font loading but it's better than before 🤙
  16. Like
    SeNioR- reacted to Kirill Gromov in UI Polish in Invision Community 4.7.8   
    New grid in profiles:

  17. Like
    SeNioR- reacted to Adriano Faria in UI Polish in Invision Community 4.7.8   
    Hello,
    A couple of suggestions:
    Couldn't these buttons be the same size? It gets pretty weird like that. It gets even weirder when there are only 2 buttons.
    -----------
    Another visual detail that could be better is the grid view of the Downloads categories:

     
    No user photo. No date (submitted/updated).
    Could be something like this but better:

  18. Haha
    SeNioR- got a reaction from LiquidFractal in Grow your community without limits   
  19. Like
    SeNioR- reacted to Wolf in New Live Community Features!   
    Please offer a solution to enable stuff like this for self hosters. If the concern is server resources; perhaps have an "advanced features" add-on and make it clear you need to have control of your own box of a VPS to use it. I will /never/ migrate to the cloud as I need control of my own box. There are many loyal long-term customers at risk of being lost with this direction.
  20. Haha
    SeNioR- reacted to Matt in Live Topics: A first look   
  21. Haha
    SeNioR- reacted to Dll in Live Topics: A first look   
    Well that explains why you became a coder I guess. 
  22. Like
    SeNioR- reacted to Dll in Live Topics: A first look   
    Can we talk about the terrible music on the video? 😅
  23. Like
    SeNioR- reacted to Matt in Live Topics: A first look   
    Thanks for reading! I've love to hear any questions you have. We plan to go into much more detail, and even beta test it right here on our own community.
    No doubt there will be some questions about why it's a cloud exclusive feature, so I've created a topic for that discussion here: 
    Let's keep the discussion in that topic and allow questions about the feature to be posted here on the blog.
     
  24. Thanks
    SeNioR- got a reaction from MartinLawrence in Introducing GraphQL for Invision Community   
    Great news. Now someone write a guide on how to create a simple application 🙂
  25. Like
    SeNioR- got a reaction from NZyan in Introducing GraphQL for Invision Community   
    Great news. Now someone write a guide on how to create a simple application 🙂
×
×
  • Create New...