[prev in list] [next in list] [prev in thread] [next in thread] 

List:       squirrelmail-plugins
Subject:    Re: [SM-PLUGINS] plugin option in left bar
From:       PHILIPPE_Jérôme <je_philippe () hotmail ! com>
Date:       2004-09-28 13:49:51
Message-ID: BAY8-DAV37ZcGwM0OOJ0003863f () hotmail ! com
[Download RAW message or body]


----- Original Message ----- 
From: "p dont think" <pdontthink@angrynerds.com>
To: "PHILIPPE Jérôme" <je_philippe@hotmail.com>
Cc: <squirrelmail-plugins@lists.sourceforge.net>
Sent: Tuesday, September 28, 2004 2:02 PM
Subject: Re: [SM-PLUGINS] plugin option in left bar


> >>>I would like to put the timeout 's plugin in the left bar
> >>
> >>Put *what* exactly in the folder list?
> >>
> >>
> >>>I change the /plugins/timeou_user/setup.php
> >>>
> >>>    $squirrelmail_plugin_hooks['left_main_after']['timeout_user']
> >>>            = 'timeout_user_show_options';
> >>>
> >>>but how do you do to save the timeout value then ?
> >>
> >>Uh, you are actually displaying the options in the folder pane???
> >>Weird.  You had better look at the generated HTML, because there is a
> >>good chance it does not fit into the folder pane HTML gracefully.  To
> >>save the entered value, you'd need to create a submit button and more
> >>code to catch the submitted value from the folder pane (not the options
> >>page).  You should probably just create an entirely new set of functions
> >>for that part of the plugin, but it's not very standard to display
> >>options inputs in the folder pane.
> >>
> >>
> >
> >
> > Hi,
> >
> > Actually my users don't have access to the options page
> > (options.php?optpage=display). I customized the default_pref but I wish
they
> > can modify the timeout value. Is it possible and easily to put the
plugin in
> > other page ? directly in options.php for example ?
>
> Not really.  Not very easily.  You could try to put it in personal
> options or folder options - those are your two best bets, but sounds
> like your users may not have access to those either.  (WHY????)
>
> I would instead suggest looking at the newest version of the Virtual
> Host Login (vlogin) plugin, which allows you to disable any of the items
> on the options pages for any of your domains.  Note that you don't need
> to be running virtual hosts to still be able to use this plugin.
>
>   -paul
>

Paul, your suggestion is very good, this plugin is wonderful ! It's the
easly solution !

Thanks a lot !

Jérôme


-------------------------------------------------------
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
Project Admins to receive an Apple iPod Mini FREE for your judgement on
who ports your project to Linux PPC the best. Sponsored by IBM.
Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php
--
squirrelmail-plugins mailing list
Posting Guidelines: http://squirrelmail.org/wiki/wiki.php?MailingListPostingGuidelines
List Address: squirrelmail-plugins@lists.sourceforge.net
List Archives: http://news.gmane.org/thread.php?group=gmane.mail.squirrelmail.plugins
List Archives: http://sourceforge.net/mailarchive/forum.php?forum_id=3931
List Info: https://lists.sourceforge.net/lists/listinfo/squirrelmail-plugins
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic