minibb®
Fight the automated spam - protect your miniBB-forums,
getting the Captcha addon! Click here to read more.
Captcha Addon for miniBB
Community Forum
 | Forums | File Bank | Sign Up | Reply | Search | Statistics | Manual |
Master Class miniBB Community Forum / Master Class /

documentation for plugins

 
odejeu
Guest
#1 | Posted: 2 Apr 2007 09:49
Reply 
Hi,

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

Thanks,
Olimpiu
Paul
CEO
#2 | Posted: 3 Apr 2007 03:49 | Edited by: Paul
Reply 
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.
odejeu
Forums Member
#3 | Posted: 3 Apr 2007 09:49
Reply 
OK, thanks!
 
Your reply
Bold Style  Italic Style  Image Link  URL Link 


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

Before posting, be sure your message is compliant with our forum posting rules. If not, it may be locked or deleted with no explanation.

 
Online now: Guests - 20
Members - 0
Most users ever online: 191 [24 Dec 2007 14:33]
Guests - 191 / Members - 0

Forums are powered by miniBB®