Jump to content

The Old Man

Clients
  • Posts

    3,958
  • Joined

  • Last visited

  • Days Won

    11

 Content Type 

Downloads

Release Notes

IPS4 Guides

IPS4 Developer Documentation

Invision Community Blog

Development Blog

Deprecation Tracker

Providers Directory

Forums

Events

Store

Gallery

Everything posted by The Old Man

  1. Hi. When creating an oAuth for both GraphQL and REST API scopes, you get the Scopes (REST) tab, but what are you supposed to enter where it says Key? Can you put any name, or is it to specify a member id, or perhaps if you have already created a REST API Key, do you need to use the same one or must it be completely different? If you don't enter a Key in this field, the form resets to blank when you select any scopes and hit save, so I imagine that this Key field is required. Thank you!
  2. Please can you provide a dark mode for your documentation and help guides? It's not a pleasant experience switching from other dark tabs to your stark bright white documentation or trying to study it at night particularly when you have vision difficulties. Get with the times!
  3. When editing or creating scopes for REST API, you can conveniently check all or none for each subcategory. You may not want to enable the DELETE endpoints by default when selecting ALL which then requires manually removing them from the huge list, so it would be a big timesaver to be able to include/exclude those endpoints, in a similar fashion to All/None. Thank you.
  4. Thanks for the reply and the invitation Charles. I know it's good for many but I prefer and need to stay with IPS Legacy for now! 😍
  5. It seems like I can't reply to those Cloud forum topics. I was pleased to see a new IPS app mentioned as it's been years since the last, but apparently, it's only for the IPS Cloud platform. Then I noticed that the Statistics improvements are, you guessed it, for IPS Cloud hosted only. So disappointed. These cloud features appear to use Amazon cloud functionality which as far as I know, is available for all. Amazon Rekognition for example. I hate negativity, but I can't help but wonder; has new innovation now ended for us loyal self-hosted customers?
  6. Have the Blog comments gone for good? Used to be some useful info in there. 😬
  7. I finally got the POST request to get the oAuth token to work using API-Tester and it shows as successful in the AdminCP log, however I can’t seem to make an actual GET request using the generated access token. If I try using the workaround X-Authorization header with Bearer Access Token, it returns the source code of a 500 error page. If I try using the standard Authorization header I get: I have a lot of errors in the system log, but that may be as a result of my failures during trying to get it to work: I also noticed some small errors in the documentation help guide. It says that the Access Tokens are 97 characters long, mine is actually 98. The oAuth (Advanced) demo code for making a request with the supplied token is actually using an API key which led to some confusion on my part because the generated access token is much longer and includes the key. <?php $communityUrl = 'https://www.example.com/ips4/'; $accessToken = 'c7a349a1629f02cd2855a58d77646f6d'; $endpoint = '/core/hello'; $curl = curl_init( $communityUrl . 'api' . $endpoint ); curl_setopt_array( $curl, array( CURLOPT_RETURNTRANSFER => TRUE, CURLOPT_USERAGENT => "MyUserAgent/1.0", CURLOPT_HTTPHEADER => array( "Authorization: Bearer {$accessToken}" ), ) ); $response = curl_exec( $curl );
  8. There were a few obscure places and dusty crevices a few years ago where the newsletter widget was visible to guests only, but I think IPS removed most, if not all of those overlooked widgets.
  9. The page content settings goes off the screen in iPad tablet landscape mode, and isn’t shown at all in portrait mode when viewing the API oAuth settings tab for Rest API scopes. (iPadOS 16.3.1 Safari)
  10. After double-checking this regex found I needed to change this: <DirectoryMatch "^/home/(.*)/public_html$"> AllowOverride AuthConfig </DirectoryMatch> to: <DirectoryMatch "^\/home\/(.*)\/public_html$"> AllowOverride AuthConfig </DirectoryMatch> in order to get a valid regex match on my hosts public_htmls, but after restarting Apache the AdminCP warning still shows the server doesn't support Authentication headers.
  11. Hi @Marc Stridgen Sure, I just did a quick test with and without the plug-in and it made no difference. I think its just that there are no images for those forums anymore, at least according to the source code in the dev tools. TEST 1 Firefox DuckDuckGo Extension Disabled: Some images not showing TEST 2 Firefox DuckDuckGo Extension Enabled: Still some images not loading Advanced Development forum image is in the source code and is a jpg, but Marketplace for example seems to have no image set, I think that's the reason: Pretty similar in Chrome with the DuckDuckGo extension enabled too:
  12. Thanks for the suggestion. I’ve modified it to: to match all users public_html directories but the warning message about authentication headers in IPS AdminCP API Key settings hasn’t gone away. Also modified: SetEnvIf Authorization "(.*)" HTTP_AUTHORIZATION=$0 to SetEnvIf Authorization "(.*)" HTTP_AUTHORIZATION=$1 Using an API key via URL query works okay on the core hello endpoint, but no luck using a header instead, I still get: REQUEST DATA [] RESPONSE { "errorCode": "3S290\/9", "errorMessage": "INVALID_ACCESS_TOKEN" }
  13. Thanks Jim, will do. It might be the DuckDuckGo privacy extension, I have that installed on the Apache.
  14. Thanks I’ll have another go. (Sorry the code button isn’t showing in this forum on tablet, only quote). re errors, I get: I’m just trying connecting with API Tester app on my iPad which seems really good with lots of examples to get you going. It also supports both REST and GraphQL, so I figured I would try to create an oAuth for it rather than simple API URL key as I’ve done in past for connecting via Wordpress. I tried to use the oAuth page options that don't prompt a login screen because I want to eventually run the code as a script both within IPS and externally. If I go to the IPS API key page, I see the message: However I know my server does as far as Wordpress’ health check tool is concerned. I’ve tried everything to get authentication headers works for IPS. I’ve tried the various suggestions found online about adding CGIAuthPass to htaccess, allowing Authconfig to be used via AllowOveride in htaccess via adding this to post_virtualhost_global.conf but so far IPS always reports that message so I thought oAuth would be better. I realise that selfhosted server config is beyond support’s realm, but I just want to make sure I’m at least trying with the correct oAuth settings, given there are so many and the help docs don’t say which options to configure for use with the API and GraphQL.
  15. When creating an oAuth there is a bewildering array of options which change depending on which previous options you have checked. Once I have tried a few times to connect and tweak the settings on the client side, IPS blocks me but there is no reset option in the AdminCP. Please can you confirm which settings and options I need to generate an oAuth to be able to connect externally to access the GraphQL and REST API features?
  16. Actually, it's a bit confusing. Just looking at the homepage of the forum here the images aren't showing in Firefox on my PC. Then when I checked the source code, its because there are no images for those categories any more! Looking at other websites on that old iPad, it displays images just fine, aside from WebP of course.
  17. Just curious... What type of images are not being displayed? IPS still supports the basics like JPEG/JPG, PNG, GIF. Updated: I just dug out my trusty ye olde iPad 3 with IOS 9.3.5 on it and I see what you mean! It might be to do with the IPS version of lazy loading.
  18. After upgrading to 4.7.8 earlier, I’ve found that the moderator drop down list doesn’t work properly when in the new grid layout mode. The list of actions displays, but selecting any of the does nothing. Works fine in the traditional table layout though. (Tested using default IPS and custom themes but only using iPad with iPadOS 16.3.1 Safari). Also, the grid layout doesn’t show in /files/categories/ view, but this may be by design.
  19. Hi @opentype Have you discovered any specific issues with regards IPS 4.7.8 compatibility as yet? I noticed quite a few Pages templates got changed this time, but it’s only been out a few days. Many thanks.
  20. It also works correctly in Activity Streams 🙂 Thanks, do you think it should?
  21. I understand, thanks anyway. Search results aren’t cached for everybody though are they?
  22. Thank you, apparently it’s been a long awaited request. Thanks for the option.
  23. I missed this topic, but completely agree after being advised it’s not possible to achieve this in the Downloads app. It’s pretty silly to be honest if clients have waited such a long time for this basic functionality that is present in other areas of IPS and configured this way for the Marketplace here. Honestly what’s the point of having a totally empty parent category that misleads users into missing the content inside the subcategories.
×
×
  • Create New...