Author Topic: Redirect logout page  (Read 4153 times)

Offline ljimber

  • Newbie
  • *
  • Posts: 2
Redirect logout page
« on: February 03, 2011, 11:36:21 AM »
I know I know, there seems to be a bunch of threads on this but none of them are working for me!

I have a plain install of roundcube-0.5.r_1,1 on a FreeBSD box.

I would like to simply have users click the "Logout" button and then redirected to a webpage other then the RC login page again. I really don't want to install the myroundcube plugin. Where is the page that tell "Logout" to point to the login page? Can't I just tweak that to point to some other http address?

I tried the adding the hacks to the Header of login.html and I just get refreshed pages.

I was really surprised not to see this in config file!

Cheers,

Lee

Offline SKaero

  • Administrator
  • Hero Member
  • *****
  • Posts: 5,876
    • SKaero - Custom Roundcube development
Redirect logout page
« Reply #1 on: February 03, 2011, 12:01:33 PM »
Why don't you just use the myroundcube plugin? All you have to do to install it is upload the folder, add the plugin to the config and set the url. Its way fast then any core code hack will ever be.

Offline ljimber

  • Newbie
  • *
  • Posts: 2
Redirect logout page
« Reply #2 on: February 03, 2011, 12:51:09 PM »
Thanks for the quick reply.

I revisited the myroundcube plugin.

Steps to install myrc and configure the logout_redirect script.
1.unzip trunk-r-4408.zip
2. mv logout_redirect ../../../
3. cp config.inc.php.dist config.inc.php
4. vi config.inc.php
5. vi ~rc/plugins/config/

or

vi main.inc.php
tweak redirect line.

It's working but this process could be so much easier with less bloat.

Cheers,

Lee

Offline dshepherd

  • Jr. Member
  • **
  • Posts: 87
Redirect logout page
« Reply #3 on: February 04, 2011, 04:15:03 AM »
Following on from Skaero's comment, another good reason for using the plugin is that you won't need to modify the core code each time you upgrade to a newer version.

Offline maxhamt

  • Newbie
  • *
  • Posts: 1
Redirect logout page
« Reply #4 on: April 02, 2011, 05:48:16 PM »
Where do I download it?

Offline SKaero

  • Administrator
  • Hero Member
  • *****
  • Posts: 5,876
    • SKaero - Custom Roundcube development
Redirect logout page
« Reply #5 on: April 03, 2011, 12:19:48 AM »

Offline xeditor

  • Newbie
  • *
  • Posts: 7
Redirect logout page
« Reply #6 on: May 31, 2011, 07:11:51 AM »
This would be a great function.
Just followed the config here and copied the folder logout_redirect to the plugin folder and added the name in the plugin array in main....
I can't see or make it work, nothing happens. I use trunk 4807 and I guess this is the problem.
It would be great if someone could confirm this.