The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
![]()
I am not sure if this is the correct forum or not but seems like the only place to ask this.
We run vB 4.2.1 and have the mobile suite (from vB) running with (for now) the Android App. I wondered if it would be possible to notify users who visit the site from an Android device (which defaults to the mobile skin) about the Android App. I know I have seen this kind of functionality, I checked with vB but learned it is not part of the suite/theme. Anyone any idea if this is possible? |
#2
|
|||
|
|||
![]()
If I understand you correctly, you want to detect if the person is using an android device and display some kind of a notification that you have an APP available.
You would need to modify the detection software for the mobile style or add an additional detection routine just for the 'android' devices that vb's mobile APP runs with. Look at "/includes/init.php" approximately line 560. One of the things I do is after detection, I do some additional detection, and then store the device information in the users account. If you did something like this you could give him a message not only on the mobile but also if he viewed your board from a desktop. Anyway, take a look at vb's code there. It's a starting point. What your asking to do is not hard, but I haven't seen a MOD out there you can just plug-in. @BOP5 has an additional mobile detection script you might want to check out in the vb4 mod section, that may be some sort of help -- I don't know. I found it easier just to modify the core code. |
#3
|
|||
|
|||
![]()
Hi tbworld, thanks for your reply! I will check out the code (and see what BOB5 did aswell). I initially thought it was part of a skin or maybe even from an app, since Tapatalk does this (and it even looks like a system message).
If I can however manually show a popover or anything to direct our visitors to the app that is fine aswell (since that is the only reason to show it). Thanks again, Alex |
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|