| View previous topic :: View next topic |
| Author |
Message |
fplanque Core Developer

 Joined: 13 Jun 2003 Posts: 863
   votes: 9
|
Posted: Sat Sep 25, 2004 18:37 Post subject: Plugin development |
|
|
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 |
|
 |
nemster New Poster

Joined: 10 Jul 2004 Posts: 3
  
|
Posted: Mon Feb 14, 2005 12:52 Post subject: |
|
|
| and where can i find that test plugin? |
|
| Back to top |
|
 |
kiesow Hooked :)

Joined: 23 Jan 2004 Posts: 255
    
|
Posted: Mon Feb 14, 2005 13:56 Post subject: |
|
|
| 0.9.2 has not been released yet. |
|
| Back to top |
|
 |
Graham Expert

 Joined: 14 Jun 2003 Posts: 727
     
|
Posted: Mon Feb 14, 2005 14:41 Post subject: |
|
|
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 |
|
 |
jlackey New Poster

Joined: 21 Mar 2005 Posts: 20
 
|
Posted: Wed Mar 30, 2005 14:58 Post subject: |
|
|
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 |
|
 |
whoo Big Sister

 Joined: 25 Dec 2004 Posts: 1293
  votes: 19
|
Posted: Wed Mar 30, 2005 16:15 Post subject: |
|
|
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 |
|
 |
kiesow Hooked :)

Joined: 23 Jan 2004 Posts: 255
    
|
Posted: Wed Mar 30, 2005 18:31 Post subject: |
|
|
| 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 |
|
 |
jlackey New Poster

Joined: 21 Mar 2005 Posts: 20
 
|
Posted: Sat Mar 04, 2006 21:11 Post subject: |
|
|
| 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 |
|
 |
whoo Forum Admin

 Joined: 25 Dec 2004 Posts: 1293
  votes: 19
|
Posted: Sat Mar 04, 2006 21:20 Post subject: |
|
|
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 |
|
 |
xangelusx Hooked :)

Joined: 31 Dec 1969 Posts: 113
   votes: 3
|
Posted: Tue Jul 25, 2006 10:05 Post subject: |
|
|
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
Keep an open mind, but not so open that your brain falls out. |
|
| Back to top |
|
 |
balupton 1.8 & 1.9 expert
Joined: 22 Jun 2005 Posts: 2087
  votes: 24
|
Posted: Tue Jul 25, 2006 11:24 Post subject: |
|
|
| xangelusx wrote: |
| Maybe we could move the flame war out of the introductory thread? |
I think having the message 'do not piss off whoo' is a good thing to have in a intro thread - i could of benifited from it back in the day
But maybe people should use pms for flames.... as they should  _________________ Products & Services:
ShareHouseHQ - Shared expenses made easy., Web 2.0 Architect, jQuery Lightbox.
- The best user reports problems, don't be sorry, be proud!  |
|
| Back to top |
|
 |
|