Osclass Support Forums
Osclass plugin support => Instant Messenger Plugin => Topic started by: Владимир Будревский on February 01, 2019, 05:54:48 PM
-
how to make sure that only registered users can send the message?
-
<?php if(osc_is_web_user_logged_in()) { ?>
... button code ...
<?php } ?>
-
in wich file?
-
My code looks like this
<!- Message button -->
<?php if(osc_is_web_user_logged_in()) { ?>
<?php if(function_exists('im_contact_button')) { im_contact_button(); } ?>
<?php } ?>
<?php echo veronika_banner('item_sidebar'); ?>
I need to have the button always appear, but only the registered user can send it
-
There already exists similar topics with solution, try to browse them.