PluginProbe ʕ •ᴥ•ʔ
My Sticky Bar – Floating Notification Bar & Sticky Header (formerly myStickymenu) / 2.6.2
My Sticky Bar – Floating Notification Bar & Sticky Header (formerly myStickymenu) v2.6.2
2.9.1 2.9.0 2.8.9 2.8.8 trunk 1.0 1.1 1.2 1.3 1.4 1.5 1.6 1.7 1.8 1.8.1 1.8.2 1.8.3 1.8.4 1.8.5 1.8.6 1.8.7 1.8.8 1.8.9 1.9 1.9.1 2.0 2.0.1 2.0.3 2.0.4 2.0.5 2.0.6 2.1 2.1.1 2.1.2 2.1.3 2.1.4 2.1.5 2.1.6 2.1.7 2.1.8 2.2 2.2.1 2.2.2 2.2.3 2.2.4 2.2.5 2.2.6 2.2.7 2.2.8 2.2.9 2.3 2.3.1 2.3.2 2.3.3 2.3.4 2.3.5 2.3.6 2.3.7 2.3.8 2.3.9 2.4 2.4.1 2.4.2 2.4.3 2.4.4 2.4.5 2.4.6 2.4.7 2.4.8 2.4.9 2.5 2.5.1 2.5.2 2.5.3 2.5.4 2.5.5 2.5.6 2.5.7 2.5.8 2.5.9 2.6 2.6.1 2.6.2 2.6.3 2.6.4 2.6.5 2.6.6 2.6.7 2.6.8 2.6.9 2.7 2.7.1 2.7.2 2.7.3 2.7.4 2.7.5 2.7.6 2.7.7 2.7.8 2.7.9 2.8.0 2.8.1 2.8.2 2.8.3 2.8.4 2.8.5 2.8.6 2.8.7
mystickymenu / help.php
mystickymenu Last commit date
css 3 years ago fonts 4 years ago images 3 years ago js 3 years ago languages 4 years ago class-review-box.php 3 years ago class-upgrade-box.php 4 years ago help.php 3 years ago index.php 8 years ago mystickymenu-affiliate.php 4 years ago mystickymenu-contact-leads.php 3 years ago mystickymenu-deactivate-form.php 4 years ago mystickymenu-fonts.php 4 years ago mystickymenu-popup.php 4 years ago mystickymenu.php 3 years ago mystickymeny-new-welcomebar.php 4 years ago readme.txt 3 years ago recommended-plugins.php 4 years ago stickymenu-dashboard.php 3 years ago uninstall.php 4 years ago update.php 4 years ago upgrade-to-pro.php 3 years ago welcome-bar.php 3 years ago
help.php
83 lines
1 <div class="mystickymenu-help-form">
2 <form action="<?php echo admin_url( 'admin-ajax.php' ) ?>" method="post" id="mystickymenu-help-form">
3 <div class="mystickymenu-help-header">
4 <b>Gal Dubinski</b> Co-Founder at Premio
5 </div>
6 <div class="mystickymenu-help-content">
7 <p><?php echo __("Hello! Are you experiencing any problems with My Sticky Menu? Please let me know :)", "mystickymenu") ?></p>
8 <div class="mystickymenu-form-field">
9 <input type="text" name="user_email" id="user_email" placeholder="<?php echo __("Email", "mystickymenu") ?>">
10 </div>
11 <div class="mystickymenu-form-field">
12 <textarea type="text" name="textarea_text" id="textarea_text" placeholder="<?php echo __("How can I help you?", "mystickymenu") ?>"></textarea>
13 </div>
14 <div class="form-button">
15 <button type="submit" class="mystickymenu-help-button" ><?php echo __("Chat") ?></button>
16 <input type="hidden" name="action" value="mystickymenu_admin_send_message_to_owner" >
17 <input type="hidden" id="nonce" name="nonce" value="<?php echo wp_create_nonce("mystickymenu_send_message_to_owner") ?>">
18 </div>
19 <p class="mystickymenu-help-center">
20 Or
21 </p>
22 <p class="mystickymenu-help-center" >
23 <a href="https://premio.io/help/mystickymenu/?utm_source=pluginchat" target="_blank" >Visit our Help Center >></a>
24 </p>
25 </div>
26 </form>
27 </div>
28 <div class="mystickymenu-help-btn">
29 <a class="mystickymenu-help-tooltip" href="javascript:;"><img src="<?php echo MYSTICKYMENU_URL ?>images/owner.png" alt="<?php echo __("Need help?", "mystickymenu") ?>" /></a>
30 <?php if ( !isset($_COOKIE['mse-help-cta'])):?>
31 <span class="tooltiptext"><?php echo __("Need help?", "mystickymenu") ?></span>
32 <?php endif;?>
33 </div>
34 <script>
35 jQuery(document).ready(function(){
36 jQuery("#mystickymenu-help-form").on( 'submit', function(){
37 jQuery(".mystickymenu-help-button").attr("disabled",true);
38 jQuery(".mystickymenu-help-button").text("<?php echo __("Sending Request...") ?>");
39 formData = jQuery(this).serialize();
40 jQuery.ajax({
41 url: "<?php echo admin_url( 'admin-ajax.php' ) ?>",
42 data: formData,
43 type: "post",
44 success: function(responseText){
45 jQuery("#mystickymenu-help-form").find(".error-message").remove();
46 jQuery("#mystickymenu-help-form").find(".input-error").removeClass("input-error");
47 responseArray = jQuery.parseJSON(responseText);
48 if(responseArray.error == 1) {
49 jQuery(".mystickymenu-help-button").attr("disabled",false);
50 jQuery(".mystickymenu-help-button").text("<?php echo __("Chat", "mystickymenu") ?>");
51 for(i=0;i<responseArray.errors.length;i++) {
52 jQuery("#"+responseArray.errors[i]['key']).addClass("input-error");
53 jQuery("#"+responseArray.errors[i]['key']).after('<span class="error-message">'+responseArray.errors[i]['message']+'</span>');
54 }
55 } else if(responseArray.status == 1) {
56 jQuery(".mystickymenu-help-button").text("<?php echo __("Done!", "mystickymenu") ?>");
57 setTimeout(function(){
58 jQuery(".mystickymenu-help-header").remove();
59 jQuery(".mystickymenu-help-content").html("<p class='success-p'><?php echo __("Your message was sent successfully.", "mystickymenu") ?></p>");
60 },1000);
61 } else if(responseArray.status == 0) {
62 jQuery(".mystickymenu-help-content").html("<p class='error-p'><?php echo __("There is some problem in sending request. Please send us mail on <a href='mailto:contact@premio.io'>contact@premio.io</a>", "mystickymenu") ?></p>");
63 }
64 }
65 });
66 return false;
67 });
68 jQuery(".mystickymenu-help-tooltip").on( 'click', function(e){
69 e.stopPropagation();
70 jQuery(".mystickymenu-help-form").toggleClass("active");
71 if ( jQuery(".mystickymenu-help-btn .tooltiptext").length != 0) {
72 jQuery(".mystickymenu-help-btn .tooltiptext").remove();
73 }
74 document.cookie = "mse-help-cta=hide";
75 });
76 jQuery(".mystickymenu-help-form").on( 'click', function(e){
77 e.stopPropagation();
78 });
79 jQuery("body").on( 'click', function(){
80 jQuery(".mystickymenu-help-form").removeClass("active");
81 });
82 });
83 </script>