MyBB Hacks

Full Version: MyBB XML HTTP Requests?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
There is no documentation in the MyBB wiki, and almost nothing in the forum about MyBB's xmlhttp.php.

Code:
 * It contains a stripped down version of the MyBB core which does not load things
 * such as themes, who's online data, all of the language packs and more.
 *
 * This is done to make response times when using XML HTTP Requests faster and
 * less intense on the server.


Does anyone have a small code sample for usage, or a link?
What exactly?
Anything, just a starting point.
Thanks


EDIT:
This (xmlhttp.php) obviously requires the user to have javascript enabled, does MyBB have any type of xmlrpc API or services built in?  Smile

(02-06-2011 01:59 AM)Firefox Wins Wrote: [ -> ]does MyBB have any type of xmlrpc API or services built in?  Smile
Nope.

I'm not sure what you mean by "how to use it".
The link your provided refers to Javascript to perform AJAX requests, whereas xmlhttp.php is the PHP script which handles them.  MyBB uses the prototype library for AJAX requests (instead of directly interfacing with the browser API).
Reference URL's