[HowTo] Use the version check for your products
Howdy folks!
Since I just tapped into a trap here, I thought I'll write up a few lines about this already: Like we all know ;) you can supply a version check URL in the product manager of vB 3.6. This URL should return something like this: Code:
<version productid="my_product_id">1.2.3</version> Versions in the following notation will work as well (I tested it): 1.23 OK, so far so already told on the vb.com announcement. Here comes what they didn't tell us (yet) ;) The request for the version is done via a POST request! So, putting up a simple text or XML file that holds the current version will not work in most cases since most webservers answer a POST an a static page with "Method not supported". So, you need a litte PHP script like this: PHP Code:
You can also specify additional arguments in the URL like Code:
http://domain.tld/version.php?param1=foo¶m2=bar You can then grab those parameters via the $_REQUEST global: PHP Code:
That's about it. Remeber: POST, not GET, and you'll get the post ;) |
All times are GMT. The time now is 07:50 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|