Jump to content

[2.x] Ajax plugin system


Guest Frankl.in

Recommended Posts

Posted

Ajax plugin system
Allow admins to create, import and export Ajax plugins

This would allow admins to choose which Ajax based features are available on their board. They should be able to create the plugins in their ACP using something like an Ajax editor which would look a bit like the current BBCode editor perhaps with syntax highlighting and an easy mode (like the skin editor) for newbies. These plugins can be exported to a XML file which of course can be shared with others.

In addition: the plugins could be linked to group/member permissions

  • Management
Posted

I don't really think AJAX and a BBCode interface have nearly anything in common. Perhaps you misunderstand what AJAX is?

Posted

from your blog (MattMecham.com) it sound(es|ed) like javascript with a bit of XML added, I think. If not could you give a good explenation of what it is/does?

Posted

It basically allows you to send/recieve XML documents to the server via Javascript without reloading the page. Which means you can do server-side processing and have data returned and displayed on your page without having to refresh.

Posted

What I mean is that admins can add AJAX functions to their board themselves (like you can modify skins, add bbcodes, add smilies, add macros, etc)

It's a bit hard to explain, but what I meant with the BBCode section in the ACP is simply the fields: a title field, description field and a textarea to write the code in. The relation with the BBCodes is that you can export and import XML files with bbcodes, that could be done the same with an Ajax plugin system.

Let me try to explain it with a picture: add AJAX function

The JS code would than be added to the board's JS. Users can use macros like {memberID} or {boardurl} or something like that which would be replaced by their dynamic values.


I hope this makes it more clear to you... :unsure:


I know the javascript I used in the example won't work, it's just an example..

Posted

How would this interact with the actual board though?

The javascript is there, but it'll need to be implemented into IPB's code as well surely?

Posted

How would this interact with the actual board though?



The javascript is there, but it'll need to be implemented into IPB's code as well surely?


Well, I don't know about that. Probably add a listener (I believe that's how you call it) to the boards JS. If I would know how to get that done I would code it myself :P

Maybe it is a bit too complex/early for a messageboard, dunno..
Posted

When I have some free time I'll try to write it myself and see how much impossible it is :)



Maybe you could have set locations, like reply screen, members list, search form, calendar etc. Then "Apply AJAX plugin to:" [dropdown: area select]
Posted

Maybe you could have set locations, like reply screen, members list, search form, calendar etc. Then "Apply AJAX plugin to:" [dropdown: area select]


Good idea

And a membergroup dropdown

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...