How to add live chat on WordPress Website – Integrate Tawk.To Live Chat to WordPress

How to add live chat on WordPress Website – Integrate Tawk.To Live Chat to WordPress

In this Article I am going to share my personal experience that how i added the Twak.to Live Chat in my WordPress Site. After reading you come to know how to add live chat on WordPress Website.

This tutorial is basically my personal experience that how I integrate live chat on my WordPress Website. So without wasting time lets start tutorial.

Steps to add live chat on WordPress:

  • Add Plugin to your WordPress website.
  • Create account on Tawk.To Live Chat
  • Integrate Tawk.To with your website.

Step 1: Add Plugin to your WordPress website:

The first thing to do during the process of setup Live chat on your website. You have to add Tawk.To Live Chat WordPress plugin on your WordPress.

You can add this plugin using different ways. You can follow this guide to add tawk.To plugin on your WordPress website. Click Here to follow guide.

Add WordPress Plugin on your Website.

Once plugin is added to your WordPress site. Now you have to check your plugin here.

Now go to Setting-> Tawk.to option.

Setting-> Tawk.to
Tawk.to Settings

This page need some details from your Tawk.to account. its time to signup on tawk.to.

Steps 2: Create account on Tawk.To Live Chat

To configure your Tawk.to with your WordPress site you need to create Twak.to account on there platfrom first.

To create your account please click here.

  1. Click on the signup button and provide all required details. Provide all the following details EMAIL, NAME, PASSWORD.
signup button and add live chat on WordPress Websit
Sign up on tawk.to

If all of your information is correct then next screen appears that ask you to chose the Language for your live chat like i chose ENGLISG US.

chose the Language
Language Selection for tawk.to

After the selection of language click on Create Property and provide Property Details.

  1. Site Name
  2. Site URL
  3. Widget Name
Property Details
Property Details

Click on Team Members button and add there details.

Team Members
Team Members

Your email is default admin for your account but if you want to add someone else you can add.

Now you will asked to select type of your website and widget. you can add on this screen and click on done.

Install Wiidget
Install Widget

Once process completed you can see take a tour screen.

take a tour and know to add live chat on WordPress Websit
take a tour

Step 3: Integrate Tawk.To with your website:

You have to integrate your tawk.to account to your website now.

Go to the Settings-> Tawk.to Add email and password for your tawk.to account that you created in last step.

Settings-> Tawk.to
Settings-> Tawk.to

Now after sign in you have to select property that you created there on tawk.to account to enable live chat on your wordpress site.

live chat on your wordpress site
Select a property

You can visit the dashboard from here also.

dashboard
Dashboard

Now if you visit your site you can see this option for live chat on your WordPress site.

live chat on your WordPress site.
Live chat on your WordPress site.

Read More: How to set up Google Drive Backup on CyberPanel?

Follow US on Facebook / Twitter Instagram .

Access Cyberpanel Via Hostname with SSL- Issue SSL for Hostname

DO you want to access CyberPanel via a hostname with valid SSL ?

By default, you can access your cyber panel using the IP of your server and Port 8090. But For a valid SSL certificate, you must need a valid domain to access cyber panel with a valid SSL.

In this article, we will discuss how you can select a hostname and then issue SSL for that. So follow all steps along to access Cyberpanel Via Hostname with SSL.

Table of Content:

  1. Select a Valid Domain
  2. Create a Website on CyberPanel
  3. Issue SSL for HostName
  4. Access Cyberpanel

Select a Valid Domain

To access CyberPanel through a hostname and valid SSL first you need a domain through which you want to access CyberPanel. Like you want to use https://domian.com:8090 to access your CyberPanel you need to add domain.com to your CyberPanel.

Before creating a domain make sure that your DNS A records are point this server where you want to add a domain.

Create a Website on CyberPanel

To do so login to your CyberPanel using your Credentials then go to Websites->Create Website :

Create a Website on CyberPanel

Now provide all the required details and press Create Website button.

Now provide all the required details and press Create Website button.

Now your required website is created. SSL may be working for this domain But we need to issue for the Hostname and select this domain as the hostname.

Issue SSL for HostName:

Go to the SLL->Hostname SSL

Issue SSL for HostName:

Now select that domain you want to use for the Hostname. Then Press the Issue SSL.

Now select that domain you want to use for the Hostname. Then Press the Issue SSL.

This domain has now SSL for hostname you can use this to access cyberpanel

Access Cyberpanel:

Now it’s time to check that is this domain is working to access the CyberPanel. Go to your brewers and visit the Link https://your-domain.com:8090 it should work for your Hostname now you can access CyberPanel using this link.

Read More: How to set up Google Drive Backup on CyberPanel?

How to Integrate Google AdMob to your React Native Application?

Do you want to integrate your AdMob to React Native Application?

If you want to earn from your React Native Applications you need to integrate AdMob with your React Native Application. So Google AdMobs helps you to earn from your applications.

Mostly React Native Packages are installed using a single command. In this article, i will tell you the simplest way to install, Integrate, and use AdMob in your react native application.

Create AdMob Account:

First of all you must have a AdMob account. Go to this Article and check how you can create Admob account. The process of creating Admob account is very straight and simple. In this Article All steps are mentioned and described briefly.

How to Install React Native AdMob:

For the integration of Admob with react native first of all we have to Install React native AdMob in your project its is very easy to do so here we discuss the steps :

There are different packages to integrate Admob with your React Native Project but here I discuss that one which I personally use and I think have easy integration than Others.

React-native-admob is bossily a react-native module for Google AdMob Banners, Interstitials, and Rewarded Videos, and also DFP Banners. To install this module Run the command stated below.

npm i @talaikis/react-native-admob

In older versions of React native, you need to configure this module manually but now This fork is a working version for RN 0.60+. Don’t link this package, auto-linking works fine. No need to do extra linking at all.

Open your already created application and install this module using the line stated above.

Open your already created application and install this module using the line stated above.

Once installation process is done. Nothing to do other than this.

React native AdMob Types:

React native AdMob Allows four types of Ads units for its user:

  • AdMobBanner,
  • AdMobInterstitial,
  • PublisherBanner,
  • AdMobRewarded,

AdMobBanner,

AdMobBanner is the Banner Add for your Application you can add it as sticky location on at any place on any page of your applicatio.

To read more about this click here.

Usage

import {
  AdMobBanner,
 } from 'react-native-admob'

// Display a banner
<AdMobBanner
  adSize="fullBanner"
  adUnitID="your-admob-unit-id"
  testDevices={[AdMobBanner.simulatorId]}
  onAdFailedToLoad={error => console.error(error)}
/>

AdMobInterstitial,

This type of React-native AdMob has imperative API. You can use this at any function call.

To ready more Click Here.

Usage

import {
  AdMobInterstitial
} from '@talaikis/react-native-admob';

  componentDidMount() {
  AdMobInterstitial.setTestDevices([AdMobInterstitial.simulatorId]);
  AdMobInterstitial.setAdUnitID('ca-app-pub-your_ad-uint');

  AdMobInterstitial.addEventListener('adLoaded', () =>
    console.log('AdMobInterstitial adLoaded'),
  );
  AdMobInterstitial.addEventListener('adFailedToLoad', error =>
    console.warn(error),
  );
  AdMobInterstitial.addEventListener('adOpened', () =>
    console.log('AdMobInterstitial => adOpened'),
  );
  AdMobInterstitial.addEventListener('adClosed', () => {
    console.log('AdMobInterstitial => adClosed');
    AdMobInterstitial.requestAd().catch(error => console.warn(error));
  });
  AdMobInterstitial.addEventListener('adLeftApplication', () =>
    console.log('AdMobInterstitial => adLeftApplication'),
  );

  AdMobInterstitial.requestAd().catch(error => console.warn(error));
}

componentWillUnmount() {
  AdMobInterstitial.removeAllListeners();
}



showInterstitial() {
  AdMobInterstitial.showAd().catch(error => console.warn(error));
}

  componentWillUnmount() {
    AdMobRewarded.removeAllListeners();
  }

PublisherBanner,

This is just Like AdMobBanner with the addition of 2 extra properties:

Click here for more details:

Usage:

import {
  PublisherBanner,
  } from 'react-native-admob'
 
 <PublisherBanner
  adSize="fullBanner"
  adUnitID="your-admob-unit-id"
  testDevices={[PublisherBanner.simulatorId]}
  onAdFailedToLoad={error => console.error(error)}
  onAppEvent={event => console.log(event.name, event.info)}
/>

AdMobRewarded,

In comparison to the AdMobBanner and PublisherBanner which have a declaritive API, the AdMobRewarded has an imperative API, just like the AdMobInterstitial.

Click Here to read more:

Usage:

import {
  AdMobRewarded,
  } from 'react-native-admob';
 

componentDidMount() {
  AdMobRewarded.setTestDevices([AdMobRewarded.simulatorId]);
  AdMobRewarded.setAdUnitID('your ad unit');

  AdMobRewarded.addEventListener('rewarded', reward =>
    console.log('AdMobRewarded => rewarded', reward),
  );
  AdMobRewarded.addEventListener('adLoaded', () =>
    console.log('AdMobRewarded => adLoaded'),
  );
  AdMobRewarded.addEventListener('adFailedToLoad', error =>
    console.warn(error),
  );
  AdMobRewarded.addEventListener('adOpened', () =>
    console.log('AdMobRewarded => adOpened'),
  );
  AdMobRewarded.addEventListener('videoStarted', () =>
    console.log('AdMobRewarded => videoStarted'),
  );
  AdMobRewarded.addEventListener('adClosed', () => {
    console.log('AdMobRewarded => adClosed');
    AdMobRewarded.requestAd().catch(error => console.warn(error));
  });
  AdMobRewarded.addEventListener('adLeftApplication', () =>
    console.log('AdMobRewarded => adLeftApplication'),
  );

  AdMobRewarded.requestAd().catch(error => console.warn(error));

  

}

componentWillUnmount() {
  AdMobRewarded.removeAllListeners();
}

showRewarded() {
  AdMobRewarded.showAd().catch(error => console.warn(error));
}

How to change Upload Limit on CyberPanel? Increase or decrease Upload Size through CyberPanel?

How to create a staging or clone of the WordPress site from CyberPanel?

Sometime you may need to create a clone or staging site of your WordPress site to make changes and test them. CyberPanel allows to create staging or clone site easily.

In this article, I will tell you how you can create a staging or clone of your WordPress site from CyberPanel.

You can create a staging site from CyberPanel and after doing that you can merge it back to the Original or master site.

Always keep backup before doing anything. So if you lost anything you can restore. The process of creating a staging site is very easy to follow along to do so.

Create a Clone or create a Staging for your site:

Step 1: Log in to CyberPanel and Go to Manage Website

Create a clone or staging site in cyberpanel is very easy. I will write the steps below to do so.

The first thing to do is login to your cyberpaner using your credentials on port 8090.

Then go to the Websites->List Websites->Manage

 login to your cyberpaner using your credentials on port 8090

Step 2: Create a clone or Staging site

In the manage Dashboard, you can see the CLONE/STAGING button press that to process.

Create a clone or Staging site

Add the Domain name which you want to use as staging or clone.

Add the Domain name which you want to use as staging or clone

It will take some time and once staging is done it will show you this screen.

It will take some time and once staging is done it will show you this screen

Now you must have to set A records for the staging domain you create Like staging.yourdomain.com. Visit your DNS manager and add A record for this staging site. No need to add any other records. A record is enough for staging.

In cyberpanel got to Websites->List Child Domains you can check the staging site.

Push back, Copy or sync site to Master:

Once you did all changes to staging and now you want to sync the staging back with the master site CyberPanel allows to do this very easy to do so follow steps:

Go to the Websites-> List Child Domains:

Now on this page, you can see your staging site press the Manage button in front of your site.

you can see your staging site press the Manage button in front of your site

Now you are in the management dashboard of the staging site. You can see COPY/SYNC TO MASTER from here you can push back your staging to the original.

You can see COPY/SYNC TO MASTER from here you can push back your staging to the original.

Here you can chose the options:

  1. Copy complete Data
  2. Sync Database
  3. Copy Changed Files
Copy complete Data

Chose any option from them according to your requirement. Once the process of sync or coping is done now go back to your original site and check the changes if you have any cache plugin clear cache and then check the changes.

How to set up Google Drive Backup on CyberPanel?

How to create a New User in CyberPanel?

CyberPanel is next generation hosting control panel. CyberPanel is powered by LiteSpeed Technologies.

In CyberPanel you can create new users easily and allow them access so they can manage their website settings there.

CyberPanel allow three types of user access ADMIN, USER, and RESALLER. You can easily create new account of any type according to the requirement of user.

How to create a new user account in CyberPanel:

The process of creating user, admin and reseller account is same i will tell you where the difference is during creation steps.

Login to your cyberpanel using port 8090.

Step 1:

In left menu go to Users-> CREATE NEW USER or navigate to this URL

https://<Yourip>:8090/users/createUser
Login to your cyberpanel using port 8090

Step 2:

Now Provide the information that need to create new user:

  1. First Name
  2. Last Name
  3. Email
  4. Select ACL ( admin, reseller, user)
  5. Websites Limit (Put 0 for unlimited)
  6. Username
  7. Password (Press Generate for strong)
  8. Security Level (High or Low)
Now Provide the information that need to create new user:

Here in Select ACL you can create the admin, user or reseller permissions. Admin has access for every thing, reseller has less access then admin and at last user has some specific access.

Step 3:

After providing these required information press create a user and user is created successfully now you can see your user by navigating to USERS->LIST USERS. Or visit this URL

https://<your ip>:8090/users/listUsers
you can see your user by navigating to USERS->LIST USERS. Or visit this URL

How to create a staging or clone of the WordPress site from CyberPanel?

How to Transfer the whole Website From one CyberPanel to Other CyberPanel using a backup method?

If you want to transfer your web site from one cyberpanel to any other cyberpanel without losing any data, you are on right place follow this article step by step.

If you are thinking to transfer your site from any other CyberPanel. Maybe you Changed your server. In this article, I will tell you how you can transfer your site from one Cyberpanel to another Cyberpanel. I will use the backup method to transfer the whole website from one CyberPanel to the second Cyberpanel.

Table of Contents:

  1. Create a Backup
  2. Set Permissions or Move Public_html
  3. Download to local Computer or Download on a remote server
  4. Move to the backup folder
  5. Restore Backup
  6. Check through the Host file.

Create a Backup:

To tranfer your website from CyberPanel to CyberPanel this methode is one of the simple and easy method. Follow along with me to setup:

  1. Login to your CyberPanel through your cyberpanel link like https://<your-ip>:8090: Provide credentials and press login.
Login to your CyberPanel

2. Now in the left menu bar Go to the Backup->Create Backup section. You can also navigate to this link. https://<your-ip>:8090/backup/backupSite

Now in the left menu bar Go to the Backup->Create Backup section.

Click on create back up button here.

3. Now cyberPanle asks you to select a site and the destination where the backup will store. The site for which you want to create a backup. Select your website, and leave the path as empty. And press Create back up button to start the backup creation process.

The site for which you want to create a backup

4. Now you can see the process of backup creation is running and in process.

 Now you can see the process of backup creation is running and in process.

wait until it will give you the massage Done. After creation you can see the massage of completed and can see a backup with its id on screen.

After creation you can see the massage of completed and can see a backup with its id on screen.

Done for backup process go to next step.

Set Permissions or Move Public_html:

If you are going to download files from cyber panel to a local computer then skip this step. Now in this step, you need to login to your SSH terminal. Using any software like putty or Bitvise. For this article, I am going to use Bitvise.

  1. Login to Bitvise SSH you must have credentials:
    1. Your server IP
    2. Username (root)
    3. Port number (22)
    4. Password
Login to Bitvise SSH you must have credentials

After providing all details press the Login button. Now open STFP to check and confirm the backup.

open STFP to check and confirm the backup

2. Now go to this path in sfpt

/home/yoursite/backup
go to this path in sfpt

Here you can use two method one is to change permissions and download this file directly from this path on the remote server and other is move it into the public_html and then download. Second one is recommended.

Change Permission:

Click on the file and the go to Properties->Permissions :

Click on the file and the go to Properties->Permissions

Change the permission to 777 as shown in picture. And press OK

Move to Public_html:

Type this command:

cp /home/yourdomain.com/backup/backupfilename home/yourdomain.com/public_html

Go and check the file.

Download to local Computer or Download on a remote server:

Now its time to download the file to the local pc or on another server in order to restore the backup. Make sure that the cyber panel is installed on this server.

Download to local computer and then upload:

This way is time taking way but if you dont have credentials fo SSH then go for this.

Go to the Websites->List website

Websites->List website

Press Manage button on the right side of website

Press Manage button on the right side of website

Press Manage button on the right side of website

Press Manage button on the right side of website

Go to the backup folder and Click the file and then click download you can see the file while downloading

click download you can see the file while downloading

Download Remotely using command:

Login to your SSH terminal and type this command if backupfile is in public_html folder:

wget yourdomain.com/backupfilename

If backup files are in back folder then type:

wget yourdomain.com/backup/backupfilename

Move to backup folder:

Now in order to restore Backup, you have to create a directory backup at home. use these commands to create a backup directory

cd /home
mkdir backup

Restore Backup:

Now its ite to restore backup for this log in to the new cyberpane.

  1. Go to the Backup->Restore backup:
Backup->Restore backup

Select the backup file that you placed inside the backup folder

2. Click start backup I will take some time to restore wait until backup is completed.

 I will take some time to restore wait until backup is completed.

Check through Host file:

At last step confirm that the backup is restored properly foe this open host file from your local computer.

  1. Write Notepad in search bar of window.
Write Notepad in search bar of window.

Open Notepad as administrator

Open Notepad as administrator

Now open the file host place in

C:\Windows\System32\drivers\etc
Now open the file host place in

Write your new ip and then press TAB then write your site

 press TAB then write your site

Go to your browser and visit your site is working or not.

How to set up Google Drive Backup on CyberPanel?

How to Setup Catch-All Email Account in Postfix?

Do you want to catch-all emails in postfix? Does missing emails due to misspelling addresses bothered you? Then this article is for you.

A catch-all email account is used to get all emails sent from every email account of your domain. No matter that email account exists or someone misspelled that email. Catch-all is usually used when you do not want to lose any email due to the wrong email address or email that did not exist.

Here we discuss all steps that are needed to set up a catch-all email account in Postfix.

Follow along so you can easily setup and never miss any Email.

Create Catch All Account:

The first step is to create a catch-all account where you will receive all emails. Which are lost due to misspelling or non existing email?

To do so you have to add a virtual alias to the Postfix server. The path of file where you have to add the alias is /etc/postfix/virtual.

You have to edit this file in your favorite Editor I chose vi editor. Use this command to edit the file.

vi /etc/postfix/virtual
Setup Catch-All Email Account in Postfix

Now add the address for catch-all at the end of this file. Add the address like:

@yourdomain.com username

You can also specify any email account where you want to catch-all emails. You can specify different email account for this operation also. like:

Support@example.com Support@example.com
team@example.com  team@example.com
help@example.com help@example.com

If you didn’t specify the valid account then your valid account’s email will also go to that specific email you specify for catch-all. This account helps to Catch-all email that you miss due to non existing account or misspelled email addresses.

After adding these Alias to /etc/postfix/virtual save and exit.

After this we have to run a command to execute this file again.

postmap /etc/postfix/virtual

Now your updated file is loaded shift to next step.

Setup Postfix Configuration:

After editing the virtual file now its time to do some configurations in the postfix configuration file. In order to do this go to the file etc/postfix/main.cf. Edit this file in vi or any other editor you like. for vi use this command:

vi /etc/postfix/main.cf

you have to add virtual_alias_maps in this file add this line at the end of this main.cf file:

virtual_alias_maps = hash:/etc/postfix/virtual

Reload Postfix for new settings:

Now Postfix needs to reload so it can fetch the new settings. To reload postfix run the command:

systemctl reload postfix
systemctl reload postfix

Now all done good to go.

How to Setup Two Factor Authentication in CyberPanel?