11
mike67
Pical bug with winter summer time .
  • 2006/2/6 20:43

  • mike67

  • Just popping in

  • Posts: 15

  • Since: 2004/4/3 9


Hello .
I have a problem with the latest version of pical
i live in france . (pical 0.84 XOOPS 2.0.13.2) gmt +1
when i create an event on sunday 26 march 2006 and check the allday event , then validate the event .
this event will be diplayed on 26 and 27 march ..
could be a winter summer time problem as the last sunday in march is the first day in summer time . i trie to add an event last sunday in march 2007 and it does the same ...
on a other webpage i have pical 0.6 installed and it does the same ...
I noticed that when i set a beginning and end time (only for this day . ex: 9:00 to 17:00 , when i validate the event ,pical change the time to 10:00 to 18:00
whith an other day it change nothing ...
i also try a new XOOPS install and only pical . same problem.
on XOOPS france forum other users confirmed me that they have the same problem

Any idea ,on this forum .
in advance
Thanks
Michael



12
mike67
Re: Anyone got ecards working on xcgallery?
  • 2005/5/10 22:07

  • mike67

  • Just popping in

  • Posts: 15

  • Since: 2004/4/3 9


Hi i had the same problem
this problem comes from php safe mode on ...
you have to modify the xcgal/include/htmlMimeMail.php

near the line 660

// Get flat representation of headers
foreach ($this->headers as $name => $value) {
$headers[] = $name . ': ' . $this->_encodeHeader($value, $this->build_params['head_charset']);
}

$to = $this->_encodeHeader(implode(', ', $recipients), $this->build_params['head_charset']);

// if (!empty($this->return_path)) {
// $result = mail($to, $subject, $this->output, implode(CRLF, $headers), '-f' . $this->return_path);
//} else {
$result = mail($to, $subject, $this->output, implode(CRLF, $headers));
//}

add the red //.
on my site this works

sorry fot my english


bye

Michael



13
mike67
Re: xcgallery doing big random pictures?
  • 2004/4/26 9:17

  • mike67

  • Just popping in

  • Posts: 15

  • Since: 2004/4/3 9


image_pfx this variable not exist that's why it works
to do it correctly i guess you must replace the line
with
$thumb_list[$i]['image'] = "<img src=\"".XOOPS_URL ."/modules/xcgal/".$xcgalConfig['fullpath'].str_replace("%2F","/",rawurlencode($row['filepath'].$row['filename']))."\" class=\"image\" border=\"0\" alt=\"{$row['filename']}\" /></a>";

suppress the prefix because for the fullsize pictures you need only the filename without prefix !!!

bye mike




14
mike67
Re: xcgallery doing big random pictures?
  • 2004/4/3 9:48

  • mike67

  • Just popping in

  • Posts: 15

  • Since: 2004/4/3 9


to display the intermediate photo in a block
just edit the : xcgal_blocks.php

and on line 83
replace this sentence
$thumb_list[$i]['image'] = "<img src=\"".XOOPS_URL ."/modules/xcgal/".$xcgalConfig['fullpath'].str_replace("%2F","/",rawurlencode($row['filepath'].$xcgalConfig['thumb_pfx'].$row['filename']))."\" class=\"image\" border=\"0\" alt=\"{$row['filename']}\" /></a>";

with this one :
$thumb_list[$i]['image'] = "<img src=\"".XOOPS_URL ."/modules/xcgal/".$xcgalConfig['fullpath'].str_replace("%2F","/",rawurlencode($row['filepath'].$xcgalConfig['normal_pfx'].$row['filename']))."\" class=\"image\" border=\"0\" alt=\"{$row['filename']}\" /></a>";

it works fine ! on my web site:my site
i'm french so excuse me for my english !!

bye mike







TopTop
« 1 (2)



Login

Who's Online

233 user(s) are online (162 user(s) are browsing Support Forums)


Members: 0


Guests: 233


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: May 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits