Re: [SM-USERS] HTML Mail Plugin

2010-06-20 Thread Tomas Kuliavas


dpiazza wrote:
> 
>>
>>
>> dpiazza wrote:
>>>
>>> Hello,
>>>
>>> I am still looking for a solution for the HTML Mail plug-in to work in
>>> WebKit. I was given a link
>>> to and SVN server that did not solve the issue.
>>>
>>> Is anyone else able to point me in a different direction?
>>>
>> I think you already got the answer. First step is to find html editor
>> that
>> works in Chrome. Then find minimal required WebKit or Chome version. Then
>> add that html editor to html plugin or replace older editor version and
>> update plugin's browser detection function.
>>
>> Since I haven't seen your question with "how to update fckeditor to
>> latest
>> ckeditor version", I assume that you haven't checked ckeditor demo site.
> 
> I have been able to replace fckeditor just fine, and it works in webkit
> and so does CKeditor.
> 
>>From what I have been reading, it something to do with the way that the
plug-in is programed.
> However, that is what I read. I am not a PHP coder... and not a
> professional.
> 

Make a backup of plugins/html_mail/functions.php

Open plugins/html_mail/functions.php in plain text or php editor

Find getBrowserType() function declaration and update it to detect webkit.
http://pastebin.ca/1887163
See difference in lines 18-21

Find two browser checks (search for 'Gecko' or '20030624') and add webkit
522 or newer there.
http://pastebin.ca/1887165
http://pastebin.ca/1887166

Pastebin links should be valid for one month. Updated code should load
ckeditor for current Safari and Chrome versions. Negative 'mobile' and
'symbian' checks are for webkit on cell phones. ckeditor 3.3.1 excludes only
'mobile', but some phone useragents don't use 'Mobile Safari'. Can't test if
it really works, because my code is different and I still have to make a
choice between ckeditor 3.3.1 and fckeditor 2.6.6.

-- 
Tomas
-- 
View this message in context: 
http://old.nabble.com/HTML-Mail-Plugin-tp28927479p28941032.html
Sent from the squirrelmail-users mailing list archive at Nabble.com.


--
ThinkGeek and WIRED's GeekDad team up for the Ultimate 
GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the 
lucky parental unit.  See the prize list and enter to win: 
http://p.sf.net/sfu/thinkgeek-promo
-
squirrelmail-users mailing list
Posting guidelines: http://squirrelmail.org/postingguidelines
List address: squirrelmail-users@lists.sourceforge.net
List archives: http://news.gmane.org/gmane.mail.squirrelmail.user
List info (subscribe/unsubscribe/change options): 
https://lists.sourceforge.net/lists/listinfo/squirrelmail-users


Re: [SM-USERS] Alternative Themes

2010-06-20 Thread DavoNZ

Here is one that i did, doesnt change SQM.

its in development area in this forum.

http://old.nabble.com/Template--skin-for-squirrelmail-1.5.2-to28790235.html




Alex-325 wrote:
> 
> Hi all,
> 
> Does anyone know of an alternative set of themes that people may be
> developing for SM outside of what's available on the themes page? I've
> found the outlook plugin by searching, but it's quite dated, and
> modifies all of SM, instead of just being a theme...
> 
> I've gone through most of what's available by default, but looking for
> something more modern and visually appealing by those who would use
> outlook in the first place. Maybe a gmail template? Simple white and
> blue outline would be just fine!
> 
> Thanks so much,
> Alex
> 
> --
> ThinkGeek and WIRED's GeekDad team up for the Ultimate 
> GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the 
> lucky parental unit.  See the prize list and enter to win: 
> http://p.sf.net/sfu/thinkgeek-promo
> -
> squirrelmail-users mailing list
> Posting guidelines: http://squirrelmail.org/postingguidelines
> List address: squirrelmail-users@lists.sourceforge.net
> List archives: http://news.gmane.org/gmane.mail.squirrelmail.user
> List info (subscribe/unsubscribe/change options):
> https://lists.sourceforge.net/lists/listinfo/squirrelmail-users
> 
> 

-- 
View this message in context: 
http://old.nabble.com/Alternative-Themes-tp28926897p28941035.html
Sent from the squirrelmail-users mailing list archive at Nabble.com.


--
ThinkGeek and WIRED's GeekDad team up for the Ultimate 
GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the 
lucky parental unit.  See the prize list and enter to win: 
http://p.sf.net/sfu/thinkgeek-promo
-
squirrelmail-users mailing list
Posting guidelines: http://squirrelmail.org/postingguidelines
List address: squirrelmail-users@lists.sourceforge.net
List archives: http://news.gmane.org/gmane.mail.squirrelmail.user
List info (subscribe/unsubscribe/change options): 
https://lists.sourceforge.net/lists/listinfo/squirrelmail-users


Re: [SM-USERS] HTML Mail Plugin

2010-06-20 Thread Derek Piazza
>
>
> dpiazza wrote:
>>
>>>
>>>
>>> dpiazza wrote:

 Hello,

 I am still looking for a solution for the HTML Mail plug-in to work in
 WebKit. I was given a link
 to and SVN server that did not solve the issue.

 Is anyone else able to point me in a different direction?

>>> I think you already got the answer. First step is to find html editor
>>> that
>>> works in Chrome. Then find minimal required WebKit or Chome version. Then
>>> add that html editor to html plugin or replace older editor version and
>>> update plugin's browser detection function.
>>>
>>> Since I haven't seen your question with "how to update fckeditor to
>>> latest
>>> ckeditor version", I assume that you haven't checked ckeditor demo site.
>>
>> I have been able to replace fckeditor just fine, and it works in webkit
>> and so does CKeditor.
>>
>>>From what I have been reading, it something to do with the way that the
> plug-in is programed.
>> However, that is what I read. I am not a PHP coder... and not a
>> professional.
>>
>
> Make a backup of plugins/html_mail/functions.php
>
> Open plugins/html_mail/functions.php in plain text or php editor
>
> Find getBrowserType() function declaration and update it to detect webkit.
> http://pastebin.ca/1887163
> See difference in lines 18-21
>
> Find two browser checks (search for 'Gecko' or '20030624') and add webkit
> 522 or newer there.
> http://pastebin.ca/1887165
> http://pastebin.ca/1887166
>
> Pastebin links should be valid for one month. Updated code should load
> ckeditor for current Safari and Chrome versions. Negative 'mobile' and
> 'symbian' checks are for webkit on cell phones. ckeditor 3.3.1 excludes only
> 'mobile', but some phone useragents don't use 'Mobile Safari'. Can't test if
> it really works, because my code is different and I still have to make a
> choice between ckeditor 3.3.1 and fckeditor 2.6.6.
>

Thank you! I will try this ASAP!

> --
> Tomas
> --
> View this message in context: 
> http://old.nabble.com/HTML-Mail-Plugin-tp28927479p28941032.html
> Sent from the squirrelmail-users mailing list archive at Nabble.com.
>
>
> --
> ThinkGeek and WIRED's GeekDad team up for the Ultimate
> GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the
> lucky parental unit.  See the prize list and enter to win:
> http://p.sf.net/sfu/thinkgeek-promo
> -
> squirrelmail-users mailing list
> Posting guidelines: http://squirrelmail.org/postingguidelines
> List address: squirrelmail-users@lists.sourceforge.net
> List archives: http://news.gmane.org/gmane.mail.squirrelmail.user
> List info (subscribe/unsubscribe/change options):
> https://lists.sourceforge.net/lists/listinfo/squirrelmail-users
>




--
ThinkGeek and WIRED's GeekDad team up for the Ultimate 
GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the 
lucky parental unit.  See the prize list and enter to win: 
http://p.sf.net/sfu/thinkgeek-promo
-
squirrelmail-users mailing list
Posting guidelines: http://squirrelmail.org/postingguidelines
List address: squirrelmail-users@lists.sourceforge.net
List archives: http://news.gmane.org/gmane.mail.squirrelmail.user
List info (subscribe/unsubscribe/change options): 
https://lists.sourceforge.net/lists/listinfo/squirrelmail-users


Re: [SM-USERS] Alternative Themes

2010-06-20 Thread Paul Lesniewski
On Fri, Jun 18, 2010 at 7:37 AM, Alex  wrote:
> Hi all,
>
> Does anyone know of an alternative set of themes that people may be
> developing for SM outside of what's available on the themes page? I've
> found the outlook plugin by searching, but it's quite dated, and
> modifies all of SM, instead of just being a theme...

SquirrelMail 1.4.x is not designed to have the kind of "skins" you are
implying.  By default, you can play with color schemes and fonts (via
"CSS file").  Start the configuration tool and choose "5. Themes" to
see what is possible without modifying the source.

SquirrelMail 1.5.2 (SVN) is designed to be "skinned."  It comes with
some defaults and you've also just been pointed to one of the first
third party skins available.

> I've gone through most of what's available by default, but looking for
> something more modern and visually appealing by those who would use
> outlook in the first place. Maybe a gmail template? Simple white and
> blue outline would be just fine!

Then by all means, create such a skin and submit it!

Also, if you are interested in mimicking LookOut, then you should
check out the Preview Pane plugin.

-- 
Paul Lesniewski
SquirrelMail Team
Please support Open Source Software by donating to SquirrelMail!
http://squirrelmail.org/donate_paul_lesniewski.php

--
ThinkGeek and WIRED's GeekDad team up for the Ultimate 
GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the 
lucky parental unit.  See the prize list and enter to win: 
http://p.sf.net/sfu/thinkgeek-promo
-
squirrelmail-users mailing list
Posting guidelines: http://squirrelmail.org/postingguidelines
List address: squirrelmail-users@lists.sourceforge.net
List archives: http://news.gmane.org/gmane.mail.squirrelmail.user
List info (subscribe/unsubscribe/change options): 
https://lists.sourceforge.net/lists/listinfo/squirrelmail-users