Closed gazza07 closed 5 years ago
How is that link even remotely similar to my problem ? tapatalk is installed and working 100% on SMF v2.1rc2, If I install optimus then it stops tapatalk from working with the error shown in the previous post, I'm not having any problem uninstalling anything.
Sorry, I cannot provide compatibility with all existing mods, especially unofficial.
Try to add this line
global $sourcedir; require_once($sourcedir . '/Optimus/Subs.php');
before the line 84 in Integration.php
Nice one thank you that appears to have fixed the problem tapatalk now works fine, Ive added a snippet of the code as I added it below
` // Favicon if (!empty($modSettings['optimus_favicon_text'])) { $favicon = explode("\n", trim($modSettings['optimus_favicon_text'])); foreach ($favicon as $fav_line) $context['html_headers'] .= "\n\t" . $fav_line; }
// TapaTalk Fix Bugo
global $sourcedir; require_once($sourcedir . '/Optimus/Subs.php');
// Counters
Subs::addCounters();
// Addons
Subs::runAddons();
`
I encountered the same problem on SMF version 2.1 RC4. Thank to your hints I solved adding the following code to row 158 of Integration.php file of new Optimus.
// TapaTalk Fix Bugo
global $sourcedir; require_once($sourcedir . '/Optimus/Subs.php');
Here is the modified function:
public static function loadTheme()
{
loadLanguage('Optimus/');
// TapaTalk Fix Bugo
global $sourcedir; require_once($sourcedir . '/Optimus/Subs.php');
Subs::changeFrontPageTitle();
Subs::addCounters();
}
Tapatalk doesnt work with this mod installed it just shows an error on the mobile device anychance of fixing this quite a few of my members use tapatalk, There is no error shown in the forum log