1
Hello,
I have problems displaying information from the user accounts in xoops, i added new fields to XOOPS user accounts and now i cant display them.
I tried this and it doesnt work.
$date_value = $user->getVar("name_of_the_date_field_in_sql");
echo $date_value ;
and it doesnt display anything.
Can someone help me a bit with this.
Thank you.
Hey, my frend and resolved this problem but we have another one now, and its with this function.
$edituser->setVar("name_of_the_date_field_in_sql", new_value);
When we do this like for example this user has 10 points and we edit his account and add 5 more points, it becomes 15 so we put 15 in there and update. It doesnt do anything.
My frend said that with the first problem we had to add the sql field into the user.php file or something like that, so maybe its similar to this. But which file do we add the field to.
Thanks again.