Wordpress plugins that enables you to create web forms, that stores information in Firebase RealTime Database after user login thru FirebaseUI. It will then trigger Firebase Functions, to submit information to AWS Elastic Search thru AWS API Gateway and AWS Lambda.
Wordpress plugins that enables you to create web form, that stores information in Firebase RealTime Database after user login thru FirebaseUI. It will then trigger Firebase Functions, to submit information to AWS Elastic Search thru AWS API Gateway and AWS Lambda.
Please change or initiate firebase application by configuring below mentioned parameters in \firebase-forms\lib\init_firebase.php
$apikey = “XXXXXXXXXXXXXXXXXXXXXXXXXXX”;
$authdomain = “XXX-XX-XXXXX.firebaseapp.com”;
$dburl = “https://XXX-XX-XXXXX.firebaseio.com“;
$projecturl = “XXX-XX-XXXXX”;
$bucket = “XXX-XX-XXXXX.appspot.com”;
$senderid = “XXXXXXXXXXXX”;
DEFAULT_TOKEN: You can get it from firebase console > project > project settings > Service accounts > Database secrets
<div style="width: 100%;">
<div style="width: 30%; float: left; margin-right: 10px;">[bootstrap_sidebar_navigation]</div>
<div class="container" style="width: 60%; float: left;">[firebase_form_shortcode]</div>
<div style="clear: both;"></div>
</div>
[bootstrap_sidebar_navigation]
: Shortcode for sidebar navigation[firebase_form_shortcode]
: Shortcode for contest forms[firebase_contest_shortcode contest="-LHITRFgQimv9k6UzbYn"]
: Shortcode to show participated users, where contest is ID of contest which you can get from admin
1. form-{id}.php eq. form-2.php in folder /view/
Node:
- wp_fb_admin : Add admin users
- wp_fb_contests : This node will include contest data like createdate and name
- wp_fb_images : This node will include image info like description, status, createdate and URL
- wp_fb_tokens : This node will include user device token which will be used as user login token
- wp_fb_users : This node will include user related data like address, name and createdate
The MIT License (MIT)
Copyright (c) 2018 Christian Lai Yit Ming
The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.