The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
![]()
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! |
#2
|
|||
|
|||
![]()
Anybody can help?
Need include my php file in vb5 template or freely write php code in template,any other solutions? Thanks. |
#3
|
||||
|
||||
![]()
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?
|
#4
|
|||
|
|||
![]()
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. |
#5
|
||||
|
||||
![]()
vBulletin 5 doesn't have php hooks currently.
|
#6
|
||||
|
||||
![]()
As Zachery said, there are no php hooks so I really don't understand what you are trying to do.
|
#7
|
||||
|
||||
![]()
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. |
#8
|
|||
|
|||
![]()
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. |
#9
|
|||
|
|||
![]()
There isn't much else in terms of API documentation as far as I'm aware.
|
#10
|
|||
|
|||
![]()
So what should I do now?Stop my work and wait the detailed document for api extension?
|
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|