![]() |
|
Thread Tools |
#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! No members have liked this post.
|
#2
|
|||
|
|||
Anybody can help?
Need include my php file in vb5 template or freely write php code in template,any other solutions? Thanks. No members have liked this post.
|
#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?
__________________
Former vBulletin.org Staff Member
Try a search before posting for help. Many users won't, and don't, help if the question has been answered several times before. W3Schools - Online vBulletin Manual If I post some CSS and don't say where it goes, put it in the additional.css template. I will NOT help via PM (you will be directed to post in the forums for help.) No members have liked this post.
|
#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. No members have liked this post.
|
#5
|
||||
|
||||
vBulletin 5 doesn't have php hooks currently.
__________________
Looking for ImpEx?
No members have liked this post.
|
#6
|
||||
|
||||
As Zachery said, there are no php hooks so I really don't understand what you are trying to do.
__________________
Former vBulletin.org Staff Member
Try a search before posting for help. Many users won't, and don't, help if the question has been answered several times before. W3Schools - Online vBulletin Manual If I post some CSS and don't say where it goes, put it in the additional.css template. I will NOT help via PM (you will be directed to post in the forums for help.) No members have liked this post.
|
#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.
__________________
Wayne Luke Get started with your own social network. Purchase and download vBulletin today. No members have liked this post.
|
#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. No members have liked this post.
Last edited by tapatalk; 08 Jun 2013 at 04:18. |
#9
|
|||
|
|||
There isn't much else in terms of API documentation as far as I'm aware.
No members have liked this post.
|
#10
|
|||
|
|||
So what should I do now?Stop my work and wait the detailed document for api extension?
No members have liked this post.
|
#11
|
|||
|
|||
Originally Posted by Wayne Luke
Thank you so much for this, sadly your pdf's have more info then the manual for 5.0.4 lol.
![]()
No members have liked this post.
|
#12
|
||||||||
|
||||||||
Originally Posted by Wayne Luke
Hello,![]()
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:
I called the method in template:
How can I make this work? 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. No members have liked this post.
Last edited by tapatalk; 22 Oct 2013 at 04:06. |
#13
|
|||
|
|||
Is there any solutions for it?
Thanks. No members have liked this post.
|
#14
|
|||
|
|||
Can not get any help from here and official side?
It is disillusionary. No members have liked this post.
|
#15
|
||||
|
||||
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.
__________________
Looking for ImpEx?
No members have liked this post.
|
![]() |
«
Previous Thread
|
Next Thread
»
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
|
|
New To Site? | Need Help? |
All times are GMT. The time now is 03:36.