Drupal is up and running but how do I ...?

setting up gallery 2 block for weekly images

I am having a problem with getting the gallery block with gallery 2 to work properly with any other image-type other than "Random Image" under block-specific settings image type. I want to use the Weekly Image image type but each time I save my block settings, it keeps reverting to the "random image" image type.

Is there a setting I missed in gallery 2's site admin pages or a module I need need to enable to enable this functionality?

Security issue with TinyMCE plugins Mcfilemanger and Mcimagemanager

I am working for a client and found that the "DrupalAuthenticatorImpl.php" for both filemanager and imagemanager has some loophole. If tinymce permission has been given to anonymous users and restrict access to filemanger/imagemanager, they will be able to use the McfileManager and McImageManager directly by accessing the link

http://www.example.com/modules/tinymce/tinymce/jscripts/tiny_mce/plugins...

There need to some change inorder to prevent this by changing the "DrupalAuthenticatorImpl.php" file.

filemanager\classes\Authenticators\DrupalAuthenticatorImpl.php

This function loggedin should be changed

Imagemanager

function isLoggedin() {

return user_access('access tinymce');

}

to

function isLoggedin() {

return user_access('access tinymce imagemanager');

}

The same is true for filemanager:

function isLoggedin() {

return user_access('access tinymce ');

}

to

function isLoggedin() {

return user_access('access tinymce filemanager');

}

This change will fix the permission issue.



I posted a bug report on tinymce forums http://tinymce.moxiecode.com/

This is just to let to know Druplicans who uses the TinyMCE plugins Mcfilemanger and Mcimagemanager

Disabling Format Options Tips?

Is it possible to disable the link on a flexinode content creation page that says "More information about formatting options" in 4.6? I believe I saw something to do this in 4.7, but my project is not quite ready to be moved over yet. Any suggestions would be greatly appreciated.

Mike

Blocks get reset randomly while configuring

Sorry for reposting this, but I had no responses, and I'm still experiencing the problem, no solutions found.

(4.7) When configuring a block, the other blocks are being reset arbitrarily. At times, only one other block is reset. Other times, all of the blocks get reset. I ended up using phpmyadmin to manually configure the blocks to their original settings. Now I'm hesitant to try to configure blocks any other way. I saw another post about taxonomy-block and this issue, but I'm not using that module.

Has anyone else experienced this?

sending mails with external smtp

I have drupal 4.5.8 and I need to send mails using external smtp server. I found this in user module:

function user_mail($mail, $subject, $message, $header) {
if (variable_get('smtp_library', '') && file_exists(variable_get('smtp_library', ''))) {
include_once variable_get('smtp_library', '');
return user_mail_wrapper($mail, $subject, $message, $header);
}
else {
/*
** Note: if you are having problems with sending mail, or mails look wrong
** when they are received you may have to modify the str_replace to suit
** your systems.
** - \r\n will work under dos and windows.
** - \n will work for linux, unix and BSDs.
** - \r will work for macs.
**
** According to RFC 2646, it's quite rude to not wrap your e-mails:
**
** "The Text/Plain media type is the lowest common denominator of
** Internet email, with lines of no more than 997 characters (by
** convention usually no more than 80), and where the CRLF sequence
** represents a line break [MIME-IMT]."
**
** CRLF === \r\n
**
** http://www.rfc-editor.org/rfc/rfc2646.txt
**
*/
return mail(
$mail,
mime_header_encode($subject),
str_replace("\r", '', $message),
"MIME-Version: 1.0\nContent-Type: text/plain; charset=UTF-8; format=flowed\nContent-transfer-encoding: 8Bit\n" . $header

Big image files are not supported by the gd2 image toolkit?

Hi there,

I'm having a lot of problems getting images that are 1mb and more to my galeries that are handled by the image module.

Pictures that are very large seem to create a problem with the resizing and creates error saying : this is not a valid jpeg file, etc....

Do you that the imagemagick image toolkit is more solid as for handling big files and slightly corrupted files?

I know that gd2 as an issue about some jpeg photos and this as been solved in php version 5.1.4 I think...But I'm still working with php 4 so I need another alternative.

Pages

Subscribe with RSS Subscribe to RSS - Post installation