-
Posts
6,545 -
Joined
-
Days Won
36
Reputation Activity
-
Daniel F 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.
-
Daniel F got a reaction from ชัยวัฒน์ จันทร์ทักษ์ in Downloads updates, GraphQL and more
And here's an example with a variable, where I'm fetching the topic's author, read time,read state, author and the posts for the topic with ID 1
$queryTopic = <<<QUERY query TopicViewQuery(\$topicID: ID!) { forums { topic(id: \$topicID) { id isUnread timeLastRead postCount(includeHidden: true) author { id name photo } posts { id timestamp author { id photo name } content { original } } } } } QUERY; $topicResponse = \IPS\Api\GraphQL::execute( $queryTopic, ['topicID'=> 1] );
-
Daniel F got a reaction from ชัยวัฒน์ จันทร์ทักษ์ in Downloads updates, GraphQL and more
Since you're already in the framework, you don't need to use the external endpoint!
Inside templates you can use the graphql template helper, and inside blocks or controllers, you'll have to use the \IPS\Api\GraphQL controller!
So inside a PHP block you want to use something like:
$query = '{core{me{name,url}}}'; $response = \IPS\Api\GraphQL::execute( $query, [] ); echo "Hi: <a href='". $response['data']['core']['me']['url'] . " '>" . $response[ 'data' ][ 'core' ][ 'me' ][ 'name' ].'</a>';
-
Daniel F got a reaction from ชัยวัฒน์ จันทร์ทักษ์ in Downloads updates, GraphQL and more
The GraphQL documentation is working again!
-
Daniel F got a reaction from ชัยวัฒน์ จันทร์ทักษ์ in Downloads updates, GraphQL and more
There’s an issue in our documentation which will be resolved soon.
-
Daniel F got a reaction from SeNioR- in Downloads updates, GraphQL and more
There’s an issue in our documentation which will be resolved soon.
-
Daniel F got a reaction from The Old Man in Introducing GraphQL for Invision Community
Support for pages will be added in the March or April release just like the downloads app!
-
Daniel F got a reaction from The Old Man in Downloads updates, GraphQL and more
Since you're already in the framework, you don't need to use the external endpoint!
Inside templates you can use the graphql template helper, and inside blocks or controllers, you'll have to use the \IPS\Api\GraphQL controller!
So inside a PHP block you want to use something like:
$query = '{core{me{name,url}}}'; $response = \IPS\Api\GraphQL::execute( $query, [] ); echo "Hi: <a href='". $response['data']['core']['me']['url'] . " '>" . $response[ 'data' ][ 'core' ][ 'me' ][ 'name' ].'</a>';
-
Daniel F got a reaction from The Old Man in Downloads updates, GraphQL and more
And here's an example with a variable, where I'm fetching the topic's author, read time,read state, author and the posts for the topic with ID 1
$queryTopic = <<<QUERY query TopicViewQuery(\$topicID: ID!) { forums { topic(id: \$topicID) { id isUnread timeLastRead postCount(includeHidden: true) author { id name photo } posts { id timestamp author { id photo name } content { original } } } } } QUERY; $topicResponse = \IPS\Api\GraphQL::execute( $queryTopic, ['topicID'=> 1] );
-
Daniel F reacted to Adriano Faria in Downloads updates, GraphQL and more
Suggestion: change the following message for the link to delete the pending version.
-
Daniel F got a reaction from The Old Man in Downloads updates, GraphQL and more
The GraphQL documentation is working again!
-
Daniel F reacted to Kirill Gromov in Downloads updates, GraphQL and more
Link to GraphQL not working - https://invisioncommunity.com/developers/graphql
Something went wrong. Please try again.
-
Daniel F reacted to Matt in Live Topics: A first look
Hey, I wrote that on my childhood Casio keyboard!
-
Daniel F reacted to JohnCourt in What's New in Gallery?
We just updated today, and the new gallery is a great big hit! Wonderful job folks!
-
Daniel F got a reaction from The Old Man in Introducing GraphQL for Invision Community
We'll publish a follow-up article in the dev blog soon, with more technical insights.
-
Daniel F got a reaction from The Old Man in Introducing GraphQL for Invision Community
It's already automated.
Thanks, and I agree. It's on my TODO list for the next iteration.
-
Daniel F got a reaction from sobrenome in Introducing GraphQL for Invision Community
We'll publish a follow-up article in the dev blog soon, with more technical insights.
-
Daniel F got a reaction from sobrenome in Introducing GraphQL for Invision Community
It's already automated.
Thanks, and I agree. It's on my TODO list for the next iteration.
-
Daniel F got a reaction from SeNioR- in Introducing GraphQL for Invision Community
We'll publish a follow-up article in the dev blog soon, with more technical insights.
-
Daniel F got a reaction from IPCommerceFan in Introducing GraphQL for Invision Community
We'll publish a follow-up article in the dev blog soon, with more technical insights.
-
Daniel F got a reaction from Matt in Introducing GraphQL for Invision Community
It's already automated.
Thanks, and I agree. It's on my TODO list for the next iteration.
-
Daniel F got a reaction from DawPi in Introducing GraphQL for Invision Community
We'll publish a follow-up article in the dev blog soon, with more technical insights.
-
Daniel F reacted to The Old Man in What's New in Gallery?
Excellent update! I'm excited about this, and I think given the 100's of gallery improvement posts and topics over the years, you've done a great job in identifying where to start and what to prioritise.
Thank you for sorting the obviously long overdue UI issues, especially the navigation and Lightbox. Hopefully it won't be as intrusive autoloading. Great to see it less crowded. I was intending to add integration with AWS Rekognition to create image tags, so that's a nice touch.
Gallery has always been a good app, better than most in terms of functionality but it needed these modern updates every is now so used from the best WP galleries. Less JS is hugely welcome, even if less reliance on JQuery for vanilla JS, and finally native lazyloading; please add that throughout the suite immediately!
Looking forward to seeing more of the category, album and image layouts. Will there be a choice of layouts in terms of masonry, grid, filterable etc?
Any plans for Gallery integration with Commerce?
A great start to modernising this app. 😋
-
-
Daniel F got a reaction from Afrodude in New feature: moderating with personal alerts
it will show whenever he gets online, no matter which part of the suite he visits.