| Author |
Message |
JRSweets Worker


Joined: Aug 06, 2004 Posts: 192
|
Posted:
Fri Nov 12, 2004 2:00 pm |
|
The old Your_Account Modules Bug has popped up in every version of CNB I have used.
This code needs to be changed:
| Code: | getusrinfo($user);
if (($userinfo[username] != $cookie[1]) AND ($userinfo[user_password] != $cookie[2])) { |
To this:
| Code: | cookiedecode($user);
getusrinfo($user);
if ((is_user($user)) AND (strtolower($userinfo[username]) == strtolower($cookie[1])) AND ($userinfo[user_password] == $cookie[2])) { |
In the following files:
/modules/Your_Account/public/chngtheme.php
/modules/Your_Account/public/editcomm.php
/modules/Your_Account/public/edituser.php
/modules/Your_Account/public/edithome.php |
|
|
|
 |
sixonetonoffun Spouse Contemplates Divorce

Joined: Jan 02, 2003 Posts: 2499
|
Posted:
Fri Nov 12, 2004 2:23 pm |
|
Thanks JRSweets. We'll do our best to make sure no more releases are made without checking this forum. |
|
|
|
 |
JRSweets Worker


Joined: Aug 06, 2004 Posts: 192
|
Posted:
Fri Nov 12, 2004 2:39 pm |
|
No thank you! This is a great module, and with everyone chiping in it will only get better. |
|
|
|
 |
kustomer New Member


Joined: May 09, 2005 Posts: 4
|
Posted:
Tue May 10, 2005 11:26 am |
|
what does this bug do? just wondering if it may help my problem in another thread, thanks |
|
|
|
 |
ashishjha54 Hangin' Around

Joined: Jan 24, 2005 Posts: 41
|
Posted:
Tue May 10, 2005 11:58 am |
|
i wanna know what this bug does |
|
|
|
 |
CurtisH Life Cycles Becoming CPU Cycles

Joined: Mar 15, 2004 Posts: 638 Location: West Branch, MI
|
Posted:
Tue May 10, 2005 5:24 pm |
|
That particular bug typically cause a page refresh issue instead of allowing navigation to the desired portion of the module. Example: Clicking on edit info woul merely refresh the Your_Account index page. |
|
|
|
 |
|
|
|
|