The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
Is this not possible? (version checking via plugin only)
I'm toying around with more code , and thought about trying to get rid of my version.php file (which holds all of my version checking for all of my modifications)
Now, in the file, I would have: PHP Code:
Code:
www.usmilitarylife.com/version.php?do=my_product_id Code:
www.usmilitarylife.com/misc.php?do=my_product_id So, anyone else tried this? Anything I might be missing? Or is this just not possible to do via a plugin only? :erm: |
#2
|
|||
|
|||
I don't know if you're still trying this, but maybe you need an "exit" after your echo statement. I think if you don't do that it goes on to print out the list of smilies or something.
|
#3
|
||||
|
||||
Quote:
PHP Code:
|
#4
|
|||
|
|||
Try adding "die();" after your echo
|
#5
|
||||
|
||||
Still no go lol. I just don't understand why something like this wouldn't work
|
#6
|
|||
|
|||
I have no idea what version.php is but it's surely possible to convert an external file into a plugin -- I've done it several times. Can you post your plugin?
|
#7
|
||||
|
||||
Quote:
The contents of my plugin are in the first post I'll post it again though. Hook location: misc_start Plugin code: PHP Code:
|
#8
|
|||
|
|||
I don't get what you're trying to do.
I put that plugin in misc.php and tried it and got Smilies with "1.2.3" at the top of the page. When I added"die();" in the plugin I got a white page with "1.2.3" at the top. Just as I expected |
#9
|
||||
|
||||
Well isn't that a bit confusing.....
I tried that earlier, both using exit; and/or die(); and neither worked (on my test site) Just put it on my live site and it works just fine.... Kind of sucks after I've been scratching my head over this for the past few days lol --------------- Added [DATE]1318735283[/DATE] at [TIME]1318735283[/TIME] --------------- UPDATE: Just tested it WITHOUT the exit; and/or die(); (again, on my live site) and it works just fine |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|