Once validated as user of the site, if you want to see the
userinfo of other users you cannot see it. It always
shows the validated user's information.
It doesn't happen, when you are a visitor or these
validated as administrator of the web
Interesting a quick suggestion...
;)
Logged In: YES
user_id=1232168
Good news, i found a solution:
CHANGE:
if ( isset($user_id) AND !isset($username) ) {
$res01 = cnbya_query(01,"SELECT *
FROM ".$user_prefix."_users WHERE user_id='$user_id'
LIMIT 1");
} else {
$res01 = cnbya_query(01,"SELECT *
FROM ".$user_prefix."_users WHERE
username='$username' LIMIT 1");
}
TO:
if ( isset($_GET['user_id']) AND $_GET['user_id'] != '' ) {
$res01 = cnbya_query(01,"SELECT *
FROM ".$user_prefix."_users WHERE user_id=\"".$_GET
['user_id']."\" LIMIT 1");
} else {
$res01 = cnbya_query(01,"SELECT *
FROM ".$user_prefix."_users WHERE
username='$username' LIMIT 1");
}
Let me know if this worked for you...
Logged In: YES
user_id=1291738
The problem has located him in the creation of this variable
linea 119 apx:
$lastvisit = cnbya_date($lastvisit, long);
for some reason the function "cnbya_date" that it doesn't
work correctly
Logged In: YES
user_id=1232168
The code i supplied solves the issue. Is there any new issue
with cnbya_date? If so, please open a new ticket.
Cheers, Richard
Logged In: YES
user_id=1291738
The problem has located him in the creation of this variable
linea 119 apx:
$lastvisit = cnbya_date($lastvisit, long);
for some reason the function "cnbya_date" that it doesn't
work correctly