The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
Plugin via an external PHP
i've dug up about all i can find on using external php files within vb. they all turn up to be something like this HERE
thats not exactly what im trying to accomplish here though. so i have an xml, within it i have my plugins and all the PHP for the plugins the one i particularly want to include externally is a misc_start plugin that looks a little like: Code:
<plugin active="1" executionorder="5"> <title>DRC - Secret - Project - Misc</title> <hookname>misc_start</hookname> <phpcode><![CDATA[ A WHOLE LOT OF PHP ]]></phpcode> </plugin> or would i still be doing the same thing as shown in the link at the top? even though this is not a template... |
#2
|
||||
|
||||
put the php on a file (name.php)
then in your plugin use: PHP Code:
If you saved the file in the "includes" folder, you would use PHP Code:
change the path to file according to where you saved the file in relation to your forum root |
Благодарность от: | ||
Dr.CustUmz |
#3
|
||||
|
||||
is it ok if i bang my head on the table a few times lmao, thanks man
|
#4
|
|||
|
|||
Quote:
We have all been there. |
#5
|
||||
|
||||
just one of those up too long moments lmao
|
#6
|
|||
|
|||
@Dr.CustUmz, I hope you are not trying to create a Remote Shell Script lol
|
#7
|
||||
|
||||
lmao you downloaded that? that was just something i was testing lol, pretty good yeah? lol, no but im working on a bunch of other stuff too where i needed to call externals, and just had a brain fart.
|
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|