miniBB Support Forums | 15 years on The Web
miniBB ®


 | 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
 Share Topic's Link

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

You are welcome to post anonymously, by entering a nickname with no password (if the similar Username has not been taken yet), or by leaving both fields empty. If you have a forums account, you can also sign in from this page without posting a message, or sign in and post at once.

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  Contact Us
Try the Captcha add-on: protect your miniBB-forums from the automated spam and flood.