Go Back   vb.org Archive > vBulletin Modifications > vBulletin 4.x Modifications > vBulletin 4.x Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Progressive Web App [PWA] for vBulletin Details »»
Progressive Web App [PWA] for vBulletin
Version: 1.0.0, by iA1 iA1 is offline
Developer Last Online: Jul 2023 Show Printable Version Email this Page

Category: Board Optimization - Version: 4.2.x Rating:
Released: 11-02-2018 Last Update: 11-03-2018 Installs: 7
Supported Uses Plugins Auto-Templates
Additional Files  

Progressive Web App for vBulletin

Overview:

Progressive Web App (PWA) is a collection of latest technologies for web and mobile apps.

A Progressive Web App is:
  • Progressive - Works for every user, regardless of browser choice because it's built with progressive enhancement as a core tenet.
  • Responsive - Fits any form factor: desktop, mobile, tablet, or whatever is next.
  • Connectivity independent - Enhanced with service workers to work offline or on low-quality networks.
  • App-like - Feels like an app, because the app shell model separates the application functionality from application content .
  • Fresh - Always up-to-date thanks to the service worker update process.
  • Safe - Served via HTTPS to prevent snooping and to ensure content hasn't been tampered with.
  • Discoverable - Is identifiable as an "application" thanks to W3C manifest and service worker registration scope, allowing search engines to find it.
  • Re-engageable - Makes re-engagement easy through features like push notifications.
  • Installable - Allows users to add apps they find most useful to their home screen without the hassle of an app store.
  • Linkable - Easily share the application via URL, does not require complex installation.

This product allows you to design a PWA for your forum using a simple service worker for offline webpage. For best experience, use this in combination with Web Push notifications. Read more about PWA here: https://developers.google.com/web/progressive-web-apps/



Pre-requisites:

To fully benefit from PWA, your forum must fulfill the following:
  1. HTTPS enabled
  2. Responsive style


Optional
  1. Install Web Push Notifications, https://vbulletin.org/forum/showthread.php?t=326558
  2. Upload your forum logo images with at least two sizes, 512x512 and 128x128 pixel

With PWA and web push, you no longer need an app on Play store.


To Install:
  1. Upload the files from upload folder of attached zip to your forum root directory
  2. Modify manifest.json file as per your forum requirement and upload it to your forum root directory.
    If you are using the Web Push Notifications product, you may already have manifest.json file on your server. Simply modify that file and fill the missing tags
  3. Install the product using the xml file in AdminCP -> Plugins & Products -> Manage Products -> Add/Import Product.
Click Installed. Keep your mobile users engaged.


Backup/Warning:

This product does not alter your database, however it is always good practice to make regular backups and you should make a backup before installing ANY new mod.

As always, products are USE AT YOUR OWN RISK. I will provide support and do my best to help but no absolute guarantee is offered.


Demo

Visit https://www.vb4mobile.com using your smartphone browser. You will see a banner at the bottom asking you to add vB4Mobile to home screen.






If you run PWA audit using Chrome Developer Tools, it shows 100%.




Licence Agreement

This modification is provided "AS IS" without any liability whatsoever on the developer.
This modification is released under the All Rights Reserved licence.
You may not redistribute the package in whole or significant part.
All copyright notices must remain unchanged and visible.
You may provide phrase .xml files for other languages on any site,
but you may not provide the full product .xml file - only the phrases.

=====PLEASE DO NOT REDISTRIBUTE=====

This product is available on https://vbulletin.org only. No other sites may redistribute this mod. If you find this mod at any site besides the above please contact me by PM


Please "Mark as Installed" if you use this.
Donations are always welcome


Paid support is available for Responsive Style and setting up PWA on your forum.

Download Now

File Type: zip PWA by iA1.zip (93.3 KB, 84 views)

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.
2 благодарности(ей) от:
rodriiverduguez

Comments
  #12  
Old 11-26-2018, 02:08 PM
CharlieDelta CharlieDelta is offline
 
Join Date: Apr 2010
Posts: 616
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Interesting. Will check this out.
Reply With Quote
  #13  
Old 11-26-2018, 02:20 PM
CharlieDelta CharlieDelta is offline
 
Join Date: Apr 2010
Posts: 616
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

The banner is not displaying when I visit https://www.vb4mobile.ml/ on my phone using both Chrome and Firefox browsers.
Reply With Quote
  #14  
Old 11-26-2018, 03:51 PM
iA1 iA1 is offline
 
Join Date: Jul 2018
Posts: 150
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by CharlieDelta View Post
The banner is not displaying when I visit https://www.vb4mobile.ml/ on my phone using both Chrome and Firefox browsers.
Is it an Android phone? I can see it on my android phone.

This products enables PWA for your site, but displaying the Add to Home Screen banner is browser dependent. Each browser decides how and when to display the banner or not to display it at all. We don't have any control over it. We only enable all the features required to display it.
Reply With Quote
  #15  
Old 07-10-2019, 05:55 PM
iA1 iA1 is offline
 
Join Date: Jul 2018
Posts: 150
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default



See the icon on lower-right corner, beside the camera

Works on all Android devices. iOS is not yet supported.

Update:

For iOS, add this line in headinclude template:
Code:
<link rel="apple-touch-icon" href="https://yourdomain.com/logo192x192.png">
Replace the logo image link with a square image of 192x192 pixel.
Reply With Quote
  #16  
Old 10-19-2019, 02:46 PM
scottkoz20 scottkoz20 is offline
 
Join Date: Dec 2015
Location: Lewiston, NY
Posts: 344
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

still no support for iOS correct?
Reply With Quote
  #17  
Old 10-28-2019, 03:51 AM
iA1 iA1 is offline
 
Join Date: Jul 2018
Posts: 150
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by scottkoz20 View Post
still no support for iOS correct?
For iOS, add this line in headinclude template:
Code:
<link rel="apple-touch-icon" href="https://yourdomain.com/logo192x192.png">
Replace the logo image link with a square image of 192x192 pixel.
Reply With Quote
Благодарность от:
scottkoz20
  #18  
Old 10-30-2019, 10:47 AM
scottkoz20 scottkoz20 is offline
 
Join Date: Dec 2015
Location: Lewiston, NY
Posts: 344
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by iA1 View Post
For iOS, add this line in headinclude template:
Code:
<link rel="apple-touch-icon" href="https://yourdomain.com/logo192x192.png">
Replace the logo image link with a square image of 192x192 pixel.
I had put this in the header, not headinclude...


Thanks,
SK
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 01:15 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04385 seconds
  • Memory Usage 2,317KB
  • Queries Executed 25 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (3)bbcode_code
  • (3)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (8)post_thanks_box
  • (2)post_thanks_box_bit
  • (8)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (2)post_thanks_postbit
  • (8)post_thanks_postbit_info
  • (7)postbit
  • (1)postbit_attachment
  • (8)postbit_onlinestatus
  • (8)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete