Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Topics - mike5464

Pages: [1]
1
Older versions / mail
« on: June 13, 2009, 08:11:06 am »
Problem with mail.


I suppose you already now but the first problem is not to be able to choose a workspace for a mail box.
The mail box go always in and only in the all workspace.

I got no problem to get all my mail from the server with pop3 and i think boot with and without sll worked.

After i send a mail to myself (same sender, same receiver) and realize that the mail never get in the reception box despite that he was on this box on the server. The mail was correctly send but only appear in the sent box, while he should be in sent and receive box.

I also realize that for an unknown reason after the mailbox is correctly set-up and all mail were got from the server. If i try the button check mailbox he say me there no new mail but i know there is one new on the server. To get the new mail i have to clear the mail box and then to setup it again and there i get the new mail. :P

Hope it help.

2
hello

I tried to add a logo in the society panel but i only got a full black image. I understood that the problem was coming from the transparency of the png logo.

I checked the SimpleGdImage.class.php and saw that there was no support for transparency in the scale function. After some research and test here is the patch.

The file is locate into opengoo/library/simplegd/classes
The original version : Line 341 to 347
Code: [Select]
if($this->getImageType() == IMAGETYPE_GIF) {
        $new_resource = imagecreate($new_width, $new_height);
      } else {
        $new_resource = imagecreatetruecolor($new_width, $new_height);
      } // if
     
      imagecopyresampled($new_resource, $this->resource, 0, 0, 0, 0, $new_width, $new_height, $this->getWidth(), $this->getHeight());

And now it became

Code: [Select]
if($this->getImageType() == IMAGETYPE_GIF) {
        $new_resource = imagecreate($new_width, $new_height);
        $originaltransparentcolor = imagecolortransparent( $this->resource );
if(
    $originaltransparentcolor >= 0 // -1 for opaque image
    && $originaltransparentcolor < imagecolorstotal( $this->resource )
    // for animated GIF, imagecolortransparent will return a color index larger
    // than total colors, in this case the image is treated as opaque ( actually
    // it is opaque )
) {
    $transparentcolor = imagecolorsforindex( $this->resource, $originaltransparentcolor );
    $newtransparentcolor = imagecolorallocate($new_resource,$transparentcolor['red'],$transparentcolor['green'],
$transparentcolor['blue']);
// for true color image, we must fill the background manually
imagefill( $new_resource, 0, 0, $newtransparentcolor );
// assign the transparent color in the thumbnail image
imagecolortransparent( $new_resource, $newtransparentcolor );
}
      } else {
        $new_resource = imagecreatetruecolor($new_width, $new_height);
        imagealphablending($new_resource, false);
        imagesavealpha($new_resource, true);
      } // if
     
      imagecopyresampled($new_resource, $this->resource, 0, 0, 0, 0, $new_width, $new_height, $this->getWidth(), $this->getHeight());

The part for the gestion of the transparency for gif came from http://be.php.net/manual/fr/function.imagecopyresized.php#76648 and seems to work with animated gif but i didn't tried.

This version has been tested with jpg, png with transparency, png without, gif with transparency and without.

Thanks for a so cool program.

I don't know were to put it so i link here my version of SimpleGdImage.class.php

3
Older versions / bug with duration of event in the calendar.
« on: June 06, 2009, 08:28:07 am »
So if i want to stay till 1 AM at the fiesta of a friend the event just disappear of the calendar.

I putted an event at 20 a clock and then a duration of 5 hours. I clicked save change and he show me a duration of "-19 hours". But what's more fun is that if i chose a duration of 6 hours he still show me "-19 hours". I suppose there is a small bug in the duration function.

have a good day

Edit : If i choose 21H and a duration of 4 or 5 hours, i get "-20 hours" so i suppose when it go above 24 hours the function do -25 hours ... something like this.

4
1.4 final / bug with link an oblect
« on: June 04, 2009, 01:19:59 pm »
Hi everyone


When i try to link an object to a task i see the choose box for object. I can select by context or by tag but when i try to select by type it doesn't work. It show the animation like if it was reloading but it load exactly the same thing as before.

5
Installation problems / how to make the plugins working ?
« on: May 28, 2009, 10:03:56 am »
Hi everyone

I have downloaded the plugins on sourceforge ( html2pdf, new window and progressBar but i'am unable to make them working.
I unziped them and merged them with my opengoo installation but nothing happens.
Tried many things but no idee anymore.

Anybody know exactly how to do ?

6
Français / traduction des plugins sur sourceforgeee
« on: May 28, 2009, 06:10:21 am »
Bonjour

Je joins ici la traduction des 2 plugins qui sont sur sourceforge en français.
Il s'agit du plugin html to pdf et de new window.

Je les mets ici pcq je ne sais pas très bien ou les envoyer pour qu'ils soient inclus.
Donc si quelqu'un à plus d'info.
Je n'ai pas non plus très bien compris comment activer ces plugins.

Merci et bonne journée à tous

Pages: [1]