Plugin Documentation/Example

ziycon

  • Posts: 126
Plugin Documentation/Example
« on May 7th, 2013, 10:14 AM »
Just wondering if there is documentation or even a 'template' plugin to have a look at as it would be nice to delve into how plugins will need to be written for Wedge, if there is much difference from SMFs packages etc., granted that the plugin system is finished ;)
APRAI - Custom Theme - SMF 2.0.5


Nao

  • Dadman with a boy
  • Posts: 16,079
Re: Plugin Documentation/Example
« Reply #1, on May 7th, 2013, 02:59 PM »
It's a completely different system, in that it doesn't allow plugins to modify files, allowing you to update your forum without any worries.
It does its best at compensating for this 'loss', though...

It's also easier to install, and even understand.

Arantor

  • As powerful as possible, as complex as necessary.
  • Posts: 14,278
Re: Plugin Documentation/Example
« Reply #2, on May 7th, 2013, 03:33 PM »
Yes, there is documentation - http://wedge.org/pub/feats/6898/plugin-manager-mechanics/

I did even post a small plugin here as an attachment.

And yes, just because you can't do full edits, doesn't mean you don't have some serious flexibility to play with. Large chunks of the system are built around a template skeleton - sort of like SMF's template layers but much, much more powerful. The sidebar is a template area, so are posts, and as such you can add items before and after others, practically at will.
When we unite against a common enemy that attacks our ethos, it nurtures group solidarity. Trolls are sensational, yes, but we keep everyone honest. | Game Memorial