registered users only send msg
« on: February 01, 2019, 05:54:48 PM »

how to make sure that only registered users can send the message?

*

MB Themes

Re: registered users only send msg
« Reply #1 on: February 04, 2019, 09:15:24 AM »
Code: [Select]
<?php if(osc_is_web_user_logged_in()) { ?>
  ... button code ...
<?php ?>
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

Re: registered users only send msg
« Reply #2 on: February 04, 2019, 11:12:56 PM »
in wich file?

Re: registered users only send msg
« Reply #3 on: February 05, 2019, 11:54:15 AM »
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

*

MB Themes

Re: registered users only send msg
« Reply #4 on: February 05, 2019, 09:11:40 PM »
There already exists similar topics with solution, try to browse them.
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots