Author Topic: [FIX] - member.php lostpassword email  (Read 11609 times)

0 Members and 1 Guest are viewing this topic.

Offline thunderstrike

  • 4images Guru
  • *******
  • Posts: 2.327
    • View Profile
[FIX] - member.php lostpassword email
« on: October 20, 2007, 01:18:08 PM »
This show user name and site name with text format.

Find:

Quote
$site_email->register_vars(array(
        "user_name" => $checkuser[$user_table_fields['user_name']],
        "user_password" => stripslashes($user_password),
        "site_name" => $config['site_name']
));

Replace:

Code: [Select]
$site_email->register_vars(array(
        "user_name" => format_text(trim($checkuser[$user_table_fields['user_name']]), 2),
        "user_password" => stripslashes($user_password),
        "site_name" => format_text(trim($config['site_name']), 2)
));
« Last Edit: October 21, 2007, 02:26:16 PM by thunderstrike »
8 steps need when ask question -

- PHP version (ACP - > phpinfo())
- mySQL version (ACP - > phpinfo())
- 4images version
- Post screenshot / URL
- Post code in BB Code (no need full file for code) or post attach file
- It doesn't work. What is say - what is do for no work
- Install MOD ? If so - please say (troubleshooting)
- Read FAQ ? Install Bug fixes ?

Offline Kurman

  • Newbie
  • *
  • Posts: 42
    • View Profile
    • www.kurman.ru
Re: [FIX] - member.php lostpassword email
« Reply #1 on: August 23, 2009, 12:48:13 PM »
Thanks, very usefull fix.

I've recieved many feedback about lost usernames  from members.
by the lostpassword they can recover lostpasswords, but if they forgot login, they can't recover.

After this fix, of course they will recieve they login too.

I think this fix should be applied to core 4images code. For the present lostpassword service is not full, if there login cannot be recovered.
4images running as a music portal http://music.kurman.ru/

Offline V@no

  • If you don't tell me what to do, I won't tell you where you should go :)
  • Global Moderator
  • 4images Guru
  • *****
  • Posts: 17.849
  • mmm PHP...
    • View Profile
    • 4images MODs Demo
Re: [FIX] - member.php lostpassword email
« Reply #2 on: August 24, 2009, 03:19:35 AM »
Thanks, very usefull fix.

I've recieved many feedback about lost usernames  from members.
by the lostpassword they can recover lostpasswords, but if they forgot login, they can't recover.

After this fix, of course they will recieve they login too.

I think this fix should be applied to core 4images code. For the present lostpassword service is not full, if there login cannot be recovered.

are you sure? this fix has nothing to do with what you've described..
Your first three "must do" before you ask a question:
Please do not PM me asking for help unless you've been specifically asked to do so. Such PMs will be deleted without answer. (forum rule #6)
Extension for Firefox/Thunderbird: Master Password+    Back/Forward History Tweaks (restartless)    Cookies Manager+    Fit Images (restartless for Thunderbird)

Offline Weddings

  • Spam suspect
  • Pre-Newbie
  • Posts: 1
  • Wedding Photography
    • View Profile
Re: [FIX] - member.php lostpassword email
« Reply #3 on: September 08, 2009, 04:52:01 PM »
 :D Great, we needed this fix!
Wedding Videos - Watch real wedding videos from couples just like you.  From cutting edge wedding ideas to budgeting shortcuts.

Offline david.kissinger3

  • Pre-Newbie
  • Posts: 2
    • View Profile
Re: [FIX] - member.php lostpassword email
« Reply #4 on: December 27, 2009, 11:28:00 AM »
HELLO, I HAVE RECEIVED SO MANY FEED BACKS  ABOUT THE LOST USER NAMES, HOW CAN I GET A NEW ONE, PLEASE TELL ME.

 Fitness Plan