Got this in a private message on the forums. Thought I'd pass it along:
You and the rest of the team are doing a great job.
This might not be the right way to send this information but I have
posted about this before with no results, so here it is for You and
the rest of the team to do whatever You want with.
My improvements to the identity section.
The easy one is about the sort order in the indentity list.
Code:
/program/steps/settings/func.inc
function rcmail_indentities_list.....
// get contacts from DB
ORDER BY standard DESC,
name ASC,
email ASC // this one is new....
The second one is a bit more. It improves the identity section in two ways.
1. You can NOT add an identity 'outside' your own domain. That is if
You are logged in as 'mail(a)gunfro.com' You could only add identities
to that domain.
2. You can NOT add an identity if it already exists in the domain. The
domain You are logged into.
I made this in one chunk so it easier to add. It might be better to
put the code more where it belongs, hope You get my point.
Code:
/program/steps/settings/save_identities.php
// check input
if (empty($_POST['_name']) || empty($_POST['_email']))
{
$OUTPUT->show_message('formincomplete', 'warning');
rcmail_overwrite_action('edit-identitiy');
return;
}
//*********************************************************************
// MOD GUNFRO START
$newa = explode("@", $_POST['_email']);
$curr = explode("@", $_SESSION['username']);
// Check valid domain.
if ($newa[1] != $curr[1])
{
$OUTPUT->show_message('domainnotvalid', 'warning');
rcmail_overwrite_action($_framed ? 'edit-identity' : 'identities');
return;
}
// Check if changing email and it exits.
if ($_POST['_iid'])
{
$DB->query("SELECT * FROM ".get_table_name('identities')."
WHERE identity_id=?
AND del<>1",
$_POST['_iid']);
$curri = $DB->fetch_assoc();
if ($curri['email'] <> $_POST['_email'])
{
$DB->query("SELECT * FROM ".get_table_name('identities')."
WHERE email=?
AND del<>1",
$_POST['_email']);
if ($DB->fetch_assoc() != NULL)
{
$OUTPUT->show_message('emailexists', 'warning');
rcmail_overwrite_action($_framed ? 'edit-identity' : 'identities');
return;
}
}
} else { // Just new a identity
$DB->query("SELECT * FROM ".get_table_name('identities')."
WHERE email=?
AND del<>1",
$_POST['_email']);
if ($DB->fetch_assoc() != NULL)
{
$OUTPUT->show_message('emailexists', 'warning');
rcmail_overwrite_action($_framed ? 'edit-identity' : 'identities');
return;
}
}
// MOD GUNFRO END
//*********************************************************************
// update an existing contact
if ($_POST['_iid'])
That was my contribution for now.
Best regards
Gunnar Frödin / GunFro
--
~ Brett Patterson
_______________________________________________
List info: http://lists.roundcube.net/dev/
Hi,
I translated RoundCube to Esperanto; see attachment.
Andreas
--- 8< --- detachments --- 8< ---
The following attachments have been detached and are available for viewing.
http://detached.gigo.com/rc/YJ/Ad9KsuC0/eo.tar.gz
Only click these links if you trust the sender, as well as this message.
--- 8< --- detachments --- 8< ---
_______________________________________________
List info: http://lists.roundcube.net/dev/
Please find attached an up-to-date version of the French localisation.
Best regards.
Jonathan Ernst
--- 8< --- detachments --- 8< ---
The following attachments have been detached and are available for viewing.
http://detached.gigo.com/rc/sH/75tKS+7D/fr.tar.gz
Only click these links if you trust the sender, as well as this message.
--- 8< --- detachments --- 8< ---
_______________________________________________
List info: http://lists.roundcube.net/dev/
On Wed, 26 Sep 2007 17:34:03 +0200, "Thomas Bruederli"
<roundcube(a)gmail.com> wrote:
> 2007/9/26, Robin Elfrink <elfrink(a)introweb.nl>:
>> Thomas Bruederli wrote:
>>
>> > My folders are all top-level and $IMAP->delimiter is empty. The
>> > resulting expression is /.*/ which removes all characters from the
>> > folder name. I'd suggest to split the folder name by the delimiter and
>> > then use the last array index (which would be 0 in my case).
>>
>> An empty delimiter. Never thought of that. Okay, fixed.
>
> I tested it on my Mac (IMAP daemon from Postfix Enabler which is
> derived from UW-IMAP) and added a default delimiter (r824). The server
> did not define any and exploding a string by NULL results in an empty
> array.
>
I might be wrong about this, but about the time this 'fix' got in, my
folder list doesn't nest folders anymore.
Folder
Folder.Subfolder
-instead of-
Folder
Subfolder
How can I set the delimiter(.) again? I'm on r851/Dovecot-imapd btw.
-H-
> Sorry for bitching again but there are still some issues (see
> http://trac.roundcube.net/trac.cgi/ticket/1457344#comment:12) which
> should be solved before we can consider this feature as completed.
>
> ~Thomas
> _______________________________________________
> List info: http://lists.roundcube.net/dev/
_______________________________________________
List info: http://lists.roundcube.net/dev/
Hi
Updated Persian translation is attached.
P.S. I read about people having to confirm the translations, if it's done like this, tell me how exactly they should confirm. (because I do know some friends and others who use RoundCube with Persian language)
Regards
Ardnoosh
---------------------------------
Pinpoint customers who are looking for what you sell.
--- 8< --- detachments --- 8< ---
The following attachments have been detached and are available for viewing.
http://detached.gigo.com/rc/cf/GP4UXk7N/labels.inchttp://detached.gigo.com/rc/cf/GP4UXk7N/messages.inc
Only click these links if you trust the sender, as well as this message.
--- 8< --- detachments --- 8< ---
_______________________________________________
List info: http://lists.roundcube.net/dev/
I have installed rc the latest from the website. I just get a blank page. My error log says:
[02-Oct-2007 12:07:27] PHP Fatal error: Call to a member function on a non-object in /home/brentadv/public_html/rc/program/include/rcube_db.inc on line 366
[02-Oct-2007 12:35:45] PHP Fatal error: Call to a member function on a non-object in /home/brentadv/public_html/rc/program/include/rcube_db.inc on line 366
[02-Oct-2007 12:36:45] PHP Fatal error: Call to a member function on a non-object in /home/brentadv/public_html/rc/program/include/rcube_db.inc on line 366
Line 366 says:
return "now()";
:s but I don't think it's that.
Also I couldn't work out how to do this in cpanel. I have already set up my database with correct username and pass.
Database Setup
While we're uploading (or after we're done) we have one final step to do before we can start using Roundcube. We need to set up our database. Open your website control panel. You first need to create a database and user with the information we decided earlier. Then add that user to the database. Next we execute the SQL file found in the "/SQL/" directory in Roundcube that is named: "*.initial.sql" where * is your database backend type (mySQL, PostgreSQL, SQLite).
For example with mysql enter the following code on the command line:
mysql --user=(your_db_user_name) -p (your_db_name) < mysql.initial.sql
=
--
Powered By Outblaze
_______________________________________________
List info: http://lists.roundcube.net/dev/
Hi there,
I've just tested RoundCube, and feel that's great, because simply is the
best. After used some hours, I have some suggestions and a bug want to
report.
Suggestions:
1. After deleted a message, wish it will select next message by auto
for easy deletion by keyboard. (Because if every time need to use mouse
click maybe too slow.?)
Bugs?
1. When loading the list of messages, the icon background always in
gray, and change to white. The row height also changing on that moment.
Thanks for your great tools.
Best regards,
anDY
_______________________________________________
List info: http://lists.roundcube.net/dev/