View Full Version : a tutorial on <url /> and <versioncheckurl />
harmor19
08-09-2006, 09:49 PM
Can someone write a tutorial on how to use <url /> and <versioncheckurl /> in the product?
Code Monkey
08-10-2006, 04:50 AM
For the url bit you simply put in the url to find the hack. Wether it be your own website or a release thread here if you released it here.
For the versioncheck you must host your own version file. It can be a txt file and you can name it what you wish. But it must contain the following format and nothing else. Product id and version. Pretty simple really. Then you just put a link to that file.
<version productid="cm_vbmodder_com_vbweather">1.0.0</version>
Just make sure you update the version number with each new release.
harmor19
08-10-2006, 10:05 AM
What would the attributes be? Do I use "value" or "location" or no attribute or what?
<url value="mysite.com/myhack.php" />
<versioncheckurl value="mysite.com/myhack.php?do=version />
Code Monkey
08-10-2006, 02:34 PM
From one of mine.
<url>http://vbmodder.com</url>
<versioncheckurl>http://vbmodder.com/versions/vbweather_versioncheck.txt</versioncheckurl>
harmor19
08-10-2006, 05:05 PM
Alright.
How do you figure this stuff out? I had self closing tags which threw me off.
Thanks. I understand now.
Code Monkey
08-10-2006, 05:32 PM
I wouldn't use php to create the version output such as you have there with myhack.php?do=version. A simple txt file will do and is much less resource intensive. No need to use php just for the sake of using php. Always go for the most efficient method.
harmor19
08-10-2006, 05:36 PM
will do sir.
The only thing I could use was php.
I tried using a text and html file but when I did the version check it gave me an error.
vBulletin® v3.8.12 by vBS, Copyright ©2000-2024, vBulletin Solutions Inc.