use osc_item_user_id() as parameter.Returns true if user was online in last few minutes.Otherwise return false
Quote from: MB Themes on November 07, 2020, 01:25:11 PMuse osc_item_user_id() as parameter.Returns true if user was online in last few minutes.Otherwise return false... returns true or false, nothing else.
Quote from: MB Themes on November 08, 2020, 01:11:36 PMQuote from: MB Themes on November 07, 2020, 01:25:11 PMuse osc_item_user_id() as parameter.Returns true if user was online in last few minutes.Otherwise return false... returns true or false, nothing else.I want to show user online or not in item page ?can you help
<?php if(osc_user_is_online(osc_item_user_id())) { ?>Online<?php } else { ?>Offline<?php } ?>