Announcement

Collapse
No announcement yet.

Enabling Push Notifications in vBulletin 5.3.2 and Mobile Suite 1.16

Collapse
X
Collapse

  • Enabling Push Notifications in vBulletin 5.3.2 and Mobile Suite 1.16

    vBulletin Mobile Suite 1.16 includes functionality for Push Notifications. One of the requirements to add this functionality is that you must be running vBulletin 5.3.2 Connect on your site and create a project with Google's Firebase Cloud Messaging (FCM) platform. The steps below will walk you through the process of enabling this functionality in vBulletin and in your Mobile Apps.

    Add a project to your Firebase account
    Click image for larger version  Name:	fcm1.png Views:	1 Size:	80.0 KB ID:	4374511







    Setup Push Notifications for Android app

    First, you will need to add an Android app to your FCM project
    Click image for larger version  Name:	fcm2.png Views:	1 Size:	64.0 KB ID:	4374512




    The package name for your Android App can be retrieved from your Mobile Publisher account at:
    Click image for larger version  Name:	fcm3.png Views:	1 Size:	75.2 KB ID:	4374513





    After registering your Android app with FCM, you will be able to download the google-services.json file:
    Click image for larger version  Name:	fcm4.png Views:	1 Size:	112.0 KB ID:	4374514




    Now you need to upload the downloaded google-services.json to your Mobile Publisher account.
    Click image for larger version  Name:	fcm5.png Views:	1 Size:	78.5 KB ID:	4374515






    Press Continue to submit the build request for your Android app.

    Setup push notification for iOS app

    Add an iOS app to your Firebase project:
    Click image for larger version  Name:	fcm6.png Views:	1 Size:	53.2 KB ID:	4374516





    Your iOS Bundle Id can be retrieved from your Mobile Publisher account at the following location:
    Click image for larger version  Name:	fcm7.png Views:	1 Size:	137.3 KB ID:	4374517




    After registering your iOS app in FCM, you will get to download the GoogleService-info.plist file:
    Click image for larger version  Name:	fcm8.png Views:	1 Size:	97.8 KB ID:	4374518





    Upload your downloaded GoogleService-info.plist file to your Mobile Publisher account:
    Click image for larger version  Name:	fcm9.png Views:	1 Size:	70.6 KB ID:	4374519





    Press Continue to submit the build request for your iOS app in vBulletin Mobile Publisher. Once the build process is complete, you will need to continue with the included documentation inside the build download package. Make sure to register the use of Push Notifications as specified in the documentation or Apple will reject your app.

    Add Firebase Cloud Messaging Server key to your vBulletin 5 AdminCP settings

    Copy the Firebase Cloud Messaging Server key:
    Click image for larger version  Name:	fcm10.png Views:	1 Size:	106.3 KB ID:	4374520




    In the AdminCP go to Settings -> Options -> vBulletin API and Mobile Application Options. Make sure that "Firebase Cloud Messaging is enabled. Then paste your Firebase Cloud Messaging Server key into the Server Key field.
    Click image for larger version  Name:	fcm11.png Views:	1 Size:	203.9 KB ID:	4374521





    Save the Options page.
      Posting comments is disabled.

    About the Author

    Collapse

    Wayne Luke A curious juxtaposition of nature, technology and sustainability. Find out more about Wayne Luke

    Article Tags

    Collapse

    advanced (5) android (2) api (29) array (17) attachment options (1) beginner (17) best practices (1) blog (4) calendar (2) cloud (1) cms (2) customization (1) forum (3) forums (4) Intermediate (7) iphone (3) mapi (30) methods (10) mobile (34) poll (1) security (2) style (2) threads (4) vb5howto (5) vBulletin (5)

    Latest Articles

    Collapse

    • The Basic Anatomy of a vBulletin Page
      Wayne Luke
      vBulletin 5's user output is created using a system of pages that are customizable by the site administrator. This system is called Site Builder. By breaking the system down into pages, a lot of control is given to the system administrator. By using Site Builder, you can create a unique site without any knowledge of HTML or CSS.

      vBulletin's pages are created using layers built upon a grid layout. Each page starts with a layout which defines the content areas of the page. Layouts define...
      Mon 11th Sep '17, 9:55am
    • Enabling Push Notifications in vBulletin 5.3.2 and Mobile Suite 1.16
      Wayne Luke
      vBulletin Mobile Suite 1.16 includes functionality for Push Notifications. One of the requirements to add this functionality is that you must be running vBulletin 5.3.2 Connect on your site and create a project with Google's Firebase Cloud Messaging (FCM) platform. The steps below will walk you through the process of enabling this functionality in vBulletin and in your Mobile Apps.

      Add a project to your Firebase account






      Setup Push Notifications...
      Thu 27th Jul '17, 9:56am
    • Enabling Two-Factor Authentication
      Wayne Luke
      vBulletin 5.3.0 and higher will allow site owners to enable Two-Factor Authentication for Administrator and Moderator functionality. This is an extra layer of security provided to make sure your user data remains as safe as possible. Two-Factor Authentication works in conjunction with an app on the user's smartphone, tablet, or computer. These apps provide a security token that lasts a limited time before expiring. The security token is created using industry standard algorithms and a unique string...
      Tue 4th Apr '17, 9:38am
    • How to moderate the posts of new users only
      Wayne Luke
      To help combat spam, many users opt to have new user’s posts moderated until they’ve made a specific number of posts. This allows the Admin/Moderator team to keep potentially malicious posts out of the public eye until a user has effectively passed a ‘probationary period’ as a member of the site.

      In order to do this, you will need to create a custom usergroup and a promotion.

      Creating a Custom Usergroup
      First, you need to setup the usergroup for your non-Moderated...
      Wed 22nd Feb '17, 10:13am
    • Rebuilding the Sphinx index
      Wayne Luke
      From time to time, we will need to update the indexing schema for the Sphinx server. In order for this fix to take effect, you will need to update the sphinx schema for the index. Follow these steps to rebuild your Sphinx Search Schema.
      1. Stop the Sphinx service on your server.
      2. Replace your existing Sphinx configuration file (vbulletin-sphinx.php) with the one provided in the current version of vBulletin 5 Connect. You can find this file in the do_not_upload directory.
      3. Update the file as provided
      ...
      Fri 3rd Feb '17, 2:01pm
    • Using the Search JSON
      Dominic
      Using the advanced editor you can create powerful search modules. Following you find possible filters / parameters for using within these modules:
      The search JSON parameter has the following format:

      Code:
      { "filter": <value>, "filter": <value>, ... }
      <value> may be any valid string, number or JSON structure and will be interpreted by the specified filter. Filters not listed below are ignored.

      Filters

      The valid filters...
      Wed 28th Jan '15, 1:51pm
    Working...
    X