Advertisement:

Author Topic: [HOWTO] Disable Tapatalk banner popup  (Read 45755 times)

Offline Mr. Jinx

  • Full Member
  • ***
  • Posts: 477
  • Gender: Male
    • Ziggo Forum Chelloo
[HOWTO] Disable Tapatalk banner popup
« on: August 04, 2013, 05:01:35 AM »
Tapatalk is a very nice plugin to make SMF work on mobile device.
One thing I hate about Tapatalk is the annoying banner they integrate, and there is no option to disable it.
This banner/popup tells users who visit your site to download their App. If the App was free, I won't have problems with that... but it isn't.

So here is how to easily remove the banner:

In Sources/Load.php find and remove:
Code: [Select]
include($boarddir.'/mobiquo/smartbanner.php');
In $themedir/index.template.php find and remove:
Code: [Select]
echo $context['tapatalk_body_hook'];

Offline Phphelp

  • Semi-Newbie
  • *
  • Posts: 68
  • Gender: Male
    • PHP Help forum
Re: [HOWTO] Disable Tapatalk banner popup
« Reply #1 on: August 22, 2013, 10:18:34 PM »
On the version I'm using I had to comment out this..
/sources/load.php

Code: [Select]
$context['html_headers'] .= '<script type="text/javascript" language="JavaScript" src="' . $boardurl . '/mobiquo/tapatalkdetect.js"></script>'

Offline emanuele

  • SMF Super Hero
  • *******
  • Posts: 14,156
  • Gender: Male
  • THERE'S JUST ME
Re: [HOWTO] Disable Tapatalk banner popup
« Reply #2 on: August 23, 2013, 05:08:46 AM »
TBH I think this goes against the terms of the tapatalk license and publish it here is not really "nice".


Take a peek at what I'm doing! ;D



Hai bisogno di supporto in Italiano?

Aiutateci ad aiutarvi: spiegate bene il vostro problema: no, "non funziona" non è una spiegazione!!
1) Cosa fai,
2) cosa ti aspetti,
3) cosa ottieni.

Offline Phphelp

  • Semi-Newbie
  • *
  • Posts: 68
  • Gender: Male
    • PHP Help forum
Re: [HOWTO] Disable Tapatalk banner popup
« Reply #3 on: August 23, 2013, 11:14:34 AM »
It's not against their terms to disable it..

The moderators and developers on tapatalk tell you how to do it..

https://support.tapatalk.com/threads/how-to-disable-the-tapatalk-pop-up.8032/


Offline Mr. Jinx

  • Full Member
  • ***
  • Posts: 477
  • Gender: Male
    • Ziggo Forum Chelloo
Re: [HOWTO] Disable Tapatalk banner popup
« Reply #4 on: August 24, 2013, 06:42:07 AM »
On the version I'm using I had to comment out this..
/sources/load.php

Code: [Select]
$context['html_headers'] .= '<script type="text/javascript" language="JavaScript" src="' . $boardurl . '/mobiquo/tapatalkdetect.js"></script>'
Yep that's true for the older version.
In the newer version you also have to check your index.template.php, else you'll get loads of undefined errors.

TBH I think this goes against the terms of the tapatalk license and publish it here is not really "nice".
Hm, well it's not a copyright you remove. It's just a banner that informs your users your forum also has a mobile app.
I don't see why that would be against their terms?

Offline emanuele

  • SMF Super Hero
  • *******
  • Posts: 14,156
  • Gender: Male
  • THERE'S JUST ME
Re: [HOWTO] Disable Tapatalk banner popup
« Reply #5 on: August 24, 2013, 04:11:13 PM »
The moderators and developers on tapatalk tell you how to do it..

https://support.tapatalk.com/threads/how-to-disable-the-tapatalk-pop-up.8032/
If they allow so then it's fine.

Hm, well it's not a copyright you remove. It's just a banner that informs your users your forum also has a mobile app.
I don't see why that would be against their terms?
Licenses and license agreements are not (only) about copyright:
Quote from: tapatalk license agreement
4. Restrictions
All licenses pertaining to the Product and Documentation must be granted explicitly in writing by Quoord. Accordingly, without such license or as set forth explicitly under this License Agreement you may not publish, display, disclose, rent, lease, modify, loan, distribute, or create derivative works based on the Product or any part thereof. You may not reverse engineer, decompile, translate, adapt, or disassemble the Product, nor shall you attempt to create the source code from the object code for the Product.
bold and underline are mine.
So, according to their terms (if they don't enforce them it's not my problem, I just read what they wrote ;)), without their explicit approval you cannot even modify the package for your own use.


Take a peek at what I'm doing! ;D



Hai bisogno di supporto in Italiano?

Aiutateci ad aiutarvi: spiegate bene il vostro problema: no, "non funziona" non è una spiegazione!!
1) Cosa fai,
2) cosa ti aspetti,
3) cosa ottieni.

Offline PierreP_whited00r_com

  • Semi-Newbie
  • *
  • Posts: 37
  • Gender: Male
  • Everything is Relative
    • Whited00r on Facebook
    • Whited00r Custom iOS Firmware for iPhone 2G, iPhone 3G and iPod Touch 1G & iPod Touch 2G
Re: [HOWTO] Disable Tapatalk banner popup
« Reply #6 on: August 26, 2013, 11:43:57 PM »
Thank you.

Offline LavaShakes

  • Newbie
  • *
  • Posts: 2
Re: [HOWTO] Disable Tapatalk banner popup
« Reply #7 on: August 29, 2013, 07:35:32 AM »
sometimes that banner annoys me. thank you for helping how to disable it.

Offline konstantinos2424

  • Semi-Newbie
  • *
  • Posts: 29
Re: [HOWTO] Disable Tapatalk banner popup
« Reply #8 on: September 06, 2014, 09:29:50 AM »
Hello, is there any way to remove the blue welcome screen but keep the banner at the top of the forum? Thank you :)

Offline abbynormal

  • Semi-Newbie
  • *
  • Posts: 96
  • Gender: Female
Re: [HOWTO] Disable Tapatalk banner popup
« Reply #9 on: September 16, 2014, 08:40:59 PM »
This was a good read, as I definitely don't want ads on my forum, but also, I wanted to find out if there was a way to make the theme responsive.  I will start a thread on that though, of my own. 

Thank you for the info on getting rid of the tapatalk banner;) denise

Offline 420Connect.co.uk

  • Full Member
  • ***
  • Posts: 413
    • 420connect.info on Facebook
    • @4twentyconnect on Twitter
    • 420 Connect
Re: [HOWTO] Disable Tapatalk banner popup
« Reply #10 on: May 09, 2015, 02:12:10 PM »
I know this is an old thread but as I use Tapatalk with my forum and also disliked the 'intrusive' ads, looked for an option to disable them and found the above suggestions to work until their latest update..

(still was seeing ads after removing the lines above)

Anyway, after a bit of googling I've found another method that works and thought I'd share...

In your mobiquo/smartbanner/ folder, locate the file called head.inc.php

Create two new variables near the top of the file


Code: [Select]
$app_ads_enable = 0;
$app_banner_enable = 1;

$app_ads_enable – sets the fullscreen banner when a user first goes to your forum
$app_banner_enable – sets the ‘twitter card head’ (the opt-in screen at the start of the page)

0 will disable a feature,
1 will enable the feature.

Enjoy!

:)
www.420Connect.co.uk ~ A Social Network For The #CannabisCommunity ~ Come say "High" ;)

Offline Mr. Jinx

  • Full Member
  • ***
  • Posts: 477
  • Gender: Male
    • Ziggo Forum Chelloo
Re: [HOWTO] Disable Tapatalk banner popup
« Reply #11 on: May 15, 2015, 12:51:16 PM »
Thanks for the info. That is another way.

Small update for the first post (which I can't edit anymore)

In Sources/Subs.php find and remove:
Code: [Select]
//tapatalk add
include_once($boarddir.'/mobiquo/smartbanner.php');

In $themedir/index.template.php find and remove:
Code: [Select]
echo $context['tapatalk_body_hook'];

Offline Uhura!

  • Sophist Member
  • *****
  • Posts: 1,037
  • Gender: Female
    • Our Parenting Spot
Re: [HOWTO] Disable Tapatalk banner popup
« Reply #12 on: August 12, 2018, 12:16:59 PM »
I've tried using all of the tips in this discussion. None work. Is there an update?
:) Our Parenting Spot is an online parenting community for fathers, mothers, grandparents, teachers, and family service professionals. 8) We also provide low cost advertising options for authors, family service providers, and businesses with family friendly products and services. ;D Visit us @ www.OurParentingSpot.net!

Offline Sh@mbles

  • SMF Hero
  • ******
  • Posts: 4,937
  • Gender: Male
    • i30 Owners Club
Re: [HOWTO] Disable Tapatalk banner popup
« Reply #13 on: August 12, 2018, 12:33:52 PM »
I found I had to disable it in two places:


mobiquo/smartbanner.php

Code: (Find) [Select]
$app_banner_enable = isset($TT_bannerControlData['banner_enable']) && empty($TT_bannerControlData['banner_enable']) ? 0 : 1;
Code: (Replace) [Select]
// $app_banner_enable = isset($TT_bannerControlData['banner_enable']) && empty($TT_bannerControlData['banner_enable']) ? 0 : 1;
$TT_bannerControlData['banner_enable'] = 0;
$app_banner_enable = 0;


lib/classTTconnection.php

Code: (Find) [Select]
$app_banner_enable = isset($TT_bannerControlData['banner_enable']) ? $TT_bannerControlData['banner_enable'] : 1;            
Code: (Replace) [Select]
//$app_banner_enable = isset($TT_bannerControlData['banner_enable']) ? $TT_bannerControlData['banner_enable'] : 1;
$app_banner_enable = 0;

Offline mukul.wps

  • Newbie
  • *
  • Posts: 2
Re: [HOWTO] Disable Tapatalk banner popup
« Reply #14 on: October 31, 2018, 06:57:00 AM »
Sometimes that banner annoys me. thank you for helping how to disable it.