The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Need Help with plugin that's not in forum root
Hello everyone, I am currently trying to utilize a part of a file as a plugin. I want to be able to sue this same file for several plugins to reduce number of files. The other issue is that this file is not in the forum root.
Here is the plugin: Location Global Start vb version 4.1.5 PHP Code:
If anyone has any ideas or any additional info that might be useful please do let us know. Thank you for your time everyone. |
#2
|
|||
|
|||
One thing I notice, you say the file is in intuitco/cotw/functions directory but you've got .intuitco in the file name (maybe you meant ./intuitco). But anyway, I don't think you can put ?do=sotw on the file name, but this might work:
PHP Code:
(of course you'd replace www.domain.com with your domain name). Another alternative might be something like: PHP Code:
but I'm not sure, I've never tried that, and it probably depends on what the included script actually does. |
#3
|
|||
|
|||
Quote:
PHP Code:
|
#4
|
|||
|
|||
I think that all boils down to a plugin with this code:
PHP Code:
I suppose you could put that query in a file and include() it if the code is used in more than one place. |
#5
|
|||
|
|||
Quote:
--------------- Added [DATE]1312430497[/DATE] at [TIME]1312430497[/TIME] --------------- Can I do this in the same plguin? PHP Code:
|
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|