The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
I want to use ajax in my calendar.php file but how do i get started?
I want to use some ajax with my form and i need to get started somewhere - I am hopeing at some point to be able to use some of the things all ready in vbulletin to get my mod to work for me.
I am going to start of some what slow step be step and hope on can follow along. The file I wish to make my modification to is calendar.php and I do know that the first thing is to setup the ajax hooks at the begining of the calendar.php but where and what and how does this happen. I did find in my investagation of the files I did locate a file that seems to have the required functions in which the calendar.php need to make a call to setup the ability to use ajax. The file I found was vbulletin_global.js and is located in the clentsscript folder. About line 711 to line 739 has what seems to me the first peice of this but it is only a guess. PHP Code:
Ok getting back to my question where in the calendar.php if that is the place do I make a call to setup the ajax request handler or handlers for all tyoes of browser and not only where but a example of the area in a non modifyed version of the calendar.php would i do this setup housekeeping and what would this call look like so as not to break the vbulletin system and has to handle all the avaibale browsers that vbulttin supports unmodifyed version? THANKS Frank H. Shaw --------------- Added [DATE]1236030263[/DATE] at [TIME]1236030263[/TIME] --------------- Please explain how this would work? I found a Templete - that seems to have calls to ajax functions the file is /forums/ajax.php I need to know what I have to do to use this file as a templete or model for using with my calendar.php can someone help me explain what needs to be added to the calendar.php so that it will supoort my ajax modification. I hope this better explains what i need thanks Is this the first place the actual ajax is setup or used please explain the line below? PHP Code:
THANKS Frank H. Shaw |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|