Gossamer Forum
Home : Products : Gossamer Forum : Discussion :

Re: [ArmyAirForces] Gossamer Forum 1.1.7 Released

Quote Reply
Re: [ArmyAirForces] Gossamer Forum 1.1.7 Released In reply to
There are two %s's in the variable - the first gets the e-mail, the second gets the username.

I'd do it using a global like this:

In the template, inside <%loop errors%>, just after <%error%>, add this:

<%if error contains 'has already been used with another username'%> - <%show_existing($user_email)%><%endif%>

The "show_existing" global is going to be:

sub { my $email = shift; my $username = $DB->table('User')->select(user_username => { user_email => $email })->fetchrow; return \(qq|<a href="gforum.cgi?do=lost_password;user_username=| . $IN->escape($username) . qq|">Click here to e-mail your password</a>|); }

Jason Rhinelander
Gossamer Threads
jason@gossamer-threads.com
Subject Author Views Date
Thread Gossamer Forum 1.1.7 Released Jagerman 13610 Jul 11, 2002, 3:00 PM
Thread Moving trails aren't working
ellipsiiis 12946 Jul 11, 2002, 4:34 PM
Post Re: [ellipsiiis] Moving trails aren't working
Jagerman 12830 Jul 11, 2002, 4:37 PM
Thread Re: [ellipsiiis] Moving trails aren't working
Jagerman 12904 Jul 11, 2002, 4:39 PM
Post Re: [Jagerman] Moving trails aren't working
ellipsiiis 12815 Jul 11, 2002, 4:42 PM
Thread Re: [Jagerman] Gossamer Forum 1.1.7 Released
ArmyAirForces 12966 Jul 11, 2002, 4:41 PM
Post Re: [ArmyAirForces] Gossamer Forum 1.1.7 Released
backdream 12729 Jul 12, 2002, 12:54 AM
Thread Re: [Jagerman] Gossamer Forum 1.1.7 Released
yogi 12934 Jul 12, 2002, 12:56 AM
Thread Re: [yogi] Gossamer Forum 1.1.7 Released
Jagerman 13105 Jul 12, 2002, 9:49 AM
Post Re: [Jagerman] Gossamer Forum 1.1.7 Released
yogi 12638 Jul 12, 2002, 10:38 PM
Post Re: [Jagerman] Gossamer Forum 1.1.7 Released
yogi 12781 Jul 12, 2002, 3:31 AM
Thread Post deleted by ArmyAirForces
ArmyAirForces 12803 Jul 12, 2002, 6:48 AM
Post Post deleted by ArmyAirForces
ArmyAirForces 12762 Jul 12, 2002, 6:49 AM
Thread Re: [Jagerman] Gossamer Forum 1.1.7 Released
ArmyAirForces 12807 Jul 12, 2002, 10:13 AM
Thread Re: [ArmyAirForces] Gossamer Forum 1.1.7 Released
Jagerman 12827 Jul 12, 2002, 11:20 AM
Thread Re: [Jagerman] Gossamer Forum 1.1.7 Released
yogi 12710 Jul 13, 2002, 6:52 AM
Post Re: [yogi] Gossamer Forum 1.1.7 Released
Jagerman 12719 Jul 14, 2002, 12:11 PM
Thread Re: [Jagerman] Gossamer Forum 1.1.7 Released
ArmyAirForces 12991 Jul 12, 2002, 10:29 AM
Thread Re: [ArmyAirForces] Gossamer Forum 1.1.7 Released
Jagerman 12939 Jul 12, 2002, 10:32 AM
Post Re: [Jagerman] Gossamer Forum 1.1.7 Released
ArmyAirForces 12730 Jul 12, 2002, 11:02 AM
Thread Re: [Jagerman] Gossamer Forum 1.1.7 Released
ArmyAirForces 12940 Jul 13, 2002, 6:13 AM
Thread Re: [ArmyAirForces] Gossamer Forum 1.1.7 Released
ArmyAirForces 12742 Jul 15, 2002, 10:08 AM
Thread Re: [ArmyAirForces] Gossamer Forum 1.1.7 Released
ellipsiiis 12972 Jul 15, 2002, 10:11 AM
Post Re: [ellipsiiis] Gossamer Forum 1.1.7 Released
ArmyAirForces 12675 Jul 15, 2002, 10:17 AM
Thread Re: [ellipsiiis] Gossamer Forum 1.1.7 Released
ArmyAirForces 12688 Jul 15, 2002, 11:02 AM
Thread Re: [ArmyAirForces] Gossamer Forum 1.1.7 Released
ellipsiiis 8437 Jul 15, 2002, 11:21 AM
Post Re: [ellipsiiis] Gossamer Forum 1.1.7 Released
ArmyAirForces 8378 Jul 15, 2002, 11:56 AM
Thread Re: [ellipsiiis] Gossamer Forum 1.1.7 Released
ArmyAirForces 8476 Jul 15, 2002, 12:02 PM
Thread Re: [ArmyAirForces] Gossamer Forum 1.1.7 Released
ellipsiiis 8503 Jul 15, 2002, 5:39 PM
Post Re: [ellipsiiis] Gossamer Forum 1.1.7 Released
ArmyAirForces 8395 Jul 16, 2002, 11:40 AM
Thread This something to ask our DBA about or...?
agaffin 8366 Jul 19, 2002, 9:42 AM
Thread Re: [agaffin] This something to ask our DBA about or...?
Jagerman 8361 Jul 26, 2002, 12:26 PM
Thread Re: [Jagerman] This something to ask our DBA about or...?
fulcan 8241 Apr 20, 2003, 6:06 AM
Thread Re: [fulcan] This something to ask our DBA about or...?
Paul 8254 Apr 20, 2003, 6:15 AM
Thread Re: [Paul] This something to ask our DBA about or...?
fulcan 8303 Apr 20, 2003, 6:25 AM
Post Re: [fulcan] This something to ask our DBA about or...?
Paul 8306 Apr 20, 2003, 7:03 AM
Thread Re: [fulcan] This something to ask our DBA about or...?
Jagerman 8281 Apr 20, 2003, 4:05 PM
Thread Re: [Jagerman] This something to ask our DBA about or...?
fulcan 8300 Apr 20, 2003, 5:15 PM
Thread Re: [fulcan] This something to ask our DBA about or...?
Jagerman 8418 Apr 20, 2003, 7:59 PM
Thread Re: [Jagerman] This something to ask our DBA about or...?
fulcan 8290 Apr 21, 2003, 12:08 AM
Thread Re: [fulcan] This something to ask our DBA about or...?
Jagerman 8310 Apr 21, 2003, 12:45 AM
Thread Re: [Jagerman] This something to ask our DBA about or...?
fulcan 8233 Apr 22, 2003, 5:15 AM
Thread Re: [fulcan] This something to ask our DBA about or...?
Jagerman 8202 Apr 22, 2003, 2:43 PM
Thread Re: [Jagerman] This something to ask our DBA about or...?
fulcan 8394 Apr 23, 2003, 4:27 AM
Thread Re: [fulcan] This something to ask our DBA about or...?
Jagerman 8294 Apr 23, 2003, 5:01 AM
Post Re: [Jagerman] This something to ask our DBA about or...?
fulcan 8158 Apr 23, 2003, 5:56 AM