+ Reply to Thread
Results 1 to 9 of 9

Thread: How to show all folders by default?

  1. #1
    oslad is offline Member
    Join Date
    Jun 2006
    Posts
    41
    Downloads
    0
    Uploads
    0

    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!

  2. #2
    flosoft's Avatar
    flosoft is offline Administrator
    Join Date
    Jun 2006
    Location
    Brussels, Belgium
    Posts
    349
    Downloads
    1
    Uploads
    0

    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

  3. #3
    oslad is offline Member
    Join Date
    Jun 2006
    Posts
    41
    Downloads
    0
    Uploads
    0

    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?

  4. #4
    flosoft's Avatar
    flosoft is offline Administrator
    Join Date
    Jun 2006
    Location
    Brussels, Belgium
    Posts
    349
    Downloads
    1
    Uploads
    0

    Default Re: How to show all folders by default?

    Try to upgrade to a SVN Version.
    There it works normally.

  5. #5
    oslad is offline Member
    Join Date
    Jun 2006
    Posts
    41
    Downloads
    0
    Uploads
    0

    Default Re: How to show all folders by default?

    sorry, cvs-20060505 won't work correctly as cvs-20060413, every folder is empty!

  6. #6
    redrose is offline Registered User
    Join Date
    Jun 2006
    Posts
    2
    Downloads
    0
    Uploads
    0

    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.

  7. #7
    oslad is offline Member
    Join Date
    Jun 2006
    Posts
    41
    Downloads
    0
    Uploads
    0

    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.

  8. #8
    digitalslave is offline Registered User
    Join Date
    Jun 2006
    Posts
    37
    Downloads
    0
    Uploads
    0

    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.

  9. #9
    dracula is offline Registered User
    Join Date
    Aug 2006
    Posts
    6
    Downloads
    0
    Uploads
    0

    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)

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

     

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts