RoundCube Webmail Forum  

Go Back   RoundCube Webmail Forum > Release Support > Older Versions > 0.1 Beta 1

For more information about the ads and why they're here, please see the FAQ

Reply
  #1  
Old 07-02-2006, 12:56 PM
Member
 
Join Date: Jun 2006
Posts: 41
Default How to show all folders by default?

How to show all folders by default?
Is there a option in main.inc.php or other place?

Thanks!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2  
Old 07-02-2006, 01:23 PM
flosoft's Avatar
Administrator
 
Join Date: Jun 2006
Location: Brussels, Belgium
Posts: 349
Send a message via ICQ to flosoft Send a message via AIM to flosoft Send a message via MSN to flosoft
Default Re: How to show all folders by default?

What do you mean by show all folders by default? They are showed by default :S
__________________
New VPS for just 9,99!
Flosoft.biz
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3  
Old 07-03-2006, 06:48 AM
Member
 
Join Date: Jun 2006
Posts: 41
Default Re: How to show all folders by default?

Quote:
Originally Posted by flosoft
What do you mean by show all folders by default? They are showed by default :S
im using cvs-20060413, by default, it's show Inbox only, every user need adjust the option in "settings >> folder" when first log in.

is these option value save to DB or cookie?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4  
Old 07-03-2006, 09:39 AM
flosoft's Avatar
Administrator
 
Join Date: Jun 2006
Location: Brussels, Belgium
Posts: 349
Send a message via ICQ to flosoft Send a message via AIM to flosoft Send a message via MSN to flosoft
Default Re: How to show all folders by default?

Try to upgrade to a SVN Version.
There it works normally.
__________________
New VPS for just 9,99!
Flosoft.biz
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5  
Old 07-04-2006, 07:00 AM
Member
 
Join Date: Jun 2006
Posts: 41
Default Re: How to show all folders by default?

sorry, cvs-20060505 won't work correctly as cvs-20060413, every folder is empty!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #6  
Old 07-04-2006, 08:42 AM
Registered User
 
Join Date: Jun 2006
Posts: 2
Default Re: How to show all folders by default?

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.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #7  
Old 07-05-2006, 02:03 AM
Member
 
Join Date: Jun 2006
Posts: 41
Default Re: How to show all folders by default?

Quote:
Originally Posted by redrose
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.
Thanks!
but it will only show "sent" and "trash" folders? i using webcyradm, and create user with "Sent","Draft","Trash","Junk" folders.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #8  
Old 07-05-2006, 04:58 AM
Registered User
 
Join Date: Jun 2006
Posts: 37
Default Re: How to show all folders by default?

you can make any folders you wish just add another string with whatever name you want.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #9  
Old 08-23-2006, 08:17 PM
Registered User
 
Join Date: Aug 2006
Posts: 6
Send a message via Yahoo to dracula
Default Re: How to show all folders by default?

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)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT. The time now is 02:33 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.0
Copyright © 2006-2008 RoundCube Webmail Community