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 :: Unread Messages :: Show Polls :: Message Navigator
| Subscribe to topic | Bookmark topic 
Switch to threaded view of this topic Create a new topic Submit Reply
Improved plugin support [message #161123] Mon, 16 November 2009 01:24 Go to next message
naudefj is currently offline  naudefj   South Africa
Messages: 3632
Registered: December 2004
Karma: 17
Senior Member
Administrator
Core Developer
add to buddy list
ignore all messages by this user
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 14:44 Go to previous messageGo to next message
nozafc is currently offline  nozafc   
Messages: 75
Registered: April 2009
Karma: 0
Member
add to buddy list
ignore all messages by this user
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 15:34 Go to previous message
naudefj is currently offline  naudefj   South Africa
Messages: 3632
Registered: December 2004
Karma: 17
Senior Member
Administrator
Core Developer
add to buddy list
ignore all messages by this user
You need to name it correctly. Please look at the (working) examples in the forum's plugins directory.
Quick Reply
Formatting Tools:   
  Switch to threaded view of this topic Create a new topic
Previous Topic: XML Aggregation
Next Topic: Maillist with Multipart Content
Goto Forum:
  

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

Current Time: Wed Dec 13 12:06:39 EST 2017

Total time taken to generate the page: 0.00665 seconds