Announcement

Do not use the forums to submit bug reports, feature requests or patches, submit a New Ticket instead.

#1 2007-05-23 20:38:33

rburko
Xinha Community Member
Registered: 2006-08-15
Posts: 22

Extended File Manager Configs Ignored (V. 0.931)

Hi Everyone,

I recently upgraded to the latest version (0.931) and have been encountering a lot of problems.

My latest issue has to do with the Extended File Manager. The old settings that I’ve been using forever no longer seem to be taking effect.

Here is a snippet from my my_config.php file:

xinha_config.ExtendedFileManager.use_linker = false;
         
          // pass the configuration to plugin
        if (xinha_config.ExtendedFileManager) {
           with (xinha_config.ExtendedFileManager)
        {
            <?php

            // define backend configuration for the plugin
            $IMConfig = array();
            // The line below is customized based on the user sessions
            $IMConfig['images_dir'] = 'emusers/'.uid();
            $IMConfig['images_url'] = 'http://img.eliteemail.com/' . $IMConfig['images_dir'];
            $IMConfig['allow_new_dir'] = false;
            $IMConfig['allow_cut_copy_paste'] = false;
            $IMConfig['use_color_pickers'] = false;
            $IMConfig['images_enable_alt'] = false;
            $IMConfig['images_enable_title'] = false;
            $IMConfig['files_dir'] = '<files dir>';
            $IMConfig['files_url'] = '<files url>';
            $IMConfig['thumbnail_prefix'] = 't_';
            $IMConfig['thumbnail_dir'] = 't';
            $IMConfig['resized_prefix'] = 'resized_';
            $IMConfig['resized_dir'] = '';
            $IMConfig['tmp_prefix'] = '_tmp';
            $IMConfig['max_filesize_kb_image'] = 2000;
            // maximum size for uploading files in 'insert image' mode (2000 kB here)

            $IMConfig['max_filesize_kb_link'] = 5000;
            // maximum size for uploading files in 'insert link' mode (5000 kB here)

            // Maximum upload folder size in Megabytes.
            // Use 0 to disable limit
            $IMConfig['max_foldersize_mb'] = 0;
            
            $IMConfig['allowed_image_extensions'] = array("jpg","gif");
            $IMConfig['allowed_link_extensions'] = array("jpg","gif");

            require_once '/usr/local/www/sites/domain.com/xinha/contrib/php-xinha.php';
            xinha_pass_to_php_backend($IMConfig);
            
            ?>
        }
}

As you can see, I have it setup to DISABLE both the “alt” and “title” attribute. Yet, as soon as I load the Extended File Manager and insert an image, the source code looks like this:

<img title="cookie" height="242" alt="cookie" src="http://domain.com/41/cookie.jpg" width="318" />

It keeps putting a title and alt tag.

Does anyone know why it’s ignoring my parameters?

I know many things changed in the new version…could this be another thing?

Also, despite the fact I have turned off color pickers, in FireFox, the screen looks like this:
http://storage.elitewizard.com/strange_buttons.gif

Any ideas how I can get rid of these?

Last edited by rburko (2007-05-23 20:39:10)

Offline

#2 2007-06-10 11:43:37

rburko
Xinha Community Member
Registered: 2006-08-15
Posts: 22

Re: Extended File Manager Configs Ignored (V. 0.931)

Just wanted to update this thread to see if anyone else is having this problem...?

Has there been a fix to it in the nightly builds?

Am I supposed to file a bug report somewhere about this?

Thanks in advance. smile

Offline

Board footer

Powered by FluxBB