Question

I'm trying to show a different frontpage to users of a specific role, using the Front Page module (version 6.x-2.0-rc1) in alias mode. This works fine for users that are already logged in, but the problematic point now is that I'm also using the IP Login module (version 6.x-1.2) to log in certain users based on their IP address. This login seems to work differently from the usual login via the /user page.

Those users that are logged in via IP, they first get the normal frontpage that anonymous users get, they are not redirected automatically to the special frontpage I defined using the Frontpage module. If they reload the frontpage they are already logged in now and they see the special frontpage as intended.

The usual ways of using the Rules module or the Login Redirect module to redirect the users after they login just don't work, the users are not getting redirected when they are logged in via IP address.

Any ideas on how I could work around this problem, so that users logged in via IP see the special, redirected frontpage directly after openening the page?

Was it helpful?

Solution

As mentioned by charan in a comment, this works in version 6.x-2.0-rc1 of the IP Login module.

OTHER TIPS

I had similar issues when using the Secure Pages module. I tried the Login redirect module, without success; I have finally found the Login/Logout Destinations module which worked perfectly (and still does).

This module adds the destination back to the current page with JavaScript and checks to make sure the user has access before trying to have the user stay there on logout.

Licensed under: CC-BY-SA with attribution
Not affiliated with drupal.stackexchange
scroll top