Plugin development

 
Post new topic   Reply to topic   printer-friendly view    b2evolution Forum Index -> Plugins & Extensions -> Plugin development assistance
View previous topic :: View next topic  
Author Message
fplanque
Core Developer
Core Developer

Joined: 13 Jun 2003
Posts: 863
Reputation: 193.4Reputation: 193.4 add or subtract from this member's reputationadd or subtract from this member's reputation
votes: 9

PostPosted: Sat Sep 25, 2004 18:37    Post subject: Plugin development Reply with quote

If you want to add functionality to b2evo, it is strongly advised that you do so by developing a plugin rather than hacking around. Hacks need to be reapplied to each new version when upgrading. This may not even be possible if the core code changes to much. Plugins on the over hand will continue to work with little or no modification when upgrading to a new version, starting after version 0.9.2 .

We have both simplified and enhanced the plugin architecture in b2evolution 0.9.2 . It is strongly advised that you use at least version 0.9.2 for any plugin development. This version is already available through CVS, with a handlful of sample plugins.

Plugins react to 'events' in the application. Examples of events are 'AdminEndHtmlHead', 'AdminAfterPageFooter', 'DisplayToolbar', 'DisplayEditButton', etc. Those should be quite self explanatory. If not, check out the TEST plugin which echos stuff for most events.

If you need b2evo to trigger new events for your plugins, please start a new thread here with a title such as 'PLUGIN EVENT REQUEST: ...' We shall provide all needed hooks for you to develop your plugins seemlessly.

Please note (v 0.9.2):

- The plugin class name and the plugin file name MUST match.

- Plugins must be installed through the Settings::plugins before they become active.

_________________
François - Rambling on... State of the Evolution - fplanque.com
b2evolution project maintainer / main developer

Follow b2evolution on twitter and become a fan of b2evolution on facebook
Back to top
View user's profile Visit poster's website
nemster
New Poster
New Poster

Joined: 10 Jul 2004
Posts: 3
Reputation: 22.2Reputation: 22.2 add or subtract from this member's reputationadd or subtract from this member's reputation

PostPosted: Mon Feb 14, 2005 12:52    Post subject: Reply with quote

and where can i find that test plugin?
Back to top
View user's profile Send private message
kiesow
Hooked :)
Hooked :)

Joined: 23 Jan 2004
Posts: 255
Reputation: 36.5Reputation: 36.5Reputation: 36.5Reputation: 36.5 add or subtract from this member's reputationadd or subtract from this member's reputation

PostPosted: Mon Feb 14, 2005 13:56    Post subject: Reply with quote

0.9.2 has not been released yet.
Back to top
View user's profile Send private message Visit poster's website
Graham
Expert
Expert

Joined: 14 Jun 2003
Posts: 727
Reputation: 53.8Reputation: 53.8Reputation: 53.8Reputation: 53.8Reputation: 53.8 add or subtract from this member's reputationadd or subtract from this member's reputation

PostPosted: Mon Feb 14, 2005 14:41    Post subject: Reply with quote

You can get it from the CVS. If you can't work out how to get it, you're supposed to be on your own. That's the kind of test - if you can't get it, you probably shouldn't be using it!
_________________
tin-men - it's not that awful.

Honest.*

*Not really

Please use the search and manual.
Back to top
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger
jlackey
New Poster
New Poster

Joined: 21 Mar 2005
Posts: 20
Reputation: 14.1 add or subtract from this member's reputationadd or subtract from this member's reputation

PostPosted: Wed Mar 30, 2005 14:58    Post subject: Reply with quote

Ooooh oooooh...

It's not security by obscurity, but something more fundamental...

That's brilliant. I really hope the real reason is that the code is under development and people are actually using CVS for what it's designed.
Back to top
View user's profile Send private message Visit poster's website
whoo
Big Sister
Big Sister

Joined: 25 Dec 2004
Posts: 1293
Reputation: 100.1 add or subtract from this member's reputationadd or subtract from this member's reputation
votes: 19

PostPosted: Wed Mar 30, 2005 16:15    Post subject: Reply with quote

ouch, well i thought i was hard on opensource developers..

i read your post, HTML is not Code (http://nonplatonic.com/index.php/ben), where you clearly take a stab at b2evo. I have to say that regrdless of what you happen to think about b2evo OR better yet, WordPress, neither will go away because of MS or Google.

Additionally, I find it ironic that you are not only using b2evo while you bash it, but you even took the little button off your site that identifies it as such.

If opensource software could do w/o one thing -- its clearly unappreciative jackasses like yourself.

--

Im curious .. have you ever seen this website:
http://www.big-boards.com/

thats a site that tracks the largest forums on the 'net, AND the software they use to run ..

you might notice thats the largest forum listed there .. is running phpBB

_________________

Do you use last.fm?
Try out my nifty badge generator!
Back to top
View user's profile Send private message Visit poster's website
kiesow
Hooked :)
Hooked :)

Joined: 23 Jan 2004
Posts: 255
Reputation: 36.5Reputation: 36.5Reputation: 36.5Reputation: 36.5 add or subtract from this member's reputationadd or subtract from this member's reputation

PostPosted: Wed Mar 30, 2005 18:31    Post subject: Reply with quote

btw: why does he think that MT is the only commercial blogsoftware? there is also expression engine with a lot of cool features, but it's quite expensive.
Back to top
View user's profile Send private message Visit poster's website
jlackey
New Poster
New Poster

Joined: 21 Mar 2005
Posts: 20
Reputation: 14.1 add or subtract from this member's reputationadd or subtract from this member's reputation

PostPosted: Sat Mar 04, 2006 21:11    Post subject: Reply with quote

Quote:
Additionally, I find it ironic that you are not only using b2evo while you bash it, but you even took the little button off your site that identifies it as such.


Yes, and every site on the web that runs apache should have a little apache gif on every page.

Wait... I don't see one on this page. You unappreciative bastards!
Back to top
View user's profile Send private message Visit poster's website
whoo
Forum Admin
Forum Admin

Joined: 25 Dec 2004
Posts: 1293
Reputation: 100.1 add or subtract from this member's reputationadd or subtract from this member's reputation
votes: 19

PostPosted: Sat Mar 04, 2006 21:20    Post subject: Reply with quote

it took you ONE year to reply to that? And I thought I was slow ..

for what its worth, MOST hosting companies identify the software they use, especially when its Apache.

On the other hand MOST people pay for that hosting, and as such don't feel they need to identify something their host is using.

IN other words, your logic blows.

_________________

Do you use last.fm?
Try out my nifty badge generator!
Back to top
View user's profile Send private message Visit poster's website
xangelusx
Hooked :)
Hooked :)

Joined: 31 Dec 1969
Posts: 113
Reputation: 20Reputation: 20 add or subtract from this member's reputationadd or subtract from this member's reputation
votes: 3

PostPosted: Tue Jul 25, 2006 10:05    Post subject: Reply with quote

Maybe we could move the flame war out of the introductory thread?
_________________
If you like what I say, give me a vote. If you don't, just ignore it Smile

Keep an open mind, but not so open that your brain falls out.
Back to top
View user's profile Send private message Visit poster's website
balupton
1.8 & 1.9 expert

Joined: 22 Jun 2005
Posts: 2087
Reputation: 138 add or subtract from this member's reputationadd or subtract from this member's reputation
votes: 24

PostPosted: Tue Jul 25, 2006 11:24    Post subject: Reply with quote

xangelusx wrote:
Maybe we could move the flame war out of the introductory thread?


Smile I think having the message 'do not piss off whoo' is a good thing to have in a intro thread Wink - i could of benifited from it back in the day Big Razz

But maybe people should use pms for flames.... as they should Wink

_________________
Products & Services:
ShareHouseHQ - Shared expenses made easy., Web 2.0 Architect, jQuery Lightbox.
- The best user reports problems, don't be sorry, be proud! Smile
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    b2evolution Forum Index -> Plugin development assistance All times are GMT - 5 Hours
Page 1 of 1


 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
b2evolution Support Forum RSS Feed Forums powered by php Bulletin Board