Osclass Support Forums

Osclass plugin support => Online Chat Plugin => Topic started by: Camilo Vargas on March 14, 2018, 07:20:44 PM

Title: add chat only for premium ads. I want it to be only available or shown in premiu
Post by: Camilo Vargas on March 14, 2018, 07:20:44 PM
add chat only for premium ads. I want it to be only available or shown in premium ads.... theme stela
Title: Re: add chat only for premium ads. I want it to be only available or shown in premiu
Post by: MB Themes on March 14, 2018, 09:12:29 PM
You can only restrict initiate chat button to be visible on premium listings.
Title: Re: add chat only for premium ads. I want it to be only available or shown in premiu
Post by: Camilo Vargas on March 15, 2018, 08:16:49 PM
how do I restrict the start chat button that is only available for premium?
Title: Re: add chat only for premium ads. I want it to be only available or shown in premiu
Post by: MB Themes on March 15, 2018, 09:01:48 PM
@Camilo
Code: [Select]
<?php 
  
if(osc_item_is_premium()) { 
    ... 
chat button code ...
  }
?>

Title: Re: add chat only for premium ads. I want it to be only available or shown in premiu
Post by: Camilo Vargas on March 16, 2018, 10:53:05 PM
thank you  :) :) :)
Title: Re: add chat only for premium ads. I want it to be only available or shown in premiu
Post by: Metalsunny Reloaded on September 03, 2020, 11:02:11 AM
In what file do i insert the code above. Is it item.php or where