How can i activate the "Push" notification function when members visit my forum?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • neth
    New Member
    • Jun 2010
    • 2
    • 4.0.0

    How can i activate the "Push" notification function when members visit my forum?

    Hi everyone,

    I would like to find out on how I can setup a "PUSH" notification to notify users that my forum has this mobile app for iphone/android when they visit my forum using iphone/andriod?

    I saw from some forum websites with this mobile suite having this PUSH function when I visit their website via the normal safari browser from iphone. The website will automatically pop up a notification to prompt me that the forum has an app to download via app store.

    Can someone help on this please?

    Thanks.
  • SteveLV702
    Senior Member
    • Aug 2009
    • 1466

    #2
    ------------------------------------------
    Steve
    DM Mobile Lite (iTunes)(Android)(Blackberry)
    CN Mobile Lite (iTunes)(Android)(Blackberry)
    TheFaFClan Mobile Lite (iTunes)(Android)(Blackberry)
    Audi Spirit Mobile Lite (iTunes)(Android)(Blackberry)

    Comment

    • neth
      New Member
      • Jun 2010
      • 2
      • 4.0.0

      #3
      Hi bro thanks for the reply. May I know how can I retrieve the links of my app store for both IOS and android?


      <script type="text/javascript">
      function iPhoneAlert( )
      {
      if ( navigator.userAgent.match(/iPhone/i) || navigator.userAgent.match(/iPod/i) )
      {
      var qes* *= confirm( "This forum has an iPhone app! Click OK to learn more about Digital Mayhem Mobile for iPhone." );
      if ( qes )
      window.location* *= "http://dmlinks.us/DMMobile-iOS";
      }
      else if ( navigator.userAgent.match(/Android/i) )
      {
      var qes* *= confirm( "This forum has an Android app! Click OK to learn more about Digital Mayhem Mobile for Android." );
      if ( qes )
      window.location* *= "market://details?id=com.vbulletin.build_113";
      }
      }
      </script>

      Comment

      • SteveLV702
        Senior Member
        • Aug 2009
        • 1466

        #4
        iOS
        -------------
        https://itunesconnect.apple.com > Manage Your Applications > Click Your App > View in App Store

        Click image for larger version

Name:	Screen Shot 2011-09-21 at 10.18.27 AM.png
Views:	1
Size:	91.3 KB
ID:	3685431

        or

        iTunes > Search for your App in the store > see Download/Buy button next to it is a arrow > select arrow and then Copy Link

        Click image for larger version

Name:	Screen Shot 2011-09-21 at 10.19.01 AM.png
Views:	1
Size:	42.9 KB
ID:	3685432


        Android
        --------------------

        Go to market.android.com > search your app > in address bar copy the com.vbulletin.build_xx part and then in the code for the popup

        "market://details?id=com.vbulletin.build_113"

        replace the _113 with yours......

        Click image for larger version

Name:	Screen Shot 2011-09-21 at 10.22.11 AM.png
Views:	1
Size:	16.2 KB
ID:	3685433
        ------------------------------------------
        Steve
        DM Mobile Lite (iTunes)(Android)(Blackberry)
        CN Mobile Lite (iTunes)(Android)(Blackberry)
        TheFaFClan Mobile Lite (iTunes)(Android)(Blackberry)
        Audi Spirit Mobile Lite (iTunes)(Android)(Blackberry)

        Comment

        • debodle
          New Member
          • Feb 2010
          • 4
          • 4.0.0

          #5
          I was looking for exactly this solution...however, I added the code as instructed to the bottom of the header and headinclude templates, tested from my iPhone and it didn't work. I turned the debug console on for Safari on my phone and found Javascript errors as below:
          JavaScript: Error on Line 64
          SyntaxError: Parse error
          Javascript: Error
          undefined
          ReferenceError: Can't find variable: iPhoneAlert

          We are running vb 4.1.7. Can anyone help?

          Comment

          widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
          Working...