The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
How to use ajax in vb4
Hello,
i start programming my first own Addon/Mod for vbulletin4.2 and i have an ajax question: How can i use ajax with vbulletin, means: how to program the server-side backend with security-token and DB-access? How to creat an ajax-request with javascript is not the problem, the serverside is the problem. I try to understand the modules/quellcodes of DBTECH Shoutbox but I failed. I hope you can help me with this. |
#2
|
|||
|
|||
Look at the vb file ajax.php. In fact if you're doing something simple you could create a plugin using hook ajax_start or ajax_complete instead of creating your own script.
|
#3
|
|||
|
|||
Quote:
Must i observe any special rules or can i send a request to ajax.php?mycustomvar=mycustomvalue greetings Edit: i try to use the given "verifyusername"-funtion of ajax.php, but i got a securitytoken-error. how can i get the right securitytoken? |
#4
|
|||
|
|||
Quote:
Quote:
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|