Page 2 of 2 FirstFirst 12
Results 11 to 18 of 18

Thread: Plugin Manager control of plugin Config

  1. #11
    Variable Bitrate Dartman_71's Avatar
    Join Date
    Feb 2009
    Location
    Finland
    Posts
    425
    My vote goes to <pluginname>_settings.skin system. There is already Enforcer's RRUpd8, RRGrid, El Camino's RRWifiMan, Youtube and chevyn8's MediaLaunch using this system.
    Works great and simple. Plugin manager settings sounds exotic, but perhaps too complicated and those standards hmm.

  2. #12
    Mo' Programming Mo' Problems
    Auto Apps:loading...
    Sonicxtacy02's Avatar
    Join Date
    Sep 2004
    Location
    Woodbridge, VA
    Posts
    8,166
    Blog Entries
    52
    Quote Originally Posted by Dartman_71 View Post
    My vote goes to <pluginname>_settings.skin system. There is already Enforcer's RRUpd8, RRGrid, El Camino's RRWifiMan, Youtube and chevyn8's MediaLaunch using this system.
    Works great and simple. Plugin manager settings sounds exotic, but perhaps too complicated and those standards hmm.
    5 settings skins files, none of which are uniform, is simple where 1 uniform skin file for all plugins is exotic?

    I guess i'm looking at it from different perspectives. The existing way isn't easy because developers either create a settings skin for carwings (which is the default, but not the most common skin) or dont skin settings at all and depend on the user using text editors to manually configure the plugin.

    The alternative is to have one settings button which brings up all plugins and all of their respective settings. Doing it this way means developers have time to develop (Less skinning time) and users (experienced or novice) only have 1 way to set up RideRunner (RRConfig AND plugin settings could all be in one, touch-friendly location)
    mp3Car.com Senior Tech Blogger (Want a product reviewed? Contact me.)
    Find my plugins on the MP3Car App Store!
    Follow Me on Twitter or Facebook
    Live mp3Car Facebook Chat

  3. #13
    Maximum Bitrate
    Auto Apps:loading...
    lambosprit's Avatar
    Join Date
    Sep 2006
    Location
    UK
    Posts
    786


    I think Sonic's right. Having to have a skin file for each plugin for each skin will kill this. Its hard enough to get skins for a plugin without needing config ones as well. One screen that can show any kind of variable would be easy to skin and the complexity is hidden in the code which is allways a good thing

  4. #14
    Confusion Master
    Auto Apps:loading...
    Enforcer's Avatar
    Join Date
    Sep 2003
    Location
    If you go down to the woods today, You're sure of
    Posts
    14,585
    Jeez, you guys are making this complicated.

    The above images are used as a base.


    Like CF you have settings which are text based, you make the image a button command, clicking this brings up the OSK to type in a value, or if there is something more exotic required like a browser then that will need to be coded by the plugin writer.

    At the bottom you have numeric values which can be increased or decreased.

    On the right you can set up boolean options using the true or false indicators.


    It will be up to the skinner to do the graphics for their skin

    The carwings is already done so aplugin writer as normal does their plugin, does a settings.skin for it (all they have to do is copy one that is done and change the button codes).

    Settings2.skin can be added or settings3 if necessary.


    A button can be added the the plugin mgr screen that selects the highlighted plugin and loads a <pluginname>.skin file.

    PHP Code:
    setvar;plugset;_settings||$dlpluginname$$plugset

    This is what I am using in my iDrive skins and what my plugins will support.

    The settings for nay plugin can all be called from one place, the plugin manager.

    The skin images only have to created once.

    And just a _settings.skin file has to be copied.

  5. #15
    MySQL Error
    Auto Apps:loading...

    Join Date
    Oct 2004
    Posts
    5,255
    see one thing sonicx your missing, with CF Everyone(generalization) uses the same skin
    with RR, Everyone(generization) uses a different skin


    E has it right, adding a "settings" button to the skin's plugin manager screen, which will load the settings skin file for that selected plugin, is the right way to do it

    E, can i see what you did with the carwings plugin manager screen...
    my guess is a settings button on the right side, with some skincode...
    -Thanks
    Mitch
    www.rush2112.net

    "Did you test it in carwings??"

    Sun, Come shine my way
    May healing waters bury all my pain
    Wind, Carry me home
    The fabric of reality is tearing apart
    The piece of me that died
    Will return To live again

  6. #16
    Confusion Master
    Auto Apps:loading...
    Enforcer's Avatar
    Join Date
    Sep 2003
    Location
    If you go down to the woods today, You're sure of
    Posts
    14,585
    button code one post up



    Whoops that's what I use in my idrive skin.


    Hang on let me see if I have just skin code.

  7. #17
    Confusion Master
    Auto Apps:loading...
    Enforcer's Avatar
    Join Date
    Sep 2003
    Location
    If you go down to the woods today, You're sure of
    Posts
    14,585
    Ok, I know what I have done now.



    That is the correct button code

    PHP Code:
    setvar;plugset;_settings||$dlpluginname$$plugset

    What this does is creates a command pluginname_settings

    ie

    wifiman_settings
    rrgrid_settings

    etc

    now my plugins will intercept the command and load the settings screen and do any necessary processing required.

    for wifiman I put a translation in exectbl.ini

    "wifiman_settings";"load;wifiman_settings.skin "

    So, if the plugin has a <pluginname>_settings command, then that will be handled by the plugin, if not then a translation in exectbli.ini is required.

  8. #18
    Mo' Programming Mo' Problems
    Auto Apps:loading...
    Sonicxtacy02's Avatar
    Join Date
    Sep 2004
    Location
    Woodbridge, VA
    Posts
    8,166
    Blog Entries
    52
    Quote Originally Posted by mitchjs View Post
    see one thing sonicx your missing, with CF Everyone(generalization) uses the same skin
    with RR, Everyone(generization) uses a different skin


    E has it right, adding a "settings" button to the skin's plugin manager screen, which will load the settings skin file for that selected plugin, is the right way to do it

    E, can i see what you did with the carwings plugin manager screen...
    my guess is a settings button on the right side, with some skincode...

    i'm not missing that.. i'm making a point that its better to go THIS route because people use different skins. I absolutely think this is the way to go
    mp3Car.com Senior Tech Blogger (Want a product reviewed? Contact me.)
    Find my plugins on the MP3Car App Store!
    Follow Me on Twitter or Facebook
    Live mp3Car Facebook Chat

Page 2 of 2 FirstFirst 12

Similar Threads

  1. Reborn (Updated 5/17/12)
    By Dartman_71 in forum RR Released Skins
    Replies: 549
    Last Post: 07-05-2014, 02:56 PM
  2. RRPDC - RoadRunner park distance control extension plugin
    By Robby BMW in forum RR Released Plugins
    Replies: 158
    Last Post: 04-22-2014, 11:45 AM
  3. Complete bolt in Screen/CPU/HD/PS - indash
    By blk02si in forum Fabrication
    Replies: 777
    Last Post: 04-27-2010, 08:21 PM
  4. Replies: 18
    Last Post: 06-17-2009, 01:54 PM
  5. Reproduction Control plugin doesn't work for ME
    By lifter in forum Software & Software Development
    Replies: 0
    Last Post: 07-09-2000, 09:41 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •