Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic Send Member Password Reminder V0.2 for YaBB 2.4 (Read 252 times)
Derek Barnstorm
God Member
*****
Offline



Posts: 1146
Location: Warwickshire
Joined: Mar 23rd, 2008
Gender: Male
Send Member Password Reminder V0.2 for YaBB 2.4
Apr 30th, 2010 at 4:45pm
Print Post  
Send Member Password Reminder V0.2

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_2.mod
SendMemberPasswordReminder_V0_2_German.mod
SendMemberPasswordReminder_V0_2_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
« Last Edit: May 30th, 2010 at 6:32pm by Derek Barnstorm »  
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.1 for YaBB 2.4
Reply #1 - May 18th, 2010 at 2:37am
Print Post  
Yeeesssssss!!

THANK YOU Derek!  I will get it installed right away and let you know how it works.

Grin   Grin
  
Back to top
 
IP Logged
 
mick
Senior Member
****
Offline


I love YaBB

Posts: 345
Location: Dorsten
Joined: Nov 29th, 2005
Gender: Male
Re: Send Member Password Reminder V0.1 for YaBB 2.4
Reply #2 - May 30th, 2010 at 10:40am
Print Post  
Hi again,

I had a foult in step 4. I need to change it to:

Code
Select All
	if (${$uid.$user}{'postcount'} > 0 && $maxrecentdisplay > 0 && !$view && !$ignoreuser) { 



Then it runs well.

German-Patches attached. (In 1st Post now)
« Last Edit: May 31st, 2010 at 6:18am by mick »  
Back to top
WWW  
IP Logged
 
Derek Barnstorm
God Member
*****
Offline



Posts: 1146
Location: Warwickshire
Joined: Mar 23rd, 2008
Gender: Male
Re: Send Member Password Reminder V0.2 for YaBB 2.4
Reply #3 - May 30th, 2010 at 4:33pm
Print Post  
Thank you again Mick - I've added them to the package.

mick wrote on May 30th, 2010 at 10:40am:
I had a foult in step 4. I need to change it to:

Code
Select All
	if (${$uid.$user}{'postcount'} > 0 && $maxrecentdisplay > 0 && !$view && !$ignoreuser) { 


I've changed what that step looks for now, so it won't conflict with the Ignore User Mod - V0.2 attached to the first post.
  
Back to top
 
IP Logged
 
Simps
Junior Member
**
Offline


Gruellered!!!

Posts: 60
Location: Midlands, UK
Joined: Dec 24th, 2007
Re: Send Member Password Reminder V0.2 for YaBB 2.4
Reply #4 - Mar 15th, 2013 at 11:04am
Print Post  
Hello Derek, is there a way that this can allow Global Moderators to use it also.
Cheers.  Smiley
  
Back to top
WWW  
IP Logged
 
Derek Barnstorm
God Member
*****
Offline



Posts: 1146
Location: Warwickshire
Joined: Mar 23rd, 2008
Gender: Male
Re: Send Member Password Reminder V0.2 for YaBB 2.4
Reply #5 - Mar 15th, 2013 at 2:31pm
Print Post  
Hi Simon,

Assuming the mod is applied, in LogInOut.pl find:

Code
Select All
    if ($regcheck && !$iamadmin) { ### Send Member Password Reminder Mod Edit ###
        &validation_check($FORM{'verification'});
    } 


And change to:

Code
Select All
    if ($regcheck && (!$iamadmin && !$iamgmod)) { ### Send Member Password Reminder Mod Edit ###
        &validation_check($FORM{'verification'});
    } 


And in Profile.pl find:

Code
Select All
    ### Send Member Password Reminder Mod Start ###
    if ($iamadmin && !$view && $user ne $username && ${$uid.$user}{'position'} ne 'Administrator') { 


And change to:

Code
Select All
    ### Send Member Password Reminder Mod Start ###
    if (($iamadmin || $iamgmod) && !$view && $user ne $username && ${$uid.$user}{'position'} ne 'Administrator') { 

  
Back to top
 
IP Logged
 
Simps
Junior Member
**
Offline


Gruellered!!!

Posts: 60
Location: Midlands, UK
Joined: Dec 24th, 2007
Re: Send Member Password Reminder V0.2 for YaBB 2.4
Reply #6 - Mar 15th, 2013 at 3:19pm
Print Post  
Brilliant thank you Derek. Works a treat.
Smiley
  
Back to top
WWW  
IP Logged
 
Derek Barnstorm
God Member
*****
Offline



Posts: 1146
Location: Warwickshire
Joined: Mar 23rd, 2008
Gender: Male
Re: Send Member Password Reminder V0.2 for YaBB 2.4
Reply #7 - Mar 15th, 2013 at 3:26pm
Print Post  
No problem. Smiley
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint