YaBB Community and Support Forum
YaBB Home About YaBB Download YaBB YaBB Support Customize Your Forum Development Contribute to the Project
  Welcome, Guest. Please Login or Register


 
Page Index Toggle Pages: 1
Topic Tools
 
Forgot Password (Read 1,398 times)
 Mar 31st, 2013 at 8:51pm
There are no actions to perform.  

smith21 
Support Team
****
Offline
Posts: 4,659
Stockton - on - Tees,  England


YaBB 2.5
Forgot Password
How can I get rid of the forgot password button to stop people from using it
 
Cheers
...
WWW 1281257524  
IP Logged  
 Reply #1 - Mar 31st, 2013 at 8:54pm
There are no actions to perform.  

smith21 
Support Team
****
Offline
Posts: 4,659
Stockton - on - Tees,  England


YaBB 2.5
Re: Forgot Password
Sorry running Yabb2.5.2
« Last Edit: Mar 31st, 2013 at 8:54pm by smith21 »  
Cheers
...
WWW 1281257524  
IP Logged  
 Reply #2 - Mar 31st, 2013 at 11:39pm
There are no actions to perform.  

Dandello 
Global Moderator
YaBB Next Team
Operations Team
Beta Testers
Support Team
*****
Online
Posts: 1,859
Earth


YaBB 2.5
Re: Forgot Password
In LogInOut.pl find
Code Select All
					<span style="float: left; width: 27%; text-align: right; margin-bottom: 5px;">
						&nbsp;<br />
                                    <input type="button" value="$loginout_txt{'315'}" style="width: 160px;$hide_passbutton" onclick="location.href='$scripturl?action=reminder'" tabindex="5" class="button" />
                              </span>
 


and comment it out (it's html so use '<!--' '-->')
 
WWW  
IP Logged  
 Reply #3 - Apr 1st, 2013 at 8:03am
There are no actions to perform.  

smith21 
Support Team
****
Offline
Posts: 4,659
Stockton - on - Tees,  England


YaBB 2.5
Re: Forgot Password
Cheers Dandello will give that a go.
« Last Edit: Apr 1st, 2013 at 8:04am by smith21 »  
Cheers
...
WWW 1281257524  
IP Logged  
 Reply #4 - Apr 1st, 2013 at 10:08am
There are no actions to perform.  

smith21 
Support Team
****
Offline
Posts: 4,659
Stockton - on - Tees,  England


YaBB 2.5
Re: Forgot Password
I have removed the code from the source/logInOut.pl file uploaded and Chmod to 755 and nothing seems to have happened. I am changing the right file?

 
Cheers
...
WWW 1281257524  
IP Logged  
 Reply #5 - Apr 1st, 2013 at 3:36pm
There are no actions to perform.  

Dandello 
Global Moderator
YaBB Next Team
Operations Team
Beta Testers
Support Team
*****
Online
Posts: 1,859
Earth


YaBB 2.5
Re: Forgot Password
Let me look at the code again.  We're trying to comment out that button.

And the code that creates the Password reminder button is this
Code Select All
					<span style="float: left; width: 27%; text-align: right; margin-bottom: 5px;">
						&nbsp;<br />
                                    <input type="button" value="$loginout_txt{'315'}" style="width: 160px;$hide_passbutton" onclick="location.href='$scripturl?action=reminder'" tabindex="5" class="button" />
                              </span> 



so change it to
Code Select All
					<!--<span style="float: left; width: 27%; text-align: right; margin-bottom: 5px;">
						&nbsp;<br />
                                    <input type="button" value="$loginout_txt{'315'}" style="width: 160px;$hide_passbutton" onclick="location.href='$scripturl?action=reminder'" tabindex="5" class="button" />
                              </span>--> 


However, it won't keep people who have the direct URL to the reminder screen from accessing that screen. To do that, Find
Code Select All
sub Reminder 



There is straight html in that subroutine that you can edit. (Be careful as you can break the script.) But you can edit the password reminder screen to remove the submit button and the fields and add a message like: 'Contact the admin by email if you need your password reset.'

(I'm assuming that spammers are inundating that function.)

Also, that file doesn't have a shebang at the top so doesn't need to be 755, 644 or 666 should do it. (And be careful of capitalization - on *nix systems, loginout.pl is NOT the same as LogInOut.pl)
« Last Edit: Apr 1st, 2013 at 3:56pm by Dandello »  
WWW  
IP Logged  
 Reply #6 - Apr 1st, 2013 at 5:06pm
There are no actions to perform.  

smith21 
Support Team
****
Offline
Posts: 4,659
Stockton - on - Tees,  England


YaBB 2.5
Re: Forgot Password
Is the sub reminder in the same file logInOut.pl
 
Cheers
...
WWW 1281257524  
IP Logged  
 Reply #7 - Apr 1st, 2013 at 5:54pm
There are no actions to perform.  

Dandello 
Global Moderator
YaBB Next Team
Operations Team
Beta Testers
Support Team
*****
Online
Posts: 1,859
Earth


YaBB 2.5
Re: Forgot Password
Yes.  Embarrassed
 
WWW  
IP Logged  
 Reply #8 - Apr 2nd, 2013 at 9:19am
There are no actions to perform.  

smith21 
Support Team
****
Offline
Posts: 4,659
Stockton - on - Tees,  England


YaBB 2.5
Re: Forgot Password
Sorted thanks my fault as not looking at the correct coding I think I need my glasses changing.

There is a person on the forum who is causing problems and is finding out peoples login name / E-mail address and using the forget password function. By removing the button it will stop and people can contact the administrator if they have problems or needs the password re-setting.

Thanks again you have been a great help.
 
Cheers
...
WWW 1281257524  
IP Logged  
 Reply #9 - Apr 2nd, 2013 at 2:44pm
There are no actions to perform.  

Dandello 
Global Moderator
YaBB Next Team
Operations Team
Beta Testers
Support Team
*****
Online
Posts: 1,859
Earth


YaBB 2.5
Re: Forgot Password
If this person is that sneaky, you'll probably want to edit sub reminder as well. They probably have it directly bookmarked.
 
WWW  
IP Logged  
 Reply #10 - Apr 2nd, 2013 at 6:14pm
There are no actions to perform.  

xnoddyx 
Support Team
Documentation Team
YaBB Moderators
YaBB Next Team
Beta Testers
****
Offline
Posts: 1,552
UK:Scotland/livingston


YaBB 2.5
Re: Forgot Password
smith21 wrote on Apr 2nd, 2013 at 9:19am:
Sorted thanks my fault as not looking at the correct coding I think I need my glasses changing.

There is a person on the forum who is causing problems and is finding out peoples login name / E-mail address and using the forget password function. By removing the button it will stop and people can contact the administrator if they have problems or needs the password re-setting.

Thanks again you have been a great help.

I take it that they are never on the same ip as well what you can do is next time they do this is get a copy of what they are doing from the forum log then also get the same info from the server log then goto http://www.ip-adress.com/ip_tracer/
to find out there isp then make a malicious/fraudulent activity report to there isp
see this link http://www.managingcommunities.com/2008/01/29/when-to-report-someone-to-their-is... if the isp don't look to be doing anything there are more items you can do in the uk to get the isp to sort him out.
 
YaBB install help video
1. what yabb forum are you running and the url
2. describe in as much detail as you can what happens and also post screenshots if you can
3. please be patient we live in different time zones and have other commitments but we will help you
as bill and ted say (Be excellent to each other)
WWW xnoddyx xnoddyx1  
IP Logged  
 Reply #11 - Apr 3rd, 2013 at 6:54am
There are no actions to perform.  

smith21 
Support Team
****
Offline
Posts: 4,659
Stockton - on - Tees,  England


YaBB 2.5
Re: Forgot Password
Cheers for the info will see how things go now the forget password button is not visable for use.
 
Cheers
...
WWW 1281257524  
IP Logged  
 Reply #12 - Apr 3rd, 2013 at 6:46pm
There are no actions to perform.  

xnoddyx 
Support Team
Documentation Team
YaBB Moderators
YaBB Next Team
Beta Testers
****
Offline
Posts: 1,552
UK:Scotland/livingston


YaBB 2.5
Re: Forgot Password
smith21 wrote on Apr 3rd, 2013 at 6:54am:
Cheers for the info will see how things go now the forget password button is not visable for use.

cool and good luck to you  Wink
 
YaBB install help video
1. what yabb forum are you running and the url
2. describe in as much detail as you can what happens and also post screenshots if you can
3. please be patient we live in different time zones and have other commitments but we will help you
as bill and ted say (Be excellent to each other)
WWW xnoddyx xnoddyx1  
IP Logged  
Page Index Toggle Pages: 1
Topic Tools
 

Get Yet another Bulletin Board at SourceForge.net. Fast, secure and Free Open Source software downloads Support This Project BoardMod - YaBB features and templates YaBB Codex - support on installation and usage YaBB Toolbar for your browser

YaBB Facebook Group Page

Vulnerability Scanner

Valid RSS Valid XHTML Valid CSS Powered by Perl
YaBB Chat and Support Community » Powered by YaBB 3.0 Beta!
YaBB Forum Software © 2000-2011. All Rights Reserved.