*

epoolroy

  • ****
  • 121 posts
How can Hide From Company Type?
« on: April 16, 2018, 08:59:09 AM »
Basiclly, this code Hide from normal User
Code: [Select]
<?php if(osc_user_is_company()) { ?>
.....
<?php ?>



And this code Hide from non register user...
Code: [Select]
<?php if(osc_is_web_user_logged_in()) { ?>
...
<?php ?>


My question is what code for hide from Company user?
Thank you.

*

epoolroy

  • ****
  • 121 posts
Re: How can Hide From Company Type?
« Reply #1 on: April 17, 2018, 07:21:36 AM »
Hello, can help me how can i combine 3 of this code become 1....


Code: [Select]
<?php if(osc_user_is_company()) { ?>
.....
<?php ?>


Code: [Select]
<?php if(osc_is_web_user_logged_in()) { ?>
...
<?php ?>

Code: [Select]
<?php if(!osc_is_web_user_logged_in()) { ?>
...
<?php ?>

Thank you.

Marked as best answer by epoolroy on April 18, 2018, 10:35:13 AM
*

MB Themes

Re: How can Hide From Company Type?
« Reply #2 on: April 17, 2018, 07:43:56 AM »
Code: [Select]
<?php if(osc_user_is_company()) { ?>
.....

<?php } else if(osc_is_web_user_logged_in()) { ?>
...

<?php } else if(!osc_is_web_user_logged_in()) { ?>
...

<?php ?>
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

epoolroy

  • ****
  • 121 posts
Re: How can Hide From Company Type?
« Reply #3 on: April 18, 2018, 10:35:30 AM »
Code: [Select]
<?php if(osc_user_is_company()) { ?>
.....

<?php } else if(osc_is_web_user_logged_in()) { ?>
...

<?php } else if(!osc_is_web_user_logged_in()) { ?>
...

<?php ?>

Thank you