MyBB XML HTTP Requests?
Firefox Wins Offline
Member
***
Posts: 164
Joined: Mar 2008
Post: #1
MyBB XML HTTP Requests?
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

(This post was last modified: 02-06-2011 02:13 AM by Firefox Wins.)
02-06-2011 01:59 AM
Find all posts by this user Quote this message in a reply
ZiNgA BuRgA Offline
Fag
*******
Posts: 3,357
Joined: Jan 2008
Post: #2
RE: MyBB XML HTTP Requests?
(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).

My Blog
(This post was last modified: 02-06-2011 08:21 AM by ZiNgA BuRgA.)
02-06-2011 08:21 AM
Find all posts by this user Quote this message in a reply

« Next Oldest | Next Newest »

 Standard Tools
Forum Jump: