Social Login - Version 7.3.9

Version Description

  • Added the two display options for WooCommerce.
  • Added bulk instances for Social Login plans.
  • Added 25+ sharing applications in social sharing paid plan.
  • Added Buffer for share counts social sharing paid plan.
  • Added social share service button like, recommended, pin it in social share paid plan.
  • Added Twitter follow button, Email subscription, new customization of icons, different WooCommerce display options in social sharing paid plan.
  • Resolved class name conflict for Social Login apps.
  • Minor UI changes.
Download this release

Release Info

Developer cyberlord92
Plugin Icon 128x128 Social Login
Version 7.3.9
Comparing to
See all releases

Code changes from version 7.3.8 to 7.3.9

Files changed (63) hide show
  1. includes/css/mo_openid_style.css +3 -237
  2. includes/images/icons/facebooks.png +0 -0
  3. includes/images/icons/googles.png +0 -0
  4. includes/images/icons/share_icons/facebook_like.png +0 -0
  5. includes/images/icons/share_icons/facebook_recommend.png +0 -0
  6. includes/images/icons/share_icons/pinterest_pin.png +0 -0
  7. includes/images/icons/twitters.png +0 -0
  8. miniorange_openid_sso_settings.php +18 -2
  9. miniorange_openid_sso_settings_page.php +27 -1
  10. mo-openid-social-login-functions.php +4 -2
  11. readme.txt +32 -7
  12. social_apps/amazon.php +1 -1
  13. social_apps/apple.php +1 -1
  14. social_apps/baidu.php +1 -1
  15. social_apps/discord.php +1 -1
  16. social_apps/disqus.php +1 -1
  17. social_apps/dribbble.php +1 -1
  18. social_apps/facebook.php +1 -1
  19. social_apps/flickr.php +1 -1
  20. social_apps/foursquare.php +1 -1
  21. social_apps/google.php +1 -1
  22. social_apps/instagram.php +1 -1
  23. social_apps/kakao.php +1 -1
  24. social_apps/line.php +1 -1
  25. social_apps/linkedin.php +1 -1
  26. social_apps/livejournal.php +1 -1
  27. social_apps/meetup.php +1 -1
  28. social_apps/naver.php +1 -1
  29. social_apps/odnoklassniki.php +1 -1
  30. social_apps/paypal.php +1 -1
  31. social_apps/pinterest.php +1 -1
  32. social_apps/qq.php +1 -1
  33. social_apps/reddit.php +1 -1
  34. social_apps/renren.php +1 -1
  35. social_apps/salesforce.php +1 -1
  36. social_apps/snapchat.php +1 -1
  37. social_apps/spotify.php +1 -1
  38. social_apps/stackexchange.php +1 -1
  39. social_apps/teamsnap.php +1 -1
  40. social_apps/tumblr.php +1 -1
  41. social_apps/twitch.php +1 -1
  42. social_apps/twitter.php +1 -1
  43. social_apps/vimeo.php +1 -1
  44. social_apps/vkontakte.php +1 -1
  45. social_apps/wechat.php +1 -1
  46. social_apps/wiebo.php +1 -1
  47. social_apps/windowslive.php +1 -1
  48. social_apps/wordpress.php +1 -1
  49. social_apps/yahoo.php +1 -1
  50. social_apps/yandex.php +1 -1
  51. uninstall.php +2 -1
  52. view/config_apps/mo_openid_config_apps.php +15 -9
  53. view/config_apps/mo_openid_config_apps_funct.php +2 -1
  54. view/customise_social_icons/mo_openid_cust_icons.php +1 -1
  55. view/disp_options/mo_openid_dispopt.php +13 -14
  56. view/licensing_plans/mo_openid_lic_plans.php +364 -5
  57. view/registration/mo_openid_registration.php +6 -1
  58. view/soc_sha/disp_shropt/mo_openid_disp_shropt.php +8 -5
  59. view/soc_sha/share_cnt/mo_openid_shrcnt.php +2 -1
  60. view/soc_sha/soc_apps/mo_openid_sharing.php +320 -2
  61. view/soc_sha/soc_med_cust/mo_openid_social_media_cust.php +169 -0
  62. view/soc_sha/soc_med_ser/mo_openid_social_media_services.php +69 -0
  63. view/soc_sha/twitter_btn/mo_twitter_btn.php +115 -0
includes/css/mo_openid_style.css CHANGED
@@ -344,11 +344,6 @@ input[type="button"]:hover {
344
  background: transparent;
345
  }
346
 
347
-
348
-
349
-
350
-
351
-
352
  #wpfooter {
353
  position: unset;
354
  }
@@ -481,7 +476,6 @@ input[type="button"]:hover {
481
  /* Style the buttons inside the tab */
482
  .mo_openid_highlight{
483
  background-color:#0867b2;
484
-
485
  padding: 0.004%;
486
  }
487
  .mo_openid_note_style{
@@ -650,12 +644,6 @@ input:checked + .mo-openid-slider-app .off
650
  font-size: 12px;
651
  }
652
 
653
- .mo-openid-save-settings {
654
- position: absolute;
655
- line-height: 25px;
656
- font-size: 16px;
657
- }
658
-
659
  .mo-openid-hover-div-sett:hover #mo-openid-hover-app-sett-show{
660
  display: block;
661
  transition: .4s;
@@ -678,20 +666,6 @@ input:checked + .mo-openid-slider-app .off
678
  font-size: 16px;
679
  }
680
 
681
-
682
-
683
-
684
-
685
-
686
-
687
-
688
-
689
-
690
-
691
-
692
-
693
-
694
-
695
  /* Popup Open button */
696
 
697
  .mo_openid_popup {
@@ -743,8 +717,6 @@ input:checked + .mo-openid-slider-app .off
743
  }
744
  }
745
 
746
-
747
-
748
  a.mo-add-hover:hover{
749
  text-decoration: underline;
750
  }
@@ -829,13 +801,6 @@ a.mo-pugin-add-comp-link-sl {
829
  visibility: visible;
830
  }
831
 
832
- .mo_openid_help_title {
833
- font-size:13px;
834
- width:100%;
835
- color:#1B79AE;
836
- cursor:pointer;
837
- font-weight: bold;
838
- }
839
  .mo_openid_help_desc {
840
  font-size:13px;
841
  border-left:solid 2px rgba(128, 128, 128, 0.65);
@@ -864,20 +829,6 @@ a.mo-pugin-add-comp-link-sl {
864
  text-align:center !important;
865
  }
866
 
867
-
868
- .mo_table_layout {
869
- background-color:#FFFFFF;
870
- border:1px solid #CCCCCC;
871
- padding:0px 10px 10px 10px;
872
- margin-bottom: 10px;
873
- }
874
-
875
- .mo_table_layout input['type=text'] {
876
- width: 80%;
877
- }
878
- .mo_table_layout td strong {
879
- margin-left: 10px;
880
- }
881
  .mo_openid_support_layout{
882
  width: 93%;
883
  background-color:#FFFFFF;
@@ -899,9 +850,6 @@ a.mo-pugin-add-comp-link-sl {
899
  width: 80%;
900
  }
901
 
902
- .mo_opneid_table_td_checkbox {
903
- padding-left: 10px;
904
- }
905
  .mo_openid_table_textbox {
906
  width:80%;
907
  }
@@ -990,14 +938,6 @@ div.mo_image_id>a>img.mo_openid_image {
990
  vertical-align :super !important;
991
  }
992
 
993
- /*a{*/
994
- /* cursor:pointer;*/
995
- /*}*/
996
-
997
- .mo_openid_display_interface{
998
- width:100%;
999
- }
1000
-
1001
  .mo_openid_vertical{
1002
  display:inline-block !important;
1003
  overflow: visible;
@@ -1021,7 +961,6 @@ div.mo_image_id>a>img.mo_openid_image {
1021
  color:white !important;
1022
  padding-top:8px !important;
1023
  box-sizing: border-box !important;
1024
-
1025
  }
1026
 
1027
  .btn-custom-dec{
@@ -1045,69 +984,10 @@ div.mo_image_id>a>img.mo_openid_image {
1045
  font-weight: bold;
1046
  }
1047
 
1048
- /*#TB_window, #TB_window #TB_ajaxContent {*/
1049
- /* width:500px!important;*/
1050
- /*}*/
1051
-
1052
- .mo_openid_pricing_table{
1053
- text-align:center;
1054
- font-size: 15px !important;
1055
- }
1056
-
1057
- .mo_openid_pricing_header{
1058
- color: #fff !important;
1059
- margin: 8px !important;
1060
- }
1061
-
1062
- .mo_openid_pricing_sub_header{
1063
- margin: 4px !important;
1064
- color: #fff !important;
1065
- }
1066
-
1067
- .mo_openid_pricing_text{
1068
- font-size: 15px !important;
1069
- color: #fff !important;
1070
- font-weight: bold !important;
1071
- }
1072
-
1073
- .mo_openid_pricing_free_tab{
1074
- background-color: rgba(34, 153, 221, 0.82)!important;
1075
- //#29d
1076
- }
1077
-
1078
- .mo_openid_pricing_paid_tab{
1079
- background-color: #1a71a4 !important;
1080
- }
1081
-
1082
- .mo_openid_thumbnail {
1083
- width:270px;
1084
- padding: 4px;
1085
-
1086
- margin-bottom: 10px;
1087
- line-height: 1.42857143;
1088
- background-color: #fff;
1089
- border: 1px solid #ddd;
1090
- border-radius: 4px;
1091
- -webkit-transition: border .2s ease-in-out;
1092
- -o-transition: border .2s ease-in-out;
1093
- transition: border .2s ease-in-out
1094
- }
1095
-
1096
  .mo_openid_msgs{
1097
  font-size: 14px !important;
1098
  }
1099
 
1100
- .mo_openid_success_container{
1101
- background-color: rgba(185, 228, 155, 0.56) !important;
1102
- margin-left: 3px !important;
1103
-
1104
- }
1105
-
1106
- .mo_openid_error_container{
1107
- background-color: rgba(251, 102, 0, 0.29) !important;
1108
- margin-left: 3px !important;
1109
- }
1110
-
1111
  .mo_openid_comment_tab {
1112
  margin-left: 0px !important;
1113
  margin-bottom: 20px;
@@ -1129,34 +1009,6 @@ div.mo_image_id>a>img.mo_openid_image {
1129
  border-bottom: 2px solid #FF5A00;
1130
  }
1131
 
1132
- .mo_openid_license_select_option{
1133
- display: block;
1134
- width:90%;
1135
- margin-left:5%;
1136
- font-size:15px!important;
1137
- background: #0085ba;
1138
- border-color: #0073aa #006799 #006799;
1139
- border-width: 1px;
1140
- border-style: solid;
1141
- padding-left:15%!important;
1142
- border-radius: 3px;
1143
- box-shadow: 0 1px 0 #006799;
1144
- text-align:center;
1145
- color: #fff;
1146
- text-decoration: none;
1147
- cursor:pointer;
1148
- text-shadow: 0 -1px 1px #006799,1px 0 1px #006799,0 1px 1px #006799,-1px 0 1px #006799;
1149
- }
1150
-
1151
- .mo_openid_license_select_option:focus, .mo_openid_license_select_option:hover {
1152
- border-color: #0073aa #006799 #006799;
1153
- border-width: 1px;
1154
- border-style: solid;
1155
- }
1156
-
1157
- .mo_openid_license_select_option option {
1158
- text-align:center;
1159
- }
1160
  .mo-openid-app-icons>a{
1161
  box-shadow: inset 0 -1px 0 rgba(15, 15, 15, 0) !important;
1162
  }
@@ -1177,104 +1029,36 @@ div.mo_image_id>a>img.mo_openid_image {
1177
 
1178
  .mo-openid-app-icons>div>a.mo-openid-share-link>img.mo-openid-app-share-icons
1179
  {
1180
-
1181
  box-shadow:0 0 0 0px #fff !important;
1182
  }
1183
 
1184
-
1185
  .mo-openid-app-icons>div>a.mo-openid-share-link
1186
  { box-shadow: inset 0 -1px 0 rgba(15, 15, 15, 0) !important;
1187
 
1188
  }
1189
 
1190
-
1191
  p>a.mo-openid-share-link>img.mo-openid-app-share-icons
1192
  {
1193
-
1194
  box-shadow:0 0 0 0px #fff !important;
1195
  }
1196
 
1197
  p>a.mo-openid-share-link
1198
- { box-shadow: inset 0 -1px 0 rgba(15, 15, 15, 0)!important;
1199
-
1200
-
1201
  }
1202
 
1203
  aside.widget-area>section.widget_mo_openid_sharing_hor_wid>div.mo-openid-app-icons>div
1204
  {
1205
  font-size:0 !important;
1206
-
1207
- }
1208
-
1209
- .mo-switch {
1210
- position: relative;
1211
- display: inline-block;
1212
- width: 50px;
1213
- height: 26px;
1214
  }
1215
 
1216
- .mo-switch input {display:none;}
1217
-
1218
- .mo-slider {
1219
- position: absolute;
1220
- cursor: pointer;
1221
- top: 0;
1222
- left: 0;
1223
- right: 0;
1224
- bottom: 0;
1225
- background-color: grey;
1226
- -webkit-transition: .4s;
1227
- transition: .4s;
1228
- }
1229
-
1230
- .mo-slider:before {
1231
- position: absolute;
1232
- content: "";
1233
- height: 16px;
1234
- width: 16px;
1235
- left: 4px;
1236
- bottom: 5px;
1237
- background-color: white;
1238
- -webkit-transition: .4s;
1239
- transition: .4s;
1240
- }
1241
-
1242
- input:checked + .mo-slider {
1243
- background-color: #0085ba;
1244
- }
1245
-
1246
- input:focus + .mo-slider {
1247
- box-shadow: 0 0 1px #2196F3;
1248
- }
1249
-
1250
- input:checked + .mo-slider:before {
1251
- -webkit-transform: translateX(26px);
1252
- -ms-transform: translateX(26px);
1253
- transform: translateX(26px);
1254
- }
1255
-
1256
- input:checked+ .mo-slider .on
1257
- {display: block;}
1258
-
1259
- input:checked + .mo-slider .off
1260
- {display: none;}
1261
-
1262
- .mo-slider.round {
1263
- border-radius: 34px;
1264
- }
1265
-
1266
- .mo-slider.round:before {
1267
- border-radius: 50%;}
1268
-
1269
  .mo-consent{
1270
  font-size:11px !important;
1271
  font-weight:normal;
1272
  color:#72777c;
1273
  padding-bottom: 5px;
1274
  }
1275
- .mo-tomato {
1276
- color: tomato;
1277
- }
1278
  .mo_copy{
1279
  border: 1px solid #CCCCCC;
1280
  padding:8px;
@@ -1297,7 +1081,6 @@ input:checked + .mo-slider .off
1297
  .mo_copytooltip .mo_copytooltiptext {
1298
  visibility: hidden;
1299
  width: 120px;
1300
-
1301
  background-color:grey;
1302
  color: white;
1303
  text-align: center;
@@ -1402,7 +1185,6 @@ input:checked + .mo-slider .off
1402
  background: white;
1403
  }
1404
 
1405
-
1406
  /*textfield css*/
1407
  .mo_openid_textfield_css{
1408
  font-family: Arial;
@@ -1414,7 +1196,6 @@ input:checked + .mo-slider .off
1414
  padding: 5px;
1415
  width:80%;
1416
  border-color:#0867b2;
1417
-
1418
  background-color: #FFFFFF;
1419
 
1420
  }
@@ -1429,9 +1210,7 @@ input:checked + .mo-slider .off
1429
  }
1430
  .mo_openid_fix_fontsize_semiheading{
1431
  font-family: Georgia, "Times New Roman", Times, serif;
1432
-
1433
  font-size: 18px;
1434
-
1435
  }
1436
 
1437
  /*chech-box*/
@@ -1443,7 +1222,6 @@ input:checked + .mo-slider .off
1443
  margin-bottom: 18px;
1444
  cursor: pointer;
1445
  font-size: 14px;
1446
-
1447
  }
1448
 
1449
  /* Hide the browser's default checkbox */
@@ -1500,9 +1278,6 @@ input:checked + .mo-slider .off
1500
  transform: rotate(45deg);
1501
  }
1502
 
1503
-
1504
-
1505
-
1506
  .mo_openid_checkbox_container_disable {
1507
  display: block;
1508
  position: relative;
@@ -1510,7 +1285,6 @@ input:checked + .mo-slider .off
1510
  margin-bottom: 18px;
1511
  cursor: context-menu;
1512
  font-size: 14px;
1513
-
1514
  }
1515
 
1516
  /* Hide the browser's default checkbox */
@@ -1532,19 +1306,12 @@ input:checked + .mo-slider .off
1532
  background-color: #e5e7eb;
1533
  }
1534
 
1535
-
1536
-
1537
-
1538
-
1539
-
1540
-
1541
  .mo-openid-radio-container_disable {
1542
  display: block;
1543
  position: relative;
1544
  padding-left: 20px;
1545
  margin-bottom: 1px;
1546
  cursor: pointer;
1547
-
1548
  font-size: 14px;
1549
  -webkit-user-select: none;
1550
  -moz-user-select: none;
@@ -1580,7 +1347,6 @@ input:checked + .mo-slider .off
1580
  padding-top: 100px; /* Location of the box */
1581
  padding-left: 25%;
1582
  padding-right: 20%;
1583
-
1584
  left: 0;
1585
  top: 0;
1586
  width: 100%; /* Full width */
344
  background: transparent;
345
  }
346
 
 
 
 
 
 
347
  #wpfooter {
348
  position: unset;
349
  }
476
  /* Style the buttons inside the tab */
477
  .mo_openid_highlight{
478
  background-color:#0867b2;
 
479
  padding: 0.004%;
480
  }
481
  .mo_openid_note_style{
644
  font-size: 12px;
645
  }
646
 
 
 
 
 
 
 
647
  .mo-openid-hover-div-sett:hover #mo-openid-hover-app-sett-show{
648
  display: block;
649
  transition: .4s;
666
  font-size: 16px;
667
  }
668
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
669
  /* Popup Open button */
670
 
671
  .mo_openid_popup {
717
  }
718
  }
719
 
 
 
720
  a.mo-add-hover:hover{
721
  text-decoration: underline;
722
  }
801
  visibility: visible;
802
  }
803
 
 
 
 
 
 
 
 
804
  .mo_openid_help_desc {
805
  font-size:13px;
806
  border-left:solid 2px rgba(128, 128, 128, 0.65);
829
  text-align:center !important;
830
  }
831
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
832
  .mo_openid_support_layout{
833
  width: 93%;
834
  background-color:#FFFFFF;
850
  width: 80%;
851
  }
852
 
 
 
 
853
  .mo_openid_table_textbox {
854
  width:80%;
855
  }
938
  vertical-align :super !important;
939
  }
940
 
 
 
 
 
 
 
 
 
941
  .mo_openid_vertical{
942
  display:inline-block !important;
943
  overflow: visible;
961
  color:white !important;
962
  padding-top:8px !important;
963
  box-sizing: border-box !important;
 
964
  }
965
 
966
  .btn-custom-dec{
984
  font-weight: bold;
985
  }
986
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
987
  .mo_openid_msgs{
988
  font-size: 14px !important;
989
  }
990
 
 
 
 
 
 
 
 
 
 
 
 
991
  .mo_openid_comment_tab {
992
  margin-left: 0px !important;
993
  margin-bottom: 20px;
1009
  border-bottom: 2px solid #FF5A00;
1010
  }
1011
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1012
  .mo-openid-app-icons>a{
1013
  box-shadow: inset 0 -1px 0 rgba(15, 15, 15, 0) !important;
1014
  }
1029
 
1030
  .mo-openid-app-icons>div>a.mo-openid-share-link>img.mo-openid-app-share-icons
1031
  {
 
1032
  box-shadow:0 0 0 0px #fff !important;
1033
  }
1034
 
 
1035
  .mo-openid-app-icons>div>a.mo-openid-share-link
1036
  { box-shadow: inset 0 -1px 0 rgba(15, 15, 15, 0) !important;
1037
 
1038
  }
1039
 
 
1040
  p>a.mo-openid-share-link>img.mo-openid-app-share-icons
1041
  {
 
1042
  box-shadow:0 0 0 0px #fff !important;
1043
  }
1044
 
1045
  p>a.mo-openid-share-link
1046
+ {
1047
+ box-shadow: inset 0 -1px 0 rgba(15, 15, 15, 0)!important;
 
1048
  }
1049
 
1050
  aside.widget-area>section.widget_mo_openid_sharing_hor_wid>div.mo-openid-app-icons>div
1051
  {
1052
  font-size:0 !important;
 
 
 
 
 
 
 
 
1053
  }
1054
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1055
  .mo-consent{
1056
  font-size:11px !important;
1057
  font-weight:normal;
1058
  color:#72777c;
1059
  padding-bottom: 5px;
1060
  }
1061
+
 
 
1062
  .mo_copy{
1063
  border: 1px solid #CCCCCC;
1064
  padding:8px;
1081
  .mo_copytooltip .mo_copytooltiptext {
1082
  visibility: hidden;
1083
  width: 120px;
 
1084
  background-color:grey;
1085
  color: white;
1086
  text-align: center;
1185
  background: white;
1186
  }
1187
 
 
1188
  /*textfield css*/
1189
  .mo_openid_textfield_css{
1190
  font-family: Arial;
1196
  padding: 5px;
1197
  width:80%;
1198
  border-color:#0867b2;
 
1199
  background-color: #FFFFFF;
1200
 
1201
  }
1210
  }
1211
  .mo_openid_fix_fontsize_semiheading{
1212
  font-family: Georgia, "Times New Roman", Times, serif;
 
1213
  font-size: 18px;
 
1214
  }
1215
 
1216
  /*chech-box*/
1222
  margin-bottom: 18px;
1223
  cursor: pointer;
1224
  font-size: 14px;
 
1225
  }
1226
 
1227
  /* Hide the browser's default checkbox */
1278
  transform: rotate(45deg);
1279
  }
1280
 
 
 
 
1281
  .mo_openid_checkbox_container_disable {
1282
  display: block;
1283
  position: relative;
1285
  margin-bottom: 18px;
1286
  cursor: context-menu;
1287
  font-size: 14px;
 
1288
  }
1289
 
1290
  /* Hide the browser's default checkbox */
1306
  background-color: #e5e7eb;
1307
  }
1308
 
 
 
 
 
 
 
1309
  .mo-openid-radio-container_disable {
1310
  display: block;
1311
  position: relative;
1312
  padding-left: 20px;
1313
  margin-bottom: 1px;
1314
  cursor: pointer;
 
1315
  font-size: 14px;
1316
  -webkit-user-select: none;
1317
  -moz-user-select: none;
1347
  padding-top: 100px; /* Location of the box */
1348
  padding-left: 25%;
1349
  padding-right: 20%;
 
1350
  left: 0;
1351
  top: 0;
1352
  width: 100%; /* Full width */
includes/images/icons/facebooks.png ADDED
Binary file
includes/images/icons/googles.png ADDED
Binary file
includes/images/icons/share_icons/facebook_like.png ADDED
Binary file
includes/images/icons/share_icons/facebook_recommend.png ADDED
Binary file
includes/images/icons/share_icons/pinterest_pin.png ADDED
Binary file
includes/images/icons/twitters.png ADDED
Binary file
miniorange_openid_sso_settings.php CHANGED
@@ -4,12 +4,12 @@
4
  * Plugin Name: Social Login, Social Sharing by miniOrange
5
  * Plugin URI: https://www.miniorange.com
6
  * Description: Allow your users to login, comment and share with Facebook, Google, Apple, Twitter, LinkedIn etc using customizable buttons.
7
- * Version: 7.3.8
8
  * Author: miniOrange
9
  * License URI: http://miniorange.com/usecases/miniOrange_User_Agreement.pdf
10
  */
11
 
12
- define('MO_OPENID_SOCIAL_LOGIN_VERSION', '7.3.8');
13
  define('plugin_url', plugin_dir_url(__FILE__) . "includes/images/icons/");
14
  define('MOSL_PLUGIN_DIR',str_replace('/','\\',plugin_dir_path(__FILE__)));
15
  require('miniorange_openid_sso_settings_page.php');
@@ -116,12 +116,19 @@ class miniorange_openid_sso_settings
116
  add_option( 'mo_openid_email_enable', '1');
117
  add_option( 'mo_openid_tour_new','0');
118
  add_option( 'mo_openid_deactivate_reason_form',0);
 
 
119
 
120
  add_option('mo_openid_user_activation_date','0');
121
  //GDPR options
122
  add_option('mo_openid_gdpr_consent_enable', 0);
123
  add_option( 'mo_openid_privacy_policy_text', 'terms and conditions');
124
  add_option( 'mo_openid_gdpr_consent_message','I accept the terms and conditions.');
 
 
 
 
 
125
  //social sharing
126
  add_option( 'mo_openid_share_theme', 'oval' );
127
  add_option( 'mo_openid_share_custom_theme', 'default' );
@@ -157,6 +164,13 @@ class miniorange_openid_sso_settings
157
  add_option( 'mo_openid_social_comment_heading_label', 'Leave a Reply' );
158
  add_option( 'mo_openid_login_theme', 'default' );
159
 
 
 
 
 
 
 
 
160
  if(get_option('mo_openid_default_comment_enable') == 1 ){
161
  add_action('comment_form_must_log_in_after', array($this, 'mo_openid_add_social_login'));
162
  add_action('comment_form_top', array($this, 'mo_openid_add_social_login'));
@@ -490,6 +504,8 @@ Thank you.';
490
  update_option('mo_openid_default_login_enable', isset($_POST['mo_openid_default_login_enable']) ? sanitize_text_field($_POST['mo_openid_default_login_enable']) : 0);
491
  update_option('mo_openid_default_register_enable', isset($_POST['mo_openid_default_register_enable']) ? sanitize_text_field($_POST['mo_openid_default_register_enable']) : 0);
492
  update_option('mo_openid_default_comment_enable', isset($_POST['mo_openid_default_comment_enable']) ? sanitize_text_field($_POST['mo_openid_default_comment_enable']) : 0);
 
 
493
  update_option('moopenid_logo_check', isset($_POST['moopenid_logo_check']) ? sanitize_text_field($_POST['moopenid_logo_check']) : 0);
494
  update_option('mo_openid_message', 'Your settings are saved successfully.');
495
  mo_openid_show_success_message();
4
  * Plugin Name: Social Login, Social Sharing by miniOrange
5
  * Plugin URI: https://www.miniorange.com
6
  * Description: Allow your users to login, comment and share with Facebook, Google, Apple, Twitter, LinkedIn etc using customizable buttons.
7
+ * Version: 7.3.9
8
  * Author: miniOrange
9
  * License URI: http://miniorange.com/usecases/miniOrange_User_Agreement.pdf
10
  */
11
 
12
+ define('MO_OPENID_SOCIAL_LOGIN_VERSION', '7.3.9');
13
  define('plugin_url', plugin_dir_url(__FILE__) . "includes/images/icons/");
14
  define('MOSL_PLUGIN_DIR',str_replace('/','\\',plugin_dir_path(__FILE__)));
15
  require('miniorange_openid_sso_settings_page.php');
116
  add_option( 'mo_openid_email_enable', '1');
117
  add_option( 'mo_openid_tour_new','0');
118
  add_option( 'mo_openid_deactivate_reason_form',0);
119
+ add_option('mo_openid_registration_email_content', 'Hello,<br><br>##User Name## has registered to your site successfully.<br><br>Thanks,<br>miniOrange.');
120
+ add_option('mo_openid_user_register_message', 'Hi ##User Name##,<br><br>Thank you for registering to our site.<br><br>Thanks,<br>miniOrange.');
121
 
122
  add_option('mo_openid_user_activation_date','0');
123
  //GDPR options
124
  add_option('mo_openid_gdpr_consent_enable', 0);
125
  add_option( 'mo_openid_privacy_policy_text', 'terms and conditions');
126
  add_option( 'mo_openid_gdpr_consent_message','I accept the terms and conditions.');
127
+
128
+ //woocommerce display options
129
+ add_option( 'mo_openid_woocommerce_before_login_form','0');
130
+ add_option( 'mo_openid_woocommerce_center_login_form','0');
131
+
132
  //social sharing
133
  add_option( 'mo_openid_share_theme', 'oval' );
134
  add_option( 'mo_openid_share_custom_theme', 'default' );
164
  add_option( 'mo_openid_social_comment_heading_label', 'Leave a Reply' );
165
  add_option( 'mo_openid_login_theme', 'default' );
166
 
167
+ if(get_option('mo_openid_woocommerce_before_login_form') == 1){
168
+ add_action( 'woocommerce_login_form_start', array($this, 'mo_openid_add_social_login'));
169
+ }
170
+ if(get_option('mo_openid_woocommerce_center_login_form') == 1){
171
+ add_action( 'woocommerce_login_form', array($this, 'mo_openid_add_social_login'));
172
+ }
173
+
174
  if(get_option('mo_openid_default_comment_enable') == 1 ){
175
  add_action('comment_form_must_log_in_after', array($this, 'mo_openid_add_social_login'));
176
  add_action('comment_form_top', array($this, 'mo_openid_add_social_login'));
504
  update_option('mo_openid_default_login_enable', isset($_POST['mo_openid_default_login_enable']) ? sanitize_text_field($_POST['mo_openid_default_login_enable']) : 0);
505
  update_option('mo_openid_default_register_enable', isset($_POST['mo_openid_default_register_enable']) ? sanitize_text_field($_POST['mo_openid_default_register_enable']) : 0);
506
  update_option('mo_openid_default_comment_enable', isset($_POST['mo_openid_default_comment_enable']) ? sanitize_text_field($_POST['mo_openid_default_comment_enable']) : 0);
507
+ update_option('mo_openid_woocommerce_before_login_form', isset($_POST['mo_openid_woocommerce_before_login_form']) ? sanitize_text_field($_POST['mo_openid_woocommerce_before_login_form']) : 0);
508
+ update_option('mo_openid_woocommerce_center_login_form', isset($_POST['mo_openid_woocommerce_center_login_form']) ? sanitize_text_field($_POST['mo_openid_woocommerce_center_login_form']) : 0);
509
  update_option('moopenid_logo_check', isset($_POST['moopenid_logo_check']) ? sanitize_text_field($_POST['moopenid_logo_check']) : 0);
510
  update_option('mo_openid_message', 'Your settings are saved successfully.');
511
  mo_openid_show_success_message();
miniorange_openid_sso_settings_page.php CHANGED
@@ -34,11 +34,16 @@ require('view/soc_com/com_Enable/mo_openid_comm_enable.php');
34
  require('view/soc_com/com_shrtco/comm_shrtco.php');
35
  include('view/add_on/custom_registration_form.php');
36
  include('view/mo_new/mo_openid_whats_new.php');
 
 
 
37
 
38
  function mo_register_openid() {
39
  ?>
40
  <div id="upgrade_notice" class="update-nag" style="width: 92.5%;margin-left: 0%;"><strong>Special WOOCOMMERCE, BUDDYPRESS & MAILCHIMP INTEGRATION PLUGINS. Click here to <a id="pricing" style="background: #FFA335;border-color: #FFA335;color: white;" class="button" href="<?php echo add_query_arg( array('tab' => 'licensing_plans'), $_SERVER['REQUEST_URI'] ); ?>"><?php echo mo_sl('Upgrade Now');?></a>
41
  </strong></div>
 
 
42
  <?php
43
 
44
  if( isset( $_GET[ 'tab' ]) && $_GET[ 'tab' ] !== 'register' ) {
@@ -531,6 +536,16 @@ function mo_register_sharing_openid()
531
  <a id="short_code" class="tablinks<?php if ($active_tab == "short_code") echo '_active'; ?>"
532
  href="<?php echo add_query_arg(array('tab' => 'short_code'), $_SERVER['REQUEST_URI']); ?>"><?php echo mo_sl('Shortcodes');?></a>
533
 
 
 
 
 
 
 
 
 
 
 
534
  </div>
535
  </div>
536
 
@@ -560,7 +575,7 @@ function mo_register_sharing_openid()
560
  mo_openid_short_code();
561
  break;
562
  case 'licensing_plans':
563
- mo_openid_licensing_plans();
564
  break;
565
  case 'faq':
566
  mo_openid_faq();
@@ -571,6 +586,17 @@ function mo_register_sharing_openid()
571
  case 'add_on':
572
  header('Location: '.site_url().'/wp-admin/admin.php?page=mo_openid_settings_addOn');
573
  break;
 
 
 
 
 
 
 
 
 
 
 
574
  }
575
  ?>
576
  </td>
34
  require('view/soc_com/com_shrtco/comm_shrtco.php');
35
  include('view/add_on/custom_registration_form.php');
36
  include('view/mo_new/mo_openid_whats_new.php');
37
+ require('view/soc_sha/soc_med_cust/mo_openid_social_media_cust.php');
38
+ require ('view/soc_sha/twitter_btn/mo_twitter_btn.php');
39
+ require('view/soc_sha/soc_med_ser/mo_openid_social_media_services.php');
40
 
41
  function mo_register_openid() {
42
  ?>
43
  <div id="upgrade_notice" class="update-nag" style="width: 92.5%;margin-left: 0%;"><strong>Special WOOCOMMERCE, BUDDYPRESS & MAILCHIMP INTEGRATION PLUGINS. Click here to <a id="pricing" style="background: #FFA335;border-color: #FFA335;color: white;" class="button" href="<?php echo add_query_arg( array('tab' => 'licensing_plans'), $_SERVER['REQUEST_URI'] ); ?>"><?php echo mo_sl('Upgrade Now');?></a>
44
  </strong></div>
45
+ <div id="upgrade_notice" class="update-nag" style="width: 92.5%;margin-left: 0%;"><strong>New SOCIAL SHARING PLUGIN is available with attractive features. Click here to <a id="pricing" style="background: #FFA335;border-color: #FFA335;color: white;" class="button" href="<?php echo site_url().'/wp-admin/admin.php?page=mo_openid_social_sharing_settings&tab=licensing_plans'; ?>"><?php echo mo_sl('Upgrade Now');?></a>
46
+ </strong></div>
47
  <?php
48
 
49
  if( isset( $_GET[ 'tab' ]) && $_GET[ 'tab' ] !== 'register' ) {
536
  <a id="short_code" class="tablinks<?php if ($active_tab == "short_code") echo '_active'; ?>"
537
  href="<?php echo add_query_arg(array('tab' => 'short_code'), $_SERVER['REQUEST_URI']); ?>"><?php echo mo_sl('Shortcodes');?></a>
538
 
539
+ <a id="social_media_services" class="tablinks<?php if ($active_tab == "social_media_services") echo '_active'; ?>"
540
+ href="<?php echo add_query_arg(array('tab' => 'social_media_services'), $_SERVER['REQUEST_URI']); ?>"><?php echo mo_sl('Social Media Services');?><span style="margin-left: 1%" class="mo-openid-premium"><?php echo mo_sl('PRO');?></span></a>
541
+
542
+ <a id="social_icons_customization" class="tablinks<?php if ($active_tab == "social_icons_customization") echo '_active'; ?>"
543
+ href="<?php echo add_query_arg(array('tab' => 'social_icons_customization'), $_SERVER['REQUEST_URI']); ?>"><?php echo mo_sl('Social Icons Customization');?><span style="margin-left: 2%" class="mo-openid-premium"><?php echo mo_sl('PRO');?></span></a>
544
+
545
+ <a id="mo_twitter_btn" class="tablinks<?php if ($active_tab == "mo_twitter_btn") echo '_active'; ?>"
546
+ href="<?php echo add_query_arg(array('tab' => 'mo_twitter_btn'), $_SERVER['REQUEST_URI']); ?>"><?php echo mo_sl('Twitter Follow Button');?><span style="margin-left: 1%" class="mo-openid-premium"><?php echo mo_sl('PRO');?></span></a>
547
+
548
+
549
  </div>
550
  </div>
551
 
575
  mo_openid_short_code();
576
  break;
577
  case 'licensing_plans':
578
+ mo_openid_licensing_plan_sharing();
579
  break;
580
  case 'faq':
581
  mo_openid_faq();
586
  case 'add_on':
587
  header('Location: '.site_url().'/wp-admin/admin.php?page=mo_openid_settings_addOn');
588
  break;
589
+ case 'social_media_services':
590
+ mo_openid_social_media_services();
591
+ break;
592
+ case 'social_icons_customization':
593
+ mo_openid_social_icons_customization();
594
+ break;
595
+ case 'mo_twitter_btn':
596
+ mo_twitter_btn();
597
+ break;
598
+
599
+
600
  }
601
  ?>
602
  </td>
mo-openid-social-login-functions.php CHANGED
@@ -44,7 +44,8 @@ function mo_openid_custom_app_oauth_redirect($appname){
44
  $appname='yahoo';
45
  }
46
  require('social_apps/' . $appname . '.php');
47
- $social_app = new $appname();
 
48
  $social_app->mo_openid_get_app_code();
49
  }
50
 
@@ -91,7 +92,8 @@ function mo_openid_process_custom_app_callback()
91
  $appname='yahoo';
92
  }
93
  require('social_apps/' . $appname . '.php');
94
- $social_app = new $appname();
 
95
  $appuserdetails = $social_app->mo_openid_get_access_token();
96
  mo_openid_process_user_details($appuserdetails,$appname);
97
  }
44
  $appname='yahoo';
45
  }
46
  require('social_apps/' . $appname . '.php');
47
+ $mo_appname='mo_'.$appname;
48
+ $social_app = new $mo_appname();
49
  $social_app->mo_openid_get_app_code();
50
  }
51
 
92
  $appname='yahoo';
93
  }
94
  require('social_apps/' . $appname . '.php');
95
+ $mo_appname='mo_'.$appname;
96
+ $social_app = new $mo_appname();
97
  $appuserdetails = $social_app->mo_openid_get_access_token();
98
  mo_openid_process_user_details($appuserdetails,$appname);
99
  }
readme.txt CHANGED
@@ -4,14 +4,17 @@ Donate link: https://www.miniorange.com
4
  Tags: social login, facebook login, google login, twitter login, Vkontakte login, Woocommerce, social, facebook, twitter, google, login, google, social connect, social network login, social plugin, Vkontakte, LinkedIn
5
  Requires at least: 2.0.2
6
  Tested up to: 5.4
7
- Stable tag: 7.3.8
 
8
  License URI: http://miniorange.com/usecases/miniOrange_User_Agreement.pdf
9
 
10
- Social Login with Google, Facebook, Apple, Twitter, Reddit, Vkontakte, LinkedIn and more. GDPR compliant. Social sharing and social comments. 24x7 Support.
11
 
12
  == Description ==
13
 
14
- Social Login enables social login, social sharing, social comments using social login apps like Google, Facebook, Twitter, Vkontakte, LinkedIn, Windows Live, Instagram, Amazon, Salesforce, Yahoo, WordPress, apple, Paypal, disqus, pinterest, spotify, reddit, tumblr, twitch, vimeo, kakao, discord, dribbble, flickr, line, meetup, stackexchange, livejournal, snapchat, foursquare, teamsnap, naver, odnoklassniki.
 
 
15
 
16
  = Free Social Login Features =
17
 
@@ -48,8 +51,8 @@ Social Login enables social login, social sharing, social comments using social
48
  * Social Login with Google, Facebook, Twitter, Vkontakte, LinkedIn, Windows Live, Instagram, Amazon, Salesforce, Yahoo, WordPress, apple, Paypal, disqus, pinterest, spotify, reddit, tumblr, twitch, vimeo, kakao, discord, dribbble, flickr, line, meetup, stackexchange, livejournal, snapchat, foursquare, teamsnap, naver, odnoklassniki.
49
  * GDPR compliant Social Login.
50
  * **Account Linking** - Link social account to WordPress account
51
- * **Woocommerce display options** - Enable social login icons on the Woocommerce Checkout, Login, Registration pages.
52
- * **BuddyPress display options** - Enable Social login icons on BuddyPress Registration & Account pages.
53
  * All social login free version features
54
  * **Enable your own social login application with APP ID and APP Secret for Facebook, Google, Twitter, Vkontakte, LinkedIn, Instagram, Amazon, Windows Live, WordPress, Yahoo, Disqus & Salesforce **[Premium]**
55
  * **Woocommerce Integration [Premium]** - Auto-fill first name, last name and email in billing details of a user logging in with social login application.
@@ -83,7 +86,7 @@ Social Login includes Facebook, Twitter, Google, Vkontakte, LinkedIn, Instagram,
83
  One-click social login to your WordPress site using social login applications like Google, Twitter, Facebook. This means, if your user is logged in to Google, user can comment on any blog or site by simply clicking the `google icon` - no username or password is explicitly required! Simply enable Social Login, **no setup of social media application** is required and you are done.
84
 
85
  = Social Sharing =
86
- Allow anyone to easily share your website content using their favorite social sharing applications. Social Sharing applications include Facebook, Twitter, Google+, Pinterest, Reddit, Vkontakte, Tumblr, StumbleUpon, LinkedIn, Pocket, Digg, Delicious, Odnoklassniki, Email, Print, Whatsapp. Customize your social sharing buttons to suit to your website's theme. Social sharing on homepage includes sharing with content or excerpt.
87
 
88
  See the <a href="https://wordpress.org/plugins/miniorange-login-openid/screenshots/">Screenshots</a> section for visuals on social sharing.
89
 
@@ -159,6 +162,9 @@ The vertical sharing widget for Social Sharing gives a couple of options to chan
159
  = I want to upgrade to the social login standard/premium plan. How can I upgrade? =
160
  Please contact us through the support form for the social login standard and premium plugin.
161
 
 
 
 
162
  = For any other query/problem/request =
163
  Please email us at info@miniorange.com. You can also submit your query from the Social plugin's configuration page.
164
 
@@ -177,8 +183,17 @@ Please email us at info@miniorange.com. You can also submit your query from the
177
  11. Square Social share buttons - horizontal and vertical.
178
  12. Social Sharing icons without background.
179
 
 
 
 
 
 
 
 
 
 
 
180
 
181
- == Changelog ==
182
  = 7.3.8 =
183
  * Updated Odnoklassniki custom app fix in premium versions.
184
  * Updated BuddyPress mapping bug fix in premium version.
@@ -719,6 +734,16 @@ SECURITY FIXES
719
  * First version of Social Login, Social Sharing plugin.
720
 
721
  == Upgrade Notice ==
 
 
 
 
 
 
 
 
 
 
722
  = 7.3.8 =
723
  * Updated Odnoklassniki custom app fix in premium versions.
724
  * Updated BuddyPress mapping bug fix in premium version.
4
  Tags: social login, facebook login, google login, twitter login, Vkontakte login, Woocommerce, social, facebook, twitter, google, login, google, social connect, social network login, social plugin, Vkontakte, LinkedIn
5
  Requires at least: 2.0.2
6
  Tested up to: 5.4
7
+ Stable tag: 7.3.9
8
+ License: GPLv2 or later
9
  License URI: http://miniorange.com/usecases/miniOrange_User_Agreement.pdf
10
 
11
+ Social Login with Google, Facebook, Apple, Twitter, Reddit, Vkontakte, LinkedIn and more. GDPR compliant. Social sharing and woocommerce social integration. 24x7 Support.
12
 
13
  == Description ==
14
 
15
+ Social Plugin enables social login, social sharing, social comments using social login apps like Google, Facebook, Twitter, Vkontakte, LinkedIn, Windows Live, Instagram, Amazon, Salesforce, Yahoo, WordPress, apple, Paypal, disqus, pinterest, spotify, reddit, tumblr, twitch, vimeo, kakao, discord, dribbble, flickr, line, meetup, stackexchange, livejournal, snapchat, foursquare, teamsnap, naver, odnoklassniki.
16
+
17
+ [youtube https://youtu.be/-qHgNcHxwsE]
18
 
19
  = Free Social Login Features =
20
 
51
  * Social Login with Google, Facebook, Twitter, Vkontakte, LinkedIn, Windows Live, Instagram, Amazon, Salesforce, Yahoo, WordPress, apple, Paypal, disqus, pinterest, spotify, reddit, tumblr, twitch, vimeo, kakao, discord, dribbble, flickr, line, meetup, stackexchange, livejournal, snapchat, foursquare, teamsnap, naver, odnoklassniki.
52
  * GDPR compliant Social Login.
53
  * **Account Linking** - Link social account to WordPress account
54
+ * **Woocommerce display options** - Enable social login icons on the Woocommerce Checkout, Woocommerce Login, Woocommerce Registration pages.
55
+ * **BuddyPress display options** - Enable Social login icons on BuddyPress Registration & BuddyPress Account pages.
56
  * All social login free version features
57
  * **Enable your own social login application with APP ID and APP Secret for Facebook, Google, Twitter, Vkontakte, LinkedIn, Instagram, Amazon, Windows Live, WordPress, Yahoo, Disqus & Salesforce **[Premium]**
58
  * **Woocommerce Integration [Premium]** - Auto-fill first name, last name and email in billing details of a user logging in with social login application.
86
  One-click social login to your WordPress site using social login applications like Google, Twitter, Facebook. This means, if your user is logged in to Google, user can comment on any blog or site by simply clicking the `google icon` - no username or password is explicitly required! Simply enable Social Login, **no setup of social media application** is required and you are done.
87
 
88
  = Social Sharing =
89
+ Allow anyone to easily share your website content using their favorite social sharing applications. Social Sharing applications include Facebook, Twitter, Google+, Pinterest, Reddit, Vkontakte, Tumblr, StumbleUpon, LinkedIn, Pocket, Digg, Delicious, Odnoklassniki, Email, Print, Whatsapp and more. Customize your social sharing buttons to suit to your website's theme. Social sharing on homepage includes sharing with content or excerpt.
90
 
91
  See the <a href="https://wordpress.org/plugins/miniorange-login-openid/screenshots/">Screenshots</a> section for visuals on social sharing.
92
 
162
  = I want to upgrade to the social login standard/premium plan. How can I upgrade? =
163
  Please contact us through the support form for the social login standard and premium plugin.
164
 
165
+ =I want user to select their role on registration=
166
+ This feature is available in Custom registration add-on which allows the users to select their role during Registration and based on that the user will be given the privileges inside.
167
+
168
  = For any other query/problem/request =
169
  Please email us at info@miniorange.com. You can also submit your query from the Social plugin's configuration page.
170
 
183
  11. Square Social share buttons - horizontal and vertical.
184
  12. Social Sharing icons without background.
185
 
186
+ ==Changelog==
187
+ = 7.3.9 =
188
+ * Added the two display options for WooCommerce.
189
+ * Added bulk instances for Social Login plans.
190
+ * Added 25+ sharing applications in social sharing paid plan.
191
+ * Added Buffer for share counts social sharing paid plan.
192
+ * Added social share service button like, recommended, pin it in social share paid plan.
193
+ * Added Twitter follow button, Email subscription, new customization of icons, different WooCommerce display options in social sharing paid plan.
194
+ * Resolved class name conflict for Social Login apps.
195
+ * Minor UI changes.
196
 
 
197
  = 7.3.8 =
198
  * Updated Odnoklassniki custom app fix in premium versions.
199
  * Updated BuddyPress mapping bug fix in premium version.
734
  * First version of Social Login, Social Sharing plugin.
735
 
736
  == Upgrade Notice ==
737
+ = 7.3.9 =
738
+ * Added the two display options for WooCommerce.
739
+ * Added bulk instances for Social Login plans.
740
+ * Added 25+ sharing applications in social sharing paid plan.
741
+ * Added Buffer for share counts social sharing paid plan.
742
+ * Added social share service button like, recommended, pin it in social share paid plan.
743
+ * Added Twitter follow button, Email subscription, new customization of icons, different WooCommerce display options in social sharing paid plan.
744
+ * Resolved class name conflict for Social Login apps.
745
+ * Minor UI changes.
746
+
747
  = 7.3.8 =
748
  * Updated Odnoklassniki custom app fix in premium versions.
749
  * Updated BuddyPress mapping bug fix in premium version.
social_apps/amazon.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
 
3
 
4
- class amazon
5
  {
6
  public $color="#343331";
7
  public $scope="profile";
1
  <?php
2
 
3
 
4
+ class mo_amazon
5
  {
6
  public $color="#343331";
7
  public $scope="profile";
social_apps/apple.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
 
3
 
4
- class apple
5
  {
6
  public $color="#000000";
7
  }
1
  <?php
2
 
3
 
4
+ class mo_apple
5
  {
6
  public $color="#000000";
7
  }
social_apps/baidu.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
 
3
 
4
- class baidu
5
  {
6
  public $color="#2112E1";
7
  }
1
  <?php
2
 
3
 
4
+ class mo_baidu
5
  {
6
  public $color="#2112E1";
7
  }
social_apps/discord.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
 
3
 
4
- class discord
5
  {
6
  public $color="#7289DA";
7
  }
1
  <?php
2
 
3
 
4
+ class mo_discord
5
  {
6
  public $color="#7289DA";
7
  }
social_apps/disqus.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
 
3
 
4
- class disqus
5
  {
6
  public $color="#2E9FFF";
7
  }
1
  <?php
2
 
3
 
4
+ class mo_disqus
5
  {
6
  public $color="#2E9FFF";
7
  }
social_apps/dribbble.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
 
3
 
4
- class dribbble
5
  {
6
  public $color="#E84C88";
7
  }
1
  <?php
2
 
3
 
4
+ class mo_dribbble
5
  {
6
  public $color="#E84C88";
7
  }
social_apps/facebook.php CHANGED
@@ -1,6 +1,6 @@
1
  <?php
2
 
3
- class facebook
4
  {
5
  public $color="#3A5897";
6
  public $scope="email, public_profile";
1
  <?php
2
 
3
+ class mo_facebook
4
  {
5
  public $color="#3A5897";
6
  public $scope="email, public_profile";
social_apps/flickr.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
 
3
 
4
- class flickr
5
  {
6
  public $color="#FF2F96";
7
  }
1
  <?php
2
 
3
 
4
+ class mo_flickr
5
  {
6
  public $color="#FF2F96";
7
  }
social_apps/foursquare.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
 
3
 
4
- class foursquare
5
  {
6
  public $color="#FE5478";
7
  }
1
  <?php
2
 
3
 
4
+ class mo_foursquare
5
  {
6
  public $color="#FE5478";
7
  }
social_apps/google.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
 
3
 
4
- class google
5
  {
6
  public $color="#DD4B39";
7
  public $scope="email+profile";
1
  <?php
2
 
3
 
4
+ class mo_google
5
  {
6
  public $color="#DD4B39";
7
  public $scope="email+profile";
social_apps/instagram.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
 
3
 
4
- class instagram
5
  {
6
  public $color="#517FA6";
7
  public $scope="user_profile,user_media";
1
  <?php
2
 
3
 
4
+ class mo_instagram
5
  {
6
  public $color="#517FA6";
7
  public $scope="user_profile,user_media";
social_apps/kakao.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
 
3
 
4
- class kakao
5
  {
6
  public $color="#F9E000";
7
  }
1
  <?php
2
 
3
 
4
+ class mo_kakao
5
  {
6
  public $color="#F9E000";
7
  }
social_apps/line.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
 
3
 
4
- class line
5
  {
6
  public $color="#00B900";
7
  }
1
  <?php
2
 
3
 
4
+ class mo_line
5
  {
6
  public $color="#00B900";
7
  }
social_apps/linkedin.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
 
3
 
4
- class linkedin
5
  {
6
  public $color="#007AB9";
7
  public $scope="r_liteprofile r_emailaddress w_member_social";
1
  <?php
2
 
3
 
4
+ class mo_linkedin
5
  {
6
  public $color="#007AB9";
7
  public $scope="r_liteprofile r_emailaddress w_member_social";
social_apps/livejournal.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
 
3
 
4
- class livejournal
5
  {
6
  public $color="#306599";
7
  }
1
  <?php
2
 
3
 
4
+ class mo_livejournal
5
  {
6
  public $color="#306599";
7
  }
social_apps/meetup.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
 
3
 
4
- class meetup
5
  {
6
  public $color="#EC1C40";
7
  }
1
  <?php
2
 
3
 
4
+ class mo_meetup
5
  {
6
  public $color="#EC1C40";
7
  }
social_apps/naver.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
 
3
 
4
- class naver
5
  {
6
  public $color="#1DC800";
7
  }
1
  <?php
2
 
3
 
4
+ class mo_naver
5
  {
6
  public $color="#1DC800";
7
  }
social_apps/odnoklassniki.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
 
3
 
4
- class odnoklassniki
5
  {
6
  public $color="#F58220";
7
  }
1
  <?php
2
 
3
 
4
+ class mo_odnoklassniki
5
  {
6
  public $color="#F58220";
7
  }
social_apps/paypal.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
 
3
 
4
- class paypal
5
  {
6
  public $color = "#039BE5";
7
 
1
  <?php
2
 
3
 
4
+ class mo_paypal
5
  {
6
  public $color = "#039BE5";
7
 
social_apps/pinterest.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
 
3
 
4
- class pinterest
5
  {
6
  public $color="#D73532";
7
  }
1
  <?php
2
 
3
 
4
+ class mo_pinterest
5
  {
6
  public $color="#D73532";
7
  }
social_apps/qq.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
 
3
 
4
- class qq
5
  {
6
  public $color="#009CC1";
7
  }
1
  <?php
2
 
3
 
4
+ class mo_qq
5
  {
6
  public $color="#009CC1";
7
  }
social_apps/reddit.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
 
3
 
4
- class reddit
5
  {
6
  public $color="#FF4401";
7
  }
1
  <?php
2
 
3
 
4
+ class mo_reddit
5
  {
6
  public $color="#FF4401";
7
  }
social_apps/renren.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
 
3
 
4
- class renren
5
  {
6
  public $color="#063575";
7
  }
1
  <?php
2
 
3
 
4
+ class mo_renren
5
  {
6
  public $color="#063575";
7
  }
social_apps/salesforce.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
 
3
 
4
- class salesforce
5
  {
6
  public $color="#009DDC";
7
  }
1
  <?php
2
 
3
 
4
+ class mo_salesforce
5
  {
6
  public $color="#009DDC";
7
  }
social_apps/snapchat.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
 
3
 
4
- class snapchat
5
  {
6
  public $color="#FFFB00";
7
  }
1
  <?php
2
 
3
 
4
+ class mo_snapchat
5
  {
6
  public $color="#FFFB00";
7
  }
social_apps/spotify.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
 
3
 
4
- class spotify
5
  {
6
  public $color="#1ED760";
7
  }
1
  <?php
2
 
3
 
4
+ class mo_spotify
5
  {
6
  public $color="#1ED760";
7
  }
social_apps/stackexchange.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
 
3
 
4
- class stackexchange
5
  {
6
  public $color="#163B7F";
7
  }
1
  <?php
2
 
3
 
4
+ class mo_stackexchange
5
  {
6
  public $color="#163B7F";
7
  }
social_apps/teamsnap.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
 
3
 
4
- class teamsnap
5
  {
6
  public $color="#FF6C0B";
7
  }
1
  <?php
2
 
3
 
4
+ class mo_teamsnap
5
  {
6
  public $color="#FF6C0B";
7
  }
social_apps/tumblr.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
 
3
 
4
- class tumblr
5
  {
6
  public $color="#34465D";
7
  }
1
  <?php
2
 
3
 
4
+ class mo_tumblr
5
  {
6
  public $color="#34465D";
7
  }
social_apps/twitch.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
 
3
 
4
- class twitch
5
  {
6
  public $color="#6441A5";
7
  }
1
  <?php
2
 
3
 
4
+ class mo_twitch
5
  {
6
  public $color="#6441A5";
7
  }
social_apps/twitter.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
 
3
 
4
- class twitter
5
  {
6
  public $color="#00ACED";
7
  public $scope="";
1
  <?php
2
 
3
 
4
+ class mo_twitter
5
  {
6
  public $color="#00ACED";
7
  public $scope="";
social_apps/vimeo.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
 
3
 
4
- class vimeo
5
  {
6
  public $color="#1FB7EB";
7
  }
1
  <?php
2
 
3
 
4
+ class mo_vimeo
5
  {
6
  public $color="#1FB7EB";
7
  }
social_apps/vkontakte.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
 
3
 
4
- class vkontakte
5
  {
6
  public $color="#4C75A3";
7
  public $scope="friends,photos,email";
1
  <?php
2
 
3
 
4
+ class mo_vkontakte
5
  {
6
  public $color="#4C75A3";
7
  public $scope="friends,photos,email";
social_apps/wechat.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
 
3
 
4
- class wechat
5
  {
6
  public $color="#2DC100";
7
  }
1
  <?php
2
 
3
 
4
+ class mo_wechat
5
  {
6
  public $color="#2DC100";
7
  }
social_apps/wiebo.php CHANGED
@@ -1,5 +1,5 @@
1
  <?php
2
- class wiebo
3
  {
4
  public $color="#f74545";
5
  }
1
  <?php
2
+ class mo_wiebo
3
  {
4
  public $color="#f74545";
5
  }
social_apps/windowslive.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
 
3
 
4
- class windowslive
5
  {
6
  public $color = "#00A1F1";
7
  public $scope = "wl.emails,wl.basic,wl.photos,wl.contacts_photos";
1
  <?php
2
 
3
 
4
+ class mo_windowslive
5
  {
6
  public $color = "#00A1F1";
7
  public $scope = "wl.emails,wl.basic,wl.photos,wl.contacts_photos";
social_apps/wordpress.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
 
3
 
4
- class wordpress
5
  {
6
  public $color="#346DA6";
7
  }
1
  <?php
2
 
3
 
4
+ class mo_wordpress
5
  {
6
  public $color="#346DA6";
7
  }
social_apps/yahoo.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
 
3
 
4
- class yahoo
5
  {
6
  public $color="#400092";
7
  public $scope="read";
1
  <?php
2
 
3
 
4
+ class mo_yahoo
5
  {
6
  public $color="#400092";
7
  public $scope="read";
social_apps/yandex.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
 
3
 
4
- class yandex
5
  {
6
  public $color="#E52620";
7
  public $scope="";
1
  <?php
2
 
3
 
4
+ class mo_yandex
5
  {
6
  public $color="#E52620";
7
  public $scope="";
uninstall.php CHANGED
@@ -62,7 +62,8 @@ delete_option('mo_openid_social_comment_heading_label' );
62
  delete_option('app_pos' );
63
  delete_option('app_pos_premium');
64
  delete_option('mo_openid_deactivate_reason_form');
65
-
 
66
  delete_option('mo_share_options_enable_post');
67
  delete_option('mo_share_options_enable_home_page');
68
  delete_option('mo_share_options_enable_static_pages');
62
  delete_option('app_pos' );
63
  delete_option('app_pos_premium');
64
  delete_option('mo_openid_deactivate_reason_form');
65
+ delete_option( 'mo_openid_woocommerce_before_login_form');
66
+ delete_option( 'mo_openid_woocommerce_center_login_form');
67
  delete_option('mo_share_options_enable_post');
68
  delete_option('mo_share_options_enable_home_page');
69
  delete_option('mo_share_options_enable_static_pages');
view/config_apps/mo_openid_config_apps.php CHANGED
@@ -24,7 +24,8 @@ function mo_openid_show_apps()
24
  $checked='';
25
  $dir=dirname(dirname(dirname( __FILE__ )));
26
  require($dir.'/social_apps/'.$apps.'.php');
27
- $social_app = new $apps();
 
28
  $blcolor=$social_app->color;
29
  ?>
30
  <div class="mo-openid-sort-apps-div mo-openid-hover-div-sett" data-provider="<?php echo $apps?>" id="<?php echo $apps?>" style="opacity: <?php if(get_option('mo_openid_'.$apps.'_enable')) echo '1'; else echo '0.6'?>">
@@ -52,6 +53,9 @@ function mo_openid_show_apps()
52
  </div>
53
  <br/>
54
  </td>
 
 
 
55
  </tr>
56
  <tr>
57
  <td>
@@ -68,7 +72,8 @@ function mo_openid_show_apps()
68
  {
69
  $dir=dirname(dirname(dirname( __FILE__ )));
70
  include_once($dir.'/social_apps/'.$apps.'.php');
71
- $social_app = new $apps();
 
72
  $blcolor=$social_app->color;
73
  ?>
74
  <div class="mo-openid-sort-apps-div mo-openid-hover-div-sett">
@@ -114,7 +119,7 @@ function mo_openid_show_apps()
114
  success: function (result) {
115
  if (result.status) {
116
  if (a.checked == true) {
117
- if (app_name == 'facebook') {
118
  jQuery.ajax({
119
  type: 'POST',
120
  url: '<?php echo admin_url("admin-ajax.php"); ?>',
@@ -146,7 +151,7 @@ function mo_openid_show_apps()
146
  });
147
  } else {
148
  jQuery("#mo_apps_".concat(app_name)).prop('checked', false);
149
- mo_show_success_error_msg('success','Please set custom app for facebook');
150
  jQuery ("#mo_facebook_notice").show();
151
  jQuery( "#mo_register_customer_toggle").hide();
152
  getappsInLine(app_name);
@@ -214,7 +219,7 @@ function mo_openid_show_apps()
214
  });
215
  } else {
216
  jQuery("#mo_apps_".concat(app_name)).prop('checked', false);
217
- if(app_name=='facebook')
218
  {
219
  jQuery ("#mo_facebook_notice").show();
220
  jQuery( "#mo_register_customer_toggle").hide();
@@ -334,7 +339,7 @@ function mo_openid_show_apps()
334
  // '</label>' +
335
  // '</div>' +
336
  // '</div>'+
337
- '<div id="mo_facebook_notice" style="overflow: auto; margin-left:25%; margin-right:3%; padding-top:2%"><label style="cursor:auto"><b>Please set custom app for Facebook</b></label></div><hr>'+
338
  '<div><center><h3 style="margin-bottom: 2%">App Settings</h3></center></div>'+
339
  '<div class="mo-openid-app-name" id="custom_app_name_rename" style="width: 100%">'+
340
  '<div id="mo_register_customer_toggle" style="overflow: auto; margin-left:10%; margin-right:3%; padding-top:2%;margin-bottom:2%;">' +
@@ -786,11 +791,11 @@ function mo_openid_show_apps()
786
 
787
  jQuery(".mo-openid-sort-apps-open-settings-div").click(function () {
788
  let app_name = jQuery(this).parents(".mo-openid-sort-apps-div").attr("id");
789
- if(app_name=='facebook')
790
  {
 
791
  jQuery ("#mo_facebook_notice").show();
792
  jQuery( "#mo_register_customer_toggle").hide();
793
-
794
  }
795
  else {
796
  document.getElementById('mo_openid_ajax_wait_img').style.display = 'block';
@@ -829,7 +834,7 @@ function mo_openid_show_apps()
829
  jQuery('#mo_openid_cust_app_instructions').show();
830
  jQuery('#mo_openid_register_new_user').hide();
831
  jQuery('#mo_openid_register_old_user').hide();
832
- if(application_name == 'facebook') {
833
  jQuery("#mo_set_pre_config_app").hide();
834
  jQuery("#mo_ssl_notice").text("SSL certificate is required for "+application_name.charAt(0).toUpperCase()+application_name.substr(1)+" custom app");
835
  jQuery("#mo_ssl_notice").show();
@@ -881,6 +886,7 @@ function mo_openid_show_apps()
881
  jQuery("#custom_app_perma_inst").hide();
882
  for (i = 7; i < ins.length; i++)
883
  jQuery("#custom_app_inst_steps").append('<li>' + ins[i] + '</li>');
 
884
  }
885
  document.getElementById('mo_openid_ajax_wait_img').style.display = 'none';
886
  document.getElementById('mo_openid_ajax_wait_fade').style.display = 'none';
24
  $checked='';
25
  $dir=dirname(dirname(dirname( __FILE__ )));
26
  require($dir.'/social_apps/'.$apps.'.php');
27
+ $mo_appname='mo_'.$apps;
28
+ $social_app = new $mo_appname();
29
  $blcolor=$social_app->color;
30
  ?>
31
  <div class="mo-openid-sort-apps-div mo-openid-hover-div-sett" data-provider="<?php echo $apps?>" id="<?php echo $apps?>" style="opacity: <?php if(get_option('mo_openid_'.$apps.'_enable')) echo '1'; else echo '0.6'?>">
53
  </div>
54
  <br/>
55
  </td>
56
+ <div>
57
+ <label style="cursor: auto; margin-left: 3%;" class="mo_openid_note_style">Are you looking for rest API solution to authorized users for your Android or IOS app? <a style="cursor: pointer" onclick="mo_openid_support_form('Rest API requirments ')">Click here</a> and send us your requirments we will help you out.</label>
58
+ </div>
59
  </tr>
60
  <tr>
61
  <td>
72
  {
73
  $dir=dirname(dirname(dirname( __FILE__ )));
74
  include_once($dir.'/social_apps/'.$apps.'.php');
75
+ $mo_appname='mo_'.$apps;
76
+ $social_app = new $mo_appname();
77
  $blcolor=$social_app->color;
78
  ?>
79
  <div class="mo-openid-sort-apps-div mo-openid-hover-div-sett">
119
  success: function (result) {
120
  if (result.status) {
121
  if (a.checked == true) {
122
+ if (app_name == 'facebook' || app_name == 'twitter' || app_name == 'instagram') {
123
  jQuery.ajax({
124
  type: 'POST',
125
  url: '<?php echo admin_url("admin-ajax.php"); ?>',
151
  });
152
  } else {
153
  jQuery("#mo_apps_".concat(app_name)).prop('checked', false);
154
+ mo_show_success_error_msg('success','Please set custom app for '.concat(app_name));
155
  jQuery ("#mo_facebook_notice").show();
156
  jQuery( "#mo_register_customer_toggle").hide();
157
  getappsInLine(app_name);
219
  });
220
  } else {
221
  jQuery("#mo_apps_".concat(app_name)).prop('checked', false);
222
+ if(app_name=='facebook' || app_name == 'twitter' || app_name == 'instagram')
223
  {
224
  jQuery ("#mo_facebook_notice").show();
225
  jQuery( "#mo_register_customer_toggle").hide();
339
  // '</label>' +
340
  // '</div>' +
341
  // '</div>'+
342
+ '<div id="mo_facebook_notice" style="overflow: auto; margin-left:25%; margin-right:3%; padding-top:2%"><label style="cursor:auto"><b></b></label></div><hr>'+
343
  '<div><center><h3 style="margin-bottom: 2%">App Settings</h3></center></div>'+
344
  '<div class="mo-openid-app-name" id="custom_app_name_rename" style="width: 100%">'+
345
  '<div id="mo_register_customer_toggle" style="overflow: auto; margin-left:10%; margin-right:3%; padding-top:2%;margin-bottom:2%;">' +
791
 
792
  jQuery(".mo-openid-sort-apps-open-settings-div").click(function () {
793
  let app_name = jQuery(this).parents(".mo-openid-sort-apps-div").attr("id");
794
+ if(app_name=='facebook' || app_name == 'twitter' || app_name == 'instagram')
795
  {
796
+ jQuery("#mo_facebook_notice").text("Please set custom app for "+app_name.charAt(0).toUpperCase()+app_name.substr(1));
797
  jQuery ("#mo_facebook_notice").show();
798
  jQuery( "#mo_register_customer_toggle").hide();
 
799
  }
800
  else {
801
  document.getElementById('mo_openid_ajax_wait_img').style.display = 'block';
834
  jQuery('#mo_openid_cust_app_instructions').show();
835
  jQuery('#mo_openid_register_new_user').hide();
836
  jQuery('#mo_openid_register_old_user').hide();
837
+ if(application_name == 'facebook' || application_name == 'twitter' || application_name == 'instagram') {
838
  jQuery("#mo_set_pre_config_app").hide();
839
  jQuery("#mo_ssl_notice").text("SSL certificate is required for "+application_name.charAt(0).toUpperCase()+application_name.substr(1)+" custom app");
840
  jQuery("#mo_ssl_notice").show();
886
  jQuery("#custom_app_perma_inst").hide();
887
  for (i = 7; i < ins.length; i++)
888
  jQuery("#custom_app_inst_steps").append('<li>' + ins[i] + '</li>');
889
+ jQuery("#custom_app_inst_steps").append('<label class="mo_openid_note_style" style="cursor: auto">If you want to display Social Login icons on your login panel then use <code id=\'1\'>[miniorange_social_login]</code><i style= "width: 11px;height: 9px;padding-left:2px;padding-top:3px" class="mofa mofa-fw mofa-lg mofa-copy mo_copy mo_copytooltip" onclick="copyToClipboard(this, \'#1\', \'#shortcode_url_copy\')"><span id="shortcode_url_copy" class="mo_copytooltiptext">Copy to Clipboard</span></i> to display social icons or <a style="cursor: pointer" onclick="mo_openid_support_form(\'\')">Contact Us</a></label>');
890
  }
891
  document.getElementById('mo_openid_ajax_wait_img').style.display = 'none';
892
  document.getElementById('mo_openid_ajax_wait_fade').style.display = 'none';
view/config_apps/mo_openid_config_apps_funct.php CHANGED
@@ -71,7 +71,8 @@ function mo_openid_app_instructions_action()
71
  $name=plugin_dir_path(dirname(__DIR__));
72
  $name=substr($name,0,strlen($name)-1).'//social_apps//'.$social_app.'.php';
73
  require($name);
74
- $social_app = new $social_app();
 
75
  if(!isset($appslist[sanitize_text_field($_POST['app_name'])]['scope']))
76
  $instructions .= $social_app->scope . "##";
77
  else
71
  $name=plugin_dir_path(dirname(__DIR__));
72
  $name=substr($name,0,strlen($name)-1).'//social_apps//'.$social_app.'.php';
73
  require($name);
74
+ $mo_appname='mo_'.$social_app;
75
+ $social_app = new $mo_appname();
76
  if(!isset($appslist[sanitize_text_field($_POST['app_name'])]['scope']))
77
  $instructions .= $social_app->scope . "##";
78
  else
view/customise_social_icons/mo_openid_cust_icons.php CHANGED
@@ -151,7 +151,7 @@ function mo_openid_customise_social_icons(){
151
  $app_img='kaka';
152
  if($active_app=='facebook')
153
  {
154
- $class_app++;
155
  ?>
156
  <img class="mo_login_icon_preview" id="mo_login_icon_preview_facebook" src="<?php echo plugin_url.'/facebook.png'?>" />
157
  <a id="mo_login_button_preview_facebook" class="btn btn-block btn-defaulttheme btn-social btn-facebook btn-custom-size"> <i class="mofa" style="border-right:none;"><svg xmlns="http://www.w3.org/2000/svg" style="margin-top:12%;margin-left: 2%;" ><path fill="#fff" d="M22.688 0H1.323C.589 0 0 .589 0 1.322v21.356C0 23.41.59 24 1.323 24h11.505v-9.289H9.693V11.09h3.124V8.422c0-3.1 1.89-4.789 4.658-4.789 1.322 0 2.467.1 2.8.145v3.244h-1.922c-1.5 0-1.801.711-1.801 1.767V11.1h3.59l-.466 3.622h-3.113V24h6.114c.734 0 1.323-.589 1.323-1.322V1.322A1.302 1.302 0 0 0 22.688 0z"/></svg></i><?php
151
  $app_img='kaka';
152
  if($active_app=='facebook')
153
  {
154
+ $count_app++;
155
  ?>
156
  <img class="mo_login_icon_preview" id="mo_login_icon_preview_facebook" src="<?php echo plugin_url.'/facebook.png'?>" />
157
  <a id="mo_login_button_preview_facebook" class="btn btn-block btn-defaulttheme btn-social btn-facebook btn-custom-size"> <i class="mofa" style="border-right:none;"><svg xmlns="http://www.w3.org/2000/svg" style="margin-top:12%;margin-left: 2%;" ><path fill="#fff" d="M22.688 0H1.323C.589 0 0 .589 0 1.322v21.356C0 23.41.59 24 1.323 24h11.505v-9.289H9.693V11.09h3.124V8.422c0-3.1 1.89-4.789 4.658-4.789 1.322 0 2.467.1 2.8.145v3.244h-1.922c-1.5 0-1.801.711-1.801 1.767V11.1h3.59l-.466 3.622h-3.113V24h6.114c.734 0 1.323-.589 1.323-1.322V1.322A1.302 1.302 0 0 0 22.688 0z"/></svg></i><?php
view/disp_options/mo_openid_dispopt.php CHANGED
@@ -49,42 +49,41 @@ function mo_openid_disp_opt()
49
  </label>
50
  </div>
51
  <div style="width:50%; background:white; float:right; border: 1px transparent;">
52
- <b style="font-size:17px;"><?php echo mo_sl('Woocommerce display options');?> <a style="left: 1%; position: relative; text-decoration: none" class="mo-openid-premium" href="<?php echo add_query_arg( array('tab' => 'licensing_plans'), $_SERVER['REQUEST_URI'] ); ?>"><?php echo mo_sl('PRO');?></a></b><br><br><br>
53
 
54
- <label class="mo_openid_checkbox_container_disable"><?php echo mo_sl('Before WooCommerce Login Form');?>
55
- <input type="checkbox" /><br>
56
- <span class="mo_openid_checkbox_checkmark_disable"></span>
57
  </label>
58
-
59
- <label class="mo_openid_checkbox_container_disable"><?php echo mo_sl("Before 'Remember Me' of WooCommerce Login Form");?>
60
- <input type="checkbox" /><br>
61
- <span class="mo_openid_checkbox_checkmark_disable"></span>
62
  </label>
63
- <label class="mo_openid_checkbox_container_disable"><?php echo mo_sl('After WooCommerce Login Form');?>
64
  <input type="checkbox" /><br>
65
  <span class="mo_openid_checkbox_checkmark_disable"></span>
66
  </label>
67
 
68
- <label class="mo_openid_checkbox_container_disable"><?php echo mo_sl('Before WooCommerce Registration Form');?>
69
  <input type="checkbox" /><br>
70
  <span class="mo_openid_checkbox_checkmark_disable"></span>
71
  </label>
72
- <label class="mo_openid_checkbox_container_disable"><?php echo mo_sl("Before 'Register button' of WooCommerce Registration Form");?>
73
  <input type="checkbox" /><br>
74
  <span class="mo_openid_checkbox_checkmark_disable"></span>
75
  </label>
76
 
77
- <label class="mo_openid_checkbox_container_disable"><?php echo mo_sl('After WooCommerce Registration Form');?>
78
  <input type="checkbox" /><br>
79
  <span class="mo_openid_checkbox_checkmark_disable"></span>
80
  </label>
81
 
82
- <label class="mo_openid_checkbox_container_disable"><?php echo mo_sl('Before WooCommerce Checkout Form');?>
83
  <input type="checkbox" /><br>
84
  <span class="mo_openid_checkbox_checkmark_disable"></span>
85
  </label>
86
 
87
- <label class="mo_openid_checkbox_container_disable"><?php echo mo_sl('After WooCommerce Checkout Form');?>
88
  <input type="checkbox" /><br>
89
  <span class="mo_openid_checkbox_checkmark_disable"></span>
90
  </label>
49
  </label>
50
  </div>
51
  <div style="width:50%; background:white; float:right; border: 1px transparent;">
52
+ <b style="font-size:17px;"><?php echo mo_sl('Woocommerce display options');?></b><br><br><br>
53
 
54
+ <label class="mo_openid_checkbox_container">
55
+ <input type="checkbox" id="woocommerce_before_login_form" name="mo_openid_woocommerce_before_login_form" value="1" <?php checked( get_option('mo_openid_woocommerce_before_login_form') == 1 );?> /><?php echo mo_sl("Before WooCommerce Login Form");?>
56
+ <span class="mo_openid_checkbox_checkmark"></span>
57
  </label>
58
+ <label class="mo_openid_checkbox_container">
59
+ <input type="checkbox" id="woocommerce_center_login_form" name="mo_openid_woocommerce_center_login_form" value="1" <?php checked( get_option('mo_openid_woocommerce_center_login_form') == 1 );?> /><?php echo mo_sl("Before 'Remember Me' of WooCommerce Login Form");?>
60
+ <span class="mo_openid_checkbox_checkmark"></span>
 
61
  </label>
62
+ <label class="mo_openid_checkbox_container_disable"><?php echo mo_sl('After WooCommerce Login Form');?><a style="left: 1%; position: relative; text-decoration: none" class="mo-openid-premium" href="<?php echo add_query_arg( array('tab' => 'licensing_plans'), $_SERVER['REQUEST_URI'] ); ?>"><?php echo mo_sl('PRO');?></a>
63
  <input type="checkbox" /><br>
64
  <span class="mo_openid_checkbox_checkmark_disable"></span>
65
  </label>
66
 
67
+ <label class="mo_openid_checkbox_container_disable"><?php echo mo_sl('Before WooCommerce Registration Form');?><a style="left: 1%; position: relative; text-decoration: none" class="mo-openid-premium" href="<?php echo add_query_arg( array('tab' => 'licensing_plans'), $_SERVER['REQUEST_URI'] ); ?>"><?php echo mo_sl('PRO');?></a>
68
  <input type="checkbox" /><br>
69
  <span class="mo_openid_checkbox_checkmark_disable"></span>
70
  </label>
71
+ <label class="mo_openid_checkbox_container_disable"><?php echo mo_sl("Before 'Register button' of WooCommerce Registration Form");?><a style="left: 1%; position: relative; text-decoration: none" class="mo-openid-premium" href="<?php echo add_query_arg( array('tab' => 'licensing_plans'), $_SERVER['REQUEST_URI'] ); ?>"><?php echo mo_sl('PRO');?></a>
72
  <input type="checkbox" /><br>
73
  <span class="mo_openid_checkbox_checkmark_disable"></span>
74
  </label>
75
 
76
+ <label class="mo_openid_checkbox_container_disable"><?php echo mo_sl('After WooCommerce Registration Form');?><a style="left: 1%; position: relative; text-decoration: none" class="mo-openid-premium" href="<?php echo add_query_arg( array('tab' => 'licensing_plans'), $_SERVER['REQUEST_URI'] ); ?>"><?php echo mo_sl('PRO');?></a>
77
  <input type="checkbox" /><br>
78
  <span class="mo_openid_checkbox_checkmark_disable"></span>
79
  </label>
80
 
81
+ <label class="mo_openid_checkbox_container_disable"><?php echo mo_sl('Before WooCommerce Checkout Form');?><a style="left: 1%; position: relative; text-decoration: none" class="mo-openid-premium" href="<?php echo add_query_arg( array('tab' => 'licensing_plans'), $_SERVER['REQUEST_URI'] ); ?>"><?php echo mo_sl('PRO');?></a>
82
  <input type="checkbox" /><br>
83
  <span class="mo_openid_checkbox_checkmark_disable"></span>
84
  </label>
85
 
86
+ <label class="mo_openid_checkbox_container_disable"><?php echo mo_sl('After WooCommerce Checkout Form');?><a style="left: 1%; position: relative; text-decoration: none" class="mo-openid-premium" href="<?php echo add_query_arg( array('tab' => 'licensing_plans'), $_SERVER['REQUEST_URI'] ); ?>"><?php echo mo_sl('PRO');?></a>
87
  <input type="checkbox" /><br>
88
  <span class="mo_openid_checkbox_checkmark_disable"></span>
89
  </label>
view/licensing_plans/mo_openid_lic_plans.php CHANGED
@@ -101,6 +101,7 @@ function mo_openid_licensing_plans()
101
  <th><br>
102
  <h1>Free</h1>
103
  <h2>(YOU ARE ON THIS PLAN)</h2>
 
104
  <h1><img src="<?php echo plugin_dir_url(dirname(dirname(__FILE__))); ?>includes/images/dollar.png" style="width:20px;height:20px;">0</h1>
105
  <h3>(Features and plans)</h3>
106
  </th>
@@ -181,7 +182,10 @@ function mo_openid_licensing_plans()
181
  <h2>&nbsp;</h2>
182
  <h1>
183
  <img src="<?php echo plugin_dir_url(dirname(dirname(__FILE__)));?>includes/images/dollar.png" style="width:20px;height:20px;"><strike>39</strike>
184
- <img src="<?php echo plugin_dir_url(dirname(dirname(__FILE__))); ?>includes/images/dollar.png" style="width:20px;height:20px;">29</h1>
 
 
 
185
  </h1>
186
  <h3>(Features and plans)</h3>
187
  </th>
@@ -265,7 +269,10 @@ function mo_openid_licensing_plans()
265
  <h2><font color="red">(Popular plugins integrations)</font></h2>
266
  <h1>
267
  <img src="<?php echo plugin_dir_url(dirname(dirname(__FILE__)));?>includes/images/dollar.png" style="width:20px;height:20px;"><strike>59</strike>
268
- <img src="<?php echo plugin_dir_url(dirname(dirname(__FILE__))); ?>includes/images/dollar.png" style="width:20px;height:20px;">49</h1>
 
 
 
269
  </h1>
270
  <h3>(Features and plans)</h3>
271
  </th>
@@ -386,8 +393,8 @@ function mo_openid_licensing_plans()
386
  </th>
387
  </tr>
388
  <tr>
389
- <th><button style="width: 100%" onclick="mo_openid_support_form('App Integration for ')"
390
- class="mo-button-plan">Contact us for app integration</button></th>
391
  </tr>
392
  </thead>
393
  <tbody class="mo_align-center mo-fa-icon">
@@ -484,7 +491,356 @@ function mo_openid_licensing_plans()
484
  else
485
  {
486
  alert("It seems you are not registered with miniOrange. Please login or register with us to upgrade to premium plan.");
487
- window.location.href="<?php echo site_url()?>".concat("/wp-admin/admin.php?page=mo_wc_openid_general_settings&tab=profile");
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
488
  }
489
  }
490
  });
@@ -536,6 +892,9 @@ function mo_openid_licensing_plans_addon()
536
  <tr>
537
  <td>Create a pre-registration form</td>
538
  </tr>
 
 
 
539
  <tr>
540
  <td>The form can support any theme</td>
541
  </tr>
101
  <th><br>
102
  <h1>Free</h1>
103
  <h2>(YOU ARE ON THIS PLAN)</h2>
104
+ <h2>&nbsp;</h2>
105
  <h1><img src="<?php echo plugin_dir_url(dirname(dirname(__FILE__))); ?>includes/images/dollar.png" style="width:20px;height:20px;">0</h1>
106
  <h3>(Features and plans)</h3>
107
  </th>
182
  <h2>&nbsp;</h2>
183
  <h1>
184
  <img src="<?php echo plugin_dir_url(dirname(dirname(__FILE__)));?>includes/images/dollar.png" style="width:20px;height:20px;"><strike>39</strike>
185
+ <img src="<?php echo plugin_dir_url(dirname(dirname(__FILE__))); ?>includes/images/dollar.png" style="width:20px;height:20px;">29 - 1 Instance</h1>
186
+ </h1>
187
+ <h1>
188
+ <img src="<?php echo plugin_dir_url(dirname(dirname(__FILE__))); ?>includes/images/dollar.png" style="width:20px;height:20px;">169 - 10 Instance</h1>
189
  </h1>
190
  <h3>(Features and plans)</h3>
191
  </th>
269
  <h2><font color="red">(Popular plugins integrations)</font></h2>
270
  <h1>
271
  <img src="<?php echo plugin_dir_url(dirname(dirname(__FILE__)));?>includes/images/dollar.png" style="width:20px;height:20px;"><strike>59</strike>
272
+ <img src="<?php echo plugin_dir_url(dirname(dirname(__FILE__))); ?>includes/images/dollar.png" style="width:20px;height:20px;">49 - 1 Instance</h1>
273
+ </h1>
274
+ <h1>
275
+ <img src="<?php echo plugin_dir_url(dirname(dirname(__FILE__))); ?>includes/images/dollar.png" style="width:20px;height:20px;">199 - 10 Instance</h1>
276
  </h1>
277
  <h3>(Features and plans)</h3>
278
  </th>
393
  </th>
394
  </tr>
395
  <tr>
396
+ <th><button style="background-color: #0C1F28; width: 100%" onclick="mosocial_addonform('wp_social_custom_plan')"
397
+ class="mo-button-plan">Upgrade Now</button></th>
398
  </tr>
399
  </thead>
400
  <tbody class="mo_align-center mo-fa-icon">
491
  else
492
  {
493
  alert("It seems you are not registered with miniOrange. Please login or register with us to upgrade to premium plan.");
494
+ window.location.href="<?php echo site_url()?>".concat("/wp-admin/admin.php?page=mo_openid_general_settings&tab=profile");
495
+ }
496
+ }
497
+ });
498
+ }
499
+ </script>
500
+
501
+ </td>
502
+
503
+ <td>
504
+ <form style="display:none;" id="mosocial_loginform" action="<?php echo get_option( 'mo_openid_host_name' ) . '/moas/login'; ?>"
505
+ target="_blank" method="post" >
506
+ <input type="email" name="username" value="<?php echo esc_attr(get_option('mo_openid_admin_email')); ?>" />
507
+ <input type="text" name="redirectUrl" value="<?php echo esc_attr(get_option( 'mo_openid_host_name')).'/moas/initializepayment'; ?>" />
508
+ <input type="text" name="requestOrigin" id="requestOrigin"/>
509
+ </form>
510
+ </td>
511
+ <?php
512
+ }
513
+
514
+ function mo_openid_licensing_plan_sharing()
515
+ {
516
+ ?>
517
+ <td style="vertical-align:top;width:100%;">
518
+
519
+ <div style="float: left">
520
+ <div class="mo_openid_table_layout" id="mo_openid_single" style="min-height: min-content; margin-top: 1%;width: 31%; float: left; display: inline-block">
521
+ <div>
522
+ <table style="width: 100%" class="mo_table-bordered-license">
523
+ <thead>
524
+ <tr style="background-color:#F5F5F5;">
525
+ <th><br>
526
+ <h2>Social Sharing Premium Applications<br/>&nbsp;</h2>
527
+ <h1><img src="<?php echo plugin_dir_url(dirname(dirname(__FILE__))); ?>includes/images/dollar.png" style="width:20px;height:20px;">10</h1>
528
+ </th>
529
+ </tr>
530
+ <tr>
531
+ <th><button style="background-color: #0C1F28; width: 100%" onclick="mosocial_addonform('wp_social_custom_plan')"
532
+ class="mo-button-plan mo_lic_color">Upgrade Now</button></th>
533
+ </tr>
534
+ </thead>
535
+ <tbody class="mo_align-center mo-fa-icon">
536
+ <tr>
537
+ <td><b>All Free features +</b></td>
538
+ </tr>
539
+ <tr>
540
+ <td>You will get any one application of your choice integrated with the plugin with $10 each.</td>
541
+ </tr>
542
+ <tr>
543
+ <td></td>
544
+ </tr>
545
+ </tbody>
546
+ </table>
547
+ </div>
548
+ </div>
549
+ <div class="mo_openid_table_layout" id="mo_openid_single" style="min-height: min-content; margin-top: 1%;width: 31%; float: left; display: inline-block">
550
+ <div>
551
+ <table style="width: 100%" class="mo_table-bordered-license">
552
+ <thead>
553
+ <tr style="background-color:#F5F5F5;">
554
+ <th><br>
555
+ <h2>Social Sharing Premium +<br/>Social Login Standard</h2>
556
+ <h1><img src="<?php echo plugin_dir_url(dirname(dirname(__FILE__))); ?>includes/images/dollar.png" style="width:20px;height:20px;">45</h1>
557
+ </th>
558
+ </tr>
559
+ <tr>
560
+ <th><button style="width: 100%" onclick="mo_openid_support_form('Sharing Premium + Standard')"
561
+ class="mo-button-plan">Contact us for custom plugin</button></th>
562
+ </tr>
563
+ </thead>
564
+ <tbody class="mo_align-center mo-fa-icon">
565
+ <tr>
566
+ <td><b>All Free features +</b></td>
567
+ </tr>
568
+ <tr>
569
+ <td>All Social Sharing Premium Features</td>
570
+ </tr>
571
+ <tr>
572
+ <td>All Social Login Standard Features</td>
573
+ </tr>
574
+ </tbody>
575
+ </table>
576
+ </div>
577
+ </div>
578
+ <div class="mo_openid_table_layout" id="mo_openid_single" style="min-height: min-content; margin-top: 1%;width: 31%; float: left; display: inline-block">
579
+ <div>
580
+ <table style="width: 100%" class="mo_table-bordered-license">
581
+ <thead>
582
+ <tr style="background-color:#F5F5F5;">
583
+ <th><br>
584
+ <h2>Social Sharing Premium +<br/>Social Login Premium</h2>
585
+ <h1><img src="<?php echo plugin_dir_url(dirname(dirname(__FILE__))); ?>includes/images/dollar.png" style="width:20px;height:20px;">60</h1>
586
+ </th>
587
+ </tr>
588
+ <tr>
589
+ <th><button style="background-color: #0C1F28; width: 100%" onclick="mo_openid_support_form('Sharing Premium + Premium')"
590
+ class="mo-button-plan">Contact us for custom plugin</button></th>
591
+ </tr>
592
+ </thead>
593
+ <tbody class="mo_align-center mo-fa-icon">
594
+ <tr>
595
+ <td><b>All Free features +</b></td>
596
+ </tr>
597
+ <tr>
598
+ <td>All Social Sharing Premium Features</td>
599
+ </tr>
600
+ <tr>
601
+ <td>All Social Login Premium Features</td>
602
+ </tr>
603
+ </tbody>
604
+ </table>
605
+ </div>
606
+ </div>
607
+ <div class="mo_openid_table_layout" id="mo_openid_single" style="margin-left: 17%; margin-top: 1%;width: 31%; float: left; display: inline-block">
608
+ <div>
609
+ <table style="width: 100%" class="mo_table-bordered-license">
610
+ <thead>
611
+ <tr style="background-color:#F5F5F5;">
612
+ <th><br>
613
+ <h1>Free</h1>
614
+ <h2>(YOU ARE ON THIS PLAN)</h2>
615
+ <h1><img src="<?php echo plugin_dir_url(dirname(dirname(__FILE__))); ?>includes/images/dollar.png" style="width:20px;height:20px;">0</h1>
616
+ <h3>(Features and plans)</h3>
617
+ </th>
618
+ </tr>
619
+ <tr>
620
+ <th><button style="background-color: #0C1F28; width: 100%" onclick="mo_openid_support_form('')"
621
+ class="mo-button-plan">Contact us for more features</button></th>
622
+ </tr>
623
+ </thead>
624
+ <tbody class="mo_align-center mo-fa-icon">
625
+ <tr>
626
+ <td>
627
+ <div class="mo_openid_tooltip" style="padding-left: 25px;">9 Pre-configured Social Login Apps <i class="mofa mofa-commenting " style="font-size:18px;color:#85929E"></i><span class="mo_openid_tooltiptext"style="width:100%;">Pre-configured apps are already configured by miniOrange. Login flow will go from plugin to miniOrange and then back to plugin. 9 pre-configured apps are<span id="mo_openid_dots">...</span><span id="mo_openid_more" style="display: none"><br> google,vkontakte,twitter,linkedin,<br>amazon,windowslive,salesforce,<br/>yahoo and instagram.</span><button style="border:transparent;background-color: transparent;color: tomato;" onclick="myFunction('mo_openid_dots','mo_openid_more','mo_openid_myBtn')" id="mo_openid_myBtn">Read more</button</div>
628
+ </td>
629
+ </tr>
630
+ <tr>
631
+ <td>
632
+ <div class="mo_openid_tooltip" style="padding-left: 37px;">9 Custom Social Login Apps <i class="mofa mofa-commenting " style="font-size:18px;color:#85929E"></i><span class="mo_openid_tooltiptext"style="width:100%;"> Using the custom app tab, you can set up your own app id and secret in the plugin. Login flow will not involve miniOrange in between. Login flow will go from plugin to social media application and then back to plugin.<br>10 custom apps are <span id="mo_openid_dots1">...</span><span id="mo_openid_more1" style="display:none" ><br>Facebook,Google,vkontakte,<br/>twitter,linkedin,<br>amazon,windowslive,yahoo and instagram.</span><button style="border:transparent;background-color: transparent;color: tomato;" onclick="myFunction('mo_openid_dots1','mo_openid_more1','mo_openid_myBtn1')" id="mo_openid_myBtn1">Read more</button>
633
+ </td>
634
+ </tr>
635
+ <tr>
636
+ <td>Beautiful Icon Customisations</td>
637
+ </tr>
638
+ <tr>
639
+ <td>16 Social Sharing Apps</td>
640
+ </tr>
641
+ <tr>
642
+ <td>Facebook Social Comments</td>
643
+ </tr>
644
+ <tr>
645
+ <td>Disqus Social Comments</td>
646
+ </tr>
647
+ <tr>
648
+ <td>Login Redirect URL</td>
649
+ </tr>
650
+ <tr>
651
+ <td>Logout Redirect URL</td>
652
+ </tr>
653
+ <tr>
654
+ <td>Profile completion (username, email)</td>
655
+ </tr>
656
+ <tr>
657
+ <td>Profile Picture</td>
658
+ </tr>
659
+ <tr>
660
+ <td>Email notification to admin</td>
661
+ </tr>
662
+ <tr>
663
+ <td>Customizable Text For Login Icons</td>
664
+ </tr>
665
+ <tr>
666
+ <td>Option to enable/disable user registration</td>
667
+ </tr>
668
+ <tr>
669
+ <td>Basic Email Support</td>
670
+ </tr>
671
+ <tr>
672
+ <td>Role Mapping</td>
673
+ </tr>
674
+ <tr>
675
+ <td>Shortcodes to display social icons on<br/>any login page, post, popup and php pages</td>
676
+ </tr>
677
+
678
+ <tr>
679
+ <td><a style="cursor: pointer" onclick="mo_openid_support_form('')">Click here to Contact Us</a></td>
680
+ </tr>
681
+ </tbody>
682
+ </table>
683
+ </div>
684
+ </div>
685
+ <div class="mo_openid_table_layout" id="mo_openid_single" style=" margin-top: 1%;width: 31%; float: left; display: inline-block">
686
+ <div>
687
+ <table style="width: 100%" class="mo_table-bordered-license">
688
+ <thead>
689
+ <tr style="background-color:#F5F5F5;">
690
+ <th><br>
691
+ <h1>Sharing Premium</h1>
692
+ <h2>&nbsp;</h2>
693
+ <h1>
694
+ <img src="<?php echo plugin_dir_url(dirname(dirname(__FILE__)));?>includes/images/dollar.png" style="width:20px;height:20px;"><strike>29</strike>
695
+ <img src="<?php echo plugin_dir_url(dirname(dirname(__FILE__))); ?>includes/images/dollar.png" style="width:20px;height:20px;">19</h1>
696
+ </h1>
697
+ <h3>(Features and plans)</h3>
698
+ </th>
699
+ </tr>
700
+ <tr>
701
+ <th><button style="width: 100%" onclick="mosocial_addonform('wp_social_login_share_plan')"
702
+ class="mo-button-plan mo_lic_color">Upgrade Now</button></th>
703
+ </tr>
704
+ </thead>
705
+ <tbody class="mo_align-center mo-fa-icon">
706
+ <tr>
707
+ <td><b>All Free features +</b></td>
708
+ </tr>
709
+ <tr>
710
+ <td>45 Social Sharing Apps</td>
711
+ </tr>
712
+ <tr>
713
+ <td>Social Share Count</td>
714
+ </tr>
715
+ <tr>
716
+ <td>Display Options</td>
717
+ </tr>
718
+ <tr>
719
+ <td>Hover Icons</td>
720
+ </tr>
721
+ <tr>
722
+ <td>Floating Icons</td>
723
+ </tr>
724
+ <tr>
725
+ <td>WooCommerce Display option</td>
726
+ </tr>
727
+ <tr>
728
+ <td>E-mail subcriber</td>
729
+ </tr>
730
+ <tr>
731
+ <td>Facebook Like</td>
732
+ </tr>
733
+ <tr>
734
+ <td>Facebook Recommended</td>
735
+ </tr>
736
+ <tr>
737
+ <td>Pinterest Pin</td>
738
+ </tr>
739
+ <tr>
740
+ <td>Twitter follow</td>
741
+ </tr>
742
+ <tr>
743
+ <td>Vertical Icons</td>
744
+ </tr>
745
+ <tr>
746
+ <td>Horizontal Icons</td>
747
+ </tr>
748
+ <tr>
749
+ <td>Shortcodes to display social icons on<br/>any hompage page, post, popup and php pages</td>
750
+ </tr>
751
+ <tr>
752
+ <td><a style="cursor: pointer" onclick="mo_openid_support_form('')">Click here to Contact Us</a></td>
753
+ </tr>
754
+ <tr><td</td></tr>
755
+ </tbody>
756
+ </table>
757
+ </div>
758
+ </div>
759
+
760
+ <div class="mo_openid_table_layout" id="mo_openid_single" style="margin-left:33%; min-height: min-content; margin-top: 1%;width: 31%; float: left; display: inline-block">
761
+ <div>
762
+ <table style="width: 100%" class="mo_table-bordered-license">
763
+ <thead>
764
+ <tr style="background-color:#F5F5F5;">
765
+ <th><br>
766
+ <h2>Custom feature / Integration</h2>
767
+ <h1>&nbsp;</h1>
768
+ </th>
769
+ </tr>
770
+ <tr>
771
+ <th><button style="width: 100%" onclick="mo_openid_support_form('Custom requirment for ')"
772
+ class="mo-button-plan">Contact us with requirments</button></th>
773
+ </tr>
774
+ </thead>
775
+ <tbody class="mo_align-center mo-fa-icon">
776
+ <tr>
777
+ <td><b>All Free features +</b></td>
778
+ </tr>
779
+ <tr>
780
+ <td>If you require any feature or integration of any plugin to be integrated with your Social Login plugin.</td>
781
+ </tr>
782
+ </tbody>
783
+ </table>
784
+ </div>
785
+ </div>
786
+ </div>
787
+ <br/>&nbsp;<br/>
788
+ <div style="font-size: 15px; padding: 1%">
789
+ <hr><h3>Available Add on</h3>
790
+ <a style="text-decoration: none" target="_blank" href="<?php echo get_site_url() . "/wp-admin/admin.php?page=mo_openid_settings_addOn";?> ">Social Login Custom Registration Form Add on</a>
791
+ <button style="margin-left: 2%; margin-top: -.5%" onclick="mosocial_addonform('wp_social_login_extra_attributes_addon')" id="mosocial_purchase_cust_addon" class="button button-primary button-large">Upgrade Now</button>
792
+ <p style="font-size: 15px">Custom Registration Form Add-On helps you to integrate details of new as well as existing users. You can add as many fields as you want including the one which are returned by social sites at time of registration.</p>
793
+ </div>
794
+ <div class="clear">
795
+ <hr>
796
+ <h3>Refund Policy -</h3>
797
+ <p><b>At miniOrange, we want to ensure you are 100% happy with your purchase. If the premium plugin you
798
+ purchased is not working as advertised and you've attempted to resolve any issues with our support
799
+ team, which couldn't get resolved then we will refund the whole amount within 10 days of the
800
+ purchase. Please email us at <a href="mailto:info@xecurify.com"><i>info@xecurify.com</i></a> for any
801
+ queries regarding the return policy.</b></p>
802
+ <b>Not applicable for -</b>
803
+ <ol>
804
+ <li>Returns that are because of features that are not advertised.</li>
805
+ <li>Returns beyond 10 days.</li>
806
+ </ol>
807
+ </div>
808
+ <script>
809
+ //to set heading name
810
+ jQuery('#mo_openid_page_heading').text('<?php echo mo_sl('Licensing Plan For Social Sharing');?>');
811
+ function myFunction(dots_id,read_id,btn_id) {
812
+
813
+ var dots = document.getElementById(dots_id);
814
+ var moreText = document.getElementById(read_id);
815
+ var btnText = document.getElementById(btn_id);
816
+
817
+ if (dots.style.display === "none") {
818
+ dots.style.display = "inline";
819
+ btnText.innerHTML = "Read more";
820
+ moreText.style.display = "none";
821
+ } else {
822
+ dots.style.display = "none";
823
+ btnText.innerHTML = "Close";
824
+ moreText.style.display = "inline";
825
+ }
826
+ }
827
+ function mosocial_addonform(planType) {
828
+ jQuery.ajax({
829
+ url: "<?php echo admin_url("admin-ajax.php");?>", //the page containing php script
830
+ method: "POST", //request type,
831
+ dataType: 'json',
832
+ data: {
833
+ action: 'mo_register_customer_toggle_update',
834
+ },
835
+ success: function (result) {
836
+ if(result.status){
837
+ jQuery('#requestOrigin').val(planType);
838
+ jQuery('#mosocial_loginform').submit();
839
+ }
840
+ else
841
+ {
842
+ alert("It seems you are not registered with miniOrange. Please login or register with us to upgrade to premium plan.");
843
+ window.location.href="<?php echo site_url()?>".concat("/wp-admin/admin.php?page=mo_openid_general_settings&tab=profile");
844
  }
845
  }
846
  });
892
  <tr>
893
  <td>Create a pre-registration form</td>
894
  </tr>
895
+ <tr>
896
+ <td>Allow user to select Role while registration</td>
897
+ </tr>
898
  <tr>
899
  <td>The form can support any theme</td>
900
  </tr>
view/registration/mo_openid_registration.php CHANGED
@@ -20,7 +20,7 @@ function mo_openid_registration()
20
  <h3><?php echo mo_sl('Role Mapping');?></h3>
21
  <div>
22
  <?php echo mo_sl('Universal Role');?>:
23
- <select name="mapping_value_default" style="margin-left: 2%; color: #000000;width:20%;font-size: 15px; background-color: #d4d7ee" id="default_group_mapping"> <?php
24
  if(get_option('mo_openid_login_role_mapping'))
25
  $default_role = get_option('mo_openid_login_role_mapping');
26
  else
@@ -28,6 +28,11 @@ function mo_openid_registration()
28
  wp_dropdown_roles($default_role); ?>
29
  </select>
30
  <label style="cursor: auto" class="mo_openid_note_style"> <?php echo mo_sl('Use Role Mapping to assign this role to the all users registering through Social Login. According to the role mapped user will be granted role on the website.');?></label>
 
 
 
 
 
31
  </div><br><hr>
32
  <h3><?php echo mo_sl('Enable Email Notification to Admin');?></h3>
33
  <div>
20
  <h3><?php echo mo_sl('Role Mapping');?></h3>
21
  <div>
22
  <?php echo mo_sl('Universal Role');?>:
23
+ <select name="mapping_value_default" style="margin-left: 2%; color: #000000;width:20%;font-size: 15px; background-color: #d4d7ee" id="default_group_mapping"> <?php
24
  if(get_option('mo_openid_login_role_mapping'))
25
  $default_role = get_option('mo_openid_login_role_mapping');
26
  else
28
  wp_dropdown_roles($default_role); ?>
29
  </select>
30
  <label style="cursor: auto" class="mo_openid_note_style"> <?php echo mo_sl('Use Role Mapping to assign this role to the all users registering through Social Login. According to the role mapped user will be granted role on the website.');?></label>
31
+ <label style="cursor: auto" class="mo_openid_note_style">If you want the user to select the role/profile please use our Custom Registration Form Add on.
32
+ <?php if (!is_plugin_active('miniorange-login-openid-extra-attributes-addon/miniorange_openid_sso_customization_addon.php')) {?>
33
+ <a style="left: 1%; position: relative; text-decoration: none" class="mo-openid-premium" href="<?php echo site_url().'/wp-admin/admin.php?page=mo_openid_settings_addOn&tab=licensing_plans'; ?>"><?php echo mo_sl('PRO');?></a>
34
+ <?php } ?>
35
+ </label>
36
  </div><br><hr>
37
  <h3><?php echo mo_sl('Enable Email Notification to Admin');?></h3>
38
  <div>
view/soc_sha/disp_shropt/mo_openid_disp_shropt.php CHANGED
@@ -117,18 +117,21 @@ function mo_openid_display_share_opt(){
117
  </div>
118
  <br>
119
 
120
- <label class="mo_openid_checkbox_container" "> <?php echo mo_sl(' WooCommerce Individual Product Page(Top)');?>
121
- <input type="checkbox" id="mo_apps_wc_sp_page_top" name="mo_share_options_wc_sp_summary_top" value="1" <?php checked( get_option('mo_share_options_wc_sp_summary_top') == 1 );?>>
122
  <span class="mo_openid_checkbox_checkmark "></span>
123
  </label>
124
-
 
 
 
125
 
126
  </div>
127
  <div id="upright" style="font-size: 14px;">
128
  <br>
129
 
130
- <label class="mo_openid_checkbox_container"> <?php echo mo_sl('WooCommerce Individual Product Page');?>
131
- <input type="checkbox" id="mo_apps_wc_sp_page" name="mo_share_options_wc_sp_summary" value="1" <?php checked( get_option('mo_share_options_wc_sp_summary') == 1 );?>>
132
  <span class="mo_openid_checkbox_checkmark"></span>
133
  </label>
134
 
117
  </div>
118
  <br>
119
 
120
+ <label class="mo_openid_checkbox_container_disable "> <?php echo mo_sl(' WooCommerce Individual Product Page(Top)');?> <a style="left: 1%; position: relative; text-decoration: none" class="mo-openid-premium" href="<?php echo add_query_arg( array('tab' => 'licensing_plans'), $_SERVER['REQUEST_URI'] ); ?>"><?php echo mo_sl('PRO');?></a>
121
+ <input type="checkbox" id="mo_apps_wc_sp_page_top" name="mo_share_options_wc_sp_summary_top" value="1" >
122
  <span class="mo_openid_checkbox_checkmark "></span>
123
  </label>
124
+ <label class="mo_openid_checkbox_container_disable "> <?php echo mo_sl('Below WooCommerce Product');?> <a style="left: 1%; position: relative; text-decoration: none" class="mo-openid-premium" href="<?php echo add_query_arg( array('tab' => 'licensing_plans'), $_SERVER['REQUEST_URI'] ); ?>"><?php echo mo_sl('PRO');?></a>
125
+ <input type="checkbox" id="mo_apps_wc_product" name="mo_share_options_wc_product" value="1" >
126
+ <span class="mo_openid_checkbox_checkmark "></span>
127
+ </label>
128
 
129
  </div>
130
  <div id="upright" style="font-size: 14px;">
131
  <br>
132
 
133
+ <label class="mo_openid_checkbox_container_disable"> <?php echo mo_sl('WooCommerce Individual Product Page');?> <a style="left: 1%; position: relative; text-decoration: none" class="mo-openid-premium" href="<?php echo add_query_arg( array('tab' => 'licensing_plans'), $_SERVER['REQUEST_URI'] ); ?>"><?php echo mo_sl('PRO');?></a>
134
+ <input type="checkbox" id="mo_apps_wc_sp_page" name="mo_share_options_wc_sp_summary" value="1">
135
  <span class="mo_openid_checkbox_checkmark"></span>
136
  </label>
137
 
view/soc_sha/share_cnt/mo_openid_shrcnt.php CHANGED
@@ -14,7 +14,8 @@ function mo_openid_share_cnt(){
14
  <tr>
15
  <td>
16
 
17
- <p style="font-size: 15px;"><?php echo mo_sl('Share counts are supported for Facebook, Vkontakte, Stumble Upon and Pinterest');?>.</p>
 
18
  <br>
19
  <label class="mo_openid_checkbox_container"> <b style="font-size: 14px;"><?php echo mo_sl('Enable share counts');?></b>
20
  <input type="checkbox" id="share_count" name="mo_openid_share_count" value="1" <?php checked(get_option('mo_openid_share_count') == 1); ?> />
14
  <tr>
15
  <td>
16
 
17
+ <p class="mo_openid_note_style" style="font-size: 15px;"><?php echo mo_sl('Share counts are supported for <b>Facebook</b>, <b>Vkontakte</b>, <b>Stumble Upon</b>, <b>LinkedIn</b>, <b>Buffer</b> and <b>Pinterest</b> If you are Enabling share counts then it will give you the exact counts of share that is done by that particular social media.');?><br><br><?php echo mo_sl('<b>Buffer</b> and <b>LinkedIn</b> are supported in Paid Version');?>.<a style="left: 1%; position: relative; text-decoration: none" class="mo-openid-premium" href="<?php echo add_query_arg( array('tab' => 'licensing_plans'), $_SERVER['REQUEST_URI'] ); ?>"><?php echo mo_sl('PRO');?></a>.</p>
18
+
19
  <br>
20
  <label class="mo_openid_checkbox_container"> <b style="font-size: 14px;"><?php echo mo_sl('Enable share counts');?></b>
21
  <input type="checkbox" id="share_count" name="mo_openid_share_count" value="1" <?php checked(get_option('mo_openid_share_count') == 1); ?> />
view/soc_sha/soc_apps/mo_openid_sharing.php CHANGED
@@ -6,8 +6,6 @@ wp_enqueue_style( 'mo-openid-share-font-awesome',plugins_url('includes/css/mo-fo
6
 
7
  ?>
8
 
9
- <!--<link rel="stylesheet" type="text/css" >-->
10
-
11
  <form id="social_share" name="social_share" method="post" action="">
12
  <input type="hidden" name="option" value="mo_openid_social_settings"/>
13
  <input type="hidden" name="mo_openid_social_settings_nonce"
@@ -233,6 +231,325 @@ wp_enqueue_style( 'mo-openid-share-font-awesome',plugins_url('includes/css/mo-fo
233
  </label>
234
 
235
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
236
  </td>
237
  </tr>
238
 
@@ -255,6 +572,7 @@ wp_enqueue_style( 'mo-openid-share-font-awesome',plugins_url('includes/css/mo-fo
255
  <div>
256
  <?php
257
  $share_app=get_option('share_app');
 
258
  $share_app=explode('#',$share_app);
259
  foreach ($share_app as $active_app) {
260
  $icon = $active_app;
6
 
7
  ?>
8
 
 
 
9
  <form id="social_share" name="social_share" method="post" action="">
10
  <input type="hidden" name="option" value="mo_openid_social_settings"/>
11
  <input type="hidden" name="mo_openid_social_settings_nonce"
231
  </label>
232
 
233
 
234
+ </td>
235
+ <td style="width:20%">
236
+
237
+
238
+ <label class="mo_openid_checkbox_container_disable"><?php echo mo_sl('Amazon_wishlist');?>
239
+ <input type="checkbox" id="mo_openid_amazon_wishlist_share_enable" disabled/>
240
+ <span class="mo_openid_checkbox_checkmark"></span>
241
+ <a style="left: 1%; position: relative; text-decoration: none" class="mo-openid-premium" href="<?php echo add_query_arg( array('tab' => 'licensing_plans'), $_SERVER['REQUEST_URI'] ); ?>"><?php echo mo_sl('PRO');?></a>
242
+ </label>
243
+
244
+
245
+ </td>
246
+ <td style="width:20%">
247
+
248
+
249
+ <label class="mo_openid_checkbox_container_disable"><?php echo mo_sl('Telegram');?>
250
+ <input type="checkbox" id="mo_openid_telegram_share_enable" disabled/>
251
+ <span class="mo_openid_checkbox_checkmark"></span>
252
+ <a style="left: 1%; position: relative; text-decoration: none" class="mo-openid-premium" href="<?php echo add_query_arg( array('tab' => 'licensing_plans'), $_SERVER['REQUEST_URI'] ); ?>"><?php echo mo_sl('PRO');?></a>
253
+ </label>
254
+
255
+
256
+ </td>
257
+ <td style="width:20%">
258
+
259
+
260
+ <label class="mo_openid_checkbox_container_disable"><?php echo mo_sl('Line');?>
261
+ <input type="checkbox" id="mo_openid_line_share_enable" disabled/>
262
+ <span class="mo_openid_checkbox_checkmark"></span>
263
+ <a style="left: 1%; position: relative; text-decoration: none" class="mo-openid-premium" href="<?php echo add_query_arg( array('tab' => 'licensing_plans'), $_SERVER['REQUEST_URI'] ); ?>"><?php echo mo_sl('PRO');?></a>
264
+ </label>
265
+
266
+
267
+ </td>
268
+ <td style="width:20%">
269
+
270
+
271
+ <label class="mo_openid_checkbox_container_disable"><?php echo mo_sl('Yahoo');?>
272
+ <input type="checkbox" id="mo_openid_yahoo_mail_share_enable" disabled/>
273
+ <span class="mo_openid_checkbox_checkmark"></span>
274
+ <a style="left: 1%; position: relative; text-decoration: none" class="mo-openid-premium" href="<?php echo add_query_arg( array('tab' => 'licensing_plans'), $_SERVER['REQUEST_URI'] ); ?>"><?php echo mo_sl('PRO');?></a>
275
+ </label>
276
+
277
+
278
+ </td>
279
+ </tr>
280
+ <tr>
281
+ <td style="width:20%">
282
+
283
+
284
+ <label class="mo_openid_checkbox_container_disable"><?php echo mo_sl('Instapaper');?>
285
+ <input type="checkbox" id="mo_openid_instapaper_share_enable" disabled/>
286
+ <span class="mo_openid_checkbox_checkmark"></span>
287
+ <a style="left: 1%; position: relative; text-decoration: none" class="mo-openid-premium" href="<?php echo add_query_arg( array('tab' => 'licensing_plans'), $_SERVER['REQUEST_URI'] ); ?>"><?php echo mo_sl('PRO');?></a>
288
+ </label>
289
+
290
+
291
+ </td>
292
+ <td style="width:20%">
293
+
294
+
295
+ <label class="mo_openid_checkbox_container_disable"><?php echo mo_sl('Mewe');?>
296
+ <input type="checkbox" id="mo_openid_mewe_share_enable" disabled/>
297
+ <span class="mo_openid_checkbox_checkmark"></span>
298
+ <a style="left: 1%; position: relative; text-decoration: none" class="mo-openid-premium" href="<?php echo add_query_arg( array('tab' => 'licensing_plans'), $_SERVER['REQUEST_URI'] ); ?>"><?php echo mo_sl('PRO');?></a>
299
+ </label>
300
+
301
+
302
+ </td>
303
+ <td style="width:20%">
304
+
305
+
306
+ <label class="mo_openid_checkbox_container_disable"><?php echo mo_sl('Livejournal');?>
307
+ <input type="checkbox" id="mo_openid_livejournal_share_enable" disabled/>
308
+ <span class="mo_openid_checkbox_checkmark"></span>
309
+ <a style="left: 1%; position: relative; text-decoration: none" class="mo-openid-premium" href="<?php echo add_query_arg( array('tab' => 'licensing_plans'), $_SERVER['REQUEST_URI'] ); ?>"><?php echo mo_sl('PRO');?></a>
310
+ </label>
311
+
312
+
313
+ </td>
314
+ <td style="width:20%">
315
+
316
+
317
+ <label class="mo_openid_checkbox_container_disable"><?php echo mo_sl('Mix');?>
318
+ <input type="checkbox" id="mo_openid_mix_share_enable" disabled/>
319
+ <span class="mo_openid_checkbox_checkmark"></span>
320
+ <a style="left: 1%; position: relative; text-decoration: none" class="mo-openid-premium" href="<?php echo add_query_arg( array('tab' => 'licensing_plans'), $_SERVER['REQUEST_URI'] ); ?>"><?php echo mo_sl('PRO');?></a>
321
+ </label>
322
+
323
+
324
+ </td>
325
+ <td style="width:20%">
326
+
327
+
328
+ <label class="mo_openid_checkbox_container_disable"><?php echo mo_sl('Aol_mail');?>
329
+ <input type="checkbox" id="mo_openid_aol_mail_share_enable" disabled/>
330
+ <span class="mo_openid_checkbox_checkmark"></span>
331
+ <a style="left: 1%; position: relative; text-decoration: none" class="mo-openid-premium" href="<?php echo add_query_arg( array('tab' => 'licensing_plans'), $_SERVER['REQUEST_URI'] ); ?>"><?php echo mo_sl('PRO');?></a>
332
+ </label>
333
+
334
+
335
+ </td>
336
+ </tr>
337
+ <tr>
338
+ <td style="width:20%">
339
+
340
+
341
+ <label class="mo_openid_checkbox_container_disable"><?php echo mo_sl('Qzone');?>
342
+ <input type="checkbox" id="mo_openid_qzone_share_enable" disabled/>
343
+ <span class="mo_openid_checkbox_checkmark"></span>
344
+ <a style="left: 1%; position: relative; text-decoration: none" class="mo-openid-premium" href="<?php echo add_query_arg( array('tab' => 'licensing_plans'), $_SERVER['REQUEST_URI'] ); ?>"><?php echo mo_sl('PRO');?></a>
345
+ </label>
346
+
347
+
348
+ </td>
349
+ <td style="width:20%">
350
+
351
+
352
+ <label class="mo_openid_checkbox_container_disable"><?php echo mo_sl('Gmail');?>
353
+ <input type="checkbox" id="mo_openid_gmail_share_enable" disabled/>
354
+ <span class="mo_openid_checkbox_checkmark"></span>
355
+ <a style="left: 1%; position: relative; text-decoration: none" class="mo-openid-premium" href="<?php echo add_query_arg( array('tab' => 'licensing_plans'), $_SERVER['REQUEST_URI'] ); ?>"><?php echo mo_sl('PRO');?></a>
356
+ </label>
357
+
358
+
359
+ </td>
360
+ <td style="width:20%">
361
+
362
+
363
+ <label class="mo_openid_checkbox_container_disable"><?php echo mo_sl('Typepad_post');?>
364
+ <input type="checkbox" id="mo_openid_typepad_post_share_enable" disabled/>
365
+ <span class="mo_openid_checkbox_checkmark"></span>
366
+ <a style="left: 1%; position: relative; text-decoration: none" class="mo-openid-premium" href="<?php echo add_query_arg( array('tab' => 'licensing_plans'), $_SERVER['REQUEST_URI'] ); ?>"><?php echo mo_sl('PRO');?></a>
367
+ </label>
368
+
369
+
370
+ </td>
371
+ <td style="width:20%">
372
+
373
+
374
+ <label class="mo_openid_checkbox_container_disable"><?php echo mo_sl('Fark');?>
375
+ <input type="checkbox" id="mo_openid_fark_share_enable" disabled/>
376
+ <span class="mo_openid_checkbox_checkmark"></span>
377
+ <a style="left: 1%; position: relative; text-decoration: none" class="mo-openid-premium" href="<?php echo add_query_arg( array('tab' => 'licensing_plans'), $_SERVER['REQUEST_URI'] ); ?>"><?php echo mo_sl('PRO');?></a>
378
+ </label>
379
+
380
+
381
+ </td>
382
+ <td style="width:20%">
383
+
384
+
385
+ <label class="mo_openid_checkbox_container_disable"><?php echo mo_sl('Bookmark');?>
386
+ <input type="checkbox" id="mo_openid_bookmark_share_enable" disabled/>
387
+ <span class="mo_openid_checkbox_checkmark"></span>
388
+ <a style="left: 1%; position: relative; text-decoration: none" class="mo-openid-premium" href="<?php echo add_query_arg( array('tab' => 'licensing_plans'), $_SERVER['REQUEST_URI'] ); ?>"><?php echo mo_sl('PRO');?></a>
389
+ </label>
390
+
391
+
392
+ </td>
393
+ </tr>
394
+ <tr>
395
+ <td style="width:20%">
396
+
397
+
398
+ <label class="mo_openid_checkbox_container_disable"><?php echo mo_sl('Fintel');?>
399
+ <input type="checkbox" id="mo_openid_fintel_share_enable" disabled/>
400
+ <span class="mo_openid_checkbox_checkmark"></span>
401
+ <a style="left: 1%; position: relative; text-decoration: none" class="mo-openid-premium" href="<?php echo add_query_arg( array('tab' => 'licensing_plans'), $_SERVER['REQUEST_URI'] ); ?>"><?php echo mo_sl('PRO');?></a>
402
+ </label>
403
+
404
+
405
+ </td>
406
+ <td style="width:20%">
407
+
408
+
409
+ <label class="mo_openid_checkbox_container_disable"><?php echo mo_sl('Mendeley');?>
410
+ <input type="checkbox" id="mo_openid_mendeley_share_enable" disabled/>
411
+ <span class="mo_openid_checkbox_checkmark"></span>
412
+ <a style="left: 1%; position: relative; text-decoration: none" class="mo-openid-premium" href="<?php echo add_query_arg( array('tab' => 'licensing_plans'), $_SERVER['REQUEST_URI'] ); ?>"><?php echo mo_sl('PRO');?></a>
413
+ </label>
414
+
415
+
416
+ </td>
417
+ <td style="width:20%">
418
+
419
+
420
+ <label class="mo_openid_checkbox_container_disable"><?php echo mo_sl('Slashdot');?>
421
+ <input type="checkbox" id="mo_openid_slashdot_share_enable"
422
+ disabled/>
423
+ <span class="mo_openid_checkbox_checkmark"></span>
424
+ <a style="left: 1%; position: relative; text-decoration: none" class="mo-openid-premium" href="<?php echo add_query_arg( array('tab' => 'licensing_plans'), $_SERVER['REQUEST_URI'] ); ?>"><?php echo mo_sl('PRO');?></a>
425
+ </label>
426
+
427
+
428
+ </td>
429
+ <td style="width:20%">
430
+
431
+
432
+ <label class="mo_openid_checkbox_container_disable"><?php echo mo_sl('Wanelo');?>
433
+ <input type="checkbox" id="mo_openid_wanelo_share_enable" disabled/>
434
+ <span class="mo_openid_checkbox_checkmark"></span>
435
+ <a style="left: 1%; position: relative; text-decoration: none" class="mo-openid-premium" href="<?php echo add_query_arg( array('tab' => 'licensing_plans'), $_SERVER['REQUEST_URI'] ); ?>"><?php echo mo_sl('PRO');?></a>
436
+ </label>
437
+
438
+
439
+ </td>
440
+ <td style="width:20%">
441
+
442
+
443
+ <label class="mo_openid_checkbox_container_disable"><?php echo mo_sl('Classroom');?>
444
+ <input type="checkbox" id="mo_openid_google_classroom_share_enable" disabled/>
445
+ <span class="mo_openid_checkbox_checkmark"></span>
446
+ <a style="left: 1%; position: relative; text-decoration: none" class="mo-openid-premium" href="<?php echo add_query_arg( array('tab' => 'licensing_plans'), $_SERVER['REQUEST_URI'] ); ?>"><?php echo mo_sl('PRO');?></a>
447
+ </label>
448
+
449
+
450
+ </td>
451
+ </tr>
452
+ <tr>
453
+ <td style="width:20%">
454
+
455
+
456
+ <label class="mo_openid_checkbox_container_disable"><?php echo mo_sl('Yummly');?>
457
+ <input type="checkbox" id="mo_openid_yummly_share_enable" disabled/>
458
+ <span class="mo_openid_checkbox_checkmark"></span>
459
+ <a style="left: 1%; position: relative; text-decoration: none" class="mo-openid-premium" href="<?php echo add_query_arg( array('tab' => 'licensing_plans'), $_SERVER['REQUEST_URI'] ); ?>"><?php echo mo_sl('PRO');?></a>
460
+ </label>
461
+
462
+
463
+ </td>
464
+ <td style="width:20%">
465
+
466
+
467
+ <label class="mo_openid_checkbox_container_disable"><?php echo mo_sl('Hacker_news');?>
468
+ <input type="checkbox" id="mo_openid_hacker_news_share_enable" disabled/>
469
+ <span class="mo_openid_checkbox_checkmark"></span>
470
+ <a style="left: 1%; position: relative; text-decoration: none" class="mo-openid-premium" href="<?php echo add_query_arg( array('tab' => 'licensing_plans'), $_SERVER['REQUEST_URI'] ); ?>"><?php echo mo_sl('PRO');?></a>
471
+ </label>
472
+
473
+
474
+ </td>
475
+ <td style="width:20%">
476
+
477
+
478
+ <label class="mo_openid_checkbox_container_disable"><?php echo mo_sl('Kakao');?>
479
+ <input type="checkbox" id="mo_openid_kakao_share_enable" disabled/>
480
+ <span class="mo_openid_checkbox_checkmark"></span>
481
+ <a style="left: 1%; position: relative; text-decoration: none" class="mo-openid-premium" href="<?php echo add_query_arg( array('tab' => 'licensing_plans'), $_SERVER['REQUEST_URI'] ); ?>"><?php echo mo_sl('PRO');?></a>
482
+ </label>
483
+
484
+
485
+ </td>
486
+ <td style="width:20%">
487
+
488
+
489
+ <label class="mo_openid_checkbox_container_disable"><?php echo mo_sl('Plurk');?>
490
+ <input type="checkbox" id="mo_openid_plurk_share_enable" disabled/>
491
+ <span class="mo_openid_checkbox_checkmark"></span>
492
+ <a style="left: 1%; position: relative; text-decoration: none" class="mo-openid-premium" href="<?php echo add_query_arg( array('tab' => 'licensing_plans'), $_SERVER['REQUEST_URI'] ); ?>"><?php echo mo_sl('PRO');?></a>
493
+ </label>
494
+
495
+
496
+ </td>
497
+ <td style="width:20%">
498
+
499
+
500
+ <label class="mo_openid_checkbox_container_disable"><?php echo mo_sl('Trello');?>
501
+ <input type="checkbox" id="mo_openid_trello_share_enable" disabled/>
502
+ <span class="mo_openid_checkbox_checkmark"></span>
503
+ <a style="left: 1%; position: relative; text-decoration: none" class="mo-openid-premium" href="<?php echo add_query_arg( array('tab' => 'licensing_plans'), $_SERVER['REQUEST_URI'] ); ?>"><?php echo mo_sl('PRO');?></a>
504
+ </label>
505
+
506
+
507
+ </td>
508
+ </tr>
509
+ <tr>
510
+ <td style="width:20%">
511
+
512
+
513
+ <label class="mo_openid_checkbox_container_disable"><?php echo mo_sl('Wykop');?>
514
+ <input type="checkbox" id="mo_openid_wykop_share_enable" disabled/>
515
+ <span class="mo_openid_checkbox_checkmark"></span>
516
+ <a style="left: 1%; position: relative; text-decoration: none" class="mo-openid-premium" href="<?php echo add_query_arg( array('tab' => 'licensing_plans'), $_SERVER['REQUEST_URI'] ); ?>"><?php echo mo_sl('PRO');?></a>
517
+ </label>
518
+
519
+
520
+ </td>
521
+ <td style="width:20%">
522
+
523
+
524
+ <label class="mo_openid_checkbox_container_disable"><?php echo mo_sl('Weibo');?>
525
+ <input type="checkbox" id="mo_openid_weibo_share_enable" disabled/>
526
+ <span class="mo_openid_checkbox_checkmark"></span>
527
+ <a style="left: 1%; position: relative; text-decoration: none" class="mo-openid-premium" href="<?php echo add_query_arg( array('tab' => 'licensing_plans'), $_SERVER['REQUEST_URI'] ); ?>"><?php echo mo_sl('PRO');?></a>
528
+ </label>
529
+
530
+
531
+ </td>
532
+ <td style="width:20%">
533
+
534
+
535
+ <label class="mo_openid_checkbox_container_disable"><?php echo mo_sl('Renren');?>
536
+ <input type="checkbox" id="mo_openid_renren_share_enable" disabled/>
537
+ <span class="mo_openid_checkbox_checkmark"></span>
538
+ <a style="left: 1%; position: relative; text-decoration: none" class="mo-openid-premium" href="<?php echo add_query_arg( array('tab' => 'licensing_plans'), $_SERVER['REQUEST_URI'] ); ?>"><?php echo mo_sl('PRO');?></a>
539
+ </label>
540
+
541
+
542
+ </td>
543
+ <td style="width:20%">
544
+
545
+
546
+ <label class="mo_openid_checkbox_container_disable"><?php echo mo_sl('Buffer');?>
547
+ <input type="checkbox" id="mo_openid_buffer_share_enable" disabled/>
548
+ <span class="mo_openid_checkbox_checkmark"></span>
549
+ <a style="left: 1%; position: relative; text-decoration: none" class="mo-openid-premium" href="<?php echo add_query_arg( array('tab' => 'licensing_plans'), $_SERVER['REQUEST_URI'] ); ?>"><?php echo mo_sl('PRO');?></a>
550
+ </label>
551
+
552
+
553
  </td>
554
  </tr>
555
 
572
  <div>
573
  <?php
574
  $share_app=get_option('share_app');
575
+
576
  $share_app=explode('#',$share_app);
577
  foreach ($share_app as $active_app) {
578
  $icon = $active_app;
view/soc_sha/soc_med_cust/mo_openid_social_media_cust.php ADDED
@@ -0,0 +1,169 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ function mo_openid_social_icons_customization(){
4
+ ?>
5
+ <script>jQuery('#mo_openid_page_heading').text('<?php echo mo_sl('Social Customize Icons');?>');
6
+ var temp = jQuery("<a style=\"left: 1%; padding:4px; position: relative; text-decoration: none\" class=\"mo-openid-premium\" href=\"<?php echo add_query_arg(array('tab' => 'licensing_plans'), $_SERVER['REQUEST_URI']); ?>\">PRO</a>");
7
+ jQuery("#mo_openid_page_heading").append(temp);</script>
8
+
9
+ <form id="social_media_cust" name="social_media_cust" method="post" action="">
10
+ <input type="hidden" name="option" value="mo_openid_social_media_cust" />
11
+ <input type="hidden" name="mo_openid_social_media_cust_nonce"
12
+ value="<?php echo wp_create_nonce( 'mo-openid-social-media-cust-nonce' ); ?>"/>
13
+ <div style="height: auto; padding: 20px 20px 20px 20px; "><table style="width:60%">
14
+ <tr><td>
15
+ <h2>Hover Icons <a style="left: 1%; position: relative; text-decoration: none" class="mo-openid-premium" href="<?php echo add_query_arg( array('tab' => 'licensing_plans'), $_SERVER['REQUEST_URI'] ); ?>"><?php echo mo_sl('PRO');?></a></h2>
16
+ <?php echo Cursor_icon_hover(); ?>
17
+ <br><br>Use this <b>[hover-icon]</b> shortcode to display mouse hover icons.
18
+ </td></tr>
19
+ </table>
20
+ </div>
21
+ </form>
22
+ <div class="mo_openid_table_layout" style="height: auto; padding: 20px 20px 20px 20px;">
23
+ <form method='post' action='' name='myform' enctype='multipart/form-data'>
24
+ <h3>Upload image <a style="left: 1%; position: relative; text-decoration: none" class="mo-openid-premium" href="<?php echo add_query_arg( array('tab' => 'licensing_plans'), $_SERVER['REQUEST_URI'] ); ?>"><?php echo mo_sl('PRO');?></a></h3>
25
+ <label style="cursor: auto" class="mo_openid_note_style">&nbsp;&nbsp;&nbsp;<?php echo mo_sl('<b> Unlock this feature if you want to setup your own customize social sharing app</b>');?>.</label><br>
26
+ <input type='file' name='file' disabled>
27
+ <input type='submit' name='image_submit' value='Submit' disabled>
28
+ </form>
29
+ <br><br>
30
+
31
+ <form method="post">
32
+ <input type="hidden" name="option" value="mo_openid_custom_social_sharing" />
33
+ <table id="custom_attr" style="width:100%">
34
+ <?php
35
+ // $user_id=get_current_user_id();
36
+ // $user_info = get_userdata($user_id);
37
+ //var_dump(get_option('mo_openid_custom_social_sharing'));
38
+ if(get_option('mo_openid_custom_social_sharing')) {
39
+ $custom_attr = get_option('mo_openid_custom_social_sharing');
40
+ $k=count($custom_attr);
41
+ $a=0;
42
+ foreach($custom_attr as $x)
43
+ {
44
+ foreach($x as $xx => $x_value)
45
+ ?>
46
+ <tr>
47
+ <td>
48
+ <input type="text" class="mo_openid_textfield_css" style="border: 1px solid ;border-color: #0867b2" name="mo_openid_custom_set_attribute_<?php echo $a ?>_name" value="<?php echo $xx; ?>" required style="width:80%;"/>
49
+ </td>
50
+ <td>
51
+ <input type="text" class="mo_openid_textfield_css" style="border: 1px solid ;border-color: #0867b2" name="mo_openid_custom_set_attribute_<?php echo $a ?>_value" value="<?php echo $x_value[0]; ?>" required style="width:80%;"/>
52
+ </td><td>
53
+ <input type="text" class="mo_openid_textfield_css" style="border: 1px solid ;border-color: #0867b2" name="mo_openid_custom_set_attribute_<?php echo $a ?>_image" value="<?php echo $x_value[1]; ?>" required style="width:80%;"/>
54
+ </td><td>
55
+ <input name="<?php echo $a ?>" type="submit" value="<?php echo mo_sl("Delete");?>" class="button button-primary button-large"/></td>
56
+ </tr>
57
+ <?php
58
+ $a++;
59
+ }
60
+ }?>
61
+ <tr>
62
+ <td><br><input type="text" class="mo_openid_textfield_css" style="border: 1px solid ;border-color: #0867b2" name="mo_openid_custom_attribute_1_name" placeholder="Custom Share Name" style="width:80%;" disabled/></td>
63
+
64
+ <td><br><input type="text" class="mo_openid_textfield_css" style="border: 1px solid ;border-color: #0867b2" name="mo_openid_custom_attribute_1_value" placeholder="Custom Share Link" style="width:80%;" disabled/></td>
65
+
66
+ <td><br><input type="text" class="mo_openid_textfield_css" style="border: 1px solid ;border-color: #0867b2" name="mo_openid_custom_attribute_1_image" placeholder="Custom Share Image" style="width:80%;" disabled/></td>
67
+
68
+ <td> <br><input type="button" name="mo_add_attribute" value="+" onclick="add_custom_attribute();" class=" button-primary" disabled/>&nbsp;
69
+ <input type="button" name="mo_remove_attribute" value="-" onclick="remove_custom_attribute();" class=" button-primary" disabled/>
70
+ </td> </tr>
71
+ <tr id="mo_openid_custom_attribute"><td></td></tr>
72
+ <tr>
73
+ <td align="center"colspan="3"><br>
74
+ <input type="hidden" name="mo_openid_custom_social_sharing_nonce"
75
+ value="<?php echo wp_create_nonce( 'mo-openid-custom-social-sharing-nonce' ); ?>" />
76
+ <input name="mo_openid_save_config_element" type="submit" value="Save Attributes" class="button button-primary button-large" disabled/>
77
+ &nbsp &nbsp <a href="" class="button button-primary button-large" disabled><?php echo mo_sl("Cancel");?></a>
78
+ </td>
79
+ </tr>
80
+ </table>
81
+ </form>
82
+ </div>
83
+
84
+ <br>
85
+ <?php
86
+ }
87
+
88
+ function Cursor_icon_hover() {
89
+
90
+
91
+ $apparr = array("facebook"=>"#46629e", "twitter"=>"#00acee", "google"=>"#dd4b39");
92
+
93
+ $hovericon = "<section class='social'>";
94
+
95
+ foreach($apparr as $x => $y) {
96
+ if(1==1){ $hovericon.= "<a class='icon ".$x."'><img src=".plugin_url ."".$x."s.png width='30px' height:'30px' style='margin-top: 5px;'></a>";
97
+
98
+ $hovericon.= '<style>
99
+ .social .'.$x.' {
100
+ background: '.$y.';
101
+ }
102
+ .social .'.$x.':before,
103
+ .social .'.$x.':after {
104
+ border-color: '.$y.';
105
+ }
106
+ </style>';
107
+ };
108
+ }
109
+
110
+ $hovericon.= '
111
+ <style>
112
+ @font-face {
113
+ font-family: "icomoon";
114
+ font-weight: normal;
115
+ font-style: normal;
116
+ }
117
+
118
+ a {
119
+ text-decoration: none;
120
+ }
121
+
122
+ .social {
123
+ width: auto;
124
+ position: relative;
125
+ margin: 0px auto;
126
+ }
127
+ .social a {
128
+ position: relative;
129
+ display: inline-block;
130
+ font-family: "icomoon";
131
+ font-size: 1.2em;
132
+ width: 40px;
133
+ height: 40px;
134
+ line-height: 40px;
135
+ color: white;
136
+ border-radius: 50%;
137
+ text-align: center;
138
+ margin-right: 30px;
139
+ font-smoothing: antialiased;
140
+ }
141
+
142
+ .social a:before,
143
+ .social a:after {
144
+ content: "";
145
+ display: block;
146
+ position: absolute;
147
+ background: transparent;
148
+ top: 0;
149
+ bottom: 0;
150
+ left: 0;
151
+ right: 0;
152
+ border-radius: 50%;
153
+ transition: 0.3s all;
154
+ border: 3px solid;
155
+ }
156
+ .social a:hover:after {
157
+ -webkit-transform: scale(1.5);
158
+ }
159
+ .social a:hover:before {
160
+ -webkit-transform: scale(2);
161
+ transition: 0.3s all;
162
+ opacity: 0;
163
+ }
164
+ </style>
165
+ ';
166
+
167
+ return $hovericon;
168
+ }
169
+
view/soc_sha/soc_med_ser/mo_openid_social_media_services.php ADDED
@@ -0,0 +1,69 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ function mo_openid_social_media_services(){
3
+ ?>
4
+ <script>jQuery('#mo_openid_page_heading').text('<?php echo mo_sl('Social Media Service');?>');
5
+ var temp = jQuery("<a style=\"left: 1%; padding:4px; position: relative; text-decoration: none\" class=\"mo-openid-premium\" href=\"<?php echo add_query_arg(array('tab' => 'licensing_plans'), $_SERVER['REQUEST_URI']); ?>\">PRO</a>");
6
+ jQuery("#mo_openid_page_heading").append(temp);</script>
7
+ <form id="social_media_services" name="social_media_services" method="post" action="">
8
+ <input type="hidden" name="option" value="mo_openid_social_media_services" />
9
+ <input type="hidden" name="mo_openid_social_media_services_nonce"
10
+ value="<?php echo wp_create_nonce( 'mo-openid-social-media-services-nonce' ); ?>"/>
11
+ <div style="height: auto; padding: 20px 20px 20px 20px; "><table style="width:60%">
12
+
13
+ <label style="cursor: auto" class="mo_openid_note_style">&nbsp;&nbsp;&nbsp;<?php echo mo_sl('Enable this feature to users will get option for like, recommend and pin your website page on facebook and pinterest');?>.</label>
14
+ <h2>Social Sharing Services <a style="left: 1%; position: relative; text-decoration: none" class="mo-openid-premium" href="<?php echo add_query_arg( array('tab' => 'licensing_plans'), $_SERVER['REQUEST_URI'] ); ?>"><?php echo mo_sl('PRO');?></a></h2><br>
15
+ <tr>
16
+ <td><input type="checkbox" class="app_enable" id="mo_openid_facebook_like" name="mo_openid_facebook_like" <?php checked(get_option('mo_openid_facebook_like') == 'on'); ?> disabled><img src="<?php echo plugin_url . 'share_icons/facebook_like.png' ?>"
17
+ ></td>
18
+ <td><input type="checkbox" id="mo_openid_facebook_recommend" name="mo_openid_facebook_recommend" <?php checked(get_option('mo_openid_facebook_recommend') == 'on'); ?> disabled><img src="<?php echo plugin_url . 'share_icons/facebook_recommend.png' ?>" ></td>
19
+ <td><input type="checkbox" id="mo_openid_pinterest_pin" name="mo_openid_pinterest_pin" <?php checked(get_option('mo_openid_pinterest_pin') == 'on'); ?> disabled><img src="<?php echo plugin_url . 'share_icons/pinterest_pin.png' ?>" ></td>
20
+ </tr></table>
21
+ <p>Copy and paste this <b>[social-share-service]</b> shortcode in page for social sharing feature</p>
22
+ </div>
23
+ <div>
24
+ <table style="width:100%; padding: 20px 20px 20px 20px;">
25
+ <tr><td>
26
+ <label style="cursor: auto" class="mo_openid_note_style">&nbsp;&nbsp;&nbsp;<?php echo mo_sl('Enable this feature to to give user an option to E-amil subcribe on your website.');?>.</label>
27
+ <h2>E-mail Subcribe <a style="left: 1%; position: relative; text-decoration: none" class="mo-openid-premium" href="<?php echo add_query_arg( array('tab' => 'licensing_plans'), $_SERVER['REQUEST_URI'] ); ?>"><?php echo mo_sl('PRO');?></a></h2>
28
+ <input type="email" name="email" id="email" required placeholder="Enter your email address" disabled>
29
+ <input class="btn btn-primary" value="Join Now" type="submit" id="submit" >
30
+ <br><br>E-mail subscribe from <b>[mail-subcribe]</b>
31
+ </td></tr>
32
+ <tr><td><br/><br><b><input type="submit" name="submit" value="<?php echo mo_sl('Save');?>" style="width:150px;background-color:#0867b2;color:white;box-shadow:none;text-shadow: none;" class="button button-primary button-large" disabled/>
33
+ </b></td></tr>
34
+ </table>
35
+ </div>
36
+ </form>
37
+ <?php
38
+ }
39
+
40
+ function mail_service_func() {
41
+
42
+ $my_var = '
43
+ <form action="" method="post">
44
+ <input type="email" name="email" id="email" required placeholder="Enter your email address ">
45
+ <input class="btn-primary" value="Join Now" type="submit" id="submit">
46
+ </form>';
47
+
48
+ if(isset($_POST['email'])){
49
+
50
+ $to = "me@example.com"; // Your Brand Mail ID
51
+ $from = "no-reply@example.com"; // Replace it with your From Mail ID
52
+
53
+ $headers = "From: " . $from . "rn";
54
+
55
+ $subject = "New subscription";
56
+ $body = "New user subscription: " . $_POST['email'];
57
+ if( filter_var($_POST['email'], FILTER_VALIDATE_EMAIL) )
58
+ {
59
+ if (wp_mail($to, $subject, $body, $headers, "-f " . $from))
60
+ {
61
+ echo 'Your e-mail (' . $_POST['email'] . ') has been added to our mailing list!';
62
+ }
63
+ else{
64
+ echo 'There was a problem with your e-mail (' . $_POST['email'] . ')';
65
+ }
66
+ }
67
+ }
68
+ return $my_var;
69
+ }
view/soc_sha/twitter_btn/mo_twitter_btn.php ADDED
@@ -0,0 +1,115 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ function mo_twitter_btn(){
3
+ ?>
4
+ <form id="mo_openid_twitter_button" name="mo_openid_twitter_button" method="post" action="">
5
+ <input type="hidden" name="option" value="mo_openid_twitter_button" />
6
+ <input type="hidden" name="mo_openid_twitter_button_nonce" value="<?php echo wp_create_nonce( 'mo-openid-twitter-button-nonce' ); ?>"/>
7
+
8
+ <div class="mo_openid_table_layout">
9
+
10
+ <table>
11
+ <br>
12
+
13
+ <label class="mo_openid_checkbox_container_disable">
14
+ <input disabled type="checkbox" id="mo_openid_twitter_btn" /><?php echo mo_sl("Enable Twitter Follow Button");?>
15
+ <span class="mo_openid_checkbox_checkmark"></span>
16
+ </label>
17
+ <tr>
18
+ <td>Where Twitter Follow Button will be displayed:</td>
19
+ <td><select disabled name="mo_openid_twitter_follow_position_button" id="position_button" >
20
+ <option disabled value="before"<?php if (get_option('mo_openid_twitter_follow_position_button') === "before"){ echo "selected";}?>>Before Content</option>
21
+ <option disabled value="after" <?php if (get_option('mo_openid_twitter_follow_position_button') === "after"){ echo "selected";}?>>After Content</option>
22
+ <option disabled value="before_and_after" <?php if (get_option('mo_openid_twitter_follow_position_button') === "before_and_after"){ echo "selected";}?>>Before and After</option>
23
+ </select>
24
+ </td>
25
+ </tr>
26
+ <tr style="height: 10px;"></tr>
27
+ <tr>
28
+
29
+ <td>Custom CSS for &lt;div&gt; (i.e. float: right;):</td>
30
+ <td><input disabled id="own_css" name="mo_openid_twitter_follow_own_css" value="<?php echo get_option('mo_openid_twitter_follow_own_css');?>";></td>
31
+ </td>
32
+ </tr>
33
+ <tr style="height: 10px;"></tr>
34
+ <tr >
35
+ <td>What's your user name?</td>
36
+ <td><input disabled size="32" id="screen_name" name="mo_openid_twitter_follow_screen_name" value="<?php echo get_option('mo_openid_twitter_follow_screen_name');?>"></td>
37
+ </td>
38
+ </tr>
39
+ <tr style="height: 10px;"></tr>
40
+
41
+ <tr>
42
+ <td>What color background will be used?</td>
43
+ <td><select disabled name="mo_openid_twitter_follow_data_button_background" id="data_button" >
44
+ <option disabled value="grey" <?php if (get_option('mo_openid_twitter_follow_data_button_background') === "grey"){ echo "selected";}?>>dark</option>
45
+ <option disabled value="blue" <?php if (get_option('mo_openid_twitter_follow_data_button_background') === "blue"){ echo "selected";}?> >light</option>
46
+ </select>
47
+ </td>
48
+ </tr>
49
+ <tr style="height: 10px;"></tr>
50
+ <tr>
51
+ <td>Text color?</td>
52
+ <td><input disabled size="10" id="text_color" name="mo_openid_twitter_follow_data_text_color" value="<?php echo get_option('mo_openid_twitter_follow_data_text_color');?>"></td>
53
+ </td>
54
+ </tr>
55
+ <tr style="height: 10px;"></tr>
56
+ <tr>
57
+ <td>Link color?</td>
58
+ <td><input disabled size="10" id="link_color" name="mo_openid_twitter_follow_data_link_color" value="<?php echo get_option('mo_openid_twitter_follow_data_link_color');?>"></td>
59
+ </td>
60
+ </tr>
61
+ <tr style="height: 10px;"></tr>
62
+
63
+ <tr >
64
+ <td>Show follower count?</th>
65
+ <td><select disabled name="mo_openid_twitter_follow_data_show_count" id="data_show_count" >
66
+ <option disabled value="true" <?php if (get_option('mo_openid_twitter_follow_data_show_count') === "true"){ echo "selected";}?> >true</option>
67
+ <option disabled value="false" <?php if (get_option('mo_openid_twitter_follow_data_show_count') === "false"){ echo "selected";}?>>false</option>
68
+ </select>
69
+ </td>
70
+ </tr>
71
+ <tr style="height: 10px;"></tr>
72
+
73
+ <tr>
74
+ <td>Language options</td>
75
+ <td>
76
+ <select disabled name="mo_openid_twitter_follow_lang" id="lang" >
77
+ <option disabled value="en" <?php if (get_option('mo_openid_twitter_follow_lang') === "en"){ echo "selected";}?>>English</option>
78
+ <option disabled value="fr" <?php if (get_option('mo_openid_twitter_follow_lang') === "fr"){ echo "selected";}?>>French</option>
79
+ <option disabled value="de" <?php if (get_option('mo_openid_twitter_follow_lang') === "de"){ echo "selected";}?>>German</option>
80
+ <option disabled value="it" <?php if (get_option('mo_openid_twitter_follow_lang') === "it"){ echo "selected";}?>>Italian</option>
81
+ <option disabled value="ja" <?php if (get_option('mo_openid_twitter_follow_lang') === "ja"){ echo "selected";}?>>Japanese</option>
82
+ <option disabled value="ko" <?php if (get_option('mo_openid_twitter_follow_lang') === "ko"){ echo "selected";}?>>Korean</option>
83
+ <option disabled value="ru" <?php if (get_option('mo_openid_twitter_follow_lang') === "ru"){ echo "selected";}?> >Russian</option>
84
+ <option disabled value="es" <?php if (get_option('mo_openid_twitter_follow_lang') === "es"){ echo "selected";}?> >Spanish</option>
85
+ <option disabled value="tr" <?php if (get_option('mo_openid_twitter_follow_lang') === "tr"){ echo "selected";}?> >Turkish</option>
86
+ </select>
87
+ </td>
88
+ </tr>
89
+ <tr style="height: 10px;"></tr>
90
+ <tr>
91
+ <td>Show Vote Up Link:</td>
92
+ <td><select disabled name="twitter_follow_button_options[creditOn]" id="creditOn" >
93
+ <option disabled value="true" <?php if (get_option('mo_openid_twitter_follow_crediton') == "true"){ echo "selected";}?> >true</option>
94
+ <option disabled value="false" <?php if (get_option('mo_openid_twitter_follow_crediton') == "false"){ echo "selected";}?> >false</option>
95
+ </select>
96
+ </td>
97
+ </tr>
98
+ </table>
99
+
100
+ <br/><b><input disabled type="submit" name="submit" value="<?php echo mo_sl('Save');?>" style="width:150px;text-shadow: none;background-color:#0867b2;color:white;box-shadow:none;" class="button button-primary button-large" /></b>
101
+ </div>
102
+ </form>
103
+ <script>
104
+ //to set heading name
105
+ jQuery('#mo_openid_page_heading').text('<?php echo mo_sl('Twitter Follow Button');?>');
106
+ var temp = jQuery("<a style=\"left: 1%; padding:4px; position: relative; text-decoration: none\" class=\"mo-openid-premium\" href=\"<?php echo add_query_arg(array('tab' => 'licensing_plans'), $_SERVER['REQUEST_URI']); ?>\">PRO</a>");
107
+ jQuery("#mo_openid_page_heading").append(temp);
108
+ var win_height = jQuery('#mo_openid_menu_height').height();
109
+ //win_height=win_height+18;
110
+ jQuery(".mo_container").css({height:win_height});
111
+ </script>
112
+
113
+
114
+
115
+ <?php }