FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » FUDforum » FUDforum Installation Issues » path_info and confirm emails
Show: Today's Messages :: Polls :: Message Navigator
Switch to threaded view of this topic Create a new topic Submit Reply
path_info and confirm emails [message #17488] Wed, 31 March 2004 21:39 Go to next message
mocara is currently offline  mocara   United Kingdom
Messages: 157
Registered: January 2004
Karma: 0
Senior Member
If I am using path_info and I get a reg email ling of
http://www.stockingshq.com/newforum/index.php?T=emailconf&conf_key=some number

Will that still work? It seem to do nothing and just send me to the main forum page.

Pais.
Re: path_info and confirm emails [message #17489 is a reply to message #17488] Wed, 31 March 2004 21:49 Go to previous messageGo to next message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
That will still work.

Redirection to the front page is the default behavior and the account should now be confirmed.


FUDforum Core Developer
Re: path_info and confirm emails [message #17490 is a reply to message #17488] Wed, 31 March 2004 21:49 Go to previous messageGo to next message
mocara is currently offline  mocara   United Kingdom
Messages: 157
Registered: January 2004
Karma: 0
Senior Member
Accounts were not getting confirmed

I see the problem now
T= instead of t=

where is this getting set?

[Updated on: Wed, 31 March 2004 21:50]

Report message to a moderator

Re: path_info and confirm emails [message #17491 is a reply to message #17490] Wed, 31 March 2004 21:54 Go to previous messageGo to next message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
It is defined inside the msg file for the language that you are using. I just did a grep on my sources and 't' is used everywhere, I see no instances of 'T', so if you have 'T' used that's your problem.
Re: path_info and confirm emails [message #17492 is a reply to message #17491] Wed, 31 March 2004 22:01 Go to previous messageGo to next message
mocara is currently offline  mocara   United Kingdom
Messages: 157
Registered: January 2004
Karma: 0
Senior Member
This is a lesson to learn here. Never ever give your business partner the msg file to edit the wording as he wants.

Oh yes, he used word and it played all kinds of automatic havoc with the file. Adding "s and converting lower to uppercase and vice versa.

Oh the joy. Be warned all! Rolling Eyes
Re: path_info and confirm emails [message #17493 is a reply to message #17492] Wed, 31 March 2004 22:18 Go to previous messageGo to next message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
Ah... those ' probably would explain some of the blank pages you've been seeing (likely the result of parse errors) etc...
Re: path_info and confirm emails [message #17494 is a reply to message #17493] Wed, 31 March 2004 22:24 Go to previous messageGo to next message
mocara is currently offline  mocara   United Kingdom
Messages: 157
Registered: January 2004
Karma: 0
Senior Member
They were happening before he did that Smile

One more thing. reset emails now have

{ROOT}?t=reset&reset_key=90bc4230136e8d365984ccaf94f01c0c
instead of the proper url.

can't find t=reset in msg file

Thanks.
Pais
Re: path_info and confirm emails [message #17495 is a reply to message #17494] Wed, 31 March 2004 22:29 Go to previous messageGo to next message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
Looks inside the *.tmpl files inside the tmpl/ directory.
Re: path_info and confirm emails [message #17496 is a reply to message #17495] Wed, 31 March 2004 22:33 Go to previous messageGo to next message
mocara is currently offline  mocara   United Kingdom
Messages: 157
Registered: January 2004
Karma: 0
Senior Member
Only place I could find it was in the src Sad


Pais.
Re: path_info and confirm emails [message #17497 is a reply to message #17496] Wed, 31 March 2004 22:37 Go to previous messageGo to next message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
You didn't look hard enough then.

A simple grep reveleas that t=reset can be found inside:
msg, login.tmpl reset.tmpl, messages, usermaintance.hlp files.
Re: path_info and confirm emails [message #17498 is a reply to message #17497] Wed, 31 March 2004 22:40 Go to previous messageGo to next message
mocara is currently offline  mocara   United Kingdom
Messages: 157
Registered: January 2004
Karma: 0
Senior Member
Slap me very hard. For some reason I was grepping for reset=


!

Re: path_info and confirm emails [message #17560 is a reply to message #17494] Sat, 03 April 2004 23:55 Go to previous messageGo to next message
kokamomi is currently offline  kokamomi   Sweden
Messages: 9
Registered: January 2004
Karma: 0
Junior Member
mocara wrote on Thu, 01 April 2004 00:24


One more thing. reset emails now have

{ROOT}?t=reset&reset_key=90bc4230136e8d365984ccaf94f01c0c
instead of the proper url.



had this problem too when using admin panel to reset user's passwords. changed the following:

--- admuser.php.old     Sun Apr  4 01:44:55 2004
+++ admuser.php Sun Apr  4 01:46:01 2004
@@ -67,7 +67,7 @@
                                $user_theme_name = q_singleval('SELECT name FROM '.$DBHOST_TBL_PREFIX.'themes WHERE '.(!$u->theme ? 'theme_opt=3' : 'id='.$u->theme));
                                q("UPDATE ".$DBHOST_TBL_PREFIX."users SET reset_key='".($reset_key = md5(get_random_value(128)))."' WHERE id=".$u->id);

-                               $url = '{ROOT}?t=reset&reset_key='.$reset_key;
+                                $url = $WWW_ROOT . __fud_index_name__ . '?t=reset&reset_key='.$reset_key;
                                include_once($INCLUDE . 'theme/' . $user_theme_name . '/rst.inc');
                                send_email($NOTIFY_FROM, $u->email, $reset_newpass_title, $reset_reset, "");
                        }
Re: path_info and confirm emails [message #17561 is a reply to message #17560] Sun, 04 April 2004 11:02 Go to previous messageGo to next message
mocara is currently offline  mocara   United Kingdom
Messages: 157
Registered: January 2004
Karma: 0
Senior Member
I had cheated and hardcoded it in because I couldn't figure it out quickly enough and just needed it done.

Thanks for that dude Smile

Pais.
Re: path_info and confirm emails [message #17567 is a reply to message #17560] Sun, 04 April 2004 17:33 Go to previous message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
Fixed in CVS, thanks for the patch.
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: 2.6.1 problem with rdf
Next Topic: blank subjects
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Sun Nov 10 11:59:55 GMT 2024

Total time taken to generate the page: 0.02794 seconds