The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
a tutorial on <url /> and <versioncheckurl />
Can someone write a tutorial on how to use <url /> and <versioncheckurl /> in the product?
|
#2
|
||||
|
||||
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. |
#3
|
|||
|
|||
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 /> |
#4
|
||||
|
||||
From one of mine.
<url>http://vbmodder.com</url> <versioncheckurl>http://vbmodder.com/versions/vbweather_versioncheck.txt</versioncheckurl> |
#5
|
|||
|
|||
Alright.
How do you figure this stuff out? I had self closing tags which threw me off. Thanks. I understand now. |
#6
|
||||
|
||||
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.
|
#7
|
|||
|
|||
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. |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|