Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Try Vanilla Forums Cloud product

In this Discussion

Ready to contribute?

Amazing! Sign our contributors' agreement and then join us on GitHub.

Update for critical security issue in PHPMailer included in release Vanilla 2.3.1
Please upgrade to 2.3 here. The 2.2 and earlier branches are no longer being updated.

How to bootstrap vanilla 2?

edited July 2011 in Vanilla 2.0 - 2.2
I have vanilla 2 forum installed plus I have a separate page with a button and an empty field.
What I want to achieve is that when you press the button, the field will be loaded with the number of users on the forum.
The call is made by AJAX.
Actually, the question is, how do I 'bootstrap' vanilla for an ajax call in order to be able to use 'Gdn'?

Best Answer

  • LincLinc Vanilla's Bard (and Lead Developer) Detroit Vanilla Staff
    Accepted Answer
    You want the ajax request to go to a non-Vanilla URL and "include" the framework within the script? I recommend against this. Instead, build a plugin within Vanilla and have the ajax request go to a URL the plugin is listening to instead.


Sign In or Register to comment.