What do you mean by show all folders by default? They are showed by default :S
How to show all folders by default?
Is there a option in main.inc.php or other place?
Thanks!
What do you mean by show all folders by default? They are showed by default :S
New VPS for just 9,99!
Flosoft.biz
im using cvs-20060413, by default, it's show Inbox only, every user need adjust the option in "settings >> folder" when first log in.Originally Posted by flosoft
is these option value save to DB or cookie?
Try to upgrade to a SVN Version.
There it works normally.
New VPS for just 9,99!
Flosoft.biz
sorry, cvs-20060505 won't work correctly as cvs-20060413, every folder is empty!
HELLO,
if you want to show all the folders by default, you should do this:
edit the file : roundcubemail/program/include/main.inc
in line 464
else if ($CONFIG['auto_create_user'])
{
$user_id = rcmail_create_user($user, $host);
}
Just add these two statements befere $user_id = rcmail_create_user($user, $host);
$IMAP->create_mailbox($CONFIG['sent_mbox'], TRUE);
$IMAP->create_mailbox($CONFIG['trash_mbox'], TRUE);
it should look like this:
else if ($CONFIG['auto_create_user'])
{
$IMAP->create_mailbox($CONFIG['sent_mbox'], TRUE);
$IMAP->create_mailbox($CONFIG['trash_mbox'], TRUE);
$user_id = rcmail_create_user($user, $host);
}
If you do this, now any new user login will see the all folders by default but not an existing user.
That's it.
Best wishes.![]()
Thanks!Originally Posted by redrose
but it will only show "sent" and "trash" folders? i using webcyradm, and create user with "Sent","Draft","Trash","Junk" folders.
you can make any folders you wish just add another string with whatever name you want.
maybee he is meaning the same problem as I have.
I have quite some amount of folders but by default I am not subscribed to the folders.
I didn't find any seting that would allow me to show all folders not only subscribed ones.
and I realy don't want to sit in front of the folder screen and click an all folders to subscribe to them (I think there are more then 100)
There are currently 1 users browsing this thread. (0 members and 1 guests)