*

jurcc

  • **
  • 5 posts
[SOLVED] HTML5 banners and nofollow
« on: December 18, 2015, 01:56:04 PM »
Hello,

I would like to know two things regarding plugin:

1. When inserting On click target URL, it doesn't seem to be nofollow, so how do I change that so it will be, because it's crucial for banner links to be nofollow?

2. Clients sent me some HTML5 banners, hosted on their server, which I'm inserting as HTML banner via iframe. But this way links from On click target URL does not work. Do you know why or have any better suggestion to implement HTML5 banners using your plugin?

Thanks
Best regards
« Last Edit: December 18, 2015, 05:56:52 PM by frosticek »

*

MB Themes

Re: [HELP] HTML5 banners and nofollow
« Reply #1 on: December 18, 2015, 02:45:09 PM »
@jurcc
1) I am not sure if you want to have follow or nofollow links, you did not explained that well.
2) It even cannot work and there is no way it should work, it is iframe that means it is not loaded from your website.
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

jurcc

  • **
  • 5 posts
Re: [HELP] HTML5 banners and nofollow
« Reply #2 on: December 18, 2015, 03:23:02 PM »
1. I want to have nofollow :)
2. So I gotta find another way, thanks for clarifying that.

*

MB Themes

Re: [HELP] HTML5 banners and nofollow
« Reply #3 on: December 18, 2015, 04:09:36 PM »
@jurcc
You need to go to following file:
oc-content/plugins/advertisement_manager/index.php

find line:
Code: [Select]
$text .= '<a href="' . osc_base_url() . 'index.php?redirect_active=1&campaign='. $banner['b_id'] .'&url_go='. $banner['b_url'] .'" ' . ($banner['b_url_target'] == 1 ? 'target="_blank"' : '') . '>';
replace with:
Code: [Select]
$text .= '<a rel="nofollow" href="' . osc_base_url() . 'index.php?redirect_active=1&campaign='. $banner['b_id'] .'&url_go='. $banner['b_url'] .'" ' . ($banner['b_url_target'] == 1 ? 'target="_blank"' : '') . '>';
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

jurcc

  • **
  • 5 posts
Re: [HELP] HTML5 banners and nofollow
« Reply #4 on: December 18, 2015, 04:16:04 PM »
Thanks, that should work  :)

*

MB Themes

Re: [HELP] HTML5 banners and nofollow
« Reply #5 on: December 18, 2015, 05:56:42 PM »
@jurcc
Welcome ;)
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

ekiz

  • ***
  • 21 posts
Re: [SOLVED] HTML5 banners and nofollow
« Reply #6 on: March 05, 2016, 05:52:44 PM »
-- I will remember that I should create new thread for different issues and will not spam forums --
« Last Edit: March 05, 2016, 06:04:05 PM by frosticek »