*

nootkan

  • **
  • 28 posts
Anti Bot Configuration Question
« 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?

Marked as best answer by frosticek on March 12, 2016, 09:08:49 AM
*

MB Themes

Re: Anti Bot Configuration Question
« Reply #1 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.
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

nootkan

  • **
  • 28 posts
Re: Anti Bot Configuration Question
« Reply #2 on: March 11, 2016, 11:56:16 PM »
Okay thanks for the support! ;)

*

MB Themes

Re: Anti Bot Configuration Question
« Reply #3 on: March 12, 2016, 09:08:26 AM »
@nootkan
Welcome
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots