ExpPlugins are going some heavy internal changes, as we try to make it better for maintain and develop.
Also we try to enhance the overall code quality, some plugins we have refactored over and over, like the old menu plugin, which has gone atleast 6 different trials, old features removed, new added as idea has been re-thought. I think some parts we need to totally rewrite or atleast tidy bit, as now the features of the particular plugin is known and not much is needed to add for it.
Actual changes for plugins
The changes introduced here are already applied at dev-branch, and the old stuff is deprecated already fully.
This means plugins coded with 1.0.0.5 or before doesn't run with 1.0.0.6 and later.
If you are authoring a plugin or have coded already a plugin, some parts of your plugin needs modifications.
We have changed all methods and callback functions which starts with
old snakecase: exp_methodName
to
new camelcase: eXpMethodName
Examples
Callback function changes:
Code: Select all
//old:
public function exp_onReady() {
// yourcode here
}
//new:
public function eXpOnReady() {
// yourcode here
}
Code: Select all
// old
public function sayhello($login) {
$this->exp_chatSendServerMessage("hello %s", null, array($login));
}
// new
public function sayhello($login) {
$this->eXpChatSendServerMessage("hello %s", null, array($login));
}