Osclass Support Forums

Osclass plugin support => Spam Solution Plugin => Topic started by: nootkan on March 10, 2016, 11:56:41 PM

Title: Anti Bot Configuration Question
Post by: nootkan on March 10, 2016, 11:56:41 PM
Purchased this plugin a couple of years back and now I've upgraded to a new theme and want to use the anti bot solution.  In the instructions it says to place this php call:
Code: [Select]
<?php if(function_exists('anti_bot_form')) { anti_bot_form(); } ?> just before this code:
Code: [Select]
<button type="submit"><?php _e('Send''your_theme'); ?></button> in my item.php file.

I don't have that button code however, I only see this code:
Code: [Select]
<button onclick="location.href='<?php echo osc_premium_url() ; ?>';" class="expand premium_ads price_ribbon"><?php echo $form_price?></button>
      <?php ?>
       <a class="" href="<?php echo osc_premium_url() ; ?>" title="<?php echo osc_esc_html(osc_premium_title()) ; ?>">
      <img src="<?php echo osc_resource_thumbnail_url(); ?>" title="<?php echo osc_esc_html(osc_highlight(osc_premium_title(),40)) ; ?><br/>
<?php echo osc_premium_category() ; ?><br/><?php echo osc_premium_city(); ?> <?php if(osc_premium_region()!='') { ?>(<?php echo osc_premium_region(); ?>)<?php ?>" alt="<?php echo osc_esc_html(osc_premium_title()) ; ?>" width="300" height="250" ></a>
      <?php } else { ?>
      <?php if( osc_price_enabled_at_items() ) { ?>
      <button onclick="location.href='<?php echo osc_premium_url() ; ?>';" class="expand premium_ads price_ribbon"><?php echo osc_format_price(osc_premium_price()).' '.osc_premium_currency_symbol(); ?></button>

Will it still function correctly if I place above this block of code?
Title: Re: Anti Bot Configuration Question
Post by: MB Themes on March 11, 2016, 07:09:20 AM
@nootkan
Only important is to place it inside <form> </form> tags so it is submitted with form when submit button is pressed.
Title: Re: Anti Bot Configuration Question
Post by: nootkan on March 11, 2016, 11:56:16 PM
Okay thanks for the support! ;)
Title: Re: Anti Bot Configuration Question
Post by: MB Themes on March 12, 2016, 09:08:26 AM
@nootkan
Welcome