![]() |
How to include php file in my template plugin?
Hi:
I'm developping plugin on vb5. I want to know how to include a separated php file in my template? And there are some many limit on vb5 template syntax,I can not write php code freely in template.So what should I do? Any help would be appreciative! |
Anybody can help?
Need include my php file in vb5 template or freely write php code in template,any other solutions? Thanks. |
Why don't you just use a PHP module? Is that what you are trying to do and you just want to include a file in it instead of putting the php directly in there?
|
Hi Lynne:
Thank you for your reply. I'm developping hook for vb5,I need include php file or write many php code for my hook.As you know vb5's hook need binding template,and vb5 template syntax has many limit and I can not freely write php on it.So do you have any advice and guide for this requirement? Thanks. |
vBulletin 5 doesn't have php hooks currently.
|
As Zachery said, there are no php hooks so I really don't understand what you are trying to do.
|
1 Attachment(s)
I've uploaded some basic documentation on API Extensions and Hooks to here.
The addon system in vBulletin 5 is different and the idea of PHP Plugins embedded in the database should be discarded. You probably will not be able to simply update your existing plugins, you'll need to rewrite how you retrieve information from the API or have your app call the API directly. |
Hello Wane Luke:
You gived documents package 'ExtensionsAndHooks.zip' looks great.Maybe I need develop a extension and api extension for our plugin to implement my special requirements? But I think the documents you gived is not detailed enough?We want a detailed document for describing how to make extension and api extension step by step,and need make install package for it.I can not find any valid document in vb5 online document pages for extension or api extension: http://www.vbulletin.com/manual/ Thank you very much. |
There isn't much else in terms of API documentation as far as I'm aware.
|
So what should I do now?Stop my work and wait the detailed document for api extension?
|
Quote:
|
Quote:
I tried to write some extension code as your gave pdf document,but when I call the method in template it does not work. The following is my code: PHP Code:
PHP Code:
And I remembered that there are some xml folder and file need to be maked inside the package folder,should I create xml folder for the extension,but I do not know how to make the xml file for the extention api? Thanks. Btw: I'm Tapatalk Tom Wu,We may need vBulletin official team to give us more guide on the VB5 plugin development,and we may can start more deep technical cooperation with your company.:) Any help would be appreciated. |
Is there any solutions for it?
Thanks. |
Can not get any help from here and official side?
It is disillusionary. |
This is a community based site, you might want to ask questions about what isn't working, or what is working, or what exactly is going wrong.
|
Yes,we do not know how to make my extension api work.
Maybe we need at least a full example extension package and detailed document to guide us to completely implement our own extension. Could you guide us? And we may can start more deep technical cooperation with your company. Any help would be appreciated Thanks. |
Have you looked at any of the third party addons?
|
I've studied the default extensions in VB 5,but I still do not know how to make my first extension api work.
Maybe we need a guiding document to tell us the full process for implementing an api extension. Could you recommend us some third party addons and detailed urls for the first example? Thanks. |
Any updates?
Or could you tell us where to get the addons for vBulletin 5? |
Here is where all the current mods for vB5 are, vBulletin 5.x Products & Extensions
|
All times are GMT. The time now is 04:53 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|