The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
[Question] How to bypass API for certain plugins?
Hi there,
This is regarding vbulletin mobile app. I am not a programmer so I sincerely need a help here. What do they mean by this: Code:
if (!VB_API) { Plugin code here } For example, glowmatic spam or vbet, or VSA advanced forum rules etc. Thank you. --------------- Added [DATE]1312542541[/DATE] at [TIME]1312542541[/TIME] --------------- Can some help me? |
#2
|
|||
|
|||
If I understand correctly, you want to modify some existing mods like glowmatic spam or VSA advanced forum rules so that they don't work if you're using the mobile app? Then what you'd do is, in the adminCP go to Plugins and Products -> Plugin Manager, and that lists the plugins sorted by product. There you can edit each plugin and surround it with the code above.
|
#3
|
|||
|
|||
Hi advisor kh99,
Thanks for your reply! Yes I think this is what I want. However, for example some of the plugins consist too many hooks, do you think you are able to help, say for example plugin "XXX", and how do I create a global hook so that I can call out "(!VB_API)" whenever the plugin "XXX" is being used. Instead of inserting the code in every of the plugin hook locations. |
#4
|
||||
|
||||
The only way to do it is to edit every plugin of that modification if you need none of that code to run when you are using the mobile app.
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|