The BoardMod Project
 The Project | News | Downloads | Mods | FAQ | Templates | Chat | Forum
BoardMod Support Forum
[ Home | Help | Search | Login | Register ]  

25.05.13 at 19:57:13, Welcome, Guest. Please Login or Register

Choose Language:
Page Index Toggle Pages: 1
Send Member Password Reminder V0.2 for YaBB 2.4 (Read 1528 times)
Derek Barnstorm
Hacker God
*****
Offline

Warwickshire, United Kingdom
Posts: 1113



30.04.10 at 17:45:34  
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: 30.05.10 at 19:32:14 by Derek Barnstorm »  
IP Logged
 
Moyamoya
Bloody Novice
*
Offline

Wichita, KS, USA
Posts: 26



Reply #1 - 18.05.10 at 03:37:38  
Yeeesssssss!!

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

Grin   Grin
 
IP Logged
 
mick
Hacker Expert
****
Offline

Dorsten, Nordrhein-Westfalen, Germany
Posts: 344



Reply #2 - 30.05.10 at 11:40:30  
Hi again,

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

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



Then it runs well.

German-Patches attached. (In 1st Post now)
« Last Edit: 31.05.10 at 07:18:19 by mick »  
IP Logged
 
Derek Barnstorm
Hacker God
*****
Offline

Warwickshire, United Kingdom
Posts: 1113



Reply #3 - 30.05.10 at 17:33:45  
Thank you again Mick - I've added them to the package.

mick wrote on 30.05.10 at 11:40:30:
I had a foult in step 4. I need to change it to:

Code:
	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.
« Last Edit: 30.05.10 at 17:49:47 by Derek Barnstorm »  
IP Logged
 
Simple
Hacker Wannabe
**
Offline

Midlands, UK, United Kingdom
Posts: 58



Reply #4 - 15.03.13 at 11:04:27  
Hello Derek, is there a way that this can allow Global Moderators to use it also.
Cheers.  Smiley
 
IP Logged
 
Derek Barnstorm
Hacker God
*****
Offline

Warwickshire, United Kingdom
Posts: 1113



Reply #5 - 15.03.13 at 14:31:02  
Hi Simon,

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

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

And change to:

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

And in Profile.pl find:

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

And change to:

Code:
    ### Send Member Password Reminder Mod Start ###	
   if (($iamadmin || $iamgmod) && !$view && $user ne $username && ${$uid.$user}{'position'} ne 'Administrator') {
 
IP Logged
 
Simple
Hacker Wannabe
**
Offline

Midlands, UK, United Kingdom
Posts: 58



Reply #6 - 15.03.13 at 15:19:59  
Brilliant thank you Derek. Works a treat.
Smiley
 
IP Logged
 
Derek Barnstorm
Hacker God
*****
Offline

Warwickshire, United Kingdom
Posts: 1113



Reply #7 - 15.03.13 at 15:26:28  
No problem. Smiley
 
IP Logged
 
Page Index Toggle Pages: 1
© 2000-2012 by - All rights reserved.

Project website hosting proudly sponsored and provided by UK2 Hosting
 The Project | News | Downloads | Mods | FAQ | Templates | Chat | Forum