I have just made available my first EE extension. You can read all about in on my website, but the short version is that it allows you to show a message to your users periodically on login (every session, every week, every year, etc.). I am using this on a client site to display the terms of use to members upon their first login. It also has the capability to track users either by User ID or by individual computer (using cookies), so it several people use the same login credentials they will each see the message.
Please pass on any bugs you find or improvements/requests you see. I will do my best to help. Visit my site for details or download the extension directly.
I have to admit that I haven’t looked at the code for this extension since last year, so I’m not sure what the problem might be. I assume that you did enable the extension and changed the settings as appropriate? You need to enter either a url to redirect to or message text, otherwise nothing will happen.
Let me know if that helps, or if you can give me any more detail on your EE version and extension settings.
Do you have any other extensions installed that could be interfering? Given the way Roadblock works this seems unlikely, but I’m sure it’s possible.
Oh, one thing that I just realized may not have been clear: this only shows the message when a user logs on in the frontend (a template that includes the {exp:member:login_form} tag). You will never see a message when logging in to the Control Panel. Is that the issue, by chance?
I did take into account everything you mentioned, I think the problem is likely that I am conflicting with another extension. Not a conflict in the code but I think there’s another extension in my routine that controls user login. I’ll sort it out and let you know.
Thanks for the responses. I do appreciate your help.
The conflict doesn’t seem to be a coding one. I have the Twomile Login Redirect plugin installed and I think that’s over-riding Roadblock’s redirect.
It would be great to combine the two addons. They don’t do the same thing exactly, Twomile’s has a greater degree of control for login redirects, but the Roadblock approach and concept (custom message) would be an awesome addition to it’s functionality.
Thanks again for sharing the plugin and your time/thoughts.
Wecreateyou-
Okay, I finally got around to adding the option to redirect to another url of you choosing when the roadblock is not shown (skipping the “logged in” system message). I have to admit I haven’t tested it super-thoroughly, so definitely let me know if you find any bugs (that said, there is very little new code from the last version, so it should be fairly stable).
Hope this fixes your problems! Tell me if it doesn’t.
Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.