rejetto forum

[Answered] How to add option for user to change pass

0 Members and 2 Guests are viewing this topic.

Offline C R 3 4 M

  • Occasional poster
  • *
    • Posts: 3
    • View Profile
Im currently using the template Live 3.0.1 By Alvaro. (Can be found at http://www.rawr-designs.com/projects/live/index.html) I noticed that there isn't an option for the user to change his/her own password.

-I also noticed some of the templates around on this forum don't have the option to change their own password. Is it possible to create a blank page for the user to change his/her password? Kinda like admin panel.

-With the template i'm using, I think it would be easiest to add the change password option where the lock is. When a user is signed into the server it only shows the current signed in user.
« Last Edit: October 11, 2010, 10:38:58 PM by C R 3 4 M »


Offline Mars

  • Operator
  • Tireless poster
  • *****
    • Posts: 2063
    • View Profile
you can create a folder name 'password' at root and use a diff template with what is necessary from the panel admin, there are only two sections which are necessary.


Offline C R 3 4 M

  • Occasional poster
  • *
    • Posts: 3
    • View Profile
Could you tell me how to do that and what codes I would need to copy? I tried figuring it out for about an hour with no success.

-Thanks for the quick reply

I changed the code in admin panel. But the thing is, I change it so that anyone can access that particular section of admin panel. Now theres a security conflict. Anyone could change anyones pass.

It's set to if %user%=%user%

Code: [Select]
[passchanger]
<html>
<head>
{.if|{.%user%=%user%.}|
<title>Pass Changer</title>
</head>
<body>
Welcome %user% ! </b>
<br>
<form method=post action="/~passchange">
  To use this function simply type in the Username.
  <p>Then type the new passwo..........
« Last Edit: October 11, 2010, 07:55:38 PM by C R 3 4 M »


Offline Mars

  • Operator
  • Tireless poster
  • *****
    • Posts: 2063
    • View Profile
[passchanger]
<html>
<head>
{.if|%user%|
<title>Pass Changer</title>
</head>
<body>
Welcome %user% ! </b>
<br>
<form method=post action="/~passchange">
  To use this function simply type in the Username.
  <p>Then type the new passwo..........


Offline C R 3 4 M

  • Occasional poster
  • *
    • Posts: 3
    • View Profile

Offline Mars

  • Operator
  • Tireless poster
  • *****
    • Posts: 2063
    • View Profile