Introducing Quests: Tailored gamification & bridging in-person events with your community Mike Gitkos Friday at 12:39 PM1 day
Posted March 25, 201510 yr Reading this http://community.invisionpower.com/4docs/advanced-usage/development/update-checking-r86/Is there any way for the suite to post in the App ID as a param as well? Just so you don't have to have updateCheckBlog.php and updateCheckDownloads.php (for example)Ideally, personally as a developer I'd like updateCheck.php?version=100000&app=blog (using IPS products as examples)(When I say App ID - I mean the lowercase application directory perhaps)I know it's a niche request but I wondered if it's something I've overlooked or if it's something which could be added?
March 26, 201510 yr Of course Pretty much all URL handling in IPS4 is handled by the \IPS\Http\Url class which is super-clever at figuring things like that out. The code to call the URL you specify is: $url = \IPS\Http\Url::external( $row['url'] )->setQueryString( 'version', $row['current'] ); $response = $url->request()->get()->decodeJson(); In applications/core/tasks/updatecheck.php
Archived
This topic is now archived and is closed to further replies.