RevCMS Password Reset System

Results 1 to 6 of 6
  1. #1
    Valued Member GrateZ4 is offline
    MemberRank
    Jul 2014 Join Date
    145Posts

    RevCMS Password Reset System

    Where do i edit the desired email adress, Scurry said something about sendresetmail, but where in it? :)



  2. #2
    www.Epic Hosts.co.uk Terrum is offline
    MemberRank
    Jun 2008 Join Date
    EpicHosts,co.ukLocation
    1,322Posts

    Re: RevCMS Password Reset System

    Probably in the password reset PHP file?

  3. #3
    Account Upgraded | Title Enabled! asesinato is offline
    MemberRank
    Aug 2014 Join Date
    601Posts

    Re: RevCMS Password Reset System

    You can learn here:
    http://php.net/manual/en/function.mail.php


    You want to edit your sendresetmail, nowhere else.
    Pretty simple, shouldn't take you any more then 15 minutes.

  4. #4
    Valued Member GrateZ4 is offline
    MemberRank
    Jul 2014 Join Date
    145Posts

    Re: RevCMS Password Reset System

    Quote Originally Posted by Scurry View Post
    You can learn here:
    http://php.net/manual/en/function.mail.php


    You want to edit your sendresetmail, nowhere else.
    Pretty simple, shouldn't take you any more then 15 minutes.
    The probs is where in the sendresetmail should i edit? and what

  5. #5
    Account Upgraded | Title Enabled! asesinato is offline
    MemberRank
    Aug 2014 Join Date
    601Posts

    Re: RevCMS Password Reset System

    Quote Originally Posted by GrateZ4 View Post
    The probs is where in the sendresetmail should i edit? and what
    Edit above $subject

  6. #6
    Valued Member GrateZ4 is offline
    MemberRank
    Jul 2014 Join Date
    145Posts

    Re: RevCMS Password Reset System

    1. }
    2. //echo $forgotpasswordtoken ."<br>";
    3. $subject="Reset Forgot Password";
    4. $body="<p>Sorry you've been having trouble logging into your {hotelname} account.</p><p>You’ve asked to reset your password for your {hotelname} account associated with this email address (".$email."). To reset your password click the link located below:</p><br/><a href='". $_CONFIG['hotel']['url']."/resetpassword?token=".$forgotpasswordtoken."'>". $_CONFIG['hotel']['url']."/resetpassword?token=".$forgotpasswordtoken."</a><p>You can also copy and paste the the link above into a new browser window.</p><p> Or enter the reset code directly into the password page:</p><br/><p>".$forgotpasswordtoken."</p><p>This password change code will expire 1 hour from the time this email was sent. To re-start the password change process, click here:</p><p><br/><a href='". $_CONFIG['hotel']['url']."/resetpassword'>". $_CONFIG['hotel']['url']."/resetpassword</a></p><p>If you didn't make the request, you can ignore this email and do nothing. Another user likely entered your email address by mistake while trying to reset a password.<br/>If you have noticed any suspicious activity on your account then please contact {hotelname} administration.</p><p>Regards,<br />The {hotelname} Administration Team<br /></p><p>***This is an automatic notification. Replies to this email are not monitored or answered.***</p>";
    5. echo $body;
    6. if (mail($email, $subject, $body))
    7. {



Advertisement