From deleted Sat Jul 14 15:57:33 2007 From: Ismet Togay To: dev@lists.roundcube.net Subject: Re: An Installation Problem + Turkish Language Support Date: Mon, 21 Nov 2005 01:05:08 +0200 Message-ID: <001a01c5ee26$d9f04fa0$21205a0a@xp> In-Reply-To: <000501c5ee0e$4a161080$21205a0a@xp> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============7335404689031583136==" --===============7335404689031583136== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Message deleted on request of author! Return-path: Envelope-to: arch+dev.lists.roundcube.net(a)db.org Delivery-date: Mon, 21 Nov 2005 02:59:38 +0000 Received: from vmail (helo=3Dmaildialog.com) by maildialog.com with local-bsmtp (Exim 4.51-maildialog) id 1Ee1u5-00085d-HF for arch+dev.lists.roundcube.net(a)db.org; Mon, 21 Nov 2005 02:59:37 +0000 Received: from loadbalancer1.orcon.net.nz ([219.88.242.3] helo=3Ddbmail-mx4.o= rcon.co.nz) by maildialog.com with esmtps (TLSv1:AES256-SHA:256) (Exim 4.51-maildialog) id 1Ee1tw-000854-Jz for dev(a)lists.roundcube.net; Mon, 21 Nov 2005 02:59:33 +0000 Received: from terminal ([60.234.13.222]) by dbmail-mx4.orcon.co.nz (8.13.2/8.13.2/Debian-1) with ESMTP id jAL2xH4I014= 694 for ; Mon, 21 Nov 2005 15:59:17 +1300 From: "John Newman" To: Subject: User feedback on first log in Date: Mon, 21 Nov 2005 15:59:40 +1300 Message-ID: <001101c5ee47$9e638c60$de0dea3c(a)office.orcon.net.nz> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary=3D"----=3D_NextPart_000_0012_01C5EEB4.955CD460" X-Mailer: Microsoft Office Outlook 11 Thread-Index: AcXuR52ndn2D5bbhSuOdg2z7/2cr9A=3D=3D X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.1830 X-Virus-Scanned: ClamAV version 0.87, clamav-milter version 0.87 on dbmail-mx= 4.orcon.co.nz X-Virus-Status: Clean Precedence: list List-Id: "RoundCube Dev" List-Unsubscribe: List-Subscribe: List-Post: List-Help: X-Maildialog-Scorecard-Report:=20 This is a multi-part message in MIME format. ------=3D_NextPart_000_0012_01C5EEB4.955CD460 Content-Type: text/plain; charset=3D"us-ascii" Content-Transfer-Encoding: 7bit Hi, =20 I'm relatively new to RoundCube but like what I've seen so far. We're seriously considering a site-wide deployment in the not too distant future. A large number of our users have substantially large mailboxes. This causes a significant but unavoidable delay when they first log in and the message indices are being generated and written to the mysql backend. As a work-around, I was hoping to provide some affordance back to the user, stating something along the lines of "a first login may take a while if you have large mailboxes"... As such, in function rcmail_login on line 279 of program/include/mail.inc, I was thinking about doing the following: =20 > if ($sql_arr =3D $DB->fetch_assoc($sql_result)) > { > $user_id =3D $sql_arr['user_id']; > $user =3D $sql_arr['username']; } else { show_message('firstlogin') ; } =20 message.inc: $messages['firstlogin'] =3D 'This appears to be your first login. First login's may take a while if you have a large number of messages. Subsequent login's should be very quick.' =20 However, due to the way rcmail_login's envoked, show_message does't appear to be a viable method for displaying the notification. I'd appreciate any thoughts you might have with regards to this as we think the notification's going to be important in our deployment. Perhaps this is something "simple" that could be added to the main branch? =20 Thanks in advance for any assistance you can offer. John. =20 =20 ------=3D_NextPart_000_0012_01C5EEB4.955CD460 Content-Type: text/html; charset=3D"us-ascii" Content-Transfer-Encoding: quoted-printable

Hi,=3D

 

I'm relatively new to =3D RoundCube but like what I've seen so far.  We're seriously considering a =3D site-wide deployment in the not too distant future.  A large number of our users have =3D substantially large mailboxes.  This causes a significant but unavoidable delay =3D when they first log in and the message indices are being generated and written to =3D the mysql backend.  As a work-around, I was hoping to provide some =3D affordance back to the user, stating something along the lines of "a first login =3D may take a while if you have large mailboxes"...  As such, in function =3D rcmail_login on line 279 of program/include/mail.inc, I was thinking about doing the following:

 

>  if ($sql_arr =3D3D $DB->fetch_assoc($sql_result))

>    =3D {

>    =3D $user_id =3D3D $sql_arr['user_id'];

>    =3D $user =3D3D $sql_arr['username'];

    } else =3D {

    &nbs=3D p;   show_message('firstlogin') ;

    =3D }

 

message.inc:

$messages['firstlogin'] =3D3D = =3D 'This appears to be your first login.  First login's may take a while if =3D you have a large number of messages.  Subsequent login's should be very =3D quick.'

 

However, due to the way rcmail_login's envoked, show_message does't appear to be a viable method =3D for displaying the notification.  I'd appreciate any thoughts you might =3D have with regards to this as we think the notification's going to be important in =3D our deployment.  Perhaps this is something "simple" that =3D could be added to the main branch?

 

Thanks in advance for any =3D assistance you can offer.

John.

 

 

------=3D_NextPart_000_0012_01C5EEB4.955CD460-- --===============7335404689031583136== Content-Type: multipart/alternative Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="attachment.bin" MIME-Version: 1.0 Q2FuJ3QgcmV0cmlldmUgY29udGVudDogJ211bHRpcGFydC9hbHRlcm5hdGl2ZSc= --===============7335404689031583136==--