Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic Problem: Users cant get their forgotten password (Read 1295 times)
blan
New Member
*
Offline


I love YaBB 1G - SP1!

Posts: 6
Joined: Feb 17th, 2002
Problem: Users cant get their forgotten password
Feb 17th, 2002 at 8:32pm
Print Post  
Well, I got Chris Hartmann, to modify me the "Password security hack" so there would be no secret question in order for the members to get their password mailed to them, now, when the members click on the link to have their password mailed, it leads them to a page where they have to be logged in, in order to see it, so If the person doesnt know their password they cant login so they cant get to
the lost password screen!

Any ideas on what could be causing this?


I had also found this other bug:
When
the mod is installed along with docsa's advanced registration option, and
the options are set to "Admin Registering ONLY" the password is not
recognizable, I have to go the page and encrypt my password in order for
the password to work. Im sure this is pretty easy to fix, so if you tell
me I could just do it myself.
Thanx Again ! and HELP!
  
Back to top
 
IP Logged
 
rehlbe
God Member
*****
Offline


Juve Merda

Posts: 614
Joined: Feb 1st, 2002
Gender: Male
Re: Problem: Users cant get their forgotten passwo
Reply #1 - Feb 17th, 2002 at 9:30pm
Print Post  
You have to look for this line in yabb.pl:
Code
Select All
if($username eq 'Guest' && $guestaccess == 0) {
      if (!(($action eq 'login') || ($action eq 'login2') || ($action eq 'register') || ($action eq 'register2'))) { &KickGuest; }
 


and replace it with:
Code
Select All
if($username eq 'Guest' && $guestaccess == 0 && $action ne 'reminder' && $action ne 'reminder2' && $action ne 'reminder_answer') {       
      if (!(($action eq 'login') || ($action eq 'login2') || ($action eq 'register') || ($action eq 'register2'))) { &KickGuest; }
 



The first code is from a clean Yabb. if you have installed the reminder mod basically you have to add
Code
Select All
 && $action ne 'reminder_answer' && $action ne 'news' 

in that part of YaBB.pl
  

www.rehlbe.com
Current task -> rewriting website.
Per un aiuto in italiano contattami tramite il mio forum!

Installed Mods = 82
Milan forever
Back to top
IP Logged
 
blan
New Member
*
Offline


I love YaBB 1G - SP1!

Posts: 6
Joined: Feb 17th, 2002
Re: Problem: Users cant get their forgotten passwo
Reply #2 - Feb 18th, 2002 at 3:15am
Print Post  
thanx a lot rehibe, that fixed the problem!!

I will make another post about that other bug,
once again thanx!  Smiley Smiley
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint