Looking for addon documentation/dev info February 08, 2017, 10:08:45 pm Hello Elkarte admins and users, my team is looking to work on developing addons for elkarte, mainly for personal use however we are having issues finding documentation. There page here - https://github.com/elkarte/Elkarte/wiki/Create%20an%20Addon just redirects back to the Wiki.
Re: Looking for addon documentation/dev info Reply #1 – February 09, 2017, 03:39:06 am There is no proper documentation yet. I think @vbgamer45 has just offered to write about some of it especially in porting SMF mods to ElkArte addons. SMF wiki for creating a modifications package hook or otherwise can still be referred to. Others you can try to search in here. Simply ask for support in this addon or the support board if you have further inquiry.
Re: Looking for addon documentation/dev info Reply #2 – February 09, 2017, 05:09:16 am Yeah, it's basically the same as SMF with more hooks, see http://wiki.simplemachines.org/smf/Integration_hooksHowever, it's easier to stick it in the XML. See, for example, how I converted my own https://github.com/Frenzie/smf-video-bbcode to https://github.com/Frenzie/elk-video-bbcode (but the SMF method will also work)Of course you should refer to add-ons created by @Spuds or @emanuele if you want to see the truly interesting stuff, but I like to think my own https://github.com/Frenzie/elk-user-agent-display is also showing off some interesting possibilities.Note that Elk has all kinds of automatically generated hooks too, so just searching integrate_ in the code won't necessarily turn them up: http://www.elkarte.net/community/index.php?topic=3997.msg28480#msg28480To see all hooks available on a particular page, stick $db_show_debug = true; in settings.php.