Changeset 2027421
- Timestamp:
- 02/08/2019 06:07:12 PM (7 years ago)
- Location:
- yeloni-free-exit-popup/trunk
- Files:
-
- 5 edited
-
admin-interface/dist/admin.min.js (modified) (10 diffs)
-
admin-interface/src/partials/home.html (modified) (8 diffs)
-
admin-interface/src/platform_index.html (modified) (1 diff)
-
client/dist/client.min.js (modified) (10 diffs)
-
yetience-plugin.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
yeloni-free-exit-popup/trunk/admin-interface/dist/admin.min.js
r2026316 r2027421 981 981 $scope.addonGroups = { 982 982 983 bundle: { 984 title: 'Get all the Premium Features', 985 monthly: 15, 986 annual: 10 987 }, 983 988 individual: { 984 989 title: 'Get a Feature you need', 985 990 monthly: 8, 986 991 annual: 5 987 },988 bundle: {989 title: 'Get all the Premium Features',990 monthly: 15,991 annual: 10992 992 }, 993 993 … … 4048 4048 } 4049 4049 4050 this.extensionCount = function () { 4051 if (setup) { 4052 return Object.keys(setup.extensions).length 4053 } 4054 4055 return 0 4056 } 4057 4050 4058 this.isPremium = function () { 4051 4059 if (setup.package_id && setup.package_id != 'default') { … … 5051 5059 upgrade: 'Show on Mobiles and Tablets addon', 5052 5060 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', 5054 5062 url: 'https://www.yeloni.com/product/show-mobiles-tablets/', 5055 5063 wcId: '1627', … … 5066 5074 ideal: "Show on selected pages", 5067 5075 icon: "glyphicon glyphicon-list-alt", 5068 upgrade: 'Show on Selected Pages addon',5076 upgrade: 'Show only on Selected Pages addon', 5069 5077 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', 5071 5079 url: 'https://www.yeloni.com/product/show-selected-pages/', 5072 5080 wcId: '1628', … … 5100 5108 upgrade: "Disable all Yeloni Branding addon", 5101 5109 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', 5103 5111 url: 'https://www.yeloni.com/product/remove-yeloni-email-signature-autoresponder-emails/', 5104 5112 wcId: '1629', … … 5114 5122 ideal: "custom html >", 5115 5123 icon: "glyphicon glyphicon-list-alt", 5116 upgrade: 'Add your ownCustom HTML addon',5124 upgrade: 'Add Custom HTML addon', 5117 5125 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', 5119 5127 url: 'https://www.yeloni.com/product/custom-html-popup/', 5120 5128 wcId: '1630', … … 5132 5140 upgrade: 'Email Marketing Integrations', 5133 5141 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', 5135 5143 url: 'https://www.yeloni.com/product/connect-email-provider/', 5136 5144 wcId: '1631', … … 5148 5156 upgrade: 'Guest Only addon', 5149 5157 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', 5151 5159 url: 'https://www.yeloni.com/product/hide-popup-logged-visitors/', 5152 5160 wcId: '1632', … … 5164 5172 upgrade: 'Segment by Source addon', 5165 5173 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', 5167 5175 url: 'https://www.yeloni.com/product/show-hide-popup-based-referrer/', 5168 5176 wcId: '1634', … … 5180 5188 upgrade: 'All Features Listed Below', 5181 5189 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', 5183 5191 url: 'https://www.yeloni.com/product/all-in-one-subscription/', 5184 5192 wcId: '1626', -
yeloni-free-exit-popup/trunk/admin-interface/src/partials/home.html
r2026316 r2027421 5 5 <div class="panel-heading panel-white"> 6 6 <div class="pull-left"> 7 <h5> Your Widgets</h5>7 <h5>Select a Popup</h5> 8 8 </div> 9 9 … … 68 68 <td></td> 69 69 </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> 70 85 71 86 </tbody> … … 83 98 </div> 84 99 <div class="text-center"> 85 <h5>Power upyour Marketing with these Addons</h5>100 <h5>Power your Marketing with these Addons</h5> 86 101 </div> 87 102 <div style="clear:both"> … … 95 110 <div class="pull-left"> 96 111 <b>{{group.title}} </b> 97 -<b>{{group.annual}}$</b> a month112 starting <b>{{group.annual}}$</b> a month 98 113 </div> 99 114 <div class="pull-left"> … … 111 126 <div class="panel-body" style="padding-top:5px"> 112 127 <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)"> 114 129 <!-- <div class="panel panel-default"> 115 130 <div class="panel-heading panel-white sharp"> … … 132 147 </div> 133 148 </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> 135 151 <div class="input-group"> 136 152 <input type="text" class="form-control" ng-model="license" placeholder="Enter Licence Key"> … … 149 165 </div> 150 166 <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 152 172 153 173 </div> … … 256 276 -webkit-box-shadow: none !important; 257 277 } 278 279 .activated { 280 border: 2px solid green !important; 281 } 258 282 </style> -
yeloni-free-exit-popup/trunk/admin-interface/src/platform_index.html
r2026316 r2027421 35 35 36 36 <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> 37 41 </div> 42 43 <style> 44 .yel-support{ 45 z-index:2; 46 right:0px; 47 bottom:50px; 48 position: fixed; 49 } 50 </style> 38 51 39 52 -
yeloni-free-exit-popup/trunk/client/dist/client.min.js
r2018133 r2027421 567 567 }; 568 568 569 window.defineAutienceWhen = function (yetience_callback) {569 window.defineAutienceWhen = function (yetience_callback) { 570 570 571 571 //log for popup displayed 572 Autience.lifecycle.display.push(function (widget) {572 Autience.lifecycle.display.push(function (widget) { 573 573 //checking if the popup code is present and sending popup_displayed event 574 574 if (document.getElementById(widget.code)) { … … 591 591 592 592 //Zopim related functionality 593 Autience.lifecycle.display.push(function (widget) {593 Autience.lifecycle.display.push(function (widget) { 594 594 595 595 if (Autience.utils.nestedValue(widget, ['components', 'zopimChat']) && typeof $zopim !== 'undefined') { 596 $zopim(function () {596 $zopim(function () { 597 597 598 598 var yel_body_height = window.innerHeight … … 621 621 622 622 //attach listener to display when the event occurs 623 Autience.lifecycle.onPageLoad.push(function (widget) {623 Autience.lifecycle.onPageLoad.push(function (widget) { 624 624 console.log('Attaching display on trigger') 625 625 //first check if the widget is enabled … … 678 678 //Listen to the defined event and run the display lifecycle 679 679 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) { 681 681 console.log('Autience event triggered ', autience_event) 682 682 console.log('Autience event is' + autience_event + ' Check if the clicked link matches ', evt) … … 688 688 } 689 689 690 setTimeout(function () {690 setTimeout(function () { 691 691 Autience.utils.cycle(Autience.lifecycle.display, widget) 692 692 // console.log('Popup is triggered') … … 708 708 709 709 var matched = false 710 links.split(',').map(function (link) {710 links.split(',').map(function (link) { 711 711 link = link.trim() 712 712 … … 759 759 760 760 //adding the analytics tracking code to the body 761 Autience.lifecycle.display.push(function (widget) {761 Autience.lifecycle.display.push(function (widget) { 762 762 763 763 … … 807 807 }) 808 808 809 /* 809 810 //showing the affiliate link if applicable 810 811 Autience.lifecycle.render.push(function(widget) { … … 857 858 858 859 }) 860 */ 859 861 860 862 if (yetience_callback) { … … 862 864 } 863 865 }; 864 865 866 window.defineAutienceWhere = function(yetience_callback) { 866 867 // //for display by contain url -
yeloni-free-exit-popup/trunk/yetience-plugin.php
r2026316 r2027421 4 4 Plugin URI: # 5 5 Description: 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. 06 Version: 9.0.1 7 7 Author: Jayasri Nagrale 8 8 Author URI: http://www.yeloni.com
Note: See TracChangeset
for help on using the changeset viewer.