Plugin Directory

Changeset 2027421


Ignore:
Timestamp:
02/08/2019 06:07:12 PM (7 years ago)
Author:
kranthitech
Message:

commented badge

Location:
yeloni-free-exit-popup/trunk
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • yeloni-free-exit-popup/trunk/admin-interface/dist/admin.min.js

    r2026316 r2027421  
    981981        $scope.addonGroups = {
    982982
     983            bundle: {
     984                title: 'Get all the Premium Features',
     985                monthly: 15,
     986                annual: 10
     987            },
    983988            individual: {
    984989                title: 'Get a Feature you need',
    985990                monthly: 8,
    986991                annual: 5
    987             },
    988             bundle: {
    989                 title: 'Get all the Premium Features',
    990                 monthly: 15,
    991                 annual: 10
    992992            },
    993993
     
    40484048        }
    40494049
     4050        this.extensionCount = function () {
     4051            if (setup) {
     4052                return Object.keys(setup.extensions).length
     4053            }
     4054
     4055            return 0
     4056        }
     4057
    40504058        this.isPremium = function () {
    40514059            if (setup.package_id && setup.package_id != 'default') {
     
    50515059                upgrade: 'Show on Mobiles and Tablets addon',
    50525060                description: 'In the free version popup is shown only on Desktops. Get this addon to show Popups on Mobiles and Tablets',
    5053                 image: 'https://www.yeloni.com/wp-content/uploads/2019/01/Mobile_and_tablets_addon.jpg',
     5061                image: 'https://yeloni.com/wp-content/uploads/2019/02/Mobile-and-tablets-addon.jpg',
    50545062                url: 'https://www.yeloni.com/product/show-mobiles-tablets/',
    50555063                wcId: '1627',
     
    50665074                ideal: "Show on selected pages",
    50675075                icon: "glyphicon glyphicon-list-alt",
    5068                 upgrade: 'Show on Selected Pages addon',
     5076                upgrade: 'Show only on Selected Pages addon',
    50695077                description: "In the free version popup is shown on all the pages of your website. Get this addon to specify which page(s) you want to see the popup on",
    5070                 image: 'https://www.yeloni.com/wp-content/uploads/2019/01/page_selection_addon.jpg',
     5078                image: 'https://yeloni.com/wp-content/uploads/2019/02/page-selection-addon.jpg',
    50715079                url: 'https://www.yeloni.com/product/show-selected-pages/',
    50725080                wcId: '1628',
     
    51005108                upgrade: "Disable all Yeloni Branding addon",
    51015109                description: "Auto responder messages come with a small footnote. This extension enables you to disable the message",
    5102                 image: 'https://www.yeloni.com/wp-content/uploads/2019/01/unbranding_addon.jpg',
     5110                image: 'https://yeloni.com/wp-content/uploads/2019/02/unbranding-addon.jpg',
    51035111                url: 'https://www.yeloni.com/product/remove-yeloni-email-signature-autoresponder-emails/',
    51045112                wcId: '1629',
     
    51145122                ideal: "custom html >",
    51155123                icon: "glyphicon glyphicon-list-alt",
    5116                 upgrade: 'Add your own Custom HTML addon',
     5124                upgrade: 'Add Custom HTML addon',
    51175125                description: "If you have specific requirements or an in-house designer, this extension allows you to create popups with your own HTML and CSS",
    5118                 image: 'https://www.yeloni.com/wp-content/uploads/2019/01/custom_html_addon.jpg',
     5126                image: 'https://yeloni.com/wp-content/uploads/2019/02/custom-html-addon.jpg',
    51195127                url: 'https://www.yeloni.com/product/custom-html-popup/',
    51205128                wcId: '1630',
     
    51325140                upgrade: 'Email Marketing Integrations',
    51335141                description: 'This extension allows you to integrate Yeloni with Aweber, Active Campaign and Sendy',
    5134                 image: 'https://www.yeloni.com/wp-content/uploads/2019/01/email_marketing_addon.jpg',
     5142                image: 'https://yeloni.com/wp-content/uploads/2019/02/email-marketing-addon.jpg',
    51355143                url: 'https://www.yeloni.com/product/connect-email-provider/',
    51365144                wcId: '1631',
     
    51485156                upgrade: 'Guest Only addon',
    51495157                description: "This allows you to disable widgets for users who are already logged in. Works only if you are using wordpress to manage your users",
    5150                 image: 'https://www.yeloni.com/wp-content/uploads/2019/01/guest_only_addon.jpg',
     5158                image: 'https://yeloni.com/wp-content/uploads/2019/02/guest-only-addon.jpg',
    51515159                url: 'https://www.yeloni.com/product/hide-popup-logged-visitors/',
    51525160                wcId: '1632',
     
    51645172                upgrade: 'Segment by Source addon',
    51655173                description: 'This allows you to segment your audience based on the referring site. For example, you could show one widget to search traffic (from google) and another widget for social traffic (from facebook)',
    5166                 image: 'https://www.yeloni.com/wp-content/uploads/2019/01/segment_by_source_addon.jpg',
     5174                image: 'https://yeloni.com/wp-content/uploads/2019/02/segment-by-source-addon.jpg',
    51675175                url: 'https://www.yeloni.com/product/show-hide-popup-based-referrer/',
    51685176                wcId: '1634',
     
    51805188                upgrade: 'All Features Listed Below',
    51815189                description: 'In this plan you get all the above 8 addons at the same price of 2 addons. Its not a surprise that most of our users prefer this plan :)',
    5182                 image: 'https://www.yeloni.com/wp-content/uploads/2019/01/all_features.jpg',
     5190                image: 'https://yeloni.com/wp-content/uploads/2019/02/All-Features.jpg',
    51835191                url: 'https://www.yeloni.com/product/all-in-one-subscription/',
    51845192                wcId: '1626',
  • yeloni-free-exit-popup/trunk/admin-interface/src/partials/home.html

    r2026316 r2027421  
    55                <div class="panel-heading panel-white">
    66                    <div class="pull-left">
    7                         <h5>Your Widgets</h5>
     7                        <h5>Select a Popup</h5>
    88                    </div>
    99
     
    6868                                <td></td>
    6969                            </tr>
     70                            <tr ng-show="S.extensionCount() > 0">
     71                                <td style="width:20px;">
     72                                    <i class="fa fa-star" style="color:gold"></i>
     73                                </td>
     74                                <td>
     75                                    <span ng-show="S.hasFeature('premiumSubscription')">All Premium Features Activated</span>
     76                                    <span ng-hide="S.hasFeature('premiumSubscription')">Activated Addons: </span>
     77
     78                                    <span class="btn btn-xs btn-default disabled" ng-repeat="(key,duration) in S.setup().extensions"
     79                                        ng-init="x = FS[key]({}, {});">{{x.upgrade.replace(' addon','')}}</span>
     80                                </td>
     81                                <td>
     82
     83                                </td>
     84                            </tr>
    7085
    7186                        </tbody>
     
    8398                    </div>
    8499                    <div class="text-center">
    85                         <h5>Power up your Marketing with these Addons</h5>
     100                        <h5>Power your Marketing with these Addons</h5>
    86101                    </div>
    87102                    <div style="clear:both">
     
    95110                            <div class="pull-left">
    96111                                <b>{{group.title}} </b>
    97                                 &nbsp;- <b>{{group.annual}}$</b> a month
     112                                &nbsp;starting <b>{{group.annual}}$</b> a month
    98113                            </div>
    99114                            <div class="pull-left">
     
    111126                        <div class="panel-body" style="padding-top:5px">
    112127                            <div class="col-md-6" style="padding:5px;margin-bottom:-10px;margin-top:10px" ng-repeat="feature in R.features | orderBy:'priority'"
    113                                 ng-init="status = FS[feature.label](widget, feature);" ng-show="addonShow(key,feature.label) && status.enabled">
     128                                ng-init="status = FS[feature.label](widget, feature);" ng-show="addonShow(key,feature.label) && status.enabled && !S.hasFeature(feature.label)">
    114129                                <!-- <div class="panel panel-default">
    115130                                    <div class="panel-heading panel-white sharp">
     
    132147                                        </div>
    133148                                    </a>
    134                                     <div class="panel-footer" style="padding:0px" ng-show="ext[feature.label].activating">
     149                                    <div class="panel-footer panel-white" style="padding:0px" ng-show="ext[feature.label].activating">
     150                                        <small>Click on the link above to purchase a License</small>
    135151                                        <div class="input-group">
    136152                                            <input type="text" class="form-control" ng-model="license" placeholder="Enter Licence Key">
     
    149165                                </div>
    150166                                <button ng-init="ext[feature.label].activating = false" ng-click="ext[feature.label].activating = true"
    151                                     ng-hide="ext[feature.label].activating" class="btn btn-link btn-xs activate">Activate</button>
     167                                    ng-hide="ext[feature.label].activating || S.hasFeature(feature.label)" class="btn btn-link btn-xs activate">Activate</button>
     168
     169                                <button ng-show="S.hasFeature(feature.label)" class="btn btn-default btn-xs activate disabled"><i
     170                                        class="fa fa-check"></i> Active</button>
     171
    152172
    153173                            </div>
     
    256276        -webkit-box-shadow: none !important;
    257277    }
     278
     279    .activated {
     280        border: 2px solid green !important;
     281    }
    258282</style>
  • yeloni-free-exit-popup/trunk/admin-interface/src/platform_index.html

    r2026316 r2027421  
    3535
    3636        <div ui-view></div>
     37        <div class="yel-support">
     38            <a class="btn btn-primary" href="https://yeloni.com/support" target="_blank"><i class="fa fa-headphones"></i>
     39                Need Help? Talk to Support</a>
     40        </div>
    3741    </div>
     42
     43    <style>
     44        .yel-support{
     45            z-index:2;
     46            right:0px;
     47            bottom:50px;
     48            position: fixed;
     49        }
     50    </style>
    3851
    3952
  • yeloni-free-exit-popup/trunk/client/dist/client.min.js

    r2018133 r2027421  
    567567};
    568568
    569 window.defineAutienceWhen = function(yetience_callback) {
     569window.defineAutienceWhen = function (yetience_callback) {
    570570
    571571    //log for popup displayed
    572     Autience.lifecycle.display.push(function(widget) {
     572    Autience.lifecycle.display.push(function (widget) {
    573573        //checking if the popup code is present and sending popup_displayed event
    574574        if (document.getElementById(widget.code)) {
     
    591591
    592592    //Zopim related functionality
    593     Autience.lifecycle.display.push(function(widget) {
     593    Autience.lifecycle.display.push(function (widget) {
    594594
    595595        if (Autience.utils.nestedValue(widget, ['components', 'zopimChat']) && typeof $zopim !== 'undefined') {
    596             $zopim(function() {
     596            $zopim(function () {
    597597
    598598                var yel_body_height = window.innerHeight
     
    621621
    622622    //attach listener to display when the event occurs
    623     Autience.lifecycle.onPageLoad.push(function(widget) {
     623    Autience.lifecycle.onPageLoad.push(function (widget) {
    624624        console.log('Attaching display on trigger')
    625625        //first check if the  widget is enabled
     
    678678            //Listen to the defined event and run the display lifecycle
    679679            console.log('Attached Event Listener for Popup for event ', autience_event)
    680             Autience.utils.listenAutienceEvent(autience_event, function(evt) {
     680            Autience.utils.listenAutienceEvent(autience_event, function (evt) {
    681681                console.log('Autience event triggered ', autience_event)
    682682                console.log('Autience event is' + autience_event + ' Check if the clicked link matches ', evt)
     
    688688                    }
    689689
    690                     setTimeout(function() {
     690                    setTimeout(function () {
    691691                        Autience.utils.cycle(Autience.lifecycle.display, widget)
    692692                        // console.log('Popup is triggered')
     
    708708
    709709            var matched = false
    710             links.split(',').map(function(link) {
     710            links.split(',').map(function (link) {
    711711                link = link.trim()
    712712
     
    759759
    760760    //adding the analytics tracking code to the body
    761     Autience.lifecycle.display.push(function(widget) {
     761    Autience.lifecycle.display.push(function (widget) {
    762762
    763763
     
    807807    })
    808808
     809    /*
    809810    //showing the affiliate link if applicable
    810811    Autience.lifecycle.render.push(function(widget) {
     
    857858
    858859    })
     860    */
    859861
    860862    if (yetience_callback) {
     
    862864    }
    863865};
    864 
    865866window.defineAutienceWhere = function(yetience_callback) {
    866867    // //for display by contain url
  • yeloni-free-exit-popup/trunk/yetience-plugin.php

    r2026316 r2027421  
    44Plugin URI: #
    55Description: Exit Popups are the best way to engage visitors leaving your website. Show offers, social buttons, email signup forms or customize it as you like.
    6 Version: 9.0.0
     6Version: 9.0.1
    77Author: Jayasri Nagrale
    88Author URI: http://www.yeloni.com
Note: See TracChangeset for help on using the changeset viewer.