• Welcome to Simple Machines Community Forum. Please login or sign up.
September 23, 2021, 05:26:02 AM

News:

Wondering if this will always be free?  See why free is better.


[HOWTO] Disable Tapatalk banner popup

Started by Mr. Jinx, August 04, 2013, 05:01:35 AM

Previous topic - Next topic

Mr. Jinx

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:
include($boarddir.'/mobiquo/smartbanner.php');

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

Phphelp

On the version I'm using I had to comment out this..
/sources/load.php

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

emanuele

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.

Phphelp

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/


Mr. Jinx

Quote from: Phphelp on August 22, 2013, 10:18:34 PM
On the version I'm using I had to comment out this..
/sources/load.php

$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.

Quote from: emanuele 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".
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?

emanuele

Quote from: Phphelp on August 23, 2013, 11:14:34 AM
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.

Quote from: Mr. Jinx on August 24, 2013, 06:42:07 AM
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 agreement4. 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.

PierreP_whited00r_com


LavaShakes

sometimes that banner annoys me. thank you for helping how to disable it.

konstantinos2424

Hello, is there any way to remove the blue welcome screen but keep the banner at the top of the forum? Thank you :)

Goldengirl71

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

420Connect.co.uk

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...

Quote from: http://devget.net/misc/how-to-disable-popup-banner-in-tapatalk/In your mobiquo/smartbanner/ folder, locate the file called head.inc.php

Create two new variables near the top of the file


$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" ;)

Mr. Jinx

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:
//tapatalk add
include_once($boarddir.'/mobiquo/smartbanner.php');


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

Uhura!

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!

Shambles

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;

mukul.wps

Sometimes that banner annoys me. thank you for helping how to disable it.

Seamen

Hello,
Can you put a howto for the latest version of Tapatalk ?
Thanks !

Advertisement: