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/squirre

[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 li

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/con

[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

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 f

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

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

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 t

[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: Cou

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 exp

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/navi

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/navigatio

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

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

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

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 t

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. Warn

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