Member
Last active 5 years ago
Hi,
Regards,
Where I can locate the profile menu; Wall , Posts, Favorites
Regards,
Hi,
I am trying to integrate Arrowchat with WebFairy Mediat but I could not figure it out.
On their support page, it said use one of the following:
Using a Session example:
function get_user_id()
{
$userid = NULL;
if (!empty($_SESSION['userid']))
{
$userid = $_SESSION['userid'];
}
return $userid;
}
or
Using a Cookie example:
function get_user_id()
{
$userid = NULL;
if (!empty($_COOKIE['userid']))
{
$userid = $_COOKIE['userid'];
}
return $userid;
}
The codes above need some modification to setup is the get_user_id() function. This function will simply return the user's ID or NULL if no user is logged in.
Could you please assist me in this matter.
Hopefully you will add a private messaging system in the next update.