Change order of upload selections

I have done some searches but only came up with some similar stuff but not what I would like to do.

I would like the embed to be first on the drop down selector.

embed_first.jpg · 215.6K · 226 views
ManOfTeal.COM a Proud UNA site, six years running strong!
Quote · 11 Jan 2014

I had someone that wanted the default uploader changed.  I asked here on the forum because I had some trouble getting it to work and I think Prashank helped.  Let me see if I can find/remember what I did.

Geeks, making the world a better place
Quote · 11 Jan 2014

See if this will help with what you want to do:

http://www.boonex.com/forums/topic/Make-regular-the-default-uploader-.htm

 

While you might not want to change the default, the default and the order of the list are not the same.

Geeks, making the world a better place
Quote · 11 Jan 2014

 

See if this will help with what you want to do:

http://www.boonex.com/forums/topic/Make-regular-the-default-uploader-.htm

 

While you might not want to change the default, the default and the order of the list are not the same.

 Thanks Kim, sorry for delay.. got called away for work.

Going to look at that now, I also have Prashank on Skype, I'll ask him too.

ManOfTeal.COM a Proud UNA site, six years running strong!
Quote · 11 Jan 2014

The only thing I could get to work is to move embed and choice two in the list via BxDolFilesConfig.php

move a line up..

151 to 148

This will have to do, I was able to get Embed to show as the first choice but the regular upload was showing, not the embed box.

ManOfTeal.COM a Proud UNA site, six years running strong!
Quote · 11 Jan 2014

This is what is looks like, so I guess I can deal with it.

embed_second.jpg · 74.7K · 172 views
ManOfTeal.COM a Proud UNA site, six years running strong!
Quote · 11 Jan 2014

 

This is what is looks like, so I guess I can deal with it.

 

I think that is coming from the fact that the Flash uploader is set as the default uploader so that is why it appears in that location.

Geeks, making the world a better place
Quote · 11 Jan 2014

 

I think that is coming from the fact that the Flash uploader is set as the default uploader so that is why it appears in that location.

 Yes, it's something of course I do not know how to do but it is this section.

 

        foreach ($aAllTypes as $sValue) {

            if ($sValue == 'flash')  <<<<<<<<< Changing this word to "regular" will make the "embed" show first but the "regular" upload is shown.

                $aItems[$sValue] = '_adm_admtools_Flash';

            else

                $aItems[$sValue] = '_' . $this->sPrefix . '_' . $sValue;

        }

        return $aItems;

    }


    function getAllUploaderArray ($sLink = '')

    {

        return array(

            '_adm_admtools_Flash' => array('active' => !isset($_GET['mode']) ? true : false, 'href' => $sLink),

            '_' . $this->sPrefix . '_embed' => array('active' => $_GET['mode'] == 'embed' ? true : false, 'href' => $sLink . "&mode=embed"),

'_' . $this->sPrefix . '_regular' => array('active' => $_GET['mode'] == 'single' ? true : false, 'href' => $sLink . "&mode=single"),

            '_' . $this->sPrefix . '_record' => array('active' => $_GET['mode'] == 'record' ? true : false, 'href' => $sLink . "&mode=record"),

ManOfTeal.COM a Proud UNA site, six years running strong!
Quote · 11 Jan 2014
 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.