Hello,
I want to create an IF condition in a PlugIn which uses the current MyBB version as a basis for different hint texts.
Example (which does not work)
Can anyone tell me what the IF condition must be exactly?
Thanks in advance for any tips and hints.
I want to create an IF condition in a PlugIn which uses the current MyBB version as a basis for different hint texts.
Example (which does not work)
if (mybb->version > 1820) {
echo "$lang->text1";
} else {
echo "$lang->text2";
}
Can anyone tell me what the IF condition must be exactly?
Thanks in advance for any tips and hints.