+ Reply to Thread
Results 1 to 3 of 3

Thread: Summary Plugin misfeature

  1. #1
    Granada is offline Registered User
    Join Date
    Jan 2010
    Posts
    34
    Downloads
    0
    Uploads
    0

    Default Summary Plugin misfeature

    Hello everyone,

    I find it quite annoying to see the motd-plugin (aka plugin.summary) redirect to itself even after one does no longer want to see the motd. This leads to an error "mailbox empty" while no mailbox is selected after loggin into RC.
    I added the following diff to summary.php to redirect to INBOX when the user has set nosummary:

    62a63,66
    > else {
    > header('Location: ./?_task=mail&_mbox=INBOX');
    > die;
    > }
    89a94,95
    > header('Location: ./?_task=mail&_mbox=INBOX');
    > die;

    Regards
    Ruediger

  2. #2
    rosali's Avatar
    rosali is offline Super Moderator
    Join Date
    Dec 2007
    Location
    Germany
    Posts
    2,394
    Downloads
    36
    Uploads
    0

    Default

    Regards,
    Rosali

    __________________
    MyRoundcube Project http://myroundcube.googlecode.com
    MyRoundcube Online Demo - Free Email Address http://mail4us.net
    MyRoundcube Plugins Generic Installation Guide http://mail4us.net/myroundcube/index.php
    Mailing List http://mail4us.net/?_action=plugin.nabble

  3. #3
    Granada is offline Registered User
    Join Date
    Jan 2010
    Posts
    34
    Downloads
    0
    Uploads
    0

    Default

    Hi Robert,

    thank you for the quick update and for the more elegant way to set the appropriate variables. I quickly chose the header()-way as it was done in function login_after(), but using $rcmail->output->redirect() is far more elegant. Great!

    Regards
    Ruediger

+ 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