Current time: 01-09-2009, 04:38 AM Hello There, Guest! (LoginRegister)


Post Reply 
Plugin Authors - Please Read
07-11-2008, 01:34 AM
Post: #1
Plugin Authors - Please Read
Quote:Hello,

With the MyBB 1.4 release pending ever closer, we are stepping up to get your plugins ready for 1.4. There are two main things you should do...

See here for the full article: http://blog.mybboard.net/2008/07/11/prep...ns-for-14/

Ryan

[Image: ryangordon.png]

My Blog - My Mods - My Site - There are no such things as bugs;
Just carefully articulated random features.

Figures lie, and liars figure
Visit this user's website Find all posts by this user
Quote this message in a reply
07-12-2008, 01:01 PM
Post: #2
RE: Plugin Authors - Please Read
I'd also just like to bring everyones attention to the fact that submissions for MyBB 1.4 are now being accepted on the mods site. If you have any beta plugins for testing, or indeed any finished plugins for MyBB 1.4, feel free to release them over on the mods site.

http://mods.mybboard.net/

MyBB Home | MyBB Mods | Personal Blog
Visit this user's website Find all posts by this user
Quote this message in a reply
08-16-2008, 11:34 PM
Post: #3
RE: Plugin Authors - Please Read
In case anyone missed the link in the blog post above there is also a further detailed blog post about updating plugins that's more specific.

http://blog.mybboard.net/2008/07/11/plug...n-authors/

MYPS is now available for FREE!
Download over 30 exclusive plugins at Mybb Central.
[Image: mybbsig.php]
[Some plugins at Mybb Central are for paid subscribers only.]
Visit this user's website Find all posts by this user
Quote this message in a reply
08-17-2008, 01:16 AM (This post was last modified: 08-17-2008 09:08 PM by mtjo.)
Post: #4
RE: Plugin Authors - Please Read
I have looked at the plugin code and it is helpful but does not explain and how to properly create options in a plugin select form element as there are no dropdowns in that plugin. I would also like to hide elements until a value is set to yes as in the posting flood settings menu.

This thread sort of gets me in the ballpark, but any combination of creating the options strings did not work.

http://community.mybboard.net/thread-32973.html
For reference, you create the select menu options and radio button options via a text string. The optionscode and element value are separated by new lines and the string must be double quoted.

PHP Code:
/** Select Menu */
$setting = array( 'sid'         => 'NULL',
                  
'name'        => 'setting_name',
                  
'title'       => 'Setting Title',
                  
'description' => 'Settins description',
                  
'optionscode' => "select\noption1_value=Option 1\noption2_value=Option 2\noption3_value=Option 3",
                  
'value'       => 'option2_value',
                  
'disporder'   => '1',
                  
'gid'         => intval$gid ) );
$db->insert_query'settings'$setting );

/** Radio Button */
$setting = array( 'sid'         => 'NULL',
                  
'name'        => 'setting_name',
                  
'title'       => 'Setting Title',
                  
'description' => 'Settins description',
                  
'optionscode' => "radio\nradio1_value=Radio 1\nradio2_value=Radio 2\nradio3_value=Radio 3",
                  
'value'       => 'radio2_value',
                  
'disporder'   => '1',
                  
'gid'         => intval$gid ) );
$db->insert_query'settings'$setting ); 
Find all posts by this user
Quote this message in a reply
08-21-2008, 11:48 PM
Post: #5
RE: Plugin Authors - Please Read
This might help but of course I need to update it for 1.4.


http://www.mybbcentral.com/thread-76.html

MYPS is now available for FREE!
Download over 30 exclusive plugins at Mybb Central.
[Image: mybbsig.php]
[Some plugins at Mybb Central are for paid subscribers only.]
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump: