The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Disable some, but not all, plugins in PHP?
I use Tapatalk on my site and on my old Android phone I had almost no issues. This week I switched to an iPhone and discovered that there was a major issue on these phones that makes posting anything from Tapatalk result in an error message. Found out that this is usually due to a 3rd party add-on so I added a disable hooks line in the Tapatalk php file and the error is gone.
The only downside is that now I can't use vBSEO likes on my phone, as all modifications are disabled. So my question is can we disable plugins with PHP? I know it can be done with SQL, according to this thread, but I'm hoping there is a fix I can add to the main Tapatalk PHP file so the code only runs when Tapatalk is in use and a lot of other conditionals can be avoided. Any ideas? |
#3
|
|||
|
|||
I don't want to remove whatever add-on is causing the problem though - I just want to disable it when Tapatalk is being used to view the site. If it gets too messy to do this then I'll have to use your suggestion but hopefully another option is possible.
If the capability exists for this in PHP then it will be nice since the main Tapatalk file isn't called unless someone is using the app on his or her phone, so it wouldn't mess with normal browsing. |
#4
|
||||
|
||||
Okay, but, you first need to figure out WHICH addon it is, so lets start there, right?
|
#5
|
|||
|
|||
I was going to just disable all plugins except for vBSEO, since the likes function is the only thing I'm after enabling in Tapatalk. It seems unneeded to find out which mods cause the problem if they won't be enabled, right? If I'm wrong here in my reasoning or understanding of how this works, I'll gladly find it the problem add-on(s). Just want to run this argument by you first.
|
#6
|
||||
|
||||
'You can't really do that. But if you figure out which addon is causing a problem, you can probably disable it when it detects tapatalk.
|
#7
|
||||
|
||||
There is no way to disable all plugins except tapatalk. You can do as Zachery has suggested and disable some plugins, but only if they have an on/off switch. Not all plugins have on/off switches though, so even that will be difficult. I don't have the code to detect whether tapatalk is being used. So, that is problem one to figure out, then problem two is finding out if the problem plugin has an on/off switch.
|
#8
|
||||
|
||||
I know it is a pain to go and disable them all one by one but that is the only way to do it if you want to leave one running.
There was just an update for Tapatalk this week too so you may want to try it. I don't know about the Vbseo likes system working in tapatalk though. I didn't know it ever did. |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|