FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » FUDforum Development » FUDforum 3.0+ » Improved plugin support (FUDforum 3 new feature of the day)
Show: Today's Messages :: Polls :: Message Navigator
Switch to threaded view of this topic Create a new topic Submit Reply
Improved plugin support [message #161123] Mon, 16 November 2009 06:24 Go to next message
naudefj is currently offline  naudefj   South Africa
Messages: 3771
Registered: December 2004
Karma: 28
Senior Member
Administrator
Core Developer
Plugins was enhanced in the following ways:

1) Administrators can now configure plugins on-line. Navigate to the Plugin Manager and click on any of the plugins to see extended information and configuration details.

2) A new plugin_info call-out was added to allow plugins to expose extended information that will be visible in the Plugin Manger. For example:

function recaptcha_info() {
   return array('name' => 'Recaptcha',
                'desc' => 'This plugin will ...',
                'version' => '1.0');
}


3) A new plugin_config call-out was added to allow plugins to define their configuration settings:

function recaptcha_config() {
...

Re: Improved plugin support [message #161628 is a reply to message #161123] Thu, 21 January 2010 19:44 Go to previous messageGo to next message
nozafc is currently offline  nozafc   
Messages: 75
Registered: April 2009
Karma: 0
Member
Don't know if I'm missing something but when I put in the function for the info it doesn't pull the info over to the plugin section.

For example in the megavideo plugin I've got (ignore the youtube bit it was just a cut and paste to test)

function megavideo_tag_info() {
	return array('name' => 'Youtube Video',
	             'desc' => 'Allow forum users to use a spacial [youtube] BBcode tag for embedding videos into forum posts.',
				 'version' => '1.1');
}


But when I view the plugin info on the forum all I see is

http://i47.tinypic.com/qqpppg.png

Any idea ?
Re: Improved plugin support [message #161630 is a reply to message #161628] Thu, 21 January 2010 20:34 Go to previous message
naudefj is currently offline  naudefj   South Africa
Messages: 3771
Registered: December 2004
Karma: 28
Senior Member
Administrator
Core Developer
You need to name it correctly. Please look at the (working) examples in the forum's plugins directory.
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: XML Aggregation
Next Topic: Maillist with Multipart Content
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Fri Apr 19 14:17:54 GMT 2024

Total time taken to generate the page: 1.25036 seconds