Page Index Toggle Pages: [1] 2  Send TopicPrint
Hot Topic (More than 10 Replies) Send Member Password Reminder V0.3 for YaBB 2.5 (Read 4981 times)
Derek Barnstorm
God Member
*****
Offline



Posts: 1146
Location: Warwickshire
Joined: Mar 23rd, 2008
Gender: Male
Send Member Password Reminder V0.3 for YaBB 2.5
Jul 15th, 2010 at 1:27am
Print Post  
Send Member Password Reminder V0.3

Description:
----------------
This Mod will allow Administrators to easily send a password reminder to Members from their profile page.

Credits:
----------
Idea by Moyamoya: http://www.boardmod.org/yabb2/YaBB.pl?num=1272367098

Thanks to Mick (www.info4alien.de) for the German and German_Du Language translations.

Screenshot:
-----------------
Member Profile:


Zip Package:
-----------------
SendMemberPasswordReminder_V0_3.mod
SendMemberPasswordReminder_V0_3_German.mod
SendMemberPasswordReminder_V0_3_German_Du.mod

Installation:
----------------
1) Modify YaBB files using BoardMod or manually.
2) Upload modified files to your server in ASCII mode.

Files to edit:
----------------
Admin/ModList.pl
Languages/English/Profile.lng
Sources/LogInOut.pl
Sources/Profile.pl

Mod History:
-----------------
V0.1 - First release - 30th April 2010
V0.2 - Changed step in mod file so it doesn't conflict with other mods - 30th May 2010
V0.3 - Updated for YaBB 2.5 - 15th July 2010
« Last Edit: Jul 15th, 2010 at 5:57pm by Derek Barnstorm »  

SendMemberPass_v0_3.zip ( 2 KB | Downloads )
Back to top
 
IP Logged
 
chillipepper
Full Member
***
Offline


I love YaBB 1G - SP1.2!

Posts: 189
Joined: Jul 1st, 2008
Gender: Male
Re: Send Member Password Reminder V0.3 for YaBB 2.5
Reply #1 - Nov 4th, 2010 at 1:43am
Print Post  
Tested and workin  Wink
  
Back to top
 
IP Logged
 
Derek Barnstorm
God Member
*****
Offline



Posts: 1146
Location: Warwickshire
Joined: Mar 23rd, 2008
Gender: Male
Re: Send Member Password Reminder V0.3 for YaBB 2.5
Reply #2 - Nov 4th, 2010 at 1:49am
Print Post  
Thanks Chilli! Wink Smiley
  
Back to top
 
IP Logged
 
Moyamoya
New Member
*
Offline


I love YaBB 1G - SP1.2!

Posts: 26
Location: Wichita, KS
Joined: Jun 1st, 2008
Re: Send Member Password Reminder V0.3 for YaBB 2.5
Reply #3 - May 9th, 2011 at 7:51pm
Print Post  
Derek,

Thanks for updating this mod to 2.5!

DJ
  
Back to top
 
IP Logged
 
d1jl
New Member
*
Offline


I love YaBB 2.2.5!

Posts: 24
Location: So. Cal.
Joined: Mar 29th, 2006
Re: Send Member Password Reminder V0.3 for YaBB 2.5
Reply #4 - Aug 12th, 2013 at 4:07pm
Print Post  
I don't understand " why me"?
Others say this mod works.
Very easy to use the mod editor.
It installs all OK.
It looks all correct and seems to act correct.
But it does not actually send the email.

After pushing the send button I get "You are logged in already with the user name:..........

I have tested other email functions and they all work fine.

What did do?

Dave
  
Back to top
 
IP Logged
 
Derek Barnstorm
God Member
*****
Offline



Posts: 1146
Location: Warwickshire
Joined: Mar 23rd, 2008
Gender: Male
Re: Send Member Password Reminder V0.3 for YaBB 2.5
Reply #5 - Aug 12th, 2013 at 4:26pm
Print Post  
Hi Dave,

You're having problems because a lot of these mods are for YaBB 2.5 AE, not 2.5.2. Although you'll find some of them work without problems, others won't because the code has changed.

For this mod to work, open up Sources/LogInOut.pl in a text editor and find:

Code
Select All
sub Reminder2 {
    if (!$FORM{'user'}) { &fatal_error("", "$loginout_txt{'error_user_info'}"); }
    # generate random ID for password reset.
    if (!$iamguest && $sessionvalid == 1) { &fatal_error("logged_in_already",$username); } 


And add in the highlighted:

Code
Select All
sub Reminder2 {
    if (!$FORM{'user'}) { &fatal_error("", "$loginout_txt{'error_user_info'}"); }
    # generate random ID for password reset.
    if (!$iamguest && $sessionvalid == 1 && !$iamadmin) { &fatal_error("logged_in_already",$username); } 



d1jl wrote on Aug 12th, 2013 at 4:07pm:
" why me"?

That's a question I ask myself far too often. Smiley
  
Back to top
 
IP Logged
 
d1jl
New Member
*
Offline


I love YaBB 2.2.5!

Posts: 24
Location: So. Cal.
Joined: Mar 29th, 2006
Re: Send Member Password Reminder V0.3 for YaBB 2.5
Reply #6 - Aug 12th, 2013 at 5:52pm
Print Post  
Thank you Derek
Look at it this way, I am helping you find bugs for the V2.5.2 update.

That fixed the button action, now it does LOOK like it works correctly.
However it still does NOT send the mail.

Dave
  
Back to top
 
IP Logged
 
Derek Barnstorm
God Member
*****
Offline



Posts: 1146
Location: Warwickshire
Joined: Mar 23rd, 2008
Gender: Male
Re: Send Member Password Reminder V0.3 for YaBB 2.5
Reply #7 - Aug 12th, 2013 at 6:15pm
Print Post  
I see no reason why it wouldn't send the email. Is your forum sending out other emails okay? Also check it isn't in your junk box.
  
Back to top
 
IP Logged
 
d1jl
New Member
*
Offline


I love YaBB 2.2.5!

Posts: 24
Location: So. Cal.
Joined: Mar 29th, 2006
Re: Send Member Password Reminder V0.3 for YaBB 2.5
Reply #8 - Aug 12th, 2013 at 6:22pm
Print Post  
The forum is sending out registration, topic notifications, and PMs to the same addresses.

Dave
  
Back to top
 
IP Logged
 
Derek Barnstorm
God Member
*****
Offline



Posts: 1146
Location: Warwickshire
Joined: Mar 23rd, 2008
Gender: Male
Re: Send Member Password Reminder V0.3 for YaBB 2.5
Reply #9 - Aug 12th, 2013 at 6:33pm
Print Post  
And you're getting the email using the normal password reset feature?
  
Back to top
 
IP Logged
 
d1jl
New Member
*
Offline


I love YaBB 2.2.5!

Posts: 24
Location: So. Cal.
Joined: Mar 29th, 2006
Re: Send Member Password Reminder V0.3 for YaBB 2.5
Reply #10 - Aug 12th, 2013 at 8:56pm
Print Post  
Derek Barnstorm wrote on Aug 12th, 2013 at 6:33pm:
And you're getting the email using the normal password reset feature?


No,
These seem to be the only things that don't work.

Dave
  
Back to top
 
IP Logged
 
Derek Barnstorm
God Member
*****
Offline



Posts: 1146
Location: Warwickshire
Joined: Mar 23rd, 2008
Gender: Male
Re: Send Member Password Reminder V0.3 for YaBB 2.5
Reply #11 - Aug 12th, 2013 at 9:06pm
Print Post  
If it's sending other emails out, I don't know why it wouldn't send the password email out. This mod sends the email exactly the same as the normal/user password reset feature does, so it doesn't seem to be an issue with the mod...
  
Back to top
 
IP Logged
 
d1jl
New Member
*
Offline


I love YaBB 2.2.5!

Posts: 24
Location: So. Cal.
Joined: Mar 29th, 2006
Re: Send Member Password Reminder V0.3 for YaBB 2.5
Reply #12 - Aug 12th, 2013 at 9:18pm
Print Post  
I just replaced the LogInOut.pl (only) with the original.
The normal "Forgot Password" button works again.

Dave
  
Back to top
 
IP Logged
 
Derek Barnstorm
God Member
*****
Offline



Posts: 1146
Location: Warwickshire
Joined: Mar 23rd, 2008
Gender: Male
Re: Send Member Password Reminder V0.3 for YaBB 2.5
Reply #13 - Aug 12th, 2013 at 9:34pm
Print Post  
I've just tested it with 2.5.2 and it works fine for me - I can't see any problems. Are you sure you made the edit in reply #5 correctly and it's not going to your junk box?
« Last Edit: Aug 13th, 2013 at 10:50am by Derek Barnstorm »  
Back to top
 
IP Logged
 
d1jl
New Member
*
Offline


I love YaBB 2.2.5!

Posts: 24
Location: So. Cal.
Joined: Mar 29th, 2006
Re: Send Member Password Reminder V0.3 for YaBB 2.5
Reply #14 - Aug 12th, 2013 at 9:42pm
Print Post  
I did make the edit correctly.
No it is not going to junk mail.

I will make a new LogInOut.pl from scratch with the edit and test again.

BTW, this is a very good reason for the "Email Carbon Copy" I suggested.
You can then see if the mail is going out or not.

Dave
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: [1] 2 
Send TopicPrint