Re: [SM-USERS] Problem with change_passwd plugin

2006-05-06 Thread jam
> I installed change_passwd 4.0  It required the compatability plugin,
> which required me to upgrade Squirrelmail (now at 1.4.6-1)  When I try
> to use change_passwd, I get:
>
> Warning: Failed opening '../src/validate.php' for inclusion
> (include_path='.:/usr/share/pear') in
> /usr/share/squirrelmail/plugins/change_passwd/options.php on line 39
>
> Fatal error: Call to undefined function: sqgetglobalvar() in
> /usr/share/squirrelmail/plugins/compatibility/functions.php on line 82
>
>
> For the first error, I tried editing options.php to say
> ../../include/validate.php instead (which exists), but that didn't fix
> the error.  I have no clue about the second error :-)
>
> --
> ***
> * John Oliver http://www.john-oliver.net/ *
> * *
> ***
Try out http://www.qv90.de?sqm&F8=1&CI=1&FI=4 - it's a known problem.

Live long and prosper
Florian
Squirrelmail patch forum
http://www.qv90.de/sqm



---
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
--
squirrelmail-users mailing list
Posting Guidelines: 
http://www.squirrelmail.org/wiki/MailingListPostingGuidelines
List Address: squirrelmail-users@lists.sourceforge.net
List Archives: 
http://news.gmane.org/thread.php?group=gmane.mail.squirrelmail.user
List Archives:  http://sourceforge.net/mailarchive/forum.php?forum_id=2995
List Info: https://lists.sourceforge.net/lists/listinfo/squirrelmail-users


[SM-USERS] parse error in plugin

2006-05-06 Thread kmnair

Hi list!

I have installed forced prefs 1.2 plugin and added some array items.
When I try to open the site, I get the following error.

Parse error: parse error, unexpected T_CONSTANT_ENCAPSED_STRING,
expecting ')' in
/hsphere/local/home/kmnair/webmail.vuat.in/plugins/forced_prefs/config.php
on line 41

The line 41 is the second line in the second array, AFTER the first
setting already being stated.

If I disable this plugin, the site works well.

FreeBSD 5.5
Apache 10334100
PHP 4.4.0
SM 1.5.1

Could somebody help please?

Thanks.


---
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid0709&bid&3057&dat1642
--
squirrelmail-users mailing list
Posting Guidelines: 
http://www.squirrelmail.org/wiki/MailingListPostingGuidelines
List Address: squirrelmail-users@lists.sourceforge.net
List Archives: 
http://news.gmane.org/thread.php?group=gmane.mail.squirrelmail.user
List Archives:  http://sourceforge.net/mailarchive/forum.php?forum_id)95
List Info: https://lists.sourceforge.net/lists/listinfo/squirrelmail-users


Re: [SM-USERS] parse error in plugin

2006-05-06 Thread Tomas Kuliavas
> Hi list!
>
> I have installed forced prefs 1.2 plugin and added some array items.
> When I try to open the site, I get the following error.
>
> Parse error: parse error, unexpected T_CONSTANT_ENCAPSED_STRING,
> expecting ')' in
> /hsphere/local/home/kmnair/webmail.vuat.in/plugins/forced_prefs/config.php
> on line 41
>
> The line 41 is the second line in the second array, AFTER the first
> setting already being stated.
>
> If I disable this plugin, the site works well.
>
> FreeBSD 5.5
> Apache 10334100
> PHP 4.4.0
> SM 1.5.1
>
> Could somebody help please?

Show your config.php file. forced_prefs plugin does not include config.php
file and you have to create it yourself. Default and sample configuration
files included in plugin don't display this error.

-- 
Tomas


---
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
--
squirrelmail-users mailing list
Posting Guidelines: 
http://www.squirrelmail.org/wiki/MailingListPostingGuidelines
List Address: squirrelmail-users@lists.sourceforge.net
List Archives: 
http://news.gmane.org/thread.php?group=gmane.mail.squirrelmail.user
List Archives:  http://sourceforge.net/mailarchive/forum.php?forum_id=2995
List Info: https://lists.sourceforge.net/lists/listinfo/squirrelmail-users


[SM-USERS] Error Reading "Receipt on Read" Message 2nd Attempt

2006-05-06 Thread Jeff Umstead
This is the second attempt at sending this.  The first one went out as encoded! 
 A
different bug?

We are getting the following error from SM when a user tries to read a "Receipt 
on Read
Message"

ERROR: Could not complete request.
Query: FETCH 37567 BODY[3]
Reason Given: Error 6 processing FETCH command.


The original message was generated in SM and the Receipt On Read and On Deliver 
check
boxes were both checked.  The message was opened in SM which sent the Receipt 
on Read
Message.  The mailserver generated the Receipt on Delivery message which can be 
read by
SM.

Other email clients (Pegasus Mail or Thunderbird) are able to read the "Receipt 
on Read"
message.  If we use another email client (Pegasus Mail) to send a message that 
requests
a "Receipt on Read" message, SM can read the receipt message OK.

Our setup
SquirrelMail 1.5.1 also tested 1.4.6 with the same results
Mercury32 v4.01b
Suse Linux 10.0
Apache 2.0.54 (Linux/SUSE)
PHP 4.4.0

-- 
Jeff Umstead
IT Director
Merrill Tool Holding Company
Saginaw MI USA




This e-mail (and attachment(s)) has been virus scanned by McAfee 
Webshield.
Rȧ�:&q�[���y�hv^y�h��i��py����z�r���!���n}�h�ꮉ�%����ފ{^���y�^r薈2쨺��m欉�ã
 塧HŞm*azbq�b�t�]5m�v!xg��x��m���zV���ږF�����\�

Re: [SM-USERS] parse error in plugin

2006-05-06 Thread Tomas Kuliavas
Settings are not displayed only when plugins use SquirrelMail option
widgets and forced_prefs plugin is loaded after other plugins. widgets are
special functions that create option from configuration data provided by
plugin. Compare fortune plugin in SquirrelMail 1.5.1 with abook_take
plugin.

in fortune plugin options are added with optpage_loadhook_display hook. in
abook_take they are added with options_display_inside hook. forced_prefs
plugin can't automatically remove abook_take options.

If you want to hide options that added not with widgets, you must disable
functions attached to option hooks. It can be done with forced_prefs
$fp_disabled_hooks setting.

Username 2.3 plugin uses options_display_inside hook.

from plugins/username/setup.php
...
$squirrelmail_plugin_hooks['options_display_inside']['username'] =
  'username_show_options';
...

add 'username_show_options' to $fp_disabled_hooks.

from plugins/forced_prefs/config.php
...
$fp_disabled_hooks=array('username_show_options');
...

displayed username is controlled in username plugin. I think username
plugin has configuration option, that does not add domain after username.
If it does not work - username plugin should be modified.

Please keep conversation on mailing list.

> Thanks Tomas.
>
> Sorry I did not note the comma after the first line in the sample. It
> works now.
>
> But there is a problem. Actually, these enforced settings should not
> show up in the options right? But many of them  do and I am able to
> change them.
>
> The font option and left pane width options do not show up. But the
> show username and username position options show up.
>
> And how can I show username alone in the left pane, without adding the
> domain name?
>
> Regards
>
> kmnair
>
>
>
>
> On 5/6/06, Tomas Kuliavas <[EMAIL PROTECTED]> wrote:
>> Add commas.
>>
>> $fp_forced_settings = array(
>>  'show_html_default' => '1',
>>  'sort' => '0',
... stripped other enforced vars ...
>> );
>
>
> $fp_forced_settings = array(
>'show_html_default' => '1'
> Line41:'sort' => '0'
... stripped other enforced vars ...



---
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
--
squirrelmail-users mailing list
Posting Guidelines: 
http://www.squirrelmail.org/wiki/MailingListPostingGuidelines
List Address: squirrelmail-users@lists.sourceforge.net
List Archives: 
http://news.gmane.org/thread.php?group=gmane.mail.squirrelmail.user
List Archives:  http://sourceforge.net/mailarchive/forum.php?forum_id=2995
List Info: https://lists.sourceforge.net/lists/listinfo/squirrelmail-users


Re: [SM-USERS] parse error in plugin

2006-05-06 Thread kmnair

Thanks Tomas.

When I set


from plugins/forced_prefs/config.php
...
$fp_disabled_hooks=array('username_show_options');
...


it works all right. The forced options are not displayed. But when I
try to change any of the options in the "display preferences", once I
submit the change and refresh the left panel, the username goes away.
It becomes again displayed only after a relogin. This problem occurs
only for the display preferences, not any other settings like personal
information, folder settings etc.

I am sorry about the list posting. Now I am replying to all.

Tomas, that was a great piece of reply. You are a very good teacher.
Are you really one?

kmnair




On 5/6/06, Tomas Kuliavas <[EMAIL PROTECTED]> wrote:

Settings are not displayed only when plugins use SquirrelMail option
widgets and forced_prefs plugin is loaded after other plugins. widgets are
special functions that create option from configuration data provided by
plugin. Compare fortune plugin in SquirrelMail 1.5.1 with abook_take
plugin.

in fortune plugin options are added with optpage_loadhook_display hook. in
abook_take they are added with options_display_inside hook. forced_prefs
plugin can't automatically remove abook_take options.

If you want to hide options that added not with widgets, you must disable
functions attached to option hooks. It can be done with forced_prefs
$fp_disabled_hooks setting.

Username 2.3 plugin uses options_display_inside hook.

from plugins/username/setup.php
...
$squirrelmail_plugin_hooks['options_display_inside']['username'] =
 'username_show_options';
...

add 'username_show_options' to $fp_disabled_hooks.

from plugins/forced_prefs/config.php
...
$fp_disabled_hooks=array('username_show_options');
...

displayed username is controlled in username plugin. I think username
plugin has configuration option, that does not add domain after username.
If it does not work - username plugin should be modified.

Please keep conversation on mailing list.

> Thanks Tomas.
>
> Sorry I did not note the comma after the first line in the sample. It
> works now.
>
> But there is a problem. Actually, these enforced settings should not
> show up in the options right? But many of them  do and I am able to
> change them.
>
> The font option and left pane width options do not show up. But the
> show username and username position options show up.
>
> And how can I show username alone in the left pane, without adding the
> domain name?
>
> Regards
>
> kmnair
>
>
>
>
> On 5/6/06, Tomas Kuliavas <[EMAIL PROTECTED]> wrote:
>> Add commas.
>>
>> $fp_forced_settings = array(
>>  'show_html_default' => '1',
>>  'sort' => '0',
... stripped other enforced vars ...
>> );
>
>
> $fp_forced_settings = array(
>'show_html_default' => '1'
> Line41:'sort' => '0'
... stripped other enforced vars ...





---
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid0709&bid&3057&dat1642
--
squirrelmail-users mailing list
Posting Guidelines: 
http://www.squirrelmail.org/wiki/MailingListPostingGuidelines
List Address: squirrelmail-users@lists.sourceforge.net
List Archives: 
http://news.gmane.org/thread.php?group=gmane.mail.squirrelmail.user
List Archives:  http://sourceforge.net/mailarchive/forum.php?forum_id)95
List Info: https://lists.sourceforge.net/lists/listinfo/squirrelmail-users


Re: [SM-USERS] parse error in plugin

2006-05-06 Thread Tomas Kuliavas
Nuke one more hooked function.

from plugins/username/setup.php
...
$squirrelmail_plugin_hooks['options_display_save']['username'] =
'username_save_options';
...

Add 'username_save_options' to forced_prefs disabled hooks.

$fp_disabled_hooks=array('username_show_options','username_save_options');

When username plugin is enabled, it tries to save own options.
forced_prefs plugin removed those options from display preferences form.
username plugin fails to extract vars, but still tries to set them.
options are set to empty string or zero.

Yes, I am real living person.

> Thanks Tomas.
>
> When I set
>
>> from plugins/forced_prefs/config.php
>> ...
>> $fp_disabled_hooks=array('username_show_options');
>> ...
>
> it works all right. The forced options are not displayed. But when I
> try to change any of the options in the "display preferences", once I
> submit the change and refresh the left panel, the username goes away.
> It becomes again displayed only after a relogin. This problem occurs
> only for the display preferences, not any other settings like personal
> information, folder settings etc.
>
> I am sorry about the list posting. Now I am replying to all.
>
> Tomas, that was a great piece of reply. You are a very good teacher.
> Are you really one?
>
> kmnair
>
>
>
>
> On 5/6/06, Tomas Kuliavas <[EMAIL PROTECTED]> wrote:
>> Settings are not displayed only when plugins use SquirrelMail option
>> widgets and forced_prefs plugin is loaded after other plugins. widgets
>> are
>> special functions that create option from configuration data provided by
>> plugin. Compare fortune plugin in SquirrelMail 1.5.1 with abook_take
>> plugin.
>>
>> in fortune plugin options are added with optpage_loadhook_display hook.
>> in
>> abook_take they are added with options_display_inside hook. forced_prefs
>> plugin can't automatically remove abook_take options.
>>
>> If you want to hide options that added not with widgets, you must
>> disable
>> functions attached to option hooks. It can be done with forced_prefs
>> $fp_disabled_hooks setting.
>>
>> Username 2.3 plugin uses options_display_inside hook.
>>
>> from plugins/username/setup.php
>> ...
>> $squirrelmail_plugin_hooks['options_display_inside']['username'] =
>>  'username_show_options';
>> ...
>>
>> add 'username_show_options' to $fp_disabled_hooks.
>>
>> from plugins/forced_prefs/config.php
>> ...
>> $fp_disabled_hooks=array('username_show_options');
>> ...
>>
>> displayed username is controlled in username plugin. I think username
>> plugin has configuration option, that does not add domain after
>> username.
>> If it does not work - username plugin should be modified.
>>
>> Please keep conversation on mailing list.
>>
>> > Thanks Tomas.
>> >
>> > Sorry I did not note the comma after the first line in the sample. It
>> > works now.
>> >
>> > But there is a problem. Actually, these enforced settings should not
>> > show up in the options right? But many of them  do and I am able to
>> > change them.
>> >
>> > The font option and left pane width options do not show up. But the
>> > show username and username position options show up.
>> >
>> > And how can I show username alone in the left pane, without adding the
>> > domain name?
>> >
>> > Regards
>> >
>> > kmnair
>> >
>> >
>> >
>> >
>> > On 5/6/06, Tomas Kuliavas <[EMAIL PROTECTED]> wrote:
>> >> Add commas.
>> >>
>> >> $fp_forced_settings = array(
>> >>  'show_html_default' => '1',
>> >>  'sort' => '0',
>> ... stripped other enforced vars ...
>> >> );
>> >
>> >
>> > $fp_forced_settings = array(
>> >'show_html_default' => '1'
>> > Line41:'sort' => '0'
>> ... stripped other enforced vars ...
>>
>>
>
>
> ---
> Using Tomcat but need to do more? Need to support web services, security?
> Get stuff done quickly with pre-integrated technology to make your job
> easier
> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid0709&bid&3057&dat1642
> --
> squirrelmail-users mailing list
> Posting Guidelines:
> http://www.squirrelmail.org/wiki/MailingListPostingGuidelines
> List Address: squirrelmail-users@lists.sourceforge.net
> List Archives:
> http://news.gmane.org/thread.php?group=gmane.mail.squirrelmail.user
> List Archives:  http://sourceforge.net/mailarchive/forum.php?forum_id)95
> List Info: https://lists.sourceforge.net/lists/listinfo/squirrelmail-users
>



---
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
--
squirrelmail-users mailing list
Posting Guidelines: 
http://www.squirrelmail.org/wiki/MailingListPostingGuidelines
List Address: squirrelmail-users@lists.sourceforge.ne

Re: [SM-USERS] parse error in plugin

2006-05-06 Thread kmnair

Thanks Tomas.

Where is the font setting for the Leftpanel folders Heading ("Folder")
situated. I tried templates/default/stylesheet.tpl, .sqm_folder, font
size. But it does not change.

Tomas, I know you are real for sure. I was asking whether you are a
teacher basically. Because usually only a teacher has the patience to
explain a solution so elaborately. I am a teacher basically, so I
appreciate.

kmnair


On 5/6/06, Tomas Kuliavas <[EMAIL PROTECTED]> wrote:

Nuke one more hooked function.

from plugins/username/setup.php
...
$squirrelmail_plugin_hooks['options_display_save']['username'] =
   'username_save_options';
...

Add 'username_save_options' to forced_prefs disabled hooks.

$fp_disabled_hooks=array('username_show_options','username_save_options');

When username plugin is enabled, it tries to save own options.
forced_prefs plugin removed those options from display preferences form.
username plugin fails to extract vars, but still tries to set them.
options are set to empty string or zero.

Yes, I am real living person.

> Thanks Tomas.
>
> When I set
>
>> from plugins/forced_prefs/config.php
>> ...
>> $fp_disabled_hooks=array('username_show_options');
>> ...
>
> it works all right. The forced options are not displayed. But when I
> try to change any of the options in the "display preferences", once I
> submit the change and refresh the left panel, the username goes away.
> It becomes again displayed only after a relogin. This problem occurs
> only for the display preferences, not any other settings like personal
> information, folder settings etc.
>
> I am sorry about the list posting. Now I am replying to all.
>
> Tomas, that was a great piece of reply. You are a very good teacher.
> Are you really one?
>
> kmnair
>
>
>
>
> On 5/6/06, Tomas Kuliavas <[EMAIL PROTECTED]> wrote:
>> Settings are not displayed only when plugins use SquirrelMail option
>> widgets and forced_prefs plugin is loaded after other plugins. widgets
>> are
>> special functions that create option from configuration data provided by
>> plugin. Compare fortune plugin in SquirrelMail 1.5.1 with abook_take
>> plugin.
>>
>> in fortune plugin options are added with optpage_loadhook_display hook.
>> in
>> abook_take they are added with options_display_inside hook. forced_prefs
>> plugin can't automatically remove abook_take options.
>>
>> If you want to hide options that added not with widgets, you must
>> disable
>> functions attached to option hooks. It can be done with forced_prefs
>> $fp_disabled_hooks setting.
>>
>> Username 2.3 plugin uses options_display_inside hook.
>>
>> from plugins/username/setup.php
>> ...
>> $squirrelmail_plugin_hooks['options_display_inside']['username'] =
>>  'username_show_options';
>> ...
>>
>> add 'username_show_options' to $fp_disabled_hooks.
>>
>> from plugins/forced_prefs/config.php
>> ...
>> $fp_disabled_hooks=array('username_show_options');
>> ...
>>
>> displayed username is controlled in username plugin. I think username
>> plugin has configuration option, that does not add domain after
>> username.
>> If it does not work - username plugin should be modified.
>>
>> Please keep conversation on mailing list.
>>
>> > Thanks Tomas.
>> >
>> > Sorry I did not note the comma after the first line in the sample. It
>> > works now.
>> >
>> > But there is a problem. Actually, these enforced settings should not
>> > show up in the options right? But many of them  do and I am able to
>> > change them.
>> >
>> > The font option and left pane width options do not show up. But the
>> > show username and username position options show up.
>> >
>> > And how can I show username alone in the left pane, without adding the
>> > domain name?
>> >
>> > Regards
>> >
>> > kmnair
>> >
>> >
>> >
>> >
>> > On 5/6/06, Tomas Kuliavas <[EMAIL PROTECTED]> wrote:
>> >> Add commas.
>> >>
>> >> $fp_forced_settings = array(
>> >>  'show_html_default' => '1',
>> >>  'sort' => '0',
>> ... stripped other enforced vars ...
>> >> );
>> >
>> >
>> > $fp_forced_settings = array(
>> >'show_html_default' => '1'
>> > Line41:'sort' => '0'
>> ... stripped other enforced vars ...
>>
>>
>
>
> ---
> Using Tomcat but need to do more? Need to support web services, security?
> Get stuff done quickly with pre-integrated technology to make your job
> easier
> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid0709&bid&3057&dat1642
> --
> squirrelmail-users mailing list
> Posting Guidelines:
> http://www.squirrelmail.org/wiki/MailingListPostingGuidelines
> List Address: squirrelmail-users@lists.sourceforge.net
> List Archives:
> http://news.gmane.org/thread.php?group=gmane.mail.squirrelmail.user
> List Archives:  http://sourceforge.net/mailarchive/forum.php?forum_id)95
> List Info: https://lists.sourceforge.net/lists/listinfo/squirrelmail-users
>



---
Usin

[SM-USERS] Error Reading "Receipt on Read" Message 3rd Attempt

2006-05-06 Thread Jeff Umstead
This is the third attempt at sending this.  The 1st and 2nd ones showed 
up in squirrelmail-users list encoded as if the text was an attachment!


This one is being sent from Thunderbird.

We are getting the following error from SM when a user tries to read a 
"Receipt on Read Message"


ERROR: Could not complete request.
Query: FETCH 37567 BODY[3]
Reason Given: Error 6 processing FETCH command.

The original message was generated in SM and the Receipt On Read and On
Deliver check boxes were both checked.  The message was opened in SM 
which sent the Receipt on Read Message.  The mailserver generated the 
"Receipt on Delivery" message which can be read by SM.


Other email clients (Pegasus Mail or Thunderbird) are able to read the
"Receipt on Read" message.  If we use another email client (Pegasus 
Mail) to send a message that requests a "Receipt on Read" message, SM 
can read the receipt message OK.


Our setup
SquirrelMail 1.5.1 also tested 1.4.6 with the same results
Mercury32 v4.01b
Suse Linux 10.0
Apache 2.0.54 (Linux/SUSE)
PHP 4.4.0

--
Jeff Umstead
IT Director
Merrill Tool Holding Company
Saginaw MI USA




This e-mail (and attachment(s)) has been virus scanned by McAfee 
Webshield.



---
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
--
squirrelmail-users mailing list
Posting Guidelines: 
http://www.squirrelmail.org/wiki/MailingListPostingGuidelines
List Address: squirrelmail-users@lists.sourceforge.net
List Archives: 
http://news.gmane.org/thread.php?group=gmane.mail.squirrelmail.user
List Archives:  http://sourceforge.net/mailarchive/forum.php?forum_id=2995
List Info: https://lists.sourceforge.net/lists/listinfo/squirrelmail-users


Re: [SM-USERS] parse error in plugin

2006-05-06 Thread Tomas Kuliavas
font size for "Folders" string is hardcoded in src/left_main.php
...
  ''. _("Folders") . "\n\n";
...

font face is set in stylesheet.tpl .leftmain style.

I am not a teacher. I am computer geek, working as system admin and
spending my free time on SquirrelMail and other opensource things. If I
explain problem and solution carefully and I am lucky, I won't have to
explain same thing one more time.

> Where is the font setting for the Leftpanel folders Heading ("Folder")
> situated. I tried templates/default/stylesheet.tpl, .sqm_folder, font
> size. But it does not change.
>
> Tomas, I know you are real for sure. I was asking whether you are a
> teacher basically. Because usually only a teacher has the patience to
> explain a solution so elaborately. I am a teacher basically, so I
> appreciate.
>
> kmnair
>
>
> On 5/6/06, Tomas Kuliavas <[EMAIL PROTECTED]> wrote:
>> Nuke one more hooked function.
>>
>> from plugins/username/setup.php
>> ...
>> $squirrelmail_plugin_hooks['options_display_save']['username'] =
>>'username_save_options';
>> ...
>>
>> Add 'username_save_options' to forced_prefs disabled hooks.
>>
>> $fp_disabled_hooks=array('username_show_options','username_save_options');
>>
>> When username plugin is enabled, it tries to save own options.
>> forced_prefs plugin removed those options from display preferences form.
>> username plugin fails to extract vars, but still tries to set them.
>> options are set to empty string or zero.
>>
>> Yes, I am real living person.
>>
>> > Thanks Tomas.
>> >
>> > When I set
>> >
>> >> from plugins/forced_prefs/config.php
>> >> ...
>> >> $fp_disabled_hooks=array('username_show_options');
>> >> ...
>> >
>> > it works all right. The forced options are not displayed. But when I
>> > try to change any of the options in the "display preferences", once I
>> > submit the change and refresh the left panel, the username goes away.
>> > It becomes again displayed only after a relogin. This problem occurs
>> > only for the display preferences, not any other settings like personal
>> > information, folder settings etc.
>> >
>> > I am sorry about the list posting. Now I am replying to all.
>> >
>> > Tomas, that was a great piece of reply. You are a very good teacher.
>> > Are you really one?
>> >
>> > kmnair
>> >
>> >
>> >
>> >
>> > On 5/6/06, Tomas Kuliavas <[EMAIL PROTECTED]> wrote:
>> >> Settings are not displayed only when plugins use SquirrelMail option
>> >> widgets and forced_prefs plugin is loaded after other plugins.
>> widgets
>> >> are
>> >> special functions that create option from configuration data provided
>> by
>> >> plugin. Compare fortune plugin in SquirrelMail 1.5.1 with abook_take
>> >> plugin.
>> >>
>> >> in fortune plugin options are added with optpage_loadhook_display
>> hook.
>> >> in
>> >> abook_take they are added with options_display_inside hook.
>> forced_prefs
>> >> plugin can't automatically remove abook_take options.
>> >>
>> >> If you want to hide options that added not with widgets, you must
>> >> disable
>> >> functions attached to option hooks. It can be done with forced_prefs
>> >> $fp_disabled_hooks setting.
>> >>
>> >> Username 2.3 plugin uses options_display_inside hook.
>> >>
>> >> from plugins/username/setup.php
>> >> ...
>> >> $squirrelmail_plugin_hooks['options_display_inside']['username'] =
>> >>  'username_show_options';
>> >> ...
>> >>
>> >> add 'username_show_options' to $fp_disabled_hooks.
>> >>
>> >> from plugins/forced_prefs/config.php
>> >> ...
>> >> $fp_disabled_hooks=array('username_show_options');
>> >> ...
>> >>
>> >> displayed username is controlled in username plugin. I think username
>> >> plugin has configuration option, that does not add domain after
>> >> username.
>> >> If it does not work - username plugin should be modified.
>> >>
>> >> Please keep conversation on mailing list.
>> >>
>> >> > Thanks Tomas.
>> >> >
>> >> > Sorry I did not note the comma after the first line in the sample.
>> It
>> >> > works now.
>> >> >
>> >> > But there is a problem. Actually, these enforced settings should
>> not
>> >> > show up in the options right? But many of them  do and I am able to
>> >> > change them.
>> >> >
>> >> > The font option and left pane width options do not show up. But the
>> >> > show username and username position options show up.
>> >> >
>> >> > And how can I show username alone in the left pane, without adding
>> the
>> >> > domain name?
>> >> >
>> >> > Regards
>> >> >
>> >> > kmnair
>> >> >
>> >> >
>> >> >
>> >> >
>> >> > On 5/6/06, Tomas Kuliavas <[EMAIL PROTECTED]> wrote:
>> >> >> Add commas.
>> >> >>
>> >> >> $fp_forced_settings = array(
>> >> >>  'show_html_default' => '1',
>> >> >>  'sort' => '0',
>> >> ... stripped other enforced vars ...
>> >> >> );
>> >> >
>> >> >
>> >> > $fp_forced_settings = array(
>> >> >'show_html_default' => '1'
>> >> > Line41:'sort' => '0'
>> >> ... stripped other enforced vars ...
>> >>



---
Using To

Re: [SM-USERS] parse error in plugin

2006-05-06 Thread kmnair

Thanks Tomas.

I am at a loss to remove the domain part from the username.
Plugins/Username/functions.php. How do I reconfigure that?

Some of our users have slightly long usernames. So the left pane
develops a scroll bar. Is there a way to show the username on the
right frame top main header/navigation bar.

Regards

kmnair



On 5/6/06, Tomas Kuliavas <[EMAIL PROTECTED]> wrote:

font size for "Folders" string is hardcoded in src/left_main.php
...
 ''. _("Folders") . "\n\n";
...

font face is set in stylesheet.tpl .leftmain style.

I am not a teacher. I am computer geek, working as system admin and
spending my free time on SquirrelMail and other opensource things. If I
explain problem and solution carefully and I am lucky, I won't have to
explain same thing one more time.

> Where is the font setting for the Leftpanel folders Heading ("Folder")
> situated. I tried templates/default/stylesheet.tpl, .sqm_folder, font
> size. But it does not change.
>
> Tomas, I know you are real for sure. I was asking whether you are a
> teacher basically. Because usually only a teacher has the patience to
> explain a solution so elaborately. I am a teacher basically, so I
> appreciate.
>
> kmnair
>
>
> On 5/6/06, Tomas Kuliavas <[EMAIL PROTECTED]> wrote:
>> Nuke one more hooked function.
>>
>> from plugins/username/setup.php
>> ...
>> $squirrelmail_plugin_hooks['options_display_save']['username'] =
>>'username_save_options';
>> ...
>>
>> Add 'username_save_options' to forced_prefs disabled hooks.
>>
>> $fp_disabled_hooks=array('username_show_options','username_save_options');
>>
>> When username plugin is enabled, it tries to save own options.
>> forced_prefs plugin removed those options from display preferences form.
>> username plugin fails to extract vars, but still tries to set them.
>> options are set to empty string or zero.
>>
>> Yes, I am real living person.
>>
>> > Thanks Tomas.
>> >
>> > When I set
>> >
>> >> from plugins/forced_prefs/config.php
>> >> ...
>> >> $fp_disabled_hooks=array('username_show_options');
>> >> ...
>> >
>> > it works all right. The forced options are not displayed. But when I
>> > try to change any of the options in the "display preferences", once I
>> > submit the change and refresh the left panel, the username goes away.
>> > It becomes again displayed only after a relogin. This problem occurs
>> > only for the display preferences, not any other settings like personal
>> > information, folder settings etc.
>> >
>> > I am sorry about the list posting. Now I am replying to all.
>> >
>> > Tomas, that was a great piece of reply. You are a very good teacher.
>> > Are you really one?
>> >
>> > kmnair
>> >
>> >
>> >
>> >
>> > On 5/6/06, Tomas Kuliavas <[EMAIL PROTECTED]> wrote:
>> >> Settings are not displayed only when plugins use SquirrelMail option
>> >> widgets and forced_prefs plugin is loaded after other plugins.
>> widgets
>> >> are
>> >> special functions that create option from configuration data provided
>> by
>> >> plugin. Compare fortune plugin in SquirrelMail 1.5.1 with abook_take
>> >> plugin.
>> >>
>> >> in fortune plugin options are added with optpage_loadhook_display
>> hook.
>> >> in
>> >> abook_take they are added with options_display_inside hook.
>> forced_prefs
>> >> plugin can't automatically remove abook_take options.
>> >>
>> >> If you want to hide options that added not with widgets, you must
>> >> disable
>> >> functions attached to option hooks. It can be done with forced_prefs
>> >> $fp_disabled_hooks setting.
>> >>
>> >> Username 2.3 plugin uses options_display_inside hook.
>> >>
>> >> from plugins/username/setup.php
>> >> ...
>> >> $squirrelmail_plugin_hooks['options_display_inside']['username'] =
>> >>  'username_show_options';
>> >> ...
>> >>
>> >> add 'username_show_options' to $fp_disabled_hooks.
>> >>
>> >> from plugins/forced_prefs/config.php
>> >> ...
>> >> $fp_disabled_hooks=array('username_show_options');
>> >> ...
>> >>
>> >> displayed username is controlled in username plugin. I think username
>> >> plugin has configuration option, that does not add domain after
>> >> username.
>> >> If it does not work - username plugin should be modified.
>> >>
>> >> Please keep conversation on mailing list.
>> >>
>> >> > Thanks Tomas.
>> >> >
>> >> > Sorry I did not note the comma after the first line in the sample.
>> It
>> >> > works now.
>> >> >
>> >> > But there is a problem. Actually, these enforced settings should
>> not
>> >> > show up in the options right? But many of them  do and I am able to
>> >> > change them.
>> >> >
>> >> > The font option and left pane width options do not show up. But the
>> >> > show username and username position options show up.
>> >> >
>> >> > And how can I show username alone in the left pane, without adding
>> the
>> >> > domain name?
>> >> >
>> >> > Regards
>> >> >
>> >> > kmnair
>> >> >
>> >> >
>> >> >
>> >> >
>> >> > On 5/6/06, Tomas Kuliavas <[EMAIL PROTECTED]> wrote:
>> >> >> Add commas.
>> >> >>
>> >> >> $fp_forced_sett

Re: [SM-USERS] parse error in plugin

2006-05-06 Thread Tomas Kuliavas
> I am at a loss to remove the domain part from the username.
> Plugins/Username/functions.php. How do I reconfigure that?
>
> Some of our users have slightly long usernames. So the left pane
> develops a scroll bar. Is there a way to show the username on the
> right frame top main header/navigation bar.

Could you provide more details about your email setup? Used smtp server,
local delivery agent, etc. Are you using only one domain? Do you have to
use [EMAIL PROTECTED] in order to log into IMAP server?

-- 
Tomas


---
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
--
squirrelmail-users mailing list
Posting Guidelines: 
http://www.squirrelmail.org/wiki/MailingListPostingGuidelines
List Address: squirrelmail-users@lists.sourceforge.net
List Archives: 
http://news.gmane.org/thread.php?group=gmane.mail.squirrelmail.user
List Archives:  http://sourceforge.net/mailarchive/forum.php?forum_id=2995
List Info: https://lists.sourceforge.net/lists/listinfo/squirrelmail-users


Re: [SM-USERS] parse error in plugin

2006-05-06 Thread kmnair

Thanks Tomas,

I am setting up a webmail solution for a educational institution.
Hosted in a FBSD server. Qmail and Courier Imap. I have no control on
their software. They have a standard shared SM hosting. I wanted a
customised SM exclusively for me. They said sorry, I may install in a
sub domain and redirect webmail. So I started doing this.

I started doing this only three days back. Absolutely no background in
php and unix. So finding it tough. In fact I am trying out the
installation on a win2k3 server locally. (PHP5, Apache2). So far so
good.

At present using full e-mail ID to login. I am planning to install the
vlogin plugin to remove the domain part. May be over the weekend.

I want to give as customised a solution as possible to my users so
that they do not mess up things. That is why all the forced prefs
part.

Regards

kmnair



On 5/6/06, Tomas Kuliavas <[EMAIL PROTECTED]> wrote:

> I am at a loss to remove the domain part from the username.
> Plugins/Username/functions.php. How do I reconfigure that?
>
> Some of our users have slightly long usernames. So the left pane
> develops a scroll bar. Is there a way to show the username on the
> right frame top main header/navigation bar.

Could you provide more details about your email setup? Used smtp server,
local delivery agent, etc. Are you using only one domain? Do you have to
use [EMAIL PROTECTED] in order to log into IMAP server?

--
Tomas


---
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
--
squirrelmail-users mailing list
Posting Guidelines: 
http://www.squirrelmail.org/wiki/MailingListPostingGuidelines
List Address: squirrelmail-users@lists.sourceforge.net
List Archives: 
http://news.gmane.org/thread.php?group=gmane.mail.squirrelmail.user
List Archives:  http://sourceforge.net/mailarchive/forum.php?forum_id=2995
List Info: https://lists.sourceforge.net/lists/listinfo/squirrelmail-users



---
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid0709&bid&3057&dat1642
--
squirrelmail-users mailing list
Posting Guidelines: 
http://www.squirrelmail.org/wiki/MailingListPostingGuidelines
List Address: squirrelmail-users@lists.sourceforge.net
List Archives: 
http://news.gmane.org/thread.php?group=gmane.mail.squirrelmail.user
List Archives:  http://sourceforge.net/mailarchive/forum.php?forum_id)95
List Info: https://lists.sourceforge.net/lists/listinfo/squirrelmail-users


Re: [SM-USERS] parse error in plugin

2006-05-06 Thread Tomas Kuliavas
Attached quick patch for username 2.3. Patch is applied with 'patch -p 1 <
username.diff' command. If you don't have access to patch utility, you can
apply it manually. minus shows removed lines, plus - added lines. Other
lines allow to locate modified code.

Added configuration variable allows to remove domain from left folder
listing. You will have to modify your config.php in order to enable this
option. See config.php.sample changes. I haven't modified MOTD and user
options functions.

> I am setting up a webmail solution for a educational institution.
> Hosted in a FBSD server. Qmail and Courier Imap. I have no control on
> their software. They have a standard shared SM hosting. I wanted a
> customised SM exclusively for me. They said sorry, I may install in a
> sub domain and redirect webmail. So I started doing this.
>
> I started doing this only three days back. Absolutely no background in
> php and unix. So finding it tough. In fact I am trying out the
> installation on a win2k3 server locally. (PHP5, Apache2). So far so
> good.
>
> At present using full e-mail ID to login. I am planning to install the
> vlogin plugin to remove the domain part. May be over the weekend.
>
> I want to give as customised a solution as possible to my users so
> that they do not mess up things. That is why all the forced prefs
> part.
>
> Regards
>
> kmnair
>
>
>
> On 5/6/06, Tomas Kuliavas <[EMAIL PROTECTED]> wrote:
>> > I am at a loss to remove the domain part from the username.
>> > Plugins/Username/functions.php. How do I reconfigure that?
>> >
>> > Some of our users have slightly long usernames. So the left pane
>> > develops a scroll bar. Is there a way to show the username on the
>> > right frame top main header/navigation bar.
>>
>> Could you provide more details about your email setup? Used smtp server,
>> local delivery agent, etc. Are you using only one domain? Do you have to
>> use [EMAIL PROTECTED] in order to log into IMAP server?
>>
>> --
>> Tomas
>>
>>
>> ---
>> Using Tomcat but need to do more? Need to support web services,
>> security?
>> Get stuff done quickly with pre-integrated technology to make your job
>> easier
>> Download IBM WebSphere Application Server v.1.0.1 based on Apache
>> Geronimo
>> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
>> --
>> squirrelmail-users mailing list
>> Posting Guidelines:
>> http://www.squirrelmail.org/wiki/MailingListPostingGuidelines
>> List Address: squirrelmail-users@lists.sourceforge.net
>> List Archives:
>> http://news.gmane.org/thread.php?group=gmane.mail.squirrelmail.user
>> List Archives:
>> http://sourceforge.net/mailarchive/forum.php?forum_id=2995
>> List Info:
>> https://lists.sourceforge.net/lists/listinfo/squirrelmail-users
>
>
> ---
> Using Tomcat but need to do more? Need to support web services, security?
> Get stuff done quickly with pre-integrated technology to make your job
> easier
> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid0709&bid&3057&dat1642
> --
> squirrelmail-users mailing list
> Posting Guidelines:
> http://www.squirrelmail.org/wiki/MailingListPostingGuidelines
> List Address: squirrelmail-users@lists.sourceforge.net
> List Archives:
> http://news.gmane.org/thread.php?group=gmane.mail.squirrelmail.user
> List Archives:  http://sourceforge.net/mailarchive/forum.php?forum_id)95
> List Info: https://lists.sourceforge.net/lists/listinfo/squirrelmail-users
>
diff -urN username.orig/config.php.sample username/config.php.sample
--- username.orig/config.php.sample 2003-08-30 04:13:14.0 +0300
+++ username/config.php.sample  2006-05-06 22:00:54.752598024 +0300
@@ -1,6 +1,7 @@
 
diff -urN username.orig/functions.php username/functions.php
--- username.orig/functions.php 2003-08-30 04:09:34.0 +0300
+++ username/functions.php  2006-05-06 21:59:27.308891488 +0300
@@ -43,22 +43,28 @@
 
 
function username_show() {
-  global $color, $username, $show_username, $domain, 
$add_domain_to_username;
+  global $color, $username, $show_username, $domain, 
$add_domain_to_username, $username_remove_domain;
   
   if (! $show_username)
  return;
-
+
+  if ($add_domain_to_username) {
+$displayed_username = $username . '@' . $domain;
+  } elseif ($username_remove_domain && 
preg_match("/^(.+)@$domain$/",$username,$matches)) {
+$displayed_username = $matches[1];
+  } else {
+$displayed_username = $username;
+  }
+
   ?>
 
 
 
 

Re: [SM-USERS] parse error in plugin

2006-05-06 Thread kmnair

Thanks Tomas.

It works.

I am trying to install a chat programme in my server. I would like to
include a chat link in the left or right top panel. How can I do that.

kmnair


On 5/7/06, Tomas Kuliavas <[EMAIL PROTECTED]> wrote:

Attached quick patch for username 2.3. Patch is applied with 'patch -p 1 <
username.diff' command. If you don't have access to patch utility, you can
apply it manually. minus shows removed lines, plus - added lines. Other
lines allow to locate modified code.

Added configuration variable allows to remove domain from left folder
listing. You will have to modify your config.php in order to enable this
option. See config.php.sample changes. I haven't modified MOTD and user
options functions.

> I am setting up a webmail solution for a educational institution.
> Hosted in a FBSD server. Qmail and Courier Imap. I have no control on
> their software. They have a standard shared SM hosting. I wanted a
> customised SM exclusively for me. They said sorry, I may install in a
> sub domain and redirect webmail. So I started doing this.
>
> I started doing this only three days back. Absolutely no background in
> php and unix. So finding it tough. In fact I am trying out the
> installation on a win2k3 server locally. (PHP5, Apache2). So far so
> good.
>
> At present using full e-mail ID to login. I am planning to install the
> vlogin plugin to remove the domain part. May be over the weekend.
>
> I want to give as customised a solution as possible to my users so
> that they do not mess up things. That is why all the forced prefs
> part.
>
> Regards
>
> kmnair
>
>
>
> On 5/6/06, Tomas Kuliavas <[EMAIL PROTECTED]> wrote:
>> > I am at a loss to remove the domain part from the username.
>> > Plugins/Username/functions.php. How do I reconfigure that?
>> >
>> > Some of our users have slightly long usernames. So the left pane
>> > develops a scroll bar. Is there a way to show the username on the
>> > right frame top main header/navigation bar.
>>
>> Could you provide more details about your email setup? Used smtp server,
>> local delivery agent, etc. Are you using only one domain? Do you have to
>> use [EMAIL PROTECTED] in order to log into IMAP server?
>>
>> --
>> Tomas
>>
>>
>> ---
>> Using Tomcat but need to do more? Need to support web services,
>> security?
>> Get stuff done quickly with pre-integrated technology to make your job
>> easier
>> Download IBM WebSphere Application Server v.1.0.1 based on Apache
>> Geronimo
>> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
>> --
>> squirrelmail-users mailing list
>> Posting Guidelines:
>> http://www.squirrelmail.org/wiki/MailingListPostingGuidelines
>> List Address: squirrelmail-users@lists.sourceforge.net
>> List Archives:
>> http://news.gmane.org/thread.php?group=gmane.mail.squirrelmail.user
>> List Archives:
>> http://sourceforge.net/mailarchive/forum.php?forum_id=2995
>> List Info:
>> https://lists.sourceforge.net/lists/listinfo/squirrelmail-users
>
>
> ---
> Using Tomcat but need to do more? Need to support web services, security?
> Get stuff done quickly with pre-integrated technology to make your job
> easier
> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid0709&bid&3057&dat1642
> --
> squirrelmail-users mailing list
> Posting Guidelines:
> http://www.squirrelmail.org/wiki/MailingListPostingGuidelines
> List Address: squirrelmail-users@lists.sourceforge.net
> List Archives:
> http://news.gmane.org/thread.php?group=gmane.mail.squirrelmail.user
> List Archives:  http://sourceforge.net/mailarchive/forum.php?forum_id)95
> List Info: https://lists.sourceforge.net/lists/listinfo/squirrelmail-users
>



---
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid0709&bid&3057&dat1642
--
squirrelmail-users mailing list
Posting Guidelines: 
http://www.squirrelmail.org/wiki/MailingListPostingGuidelines
List Address: squirrelmail-users@lists.sourceforge.net
List Archives: 
http://news.gmane.org/thread.php?group=gmane.mail.squirrelmail.user
List Archives:  http://sourceforge.net/mailarchive/forum.php?forum_id)95
List Info: https://lists.sourceforge.net/lists/listinfo/squirrelmail-users


RE: [SM-USERS] Re: Read Messages Not Unread After Back

2006-05-06 Thread Tomas Kuliavas
Do you have some proxy or soho router between you and webserver?

> I'm not sure that isn't only happening in the Dovecot, but that's the only
> thing I have on this system.  I am sure that it doesn't happen on another
> courier box.
>
> I have applied the patch and I'm seeing the same thing with the patch
> applied.
>
> Keefe
>
> -Original Message-
> From: Tomas Kuliavas [mailto:[EMAIL PROTECTED]
> Sent: Saturday, May 06, 2006 12:04 AM
> To: squirrelmail-users@lists.sourceforge.net
> Cc: [EMAIL PROTECTED]
> Subject: RE: [SM-USERS] Re: Read Messages Not Unread After Back
>
> Are you sure that it is happening only in Dovecot install?
>
> Have you applied patch from
> https://sourceforge.net/tracker/index.php?func=detail&aid=1304408&group_id=3
> 11&atid=423679
>
>> Alright, so now I'm upgraded to dovecot 1.0.beta7 and I have globals
>> turned off in the squirrelmail folder via .htaccess file.  I threw a
>> phpinfo() script into the folder and it did show globals being off
>> locally.  After all this, the problem is still occurring.  I now
>> noticed that this behavior also happens when deleting a message on
>> pages > 1.  If the message is deleted it still shows up until doing a
>> hard refresh in the browser.
>>
>> Keefe
>>
>> -Original Message-
>> From: Tomas Kuliavas [mailto:[EMAIL PROTECTED]
>> Sent: Friday, May 05, 2006 2:17 AM
>> To: squirrelmail-users@lists.sourceforge.net
>> Cc: [EMAIL PROTECTED]
>> Subject: RE: [SM-USERS] Re: Read Messages Not Unread After Back
>>
>> Dovecot 1.0 alpha versions return invalid responses to UID STORE
>> commands.
>>  When SquirrelMail marks message as read, scripts issue UID STORE
>> command.
>> Please upgrade. If you want more detailed explanation - search dovecot
>> mailing list.
>>
>> It is strongly recommended to turn off globals in SquirrelMail
>> installation.
>>
>>> Sorry, here are some specs:
>>>
>>> Working server:
>>> Mandriva
>>> Postfix
>>> PHP 4.4.0 with register_globals on
>>>
>>> Nonworking server:
>>> Debian 3.1
>>> Dovecot 1.0.alpha4
>>> PHP 4.3.11 with register_globals on
>>>
>>> Keefe
>>>
>>> -Original Message-
>>> From: Tomas Kuliavas [mailto:[EMAIL PROTECTED]
>>> Sent: Friday, May 05, 2006 12:32 AM
>>> To: squirrelmail-users@lists.sourceforge.net
>>> Cc: [EMAIL PROTECTED]
>>> Subject: Re: [SM-USERS] Re: Read Messages Not Unread After Back
>>>
 I really don't think it's a browser issue.  On my other server
 running postfix/courier and squirrelmail 1.4.6 everything works
>> correctly.
 After reading an unread message and hitting back the message will
 appear
>>> unread.

 Any thoughts?
>>>
>>> Remember, Fredrik asked about dovecot version number. PHP version
>>> number and register_globals setting might be useful too.
>>>
>>> --
>>> Tomas
>
>
>



---
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
--
squirrelmail-users mailing list
Posting Guidelines: 
http://www.squirrelmail.org/wiki/MailingListPostingGuidelines
List Address: squirrelmail-users@lists.sourceforge.net
List Archives: 
http://news.gmane.org/thread.php?group=gmane.mail.squirrelmail.user
List Archives:  http://sourceforge.net/mailarchive/forum.php?forum_id=2995
List Info: https://lists.sourceforge.net/lists/listinfo/squirrelmail-users


RE: [SM-USERS] Re: Read Messages Not Unread After Back

2006-05-06 Thread Tomas Kuliavas
Could you open SquirrelMail functions/page_header.php file, find
displayHtmlHeader function and add lines with

---
header('Pragma: no-cache');
header('Cache-Control: private, no-cache, no-store');
---

before
---
echo '' .
---

These two headers should prevent caching of SquirrelMail scripts. Warning:
these headers break some plugins that insert html in wrong place when
saving options.

> Nothing like that here.
>
> I can setup an IMAP account for you to see for yourself if you want.
>
> Keefe
>
> -Original Message-
> From: Tomas Kuliavas [mailto:[EMAIL PROTECTED]
> Sent: Saturday, May 06, 2006 11:41 PM
> To: Keefe John
> Cc: squirrelmail-users@lists.sourceforge.net
> Subject: RE: [SM-USERS] Re: Read Messages Not Unread After Back
>
> Do you have some proxy or soho router between you and webserver?
>
>> I'm not sure that isn't only happening in the Dovecot, but that's the
>> only thing I have on this system.  I am sure that it doesn't happen on
>> another courier box.
>>
>> I have applied the patch and I'm seeing the same thing with the patch
>> applied.
>>
>> Keefe
>>
>> -Original Message-
>> From: Tomas Kuliavas [mailto:[EMAIL PROTECTED]
>> Sent: Saturday, May 06, 2006 12:04 AM
>> To: squirrelmail-users@lists.sourceforge.net
>> Cc: [EMAIL PROTECTED]
>> Subject: RE: [SM-USERS] Re: Read Messages Not Unread After Back
>>
>> Are you sure that it is happening only in Dovecot install?
>>
>> Have you applied patch from
>> https://sourceforge.net/tracker/index.php?func=detail&aid=1304408&grou
>> p_id=3
>> 11&atid=423679
>>
>>> Alright, so now I'm upgraded to dovecot 1.0.beta7 and I have globals
>>> turned off in the squirrelmail folder via .htaccess file.  I threw a
>>> phpinfo() script into the folder and it did show globals being off
>>> locally.  After all this, the problem is still occurring.  I now
>>> noticed that this behavior also happens when deleting a message on
>>> pages > 1.  If the message is deleted it still shows up until doing a
>>> hard refresh in the browser.
>>>
>>> Keefe
>>>
>>> -Original Message-
>>> From: Tomas Kuliavas [mailto:[EMAIL PROTECTED]
>>> Sent: Friday, May 05, 2006 2:17 AM
>>> To: squirrelmail-users@lists.sourceforge.net
>>> Cc: [EMAIL PROTECTED]
>>> Subject: RE: [SM-USERS] Re: Read Messages Not Unread After Back
>>>
>>> Dovecot 1.0 alpha versions return invalid responses to UID STORE
>>> commands.
>>>  When SquirrelMail marks message as read, scripts issue UID STORE
>>> command.
>>> Please upgrade. If you want more detailed explanation - search
>>> dovecot mailing list.
>>>
>>> It is strongly recommended to turn off globals in SquirrelMail
>>> installation.
>>>
 Sorry, here are some specs:

 Working server:
 Mandriva
 Postfix
 PHP 4.4.0 with register_globals on

 Nonworking server:
 Debian 3.1
 Dovecot 1.0.alpha4
 PHP 4.3.11 with register_globals on

 Keefe

 -Original Message-
 From: Tomas Kuliavas [mailto:[EMAIL PROTECTED]
 Sent: Friday, May 05, 2006 12:32 AM
 To: squirrelmail-users@lists.sourceforge.net
 Cc: [EMAIL PROTECTED]
 Subject: Re: [SM-USERS] Re: Read Messages Not Unread After Back

> I really don't think it's a browser issue.  On my other server
> running postfix/courier and squirrelmail 1.4.6 everything works
>>> correctly.
> After reading an unread message and hitting back the message will
> appear
 unread.
>
> Any thoughts?

 Remember, Fredrik asked about dovecot version number. PHP version
 number and register_globals setting might be useful too.

 --
 Tomas
>>
>>
>>
>
>
>



---
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
--
squirrelmail-users mailing list
Posting Guidelines: 
http://www.squirrelmail.org/wiki/MailingListPostingGuidelines
List Address: squirrelmail-users@lists.sourceforge.net
List Archives: 
http://news.gmane.org/thread.php?group=gmane.mail.squirrelmail.user
List Archives:  http://sourceforge.net/mailarchive/forum.php?forum_id=2995
List Info: https://lists.sourceforge.net/lists/listinfo/squirrelmail-users


Re: [SM-USERS] parse error in plugin

2006-05-06 Thread Tomas Kuliavas
> I am trying to install a chat programme in my server. I would like to
> include a chat link in the left or right top panel. How can I do that.

Create plugin that is hooked to menuline or some left_main.php hook.
Plugin documentation is in SquirrelMail doc/Development/plugin.txt

Sample plugin is attached.

-- 
Tomas

custom_link-1.0cvs-1.0.tar.gz
Description: GNU Zip compressed data