Gossamer Forum
Quote Reply
Plugin help
Hi,

I'm trying to write a very simple plugin to choose the login success page. This variable is defined in Login.pm in the login_user sub:

my $goto = shift || 'login_success';

The problem I have is that there are no arguments sent to the user_login hook so how can I change the value of the $goto variable?

Thanks for any help.

Laura.
The UK High Street
Quote Reply
Re: [afinlr] Plugin help In reply to
Hi Laura,

Is this in connection with the user login questions in User Monitor by any chance?


http://www.iuni.com/...tware/web/index.html
Links Plugins

Last edited by:

Ian: Jul 14, 2002, 11:38 AM
Quote Reply
Re: [afinlr] Plugin help In reply to
Also, the login success page can be determined by adding success page URL to the login link. I am not exactly sure if this is what you are wanting to do, but I posted an example in the UM thread I think...

Do you really need a plug-in to do this?


http://www.iuni.com/...tware/web/index.html
Links Plugins

Last edited by:

Ian: Jul 14, 2002, 11:43 AM
Quote Reply
Re: [Ian] Plugin help In reply to
Yes it is for the UserMonitor - I think our replies crossed. I can't see a way to get the username in the redirect url. Maybe I need to have another think about this.

Its just annoying me that I can't get it to work as a plugin - seems so simple!

Laura.
The UK High Street
Quote Reply
Re: [afinlr] Plugin help In reply to
I'll answer the problem in the User Monitor thread, as It might be related... I am just waiting for my server to come back on-line... it just went downFrown.


http://www.iuni.com/...tware/web/index.html
Links Plugins
Quote Reply
Re: [Ian] Plugin help In reply to
Too many plugin downloads...again!Tongue
Quote Reply
Re: [Teambldr] Plugin help In reply to
Yeah, I wish!


http://www.iuni.com/...tware/web/index.html
Links Plugins
Quote Reply
Re: [Ian] Plugin help In reply to
Ahh....so it was paid plugin users upgrading their versions then!



That makes sense!Cool