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
Return to the default flat view Create a new topic Submit Reply
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 previous message
kokamomi is currently offline  kokamomi   Sweden
Messages: 9
Registered: January 2004
Karma:
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, "");
                        }
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: 2.6.1 problem with rdf
Next Topic: blank subjects
Goto Forum:
  

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

Current Time: Thu Nov 28 08:34:47 GMT 2024

Total time taken to generate the page: 0.03984 seconds