miniBB ® miniBB®
miniBB Support Forums
 | Forums | Register | Reply | Search | Statistics | Manual |
Master Class miniBB Support Forums / Master Class /   

documentation for plugins

Author odejeu
#1 | Posted: 2 Apr 2007 09:49 

is there any documentation related to adding my own plugin to minibb


Author Paul
Lead Developer
#2 | Posted: 3 Apr 2007 03:49 | Edited by: Paul 
Unfortunately, documentation is not available, and I doubt it ever will.

That's because each plugin would require its own unique "mechanism". Basically, for each plug in, you must take into attention the following 2 variables (and provide a code for them accordingly):

$action (defines/catches current scenario, similarly to the conditions in index.php)

$user_id (0 for Guest, 1 for admin, >1 for anybody else)

You may also catch your own specific variables.

You may check other free plug ins to see how they work. Only learning on the examples you may understand how it works.

Author odejeu
#3 | Posted: 3 Apr 2007 09:49 
OK, thanks!

Master Class miniBB Support Forums / Master Class / documentation for plugins Top

Your Reply Click this icon to move up to the quoted message

 Short link for this topic:

Only registered users are allowed to post here. Please, enter your username/password details upon posting a message, or register first.

Before posting, make sure your message is compliant with our forum posting rules. If not, it may be locked or deleted with no explanation.
miniBB Support Forums Powered by Forum Software miniBB ® Features  Requirements  Demo  Download  Showcase  Gallery of Arts
Compiler  Premium Extensions  Premium Support  License  Contacts
Check out the Captcha add-on: protect your miniBB-forums from the automated spam and flood.
Captcha Addon for miniBB