Invision Community 4: SEO, prepare for v5 and dormant account notifications Matt November 11, 2024Nov 11
Posted May 26, 200519 yr Ajax plugin systemAllow 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
May 26, 200519 yr Management I don't really think AJAX and a BBCode interface have nearly anything in common. Perhaps you misunderstand what AJAX is?
May 26, 200519 yr 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?
May 26, 200519 yr 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.
May 26, 200519 yr 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..
May 26, 200519 yr 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?
May 26, 200519 yr 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..
May 26, 200519 yr I think that is pretty impossible, with a desktop application maybe but it would be very hard to implement using PHP.
May 27, 200519 yr When I have some free time I'll try to write it myself and see how much impossible it is :)
May 27, 200519 yr 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]
May 27, 200519 yr 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.