Hi,
when a user is logged on they should be able to subscribe to more functions. For this I have created a form which I store in the database. I have added hidden fields for the username, name and email where I want to store the logged on user's details. What is the easiest way to pull this information as values for the hidden fields?
juro
P.s. also, I would need a "created_at" hidden field where I store the php date('Y-m-d H:i') value - is this possible?
when a user is logged on they should be able to subscribe to more functions. For this I have created a form which I store in the database. I have added hidden fields for the username, name and email where I want to store the logged on user's details. What is the easiest way to pull this information as values for the hidden fields?
juro
P.s. also, I would need a "created_at" hidden field where I store the php date('Y-m-d H:i') value - is this possible?
Hi juro,
Please search here on getuser for many examples - you don't need to store these - possibly just the user_id, all the other info can be recovered from the Joomla User Object.
Bob
Please search here on getuser for many examples - you don't need to store these - possibly just the user_id, all the other info can be recovered from the Joomla User Object.
Bob
Hi GreyHead,
thank you for the pointer - I have found the solution here:
http://www.chronoengine.com/forums/index.php?option=com_chronoforums&cont=posts&f=7&t=4539
thank you for the pointer - I have found the solution here:
http://www.chronoengine.com/forums/index.php?option=com_chronoforums&cont=posts&f=7&t=4539
This topic is locked and no more replies can be posted.