Skip to content
Aniket Magadum edited this page Sep 1, 2019 · 6 revisions

How to use this plugin?

Configuration

  1. Visit the settings panel of your website panel and search for userconnect.
  2. Provide the basic configuration for the plugin.

Components

This plugin includes the following components

  1. Newsletter
  2. SocialFab

Simply drag and drop the component to a CMS Page or Layout.

API

You may use the data captured by the plugin anywhere in your website .

List of verified subscribers

use Fytinnovations\UserConnect\Models\Subscriber;

public function getVerifiedSubscribers(){
    $subscribers= Subscriber::verified();
    return $subscribers;
}

List of unverified subscribers

use Fytinnovations\UserConnect\Models\Subscriber;

public function getVerifiedSubscribers(){
    $subscribers= Subscriber::unverified ();
    return $subscribers;
}

Event Listener

You can listen to the beforeVerificationMailSend and write some functionality

Event::listen('fytinnovations.userconnect.beforeVerificationMailSend', function($subscriber) {
    //Making a API Call        
});

Custom Component

You can follow this guide to override the default component markup

Clone this wiki locally