Ultimate Member – User Profile & Membership Plugin - Version 1.3.89

Version Description

Download this release

Release Info

Developer nsinelnikov
Plugin Icon 128x128 Ultimate Member – User Profile & Membership Plugin
Version 1.3.89
Comparing to
See all releases

Code changes from version 2.0.23 to 1.3.89

Files changed (752) hide show
  1. addons/bp_avatar_transfer.php +99 -0
  2. addons/generate_random_users.php +261 -0
  3. addons/gravatar_transfer.php +83 -0
  4. addons/install_info.php +419 -0
  5. {includes/admin → admin}/assets/css/um-admin-builder.css +5 -7
  6. {includes/admin → admin}/assets/css/um-admin-columns.css +1 -1
  7. {includes/admin → admin}/assets/css/um-admin-dashboard.css +7 -6
  8. {includes/admin → admin}/assets/css/um-admin-form.css +0 -0
  9. admin/assets/css/um-admin-global.css +90 -0
  10. {includes/admin → admin}/assets/css/um-admin-menu.css +0 -0
  11. {includes/admin → admin}/assets/css/um-admin-misc.css +4 -11
  12. {includes/admin → admin}/assets/css/um-admin-modal.css +4 -4
  13. admin/assets/css/um-admin-redux.css +227 -0
  14. {includes/admin → admin}/assets/css/um-admin-rtl.css +16 -1
  15. {includes/admin → admin}/assets/css/um-admin-select2.css +0 -0
  16. {includes/admin → admin}/assets/img/1-column-active.gif +0 -0
  17. {includes/admin → admin}/assets/img/1-column.gif +0 -0
  18. {includes/admin → admin}/assets/img/2-columns-active.gif +0 -0
  19. {includes/admin → admin}/assets/img/2-columns.gif +0 -0
  20. {includes/admin → admin}/assets/img/3-columns-active.gif +0 -0
  21. {includes/admin → admin}/assets/img/3-columns.gif +0 -0
  22. {includes/admin → admin}/assets/img/ajax-loader.gif +0 -0
  23. {includes/admin → admin}/assets/img/logo-header.png +0 -0
  24. {includes/admin → admin}/assets/img/logo-small.png +0 -0
  25. {includes/admin → admin}/assets/img/logo.png +0 -0
  26. {includes/admin → admin}/assets/img/logo_small.png +0 -0
  27. {includes/admin → admin}/assets/js/um-admin-ajax.js +3 -2
  28. {includes/admin → admin}/assets/js/um-admin-builder.js +4 -7
  29. {includes/admin → admin}/assets/js/um-admin-dashboard.js +0 -0
  30. {includes/admin → admin}/assets/js/um-admin-dragdrop.js +2 -2
  31. admin/assets/js/um-admin-field.js +89 -0
  32. {includes/admin → admin}/assets/js/um-admin-form.js +4 -4
  33. {includes/admin → admin}/assets/js/um-admin-modal.js +30 -74
  34. {includes/admin → admin}/assets/js/um-admin-scripts.js +54 -102
  35. admin/assets/js/um-admin-users.js +30 -0
  36. admin/core/lib/ReduxFramework/CHANGELOG.md +2000 -0
  37. admin/core/lib/ReduxFramework/README.md +134 -0
  38. admin/core/lib/ReduxFramework/README.txt +1207 -0
  39. admin/core/lib/ReduxFramework/ReduxCore/assets/css/color-picker/color-picker.css +1 -0
  40. admin/core/lib/ReduxFramework/ReduxCore/assets/css/color-picker/color-picker.scss +97 -0
  41. admin/core/lib/ReduxFramework/ReduxCore/assets/css/import_export/import_export.css +1 -0
  42. admin/core/lib/ReduxFramework/ReduxCore/assets/css/media/media.css +1 -0
  43. admin/core/lib/ReduxFramework/ReduxCore/assets/css/media/media.scss +61 -0
  44. admin/core/lib/ReduxFramework/ReduxCore/assets/css/redux-admin.css +1 -0
  45. admin/core/lib/ReduxFramework/ReduxCore/assets/css/redux-admin.scss +1516 -0
  46. admin/core/lib/ReduxFramework/ReduxCore/assets/css/redux-fields.css +1 -0
  47. admin/core/lib/ReduxFramework/ReduxCore/assets/css/redux-vendor.css +1 -0
  48. admin/core/lib/ReduxFramework/ReduxCore/assets/css/rtl.css +1 -0
  49. admin/core/lib/ReduxFramework/ReduxCore/assets/css/rtl.scss +126 -0
  50. admin/core/lib/ReduxFramework/ReduxCore/assets/css/vendor/elusive-icons/elusive-icons.css +4 -0
  51. admin/core/lib/ReduxFramework/ReduxCore/assets/css/vendor/elusive-icons/fonts/elusiveicons-webfont.eot +0 -0
  52. admin/core/lib/ReduxFramework/ReduxCore/assets/css/vendor/elusive-icons/fonts/elusiveicons-webfont.svg +934 -0
  53. admin/core/lib/ReduxFramework/ReduxCore/assets/css/vendor/elusive-icons/fonts/elusiveicons-webfont.ttf +0 -0
  54. admin/core/lib/ReduxFramework/ReduxCore/assets/css/vendor/elusive-icons/fonts/elusiveicons-webfont.woff +0 -0
  55. admin/core/lib/ReduxFramework/ReduxCore/assets/css/vendor/elusive-icons/scss/_animated.scss +34 -0
  56. admin/core/lib/ReduxFramework/ReduxCore/assets/css/vendor/elusive-icons/scss/_bordered-pulled.scss +16 -0
  57. admin/core/lib/ReduxFramework/ReduxCore/assets/css/vendor/elusive-icons/scss/_core.scss +13 -0
  58. admin/core/lib/ReduxFramework/ReduxCore/assets/css/vendor/elusive-icons/scss/_fixed-width.scss +6 -0
  59. admin/core/lib/ReduxFramework/ReduxCore/assets/css/vendor/elusive-icons/scss/_icons.scss +615 -0
  60. admin/core/lib/ReduxFramework/ReduxCore/assets/css/vendor/elusive-icons/scss/_larger.scss +13 -0
  61. admin/core/lib/ReduxFramework/ReduxCore/assets/css/vendor/elusive-icons/scss/_list.scss +19 -0
  62. admin/core/lib/ReduxFramework/ReduxCore/assets/css/vendor/elusive-icons/scss/_mixins.scss +27 -0
  63. admin/core/lib/ReduxFramework/ReduxCore/assets/css/vendor/elusive-icons/scss/_path.scss +14 -0
  64. admin/core/lib/ReduxFramework/ReduxCore/assets/css/vendor/elusive-icons/scss/_rotated-flipped.scss +20 -0
  65. admin/core/lib/ReduxFramework/ReduxCore/assets/css/vendor/elusive-icons/scss/_stacked.scss +20 -0
  66. admin/core/lib/ReduxFramework/ReduxCore/assets/css/vendor/elusive-icons/scss/_variables.scss +318 -0
  67. admin/core/lib/ReduxFramework/ReduxCore/assets/css/vendor/elusive-icons/scss/elusive-icons.css +4 -0
  68. admin/core/lib/ReduxFramework/ReduxCore/assets/css/vendor/elusive-icons/scss/elusive-icons.css.map +7 -0
  69. admin/core/lib/ReduxFramework/ReduxCore/assets/css/vendor/elusive-icons/scss/elusive-icons.scss +17 -0
  70. admin/core/lib/ReduxFramework/ReduxCore/assets/css/vendor/jquery-ui-bootstrap/images/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
  71. admin/core/lib/ReduxFramework/ReduxCore/assets/css/vendor/jquery-ui-bootstrap/images/ui-bg_glass_55_fbf9ee_1x400.png +0 -0
  72. admin/core/lib/ReduxFramework/ReduxCore/assets/css/vendor/jquery-ui-bootstrap/images/ui-bg_glass_65_ffffff_1x400.png +0 -0
  73. admin/core/lib/ReduxFramework/ReduxCore/assets/css/vendor/jquery-ui-bootstrap/images/ui-bg_glass_75_dadada_1x400.png +0 -0
  74. admin/core/lib/ReduxFramework/ReduxCore/assets/css/vendor/jquery-ui-bootstrap/images/ui-bg_glass_75_e6e6e6_1x400.png +0 -0
  75. admin/core/lib/ReduxFramework/ReduxCore/assets/css/vendor/jquery-ui-bootstrap/images/ui-bg_glass_75_ffffff_1x400.png +0 -0
  76. admin/core/lib/ReduxFramework/ReduxCore/assets/css/vendor/jquery-ui-bootstrap/images/ui-bg_highlight-soft_75_cccccc_1x100.png +0 -0
  77. admin/core/lib/ReduxFramework/ReduxCore/assets/css/vendor/jquery-ui-bootstrap/images/ui-bg_inset-soft_95_fef1ec_1x100.png +0 -0
  78. admin/core/lib/ReduxFramework/ReduxCore/assets/css/vendor/jquery-ui-bootstrap/images/ui-icons_222222_256x240.png +0 -0
  79. admin/core/lib/ReduxFramework/ReduxCore/assets/css/vendor/jquery-ui-bootstrap/images/ui-icons_2e83ff_256x240.png +0 -0
  80. admin/core/lib/ReduxFramework/ReduxCore/assets/css/vendor/jquery-ui-bootstrap/images/ui-icons_454545_256x240.png +0 -0
  81. admin/core/lib/ReduxFramework/ReduxCore/assets/css/vendor/jquery-ui-bootstrap/images/ui-icons_888888_256x240.png +0 -0
  82. admin/core/lib/ReduxFramework/ReduxCore/assets/css/vendor/jquery-ui-bootstrap/images/ui-icons_cd0a0a_256x240.png +0 -0
  83. admin/core/lib/ReduxFramework/ReduxCore/assets/css/vendor/jquery-ui-bootstrap/images/ui-icons_f6cf3b_256x240.png +0 -0
  84. admin/core/lib/ReduxFramework/ReduxCore/assets/css/vendor/jquery-ui-bootstrap/images/ui-icons_ffffff_256x240.png +0 -0
  85. admin/core/lib/ReduxFramework/ReduxCore/assets/css/vendor/jquery-ui-bootstrap/jquery-ui-1.10.0.custom.css +9 -0
  86. admin/core/lib/ReduxFramework/ReduxCore/assets/css/vendor/jquery-ui-bootstrap/jquery-ui-1.10.0.custom.less +793 -0
  87. admin/core/lib/ReduxFramework/ReduxCore/assets/css/vendor/jquery-ui-bootstrap/jquery-ui-1.10.0.custom.scss +799 -0
  88. admin/core/lib/ReduxFramework/ReduxCore/assets/css/vendor/qtip/jquery.qtip.css +617 -0
  89. admin/core/lib/ReduxFramework/ReduxCore/assets/css/vendor/qtip/jquery.qtip.min.css +3 -0
  90. admin/core/lib/ReduxFramework/ReduxCore/assets/css/vendor/spectrum/redux-spectrum.css +507 -0
  91. admin/core/lib/ReduxFramework/ReduxCore/assets/css/vendor/spectrum/redux-spectrum.min.css +1 -0
  92. admin/core/lib/ReduxFramework/ReduxCore/assets/img/1c.png +0 -0
  93. admin/core/lib/ReduxFramework/ReduxCore/assets/img/1col.png +0 -0
  94. admin/core/lib/ReduxFramework/ReduxCore/assets/img/2-col-portfolio.png +0 -0
  95. admin/core/lib/ReduxFramework/ReduxCore/assets/img/2cl.png +0 -0
  96. admin/core/lib/ReduxFramework/ReduxCore/assets/img/2cr.png +0 -0
  97. admin/core/lib/ReduxFramework/ReduxCore/assets/img/3-col-portfolio.png +0 -0
  98. admin/core/lib/ReduxFramework/ReduxCore/assets/img/3cl.png +0 -0
  99. admin/core/lib/ReduxFramework/ReduxCore/assets/img/3cm.png +0 -0
  100. admin/core/lib/ReduxFramework/ReduxCore/assets/img/3cr.png +0 -0
  101. admin/core/lib/ReduxFramework/ReduxCore/assets/img/4-col-portfolio.png +0 -0
  102. admin/core/lib/ReduxFramework/ReduxCore/assets/img/ajax.gif +0 -0
  103. admin/core/lib/ReduxFramework/ReduxCore/assets/img/menu_icon.png +0 -0
  104. admin/core/lib/ReduxFramework/ReduxCore/assets/img/toggle_tabs.png +0 -0
  105. admin/core/lib/ReduxFramework/ReduxCore/assets/js/media/media.js +220 -0
  106. admin/core/lib/ReduxFramework/ReduxCore/assets/js/media/media.min.js +1 -0
  107. admin/core/lib/ReduxFramework/ReduxCore/assets/js/redux.js +1818 -0
  108. admin/core/lib/ReduxFramework/ReduxCore/assets/js/redux.min.js +2 -0
  109. admin/core/lib/ReduxFramework/ReduxCore/assets/js/vendor.min.js +1 -0
  110. admin/core/lib/ReduxFramework/ReduxCore/assets/js/vendor/cookie.js +95 -0
  111. admin/core/lib/ReduxFramework/ReduxCore/assets/js/vendor/jquery.alphanum.js +786 -0
  112. admin/core/lib/ReduxFramework/ReduxCore/assets/js/vendor/jquery.serializeForm.js +60 -0
  113. admin/core/lib/ReduxFramework/ReduxCore/assets/js/vendor/jquery.typewatch.js +94 -0
  114. admin/core/lib/ReduxFramework/ReduxCore/assets/js/vendor/jsonview.js +265 -0
  115. admin/core/lib/ReduxFramework/ReduxCore/assets/js/vendor/jsonview.min.js +16 -0
  116. admin/core/lib/ReduxFramework/ReduxCore/assets/js/vendor/lte-ie7.js +311 -0
  117. admin/core/lib/ReduxFramework/ReduxCore/assets/js/vendor/qtip/jquery.qtip.js +3451 -0
  118. admin/core/lib/ReduxFramework/ReduxCore/assets/js/vendor/qtip/jquery.qtip.min.js +5 -0
  119. admin/core/lib/ReduxFramework/ReduxCore/assets/js/vendor/redux.select2.sortable.js +152 -0
  120. admin/core/lib/ReduxFramework/ReduxCore/assets/js/vendor/redux.select2.sortable.min.js +1 -0
  121. admin/core/lib/ReduxFramework/ReduxCore/assets/js/vendor/spectrum/redux-spectrum.js +2088 -0
  122. admin/core/lib/ReduxFramework/ReduxCore/assets/js/vendor/spectrum/redux-spectrum.min.js +1 -0
  123. admin/core/lib/ReduxFramework/ReduxCore/core/dashboard.php +37 -0
  124. admin/core/lib/ReduxFramework/ReduxCore/core/enqueue.php +513 -0
  125. admin/core/lib/ReduxFramework/ReduxCore/core/newsflash.php +124 -0
  126. admin/core/lib/ReduxFramework/ReduxCore/core/panel.php +332 -0
  127. admin/core/lib/ReduxFramework/ReduxCore/core/required.php +25 -0
  128. admin/core/lib/ReduxFramework/ReduxCore/framework.php +4042 -0
  129. admin/core/lib/ReduxFramework/ReduxCore/inc/browser.php +1282 -0
  130. admin/core/lib/ReduxFramework/ReduxCore/inc/class.p.php +303 -0
  131. admin/core/lib/ReduxFramework/ReduxCore/inc/class.redux_admin_notices.php +189 -0
  132. admin/core/lib/ReduxFramework/ReduxCore/inc/class.redux_api.php +638 -0
  133. admin/core/lib/ReduxFramework/ReduxCore/inc/class.redux_cdn.php +155 -0
  134. admin/core/lib/ReduxFramework/ReduxCore/inc/class.redux_filesystem.php +286 -0
  135. admin/core/lib/ReduxFramework/ReduxCore/inc/class.redux_functions.php +262 -0
  136. admin/core/lib/ReduxFramework/ReduxCore/inc/class.redux_helpers.php +715 -0
  137. admin/core/lib/ReduxFramework/ReduxCore/inc/class.redux_instances.php +166 -0
  138. admin/core/lib/ReduxFramework/ReduxCore/inc/class.thirdparty.fixes.php +10 -0
  139. admin/core/lib/ReduxFramework/ReduxCore/inc/extensions/README.txt +1 -0
  140. admin/core/lib/ReduxFramework/ReduxCore/inc/extensions/customizer/extension_customizer.css +1 -0
  141. admin/core/lib/ReduxFramework/ReduxCore/inc/extensions/customizer/extension_customizer.js +375 -0
  142. admin/core/lib/ReduxFramework/ReduxCore/inc/extensions/customizer/extension_customizer.min.js +1 -0
  143. admin/core/lib/ReduxFramework/ReduxCore/inc/extensions/customizer/extension_customizer.php +807 -0
  144. admin/core/lib/ReduxFramework/ReduxCore/inc/extensions/customizer/extension_customizer.scss +197 -0
  145. admin/core/lib/ReduxFramework/ReduxCore/inc/extensions/customizer/inc/customizer_control.php +50 -0
  146. admin/core/lib/ReduxFramework/ReduxCore/inc/extensions/customizer/inc/customizer_devs.php +43 -0
  147. admin/core/lib/ReduxFramework/ReduxCore/inc/extensions/customizer/inc/customizer_fields.php +53 -0
  148. admin/core/lib/ReduxFramework/ReduxCore/inc/extensions/customizer/inc/customizer_panel.php +157 -0
  149. admin/core/lib/ReduxFramework/ReduxCore/inc/extensions/customizer/inc/customizer_section.php +150 -0
  150. admin/core/lib/ReduxFramework/ReduxCore/inc/extensions/import_export/extension_import_export.php +209 -0
  151. admin/core/lib/ReduxFramework/ReduxCore/inc/extensions/import_export/import_export/field_import_export.css +1 -0
  152. admin/core/lib/ReduxFramework/ReduxCore/inc/extensions/import_export/import_export/field_import_export.js +200 -0
  153. admin/core/lib/ReduxFramework/ReduxCore/inc/extensions/import_export/import_export/field_import_export.min.js +1 -0
  154. admin/core/lib/ReduxFramework/ReduxCore/inc/extensions/import_export/import_export/field_import_export.php +188 -0
  155. admin/core/lib/ReduxFramework/ReduxCore/inc/extensions/import_export/import_export/field_import_export.scss +13 -0
  156. admin/core/lib/ReduxFramework/ReduxCore/inc/extensions/options_object/extension_options_object.php +101 -0
  157. admin/core/lib/ReduxFramework/ReduxCore/inc/extensions/options_object/options_object/field_options_object.css +1 -0
  158. admin/core/lib/ReduxFramework/ReduxCore/inc/extensions/options_object/options_object/field_options_object.js +44 -0
  159. admin/core/lib/ReduxFramework/ReduxCore/inc/extensions/options_object/options_object/field_options_object.min.js +1 -0
  160. admin/core/lib/ReduxFramework/ReduxCore/inc/extensions/options_object/options_object/field_options_object.php +164 -0
  161. admin/core/lib/ReduxFramework/ReduxCore/inc/extensions/options_object/options_object/field_options_object.scss +7 -0
  162. admin/core/lib/ReduxFramework/ReduxCore/inc/fields/ace_editor/field_ace_editor.css +1 -0
  163. admin/core/lib/ReduxFramework/ReduxCore/inc/fields/ace_editor/field_ace_editor.js +58 -0
  164. admin/core/lib/ReduxFramework/ReduxCore/inc/fields/ace_editor/field_ace_editor.min.js +1 -0
  165. admin/core/lib/ReduxFramework/ReduxCore/inc/fields/ace_editor/field_ace_editor.php +131 -0
  166. admin/core/lib/ReduxFramework/ReduxCore/inc/fields/ace_editor/field_ace_editor.scss +16 -0
  167. admin/core/lib/ReduxFramework/ReduxCore/inc/fields/background/field_background.css +1 -0
  168. admin/core/lib/ReduxFramework/ReduxCore/inc/fields/background/field_background.js +324 -0
  169. admin/core/lib/ReduxFramework/ReduxCore/inc/fields/background/field_background.min.js +1 -0
  170. admin/core/lib/ReduxFramework/ReduxCore/inc/fields/background/field_background.php +430 -0
  171. admin/core/lib/ReduxFramework/ReduxCore/inc/fields/background/field_background.scss +59 -0
  172. admin/core/lib/ReduxFramework/ReduxCore/inc/fields/border/field_border.css +1 -0
  173. admin/core/lib/ReduxFramework/ReduxCore/inc/fields/border/field_border.js +131 -0
  174. admin/core/lib/ReduxFramework/ReduxCore/inc/fields/border/field_border.min.js +1 -0
  175. admin/core/lib/ReduxFramework/ReduxCore/inc/fields/border/field_border.php +323 -0
  176. admin/core/lib/ReduxFramework/ReduxCore/inc/fields/border/field_border.scss +47 -0
  177. admin/core/lib/ReduxFramework/ReduxCore/inc/fields/button_set/field_button_set.js +56 -0
  178. admin/core/lib/ReduxFramework/ReduxCore/inc/fields/button_set/field_button_set.min.js +1 -0
  179. admin/core/lib/ReduxFramework/ReduxCore/inc/fields/button_set/field_button_set.php +154 -0
  180. admin/core/lib/ReduxFramework/ReduxCore/inc/fields/checkbox/field_checkbox.css +1 -0
  181. admin/core/lib/ReduxFramework/ReduxCore/inc/fields/checkbox/field_checkbox.js +55 -0
  182. admin/core/lib/ReduxFramework/ReduxCore/inc/fields/checkbox/field_checkbox.min.js +1 -0
  183. admin/core/lib/ReduxFramework/ReduxCore/inc/fields/checkbox/field_checkbox.php +159 -0
  184. admin/core/lib/ReduxFramework/ReduxCore/inc/fields/checkbox/field_checkbox.scss +13 -0
  185. admin/core/lib/ReduxFramework/ReduxCore/inc/fields/color/field_color.js +175 -0
  186. admin/core/lib/ReduxFramework/ReduxCore/inc/fields/color/field_color.min.js +1 -0
  187. admin/core/lib/ReduxFramework/ReduxCore/inc/fields/color/field_color.php +122 -0
  188. admin/core/lib/ReduxFramework/ReduxCore/inc/fields/color_gradient/field_color_gradient.css +1 -0
  189. admin/core/lib/ReduxFramework/ReduxCore/inc/fields/color_gradient/field_color_gradient.js +142 -0
  190. admin/core/lib/ReduxFramework/ReduxCore/inc/fields/color_gradient/field_color_gradient.min.js +1 -0
  191. admin/core/lib/ReduxFramework/ReduxCore/inc/fields/color_gradient/field_color_gradient.php +128 -0
  192. admin/core/lib/ReduxFramework/ReduxCore/inc/fields/color_gradient/field_color_gradient.scss +17 -0
  193. admin/core/lib/ReduxFramework/ReduxCore/inc/fields/color_rgba/field_color_rgba.css +1 -0
  194. admin/core/lib/ReduxFramework/ReduxCore/inc/fields/color_rgba/field_color_rgba.js +217 -0
  195. admin/core/lib/ReduxFramework/ReduxCore/inc/fields/color_rgba/field_color_rgba.min.js +1 -0
  196. admin/core/lib/ReduxFramework/ReduxCore/inc/fields/color_rgba/field_color_rgba.php +295 -0
  197. admin/core/lib/ReduxFramework/ReduxCore/inc/fields/color_rgba/field_color_rgba.scss +61 -0
  198. admin/core/lib/ReduxFramework/ReduxCore/inc/fields/date/field_date.css +1 -0
  199. admin/core/lib/ReduxFramework/ReduxCore/inc/fields/date/field_date.js +82 -0
  200. admin/core/lib/ReduxFramework/ReduxCore/inc/fields/date/field_date.min.js +1 -0
  201. admin/core/lib/ReduxFramework/ReduxCore/inc/fields/date/field_date.php +95 -0
  202. admin/core/lib/ReduxFramework/ReduxCore/inc/fields/date/field_date.scss +8 -0
  203. admin/core/lib/ReduxFramework/ReduxCore/inc/fields/dimensions/field_dimensions.css +1 -0
  204. admin/core/lib/ReduxFramework/ReduxCore/inc/fields/dimensions/field_dimensions.js +76 -0
  205. admin/core/lib/ReduxFramework/ReduxCore/inc/fields/dimensions/field_dimensions.less +30 -0
  206. admin/core/lib/ReduxFramework/ReduxCore/inc/fields/dimensions/field_dimensions.min.js +1 -0
  207. admin/core/lib/ReduxFramework/ReduxCore/inc/fields/dimensions/field_dimensions.php +306 -0
  208. admin/core/lib/ReduxFramework/ReduxCore/inc/fields/dimensions/field_dimensions.scss +33 -0
  209. admin/core/lib/ReduxFramework/ReduxCore/inc/fields/divide/field_divide.css +1 -0
  210. admin/core/lib/ReduxFramework/ReduxCore/inc/fields/divide/field_divide.php +85 -0
  211. admin/core/lib/ReduxFramework/ReduxCore/inc/fields/divide/field_divide.scss +50 -0
  212. admin/core/lib/ReduxFramework/ReduxCore/inc/fields/editor/field_editor.css +1 -0
  213. admin/core/lib/ReduxFramework/ReduxCore/inc/fields/editor/field_editor.js +44 -0
  214. admin/core/lib/ReduxFramework/ReduxCore/inc/fields/editor/field_editor.min.js +1 -0
  215. admin/core/lib/ReduxFramework/ReduxCore/inc/fields/editor/field_editor.php +115 -0
  216. admin/core/lib/ReduxFramework/ReduxCore/inc/fields/editor/field_editor.scss +50 -0
  217. admin/core/lib/ReduxFramework/ReduxCore/inc/fields/gallery/field_gallery.js +117 -0
  218. admin/core/lib/ReduxFramework/ReduxCore/inc/fields/gallery/field_gallery.min.js +1 -0
  219. admin/core/lib/ReduxFramework/ReduxCore/inc/fields/gallery/field_gallery.php +105 -0
  220. admin/core/lib/ReduxFramework/ReduxCore/inc/fields/image_select/field_image_select.css +1 -0
  221. admin/core/lib/ReduxFramework/ReduxCore/inc/fields/image_select/field_image_select.js +119 -0
  222. admin/core/lib/ReduxFramework/ReduxCore/inc/fields/image_select/field_image_select.min.js +1 -0
  223. admin/core/lib/ReduxFramework/ReduxCore/inc/fields/image_select/field_image_select.php +274 -0
  224. admin/core/lib/ReduxFramework/ReduxCore/inc/fields/image_select/field_image_select.scss +62 -0
  225. admin/core/lib/ReduxFramework/ReduxCore/inc/fields/info/field_info.css +1 -0
  226. admin/core/lib/ReduxFramework/ReduxCore/inc/fields/info/field_info.php +167 -0
  227. admin/core/lib/ReduxFramework/ReduxCore/inc/fields/info/field_info.scss +159 -0
  228. admin/core/lib/ReduxFramework/ReduxCore/inc/fields/link_color/field_link_color.css +1 -0
  229. admin/core/lib/ReduxFramework/ReduxCore/inc/fields/link_color/field_link_color.js +111 -0
  230. admin/core/lib/ReduxFramework/ReduxCore/inc/fields/link_color/field_link_color.min.js +1 -0
  231. admin/core/lib/ReduxFramework/ReduxCore/inc/fields/link_color/field_link_color.php +224 -0
  232. admin/core/lib/ReduxFramework/ReduxCore/inc/fields/link_color/field_link_color.scss +7 -0
  233. admin/core/lib/ReduxFramework/ReduxCore/inc/fields/media/field_media.css +1 -0
  234. admin/core/lib/ReduxFramework/ReduxCore/inc/fields/media/field_media.less +53 -0
  235. admin/core/lib/ReduxFramework/ReduxCore/inc/fields/media/field_media.php +238 -0
  236. admin/core/lib/ReduxFramework/ReduxCore/inc/fields/media/field_media.scss +61 -0
  237. admin/core/lib/ReduxFramework/ReduxCore/inc/fields/multi_text/field_multi_text.css +1 -0
  238. admin/core/lib/ReduxFramework/ReduxCore/inc/fields/multi_text/field_multi_text.js +65 -0
  239. admin/core/lib/ReduxFramework/ReduxCore/inc/fields/multi_text/field_multi_text.min.js +1 -0
  240. admin/core/lib/ReduxFramework/ReduxCore/inc/fields/multi_text/field_multi_text.php +113 -0
  241. admin/core/lib/ReduxFramework/ReduxCore/inc/fields/multi_text/field_multi_text.scss +53 -0
  242. admin/core/lib/ReduxFramework/ReduxCore/inc/fields/palette/field_palette.css +1 -0
  243. admin/core/lib/ReduxFramework/ReduxCore/inc/fields/palette/field_palette.js +53 -0
  244. admin/core/lib/ReduxFramework/ReduxCore/inc/fields/palette/field_palette.min.js +1 -0
  245. admin/core/lib/ReduxFramework/ReduxCore/inc/fields/palette/field_palette.php +110 -0
  246. admin/core/lib/ReduxFramework/ReduxCore/inc/fields/palette/field_palette.scss +55 -0
  247. admin/core/lib/ReduxFramework/ReduxCore/inc/fields/password/field_password.php +106 -0
  248. admin/core/lib/ReduxFramework/ReduxCore/inc/fields/radio/field_radio.php +57 -0
  249. admin/core/lib/ReduxFramework/ReduxCore/inc/fields/raw/field_raw.php +53 -0
  250. admin/core/lib/ReduxFramework/ReduxCore/inc/fields/raw/parsedown.php +1542 -0
  251. admin/core/lib/ReduxFramework/ReduxCore/inc/fields/section/field_section.css +1 -0
  252. admin/core/lib/ReduxFramework/ReduxCore/inc/fields/section/field_section.php +130 -0
  253. admin/core/lib/ReduxFramework/ReduxCore/inc/fields/section/field_section.scss +24 -0
  254. admin/core/lib/ReduxFramework/ReduxCore/inc/fields/select/elusive-icons.php +312 -0
  255. admin/core/lib/ReduxFramework/ReduxCore/inc/fields/select/field_select.css +1 -0
  256. admin/core/lib/ReduxFramework/ReduxCore/inc/fields/select/field_select.js +87 -0
  257. admin/core/lib/ReduxFramework/ReduxCore/inc/fields/select/field_select.min.js +1 -0
  258. admin/core/lib/ReduxFramework/ReduxCore/inc/fields/select/field_select.php +180 -0
  259. admin/core/lib/ReduxFramework/ReduxCore/inc/fields/select/field_select.scss +9 -0
  260. admin/core/lib/ReduxFramework/ReduxCore/inc/fields/select_image/field_select_image.css +1 -0
  261. admin/core/lib/ReduxFramework/ReduxCore/inc/fields/select_image/field_select_image.js +72 -0
  262. admin/core/lib/ReduxFramework/ReduxCore/inc/fields/select_image/field_select_image.min.js +1 -0
  263. admin/core/lib/ReduxFramework/ReduxCore/inc/fields/select_image/field_select_image.php +176 -0
  264. admin/core/lib/ReduxFramework/ReduxCore/inc/fields/select_image/field_select_image.scss +19 -0
  265. admin/core/lib/ReduxFramework/ReduxCore/inc/fields/slider/field_slider.css +1 -0
  266. admin/core/lib/ReduxFramework/ReduxCore/inc/fields/slider/field_slider.js +269 -0
  267. admin/core/lib/ReduxFramework/ReduxCore/inc/fields/slider/field_slider.min.js +1 -0
  268. admin/core/lib/ReduxFramework/ReduxCore/inc/fields/slider/field_slider.php +414 -0
  269. admin/core/lib/ReduxFramework/ReduxCore/inc/fields/slider/field_slider.scss +81 -0
  270. admin/core/lib/ReduxFramework/ReduxCore/inc/fields/slider/vendor/nouislider/redux.jquery.nouislider.css +172 -0
  271. admin/core/lib/ReduxFramework/ReduxCore/inc/fields/slider/vendor/nouislider/redux.jquery.nouislider.js +1420 -0
  272. admin/core/lib/ReduxFramework/ReduxCore/inc/fields/slider/vendor/nouislider/redux.jquery.nouislider.min.js +20 -0
  273. admin/core/lib/ReduxFramework/ReduxCore/inc/fields/slides/field_slides.css +1 -0
  274. admin/core/lib/ReduxFramework/ReduxCore/inc/fields/slides/field_slides.js +150 -0
  275. admin/core/lib/ReduxFramework/ReduxCore/inc/fields/slides/field_slides.min.js +1 -0
  276. admin/core/lib/ReduxFramework/ReduxCore/inc/fields/slides/field_slides.php +270 -0
  277. admin/core/lib/ReduxFramework/ReduxCore/inc/fields/slides/field_slides.scss +92 -0
  278. admin/core/lib/ReduxFramework/ReduxCore/inc/fields/sortable/field_sortable.css +1 -0
  279. admin/core/lib/ReduxFramework/ReduxCore/inc/fields/sortable/field_sortable.js +91 -0
  280. admin/core/lib/ReduxFramework/ReduxCore/inc/fields/sortable/field_sortable.min.js +1 -0
  281. admin/core/lib/ReduxFramework/ReduxCore/inc/fields/sortable/field_sortable.php +164 -0
  282. admin/core/lib/ReduxFramework/ReduxCore/inc/fields/sortable/field_sortable.scss +73 -0
  283. admin/core/lib/ReduxFramework/ReduxCore/inc/fields/sorter/field_sorter.css +1 -0
  284. admin/core/lib/ReduxFramework/ReduxCore/inc/fields/sorter/field_sorter.js +151 -0
  285. admin/core/lib/ReduxFramework/ReduxCore/inc/fields/sorter/field_sorter.min.js +1 -0
  286. admin/core/lib/ReduxFramework/ReduxCore/inc/fields/sorter/field_sorter.php +223 -0
  287. admin/core/lib/ReduxFramework/ReduxCore/inc/fields/sorter/field_sorter.scss +63 -0
  288. admin/core/lib/ReduxFramework/ReduxCore/inc/fields/spacing/field_spacing.css +1 -0
  289. admin/core/lib/ReduxFramework/ReduxCore/inc/fields/spacing/field_spacing.js +86 -0
  290. admin/core/lib/ReduxFramework/ReduxCore/inc/fields/spacing/field_spacing.min.js +1 -0
  291. admin/core/lib/ReduxFramework/ReduxCore/inc/fields/spacing/field_spacing.php +385 -0
  292. admin/core/lib/ReduxFramework/ReduxCore/inc/fields/spacing/field_spacing.scss +33 -0
  293. admin/core/lib/ReduxFramework/ReduxCore/inc/fields/spinner/arrow_left.png +0 -0
  294. admin/core/lib/ReduxFramework/ReduxCore/inc/fields/spinner/arrow_right.png +0 -0
  295. admin/core/lib/ReduxFramework/ReduxCore/inc/fields/spinner/field_spinner.css +1 -0
  296. admin/core/lib/ReduxFramework/ReduxCore/inc/fields/spinner/field_spinner.js +129 -0
  297. admin/core/lib/ReduxFramework/ReduxCore/inc/fields/spinner/field_spinner.min.js +1 -0
  298. admin/core/lib/ReduxFramework/ReduxCore/inc/fields/spinner/field_spinner.php +183 -0
  299. admin/core/lib/ReduxFramework/ReduxCore/inc/fields/spinner/field_spinner.scss +101 -0
  300. admin/core/lib/ReduxFramework/ReduxCore/inc/fields/spinner/vendor/spinner_custom.js +1 -0
  301. admin/core/lib/ReduxFramework/ReduxCore/inc/fields/switch/field_switch.css +1 -0
  302. admin/core/lib/ReduxFramework/ReduxCore/inc/fields/switch/field_switch.js +91 -0
  303. admin/core/lib/ReduxFramework/ReduxCore/inc/fields/switch/field_switch.min.js +1 -0
  304. admin/core/lib/ReduxFramework/ReduxCore/inc/fields/switch/field_switch.php +79 -0
  305. admin/core/lib/ReduxFramework/ReduxCore/inc/fields/switch/field_switch.scss +68 -0
  306. admin/core/lib/ReduxFramework/ReduxCore/inc/fields/switch/slider-control.png +0 -0
  307. admin/core/lib/ReduxFramework/ReduxCore/inc/fields/switch/switch.gif +0 -0
  308. admin/core/lib/ReduxFramework/ReduxCore/inc/fields/text/field_text.css +1 -0
  309. admin/core/lib/ReduxFramework/ReduxCore/inc/fields/text/field_text.php +93 -0
  310. admin/core/lib/ReduxFramework/ReduxCore/inc/fields/text/field_text.scss +44 -0
  311. admin/core/lib/ReduxFramework/ReduxCore/inc/fields/textarea/field_textarea.php +79 -0
  312. admin/core/lib/ReduxFramework/ReduxCore/inc/fields/typography/field_typography.css +1 -0
  313. admin/core/lib/ReduxFramework/ReduxCore/inc/fields/typography/field_typography.js +655 -0
  314. admin/core/lib/ReduxFramework/ReduxCore/inc/fields/typography/field_typography.json +1093 -0
  315. admin/core/lib/ReduxFramework/ReduxCore/inc/fields/typography/field_typography.min.js +1 -0
  316. admin/core/lib/ReduxFramework/ReduxCore/inc/fields/typography/field_typography.php +1093 -0
  317. admin/core/lib/ReduxFramework/ReduxCore/inc/fields/typography/field_typography.scss +247 -0
  318. admin/core/lib/ReduxFramework/ReduxCore/inc/fields/typography/field_typography_json.js +669 -0
  319. admin/core/lib/ReduxFramework/ReduxCore/inc/fields/typography/field_typography_json.min.js +1 -0
  320. admin/core/lib/ReduxFramework/ReduxCore/inc/fields/typography/googlefonts.php +1 -0
  321. admin/core/lib/ReduxFramework/ReduxCore/inc/lib.redux_instances.php +34 -0
  322. admin/core/lib/ReduxFramework/ReduxCore/inc/themecheck/checks/embedded.php +58 -0
  323. admin/core/lib/ReduxFramework/ReduxCore/inc/themecheck/checks/full_package.php +55 -0
  324. admin/core/lib/ReduxFramework/ReduxCore/inc/themecheck/checks/index.php +2 -0
  325. admin/core/lib/ReduxFramework/ReduxCore/inc/themecheck/class.redux_themecheck.php +227 -0
  326. admin/core/lib/ReduxFramework/ReduxCore/inc/themecheck/css/admin.css +9 -0
  327. admin/core/lib/ReduxFramework/ReduxCore/inc/themecheck/index.php +2 -0
  328. admin/core/lib/ReduxFramework/ReduxCore/inc/themecheck/js/admin.js +14 -0
  329. admin/core/lib/ReduxFramework/ReduxCore/inc/themecheck/lang/index.php +2 -0
  330. admin/core/lib/ReduxFramework/ReduxCore/inc/themecheck/lang/themeforest-check.pot +27 -0
  331. admin/core/lib/ReduxFramework/ReduxCore/inc/tracking.php +501 -0
  332. admin/core/lib/ReduxFramework/ReduxCore/inc/validation/color/validation_color.php +70 -0
  333. admin/core/lib/ReduxFramework/ReduxCore/inc/validation/color_rgba/validation_color_rgba.php +62 -0
  334. admin/core/lib/ReduxFramework/ReduxCore/inc/validation/colorrgba/validation_colorrgba.php +78 -0
  335. admin/core/lib/ReduxFramework/ReduxCore/inc/validation/comma_numeric/validation_comma_numeric.php +39 -0
  336. admin/core/lib/ReduxFramework/ReduxCore/inc/validation/css/validation_css.php +47 -0
  337. admin/core/lib/ReduxFramework/ReduxCore/inc/validation/date/validation_date.php +53 -0
  338. admin/core/lib/ReduxFramework/ReduxCore/inc/validation/email/validation_email.php +37 -0
  339. admin/core/lib/ReduxFramework/ReduxCore/inc/validation/email_not_empty/validation_email_not_empty.php +37 -0
  340. admin/core/lib/ReduxFramework/ReduxCore/inc/validation/html/validation_html.php +33 -0
  341. admin/core/lib/ReduxFramework/ReduxCore/inc/validation/html_custom/validation_html_custom.php +34 -0
  342. admin/core/lib/ReduxFramework/ReduxCore/inc/validation/js/validation_js.php +33 -0
  343. admin/core/lib/ReduxFramework/ReduxCore/inc/validation/no_html/validation_no_html.php +39 -0
  344. admin/core/lib/ReduxFramework/ReduxCore/inc/validation/no_special_chars/validation_no_special_chars.php +38 -0
  345. admin/core/lib/ReduxFramework/ReduxCore/inc/validation/not_empty/validation_not_empty.php +37 -0
  346. admin/core/lib/ReduxFramework/ReduxCore/inc/validation/numeric/validation_numeric.php +37 -0
  347. admin/core/lib/ReduxFramework/ReduxCore/inc/validation/numeric_not_empty/validation_numeric_not_empty.php +36 -0
  348. admin/core/lib/ReduxFramework/ReduxCore/inc/validation/preg_replace/validation_preg_replace.php +34 -0
  349. admin/core/lib/ReduxFramework/ReduxCore/inc/validation/str_replace/validation_str_replace.php +33 -0
  350. admin/core/lib/ReduxFramework/ReduxCore/inc/validation/unique_slug/validation_unique_slug.php +69 -0
  351. admin/core/lib/ReduxFramework/ReduxCore/inc/validation/url/validation_url.php +39 -0
  352. admin/core/lib/ReduxFramework/ReduxCore/inc/welcome/css/redux-welcome.css +1 -0
  353. admin/core/lib/ReduxFramework/ReduxCore/inc/welcome/css/redux-welcome.scss +696 -0
  354. admin/core/lib/ReduxFramework/ReduxCore/inc/welcome/js/jquery.easing.min.js +44 -0
  355. admin/core/lib/ReduxFramework/ReduxCore/inc/welcome/js/redux-welcome-admin.js +294 -0
  356. admin/core/lib/ReduxFramework/ReduxCore/inc/welcome/views/about.php +79 -0
  357. admin/core/lib/ReduxFramework/ReduxCore/inc/welcome/views/changelog.php +23 -0
  358. admin/core/lib/ReduxFramework/ReduxCore/inc/welcome/views/credits.php +22 -0
  359. admin/core/lib/ReduxFramework/ReduxCore/inc/welcome/views/extensions.php +152 -0
  360. admin/core/lib/ReduxFramework/ReduxCore/inc/welcome/views/status_report.php +838 -0
  361. admin/core/lib/ReduxFramework/ReduxCore/inc/welcome/views/support.php +146 -0
  362. admin/core/lib/ReduxFramework/ReduxCore/inc/welcome/welcome.php +568 -0
  363. admin/core/lib/ReduxFramework/ReduxCore/languages/README.txt +1 -0
  364. admin/core/lib/ReduxFramework/ReduxCore/languages/redux-framework.pot +1556 -0
  365. admin/core/lib/ReduxFramework/ReduxCore/templates/panel/container.tpl.php +58 -0
  366. admin/core/lib/ReduxFramework/ReduxCore/templates/panel/content.tpl.php +99 -0
  367. admin/core/lib/ReduxFramework/ReduxCore/templates/panel/footer.tpl.php +71 -0
  368. admin/core/lib/ReduxFramework/ReduxCore/templates/panel/header.tpl.php +73 -0
  369. admin/core/lib/ReduxFramework/ReduxCore/templates/panel/header_stickybar.tpl.php +39 -0
  370. admin/core/lib/ReduxFramework/ReduxCore/templates/panel/menu_container.tpl.php +51 -0
  371. admin/core/lib/ReduxFramework/bootstrap_tests.php +31 -0
  372. admin/core/lib/ReduxFramework/class.redux-plugin.php +433 -0
  373. admin/core/lib/ReduxFramework/index.php +2 -0
  374. admin/core/lib/ReduxFramework/license.txt +702 -0
  375. admin/core/lib/ReduxFramework/redux-framework.php +49 -0
  376. admin/core/lib/ReduxFramework/uninstall.php +16 -0
  377. admin/core/lib/ReduxFramework/wpml-config.xml +7 -0
  378. admin/core/packages/1.3.39.php +27 -0
  379. admin/core/um-admin-access.php +146 -0
  380. admin/core/um-admin-actions-ajax.php +82 -0
  381. admin/core/um-admin-actions-fields.php +67 -0
  382. admin/core/um-admin-actions-modal.php +369 -0
  383. admin/core/um-admin-actions-user.php +45 -0
  384. admin/core/um-admin-actions.php +452 -0
  385. admin/core/um-admin-builder.php +299 -0
  386. admin/core/um-admin-columns.php +119 -0
  387. admin/core/um-admin-dashboard.php +346 -0
  388. admin/core/um-admin-dragdrop.php +220 -0
  389. admin/core/um-admin-enqueue.php +295 -0
  390. admin/core/um-admin-filters-fields.php +132 -0
  391. admin/core/um-admin-functions.php +112 -0
  392. admin/core/um-admin-metabox.php +1548 -0
  393. admin/core/um-admin-notices.php +229 -0
  394. admin/core/um-admin-redux.php +126 -0
  395. admin/core/um-admin-roles.php +86 -0
  396. admin/core/um-admin-upgrade.php +31 -0
  397. admin/core/um-admin-users.php +414 -0
  398. admin/index.php +5 -0
  399. admin/templates/access/settings.php +72 -0
  400. admin/templates/dashboard/cache.php +17 -0
  401. admin/templates/dashboard/feed.php +18 -0
  402. admin/templates/dashboard/language-contrib.php +3 -0
  403. admin/templates/dashboard/language-download.php +3 -0
  404. admin/templates/dashboard/language-update.php +3 -0
  405. admin/templates/dashboard/purge.php +11 -0
  406. admin/templates/dashboard/users.php +45 -0
  407. admin/templates/directory/appearance.php +15 -0
  408. admin/templates/directory/general.php +97 -0
  409. admin/templates/directory/pagination.php +36 -0
  410. admin/templates/directory/profile.php +168 -0
  411. admin/templates/directory/profile_card.php +23 -0
  412. admin/templates/directory/search.php +119 -0
  413. admin/templates/directory/shortcode.php +5 -0
  414. {includes/admin → admin}/templates/extensions.php +25 -78
  415. {includes/admin → admin}/templates/form/builder.php +11 -6
  416. admin/templates/form/login_css.php +8 -0
  417. admin/templates/form/login_customize.php +111 -0
  418. admin/templates/form/login_settings.php +20 -0
  419. {includes/admin → admin}/templates/form/mode.php +2 -2
  420. admin/templates/form/profile_css.php +8 -0
  421. admin/templates/form/profile_customize.php +208 -0
  422. admin/templates/form/profile_settings.php +51 -0
  423. admin/templates/form/register_css.php +8 -0
  424. admin/templates/form/register_customize.php +105 -0
  425. admin/templates/form/shortcode.php +5 -0
  426. admin/templates/modal/dynamic_edit_field.php +20 -0
  427. admin/templates/modal/dynamic_edit_row.php +20 -0
  428. {includes/admin → admin}/templates/modal/dynamic_form_preview.php +3 -1
  429. admin/templates/modal/dynamic_new_divider.php +20 -0
  430. admin/templates/modal/dynamic_new_field.php +20 -0
  431. admin/templates/modal/dynamic_new_group.php +20 -0
  432. {includes/admin → admin}/templates/modal/dynamic_registration_preview.php +6 -2
  433. {includes/admin → admin}/templates/modal/fields.php +3 -1
  434. admin/templates/modal/fonticons.php +16 -0
  435. admin/templates/role/admin.php +65 -0
  436. admin/templates/role/delete.php +30 -0
  437. admin/templates/role/general.php +19 -0
  438. admin/templates/role/home.php +27 -0
  439. admin/templates/role/login.php +32 -0
  440. admin/templates/role/logout.php +30 -0
  441. admin/templates/role/profile.php +37 -0
  442. admin/templates/role/register.php +148 -0
  443. admin/templates/role/sync.php +34 -0
  444. admin/templates/welcome/about.php +70 -0
  445. admin/templates/welcome/about_footer.php +14 -0
  446. admin/templates/welcome/about_header.php +43 -0
  447. admin/templates/welcome/start.php +62 -0
  448. admin/um-admin-init.php +77 -0
  449. assets/css/um-members.css +1 -34
  450. assets/css/um-old-default.css +0 -253
  451. assets/css/um-profile.css +9 -27
  452. assets/css/um-responsive.css +6 -24
  453. assets/css/um-styles.css +4 -33
  454. assets/css/um.min.css +16 -16
  455. assets/css/um.rtl.css +1 -6
  456. assets/dynamic_css/dynamic_global.php +297 -0
  457. assets/dynamic_css/dynamic_profile.php +90 -0
  458. assets/font/fontawesome-webfont.eot +0 -0
  459. assets/font/fontawesome-webfont.svg +517 -2668
  460. assets/font/fontawesome-webfont.ttf +0 -0
  461. assets/font/fontawesome-webfont.woff +0 -0
  462. assets/js/um-account.min.js +0 -1
  463. assets/js/um-conditional.js +512 -596
  464. assets/js/um-conditional.min.js +0 -1
  465. assets/js/um-crop.js +6 -8
  466. assets/js/um-crop.min.js +0 -1
  467. assets/js/um-fileupload.min.js +0 -1
  468. assets/js/um-functions.js +28 -41
  469. assets/js/um-functions.min.js +0 -1
  470. assets/js/um-gdpr.js +0 -22
  471. assets/js/um-gdpr.min.js +0 -1
  472. assets/js/um-jquery-form.min.js +0 -1
  473. assets/js/um-masonry.js +1 -0
  474. assets/js/um-members.js +4 -17
  475. assets/js/um-members.min.js +0 -1
  476. assets/js/um-modal.js +25 -25
  477. assets/js/um-modal.min.js +0 -1
  478. assets/js/um-profile.js +9 -8
  479. assets/js/um-profile.min.js +0 -1
  480. assets/js/um-raty.js +12 -12
  481. assets/js/um-raty.min.js +0 -1
  482. assets/js/um-responsive.min.js +0 -1
  483. assets/js/um-scripts.js +415 -421
  484. assets/js/um-scripts.min.js +0 -1
  485. assets/js/um-scrollbar.min.js +0 -1
  486. assets/js/um-scrollto.min.js +0 -1
  487. assets/js/um-select.min.js +0 -1
  488. assets/js/um-tipsy.min.js +0 -1
  489. assets/js/um.min.js +1 -0
  490. {includes → core}/lib/array2xml.php +0 -0
  491. {includes → core}/lib/browser.php +0 -0
  492. core/lib/mobiledetect/Mobile_Detect.php +1320 -0
  493. core/um-access.php +87 -0
  494. core/um-account.php +364 -0
  495. core/um-actions-access.php +876 -0
  496. core/um-actions-account.php +493 -0
  497. core/um-actions-ajax.php +389 -0
  498. core/um-actions-core.php +88 -0
  499. core/um-actions-form.php +513 -0
  500. core/um-actions-global.php +56 -0
  501. core/um-actions-login.php +321 -0
  502. core/um-actions-members.php +227 -0
  503. core/um-actions-misc.php +143 -0
  504. core/um-actions-password.php +302 -0
  505. core/um-actions-profile.php +708 -0
  506. core/um-actions-register.php +370 -0
  507. core/um-actions-save-profile.php +75 -0
  508. core/um-actions-user.php +79 -0
  509. core/um-actions-wpadmin.php +134 -0
  510. core/um-api.php +870 -0
  511. core/um-builtin.php +1625 -0
  512. core/um-chart.php +130 -0
  513. core/um-cron.php +52 -0
  514. core/um-datetime.php +119 -0
  515. core/um-enqueue.php +396 -0
  516. core/um-fields.php +2930 -0
  517. core/um-files.php +681 -0
  518. core/um-filters-account.php +77 -0
  519. core/um-filters-addons.php +67 -0
  520. core/um-filters-arguments.php +53 -0
  521. core/um-filters-avatars.php +79 -0
  522. core/um-filters-commenting.php +32 -0
  523. core/um-filters-fields.php +482 -0
  524. core/um-filters-files.php +22 -0
  525. core/um-filters-language.php +64 -0
  526. core/um-filters-login.php +95 -0
  527. core/um-filters-members.php +391 -0
  528. core/um-filters-misc.php +10 -0
  529. core/um-filters-navmenu.php +82 -0
  530. core/um-filters-profile.php +105 -0
  531. core/um-filters-user.php +207 -0
  532. core/um-fonticons.php +37 -0
  533. core/um-form.php +283 -0
  534. core/um-login.php +5 -0
  535. core/um-logout.php +80 -0
  536. core/um-mail.php +123 -0
  537. core/um-members.php +372 -0
  538. core/um-menu.php +33 -0
  539. core/um-modal.php +25 -0
  540. core/um-navmenu-walker-edit.php +143 -0
  541. core/um-navmenu-walker.php +28 -0
  542. core/um-navmenu.php +25 -0
  543. core/um-password.php +234 -0
  544. core/um-permalinks.php +513 -0
  545. core/um-profile.php +207 -0
  546. core/um-query.php +428 -0
  547. core/um-register.php +31 -0
  548. core/um-rewrite.php +194 -0
  549. core/um-setup.php +492 -0
  550. core/um-short-functions.php +2066 -0
  551. core/um-shortcodes.php +609 -0
  552. core/um-taxonomies.php +76 -0
  553. core/um-tracking.php +156 -0
  554. core/um-uninstall.php +49 -0
  555. core/um-uploader.php +1180 -0
  556. core/um-user-posts.php +127 -0
  557. core/um-user.php +1130 -0
  558. core/um-validation.php +210 -0
  559. includes/widgets/class-um-search-widget.php → core/widgets/um-search-widget.php +9 -40
  560. includes/admin/assets/css/um-admin-forms.css +0 -194
  561. includes/admin/assets/css/um-admin-global.css +0 -204
  562. includes/admin/assets/css/um-admin-settings.css +0 -246
  563. includes/admin/assets/js/um-admin-field.js +0 -111
  564. includes/admin/assets/js/um-admin-forms.js +0 -241
  565. includes/admin/assets/js/um-admin-global.js +0 -55
  566. includes/admin/assets/js/um-admin-nav-menu.js +0 -36
  567. includes/admin/assets/js/um-admin-role-wrapper.js +0 -21
  568. includes/admin/assets/js/um-admin-settings.js +0 -35
  569. includes/admin/class-admin-functions.php +0 -99
  570. includes/admin/class-admin.php +0 -401
  571. includes/admin/core/class-admin-builder.php +0 -1166
  572. includes/admin/core/class-admin-columns.php +0 -185
  573. includes/admin/core/class-admin-dragdrop.php +0 -231
  574. includes/admin/core/class-admin-enqueue.php +0 -438
  575. includes/admin/core/class-admin-forms-settings.php +0 -57
  576. includes/admin/core/class-admin-forms.php +0 -1136
  577. includes/admin/core/class-admin-gdpr.php +0 -316
  578. includes/admin/core/class-admin-menu.php +0 -406
  579. includes/admin/core/class-admin-metabox.php +0 -2310
  580. includes/admin/core/class-admin-notices.php +0 -712
  581. includes/admin/core/class-admin-settings.php +0 -2549
  582. includes/admin/core/class-admin-upgrade.php +0 -419
  583. includes/admin/core/class-admin-users.php +0 -463
  584. includes/admin/core/list-tables/emails-list-table.php +0 -321
  585. includes/admin/core/list-tables/roles-list-table.php +0 -495
  586. includes/admin/core/packages/1.3.39/functions.php +0 -8
  587. includes/admin/core/packages/1.3.39/hooks.php +0 -5
  588. includes/admin/core/packages/1.3.39/init.php +0 -30
  589. includes/admin/core/packages/1.3.39/usermeta_query.php +0 -13
  590. includes/admin/core/packages/2.0-beta1/content_restriction.php +0 -143
  591. includes/admin/core/packages/2.0-beta1/email_templates.php +0 -255
  592. includes/admin/core/packages/2.0-beta1/functions.php +0 -307
  593. includes/admin/core/packages/2.0-beta1/hooks.php +0 -22
  594. includes/admin/core/packages/2.0-beta1/init.php +0 -426
  595. includes/admin/core/packages/2.0-beta1/mc_lists.php +0 -27
  596. includes/admin/core/packages/2.0-beta1/menus.php +0 -32
  597. includes/admin/core/packages/2.0-beta1/settings.php +0 -161
  598. includes/admin/core/packages/2.0-beta1/social_login.php +0 -24
  599. includes/admin/core/packages/2.0-beta1/styles.php +0 -897
  600. includes/admin/core/packages/2.0-beta1/um_cpt.php +0 -61
  601. includes/admin/core/packages/2.0-beta1/user_roles.php +0 -163
  602. includes/admin/core/packages/2.0.10/functions.php +0 -18
  603. includes/admin/core/packages/2.0.10/hooks.php +0 -6
  604. includes/admin/core/packages/2.0.10/init.php +0 -54
  605. includes/admin/core/packages/2.0.10/styles.php +0 -89
  606. includes/admin/templates/access/restrict_content.php +0 -142
  607. includes/admin/templates/dashboard/cache.php +0 -14
  608. includes/admin/templates/dashboard/feed.php +0 -20
  609. includes/admin/templates/dashboard/language-contrib.php +0 -7
  610. includes/admin/templates/dashboard/language-download.php +0 -9
  611. includes/admin/templates/dashboard/language-update.php +0 -9
  612. includes/admin/templates/dashboard/purge.php +0 -19
  613. includes/admin/templates/dashboard/upgrade-request.php +0 -6
  614. includes/admin/templates/dashboard/users.php +0 -42
  615. includes/admin/templates/directory/appearance.php +0 -15
  616. includes/admin/templates/directory/general.php +0 -138
  617. includes/admin/templates/directory/pagination.php +0 -34
  618. includes/admin/templates/directory/profile.php +0 -85
  619. includes/admin/templates/directory/search.php +0 -109
  620. includes/admin/templates/directory/shortcode.php +0 -3
  621. includes/admin/templates/form/login_customize.php +0 -99
  622. includes/admin/templates/form/login_settings.php +0 -31
  623. includes/admin/templates/form/profile_customize.php +0 -182
  624. includes/admin/templates/form/profile_settings.php +0 -28
  625. includes/admin/templates/form/register_customize.php +0 -92
  626. includes/admin/templates/form/register_gdpr.php +0 -71
  627. includes/admin/templates/form/shortcode.php +0 -3
  628. includes/admin/templates/gdpr.php +0 -40
  629. includes/admin/templates/modal/dynamic_edit_field.php +0 -18
  630. includes/admin/templates/modal/dynamic_edit_row.php +0 -18
  631. includes/admin/templates/modal/dynamic_new_divider.php +0 -18
  632. includes/admin/templates/modal/dynamic_new_field.php +0 -18
  633. includes/admin/templates/modal/dynamic_new_group.php +0 -18
  634. includes/admin/templates/modal/fonticons.php +0 -14
  635. includes/admin/templates/role/admin-permissions.php +0 -58
  636. includes/admin/templates/role/delete.php +0 -31
  637. includes/admin/templates/role/general.php +0 -24
  638. includes/admin/templates/role/home.php +0 -27
  639. includes/admin/templates/role/login.php +0 -33
  640. includes/admin/templates/role/logout.php +0 -31
  641. includes/admin/templates/role/profile.php +0 -44
  642. includes/admin/templates/role/publish.php +0 -27
  643. includes/admin/templates/role/register.php +0 -110
  644. includes/admin/templates/role/role-edit.php +0 -190
  645. includes/admin/templates/role/wp-capabilities.php +0 -89
  646. includes/class-config.php +0 -744
  647. includes/class-dependencies.php +0 -210
  648. includes/class-functions.php +0 -374
  649. includes/class-init.php +0 -1367
  650. includes/core/class-access.php +0 -1100
  651. includes/core/class-account.php +0 -836
  652. includes/core/class-ajax-common.php +0 -73
  653. includes/core/class-builtin.php +0 -1841
  654. includes/core/class-chart.php +0 -156
  655. includes/core/class-common.php +0 -142
  656. includes/core/class-cron.php +0 -120
  657. includes/core/class-date-time.php +0 -194
  658. includes/core/class-enqueue.php +0 -474
  659. includes/core/class-external-integrations.php +0 -411
  660. includes/core/class-fields.php +0 -4056
  661. includes/core/class-files.php +0 -1221
  662. includes/core/class-fonticons.php +0 -53
  663. includes/core/class-form.php +0 -533
  664. includes/core/class-gdpr.php +0 -86
  665. includes/core/class-login.php +0 -13
  666. includes/core/class-logout.php +0 -108
  667. includes/core/class-mail.php +0 -553
  668. includes/core/class-members.php +0 -610
  669. includes/core/class-modal.php +0 -38
  670. includes/core/class-options.php +0 -160
  671. includes/core/class-password.php +0 -408
  672. includes/core/class-permalinks.php +0 -521
  673. includes/core/class-plugin-updater.php +0 -360
  674. includes/core/class-profile.php +0 -394
  675. includes/core/class-query.php +0 -438
  676. includes/core/class-register.php +0 -77
  677. includes/core/class-rest-api.php +0 -1160
  678. includes/core/class-rewrite.php +0 -344
  679. includes/core/class-roles-capabilities.php +0 -680
  680. includes/core/class-router.php +0 -115
  681. includes/core/class-setup.php +0 -243
  682. includes/core/class-shortcodes.php +0 -1008
  683. includes/core/class-uploader.php +0 -1185
  684. includes/core/class-user-posts.php +0 -160
  685. includes/core/class-user.php +0 -1893
  686. includes/core/class-validation.php +0 -299
  687. includes/core/um-actions-access.php +0 -24
  688. includes/core/um-actions-account.php +0 -442
  689. includes/core/um-actions-ajax.php +0 -47
  690. includes/core/um-actions-core.php +0 -150
  691. includes/core/um-actions-form.php +0 -746
  692. includes/core/um-actions-global.php +0 -64
  693. includes/core/um-actions-login.php +0 -483
  694. includes/core/um-actions-members.php +0 -254
  695. includes/core/um-actions-misc.php +0 -205
  696. includes/core/um-actions-password.php +0 -342
  697. includes/core/um-actions-profile.php +0 -1397
  698. includes/core/um-actions-register.php +0 -725
  699. includes/core/um-actions-save-profile.php +0 -69
  700. includes/core/um-actions-user.php +0 -19
  701. includes/core/um-actions-wpadmin.php +0 -40
  702. includes/core/um-filters-account.php +0 -62
  703. includes/core/um-filters-avatars.php +0 -45
  704. includes/core/um-filters-commenting.php +0 -37
  705. includes/core/um-filters-fields.php +0 -669
  706. includes/core/um-filters-files.php +0 -71
  707. includes/core/um-filters-login.php +0 -170
  708. includes/core/um-filters-members.php +0 -526
  709. includes/core/um-filters-misc.php +0 -15
  710. includes/core/um-filters-navmenu.php +0 -144
  711. includes/core/um-filters-profile.php +0 -105
  712. includes/core/um-filters-user.php +0 -297
  713. includes/core/um-navmenu.php +0 -191
  714. includes/lib/mobiledetect/class-um-mobile-detect.php +0 -1321
  715. includes/um-deprecated-functions.php +0 -338
  716. includes/um-short-functions.php +0 -2521
  717. index.php +64 -0
  718. languages/ultimate-member-en.po +4367 -3287
  719. readme.txt +7 -224
  720. templates/account.php +43 -144
  721. templates/email/{approved_email.php → approved_email.html} +6 -3
  722. templates/email/changedaccount_email.php +0 -30
  723. templates/email/{changedpw_email.php → changedpw_email.html} +6 -4
  724. templates/email/{checkmail_email.php → checkmail_email.html} +6 -4
  725. templates/email/{deletion_email.php → deletion_email.html} +6 -4
  726. templates/email/{inactive_email.php → inactive_email.html} +6 -3
  727. templates/email/notification_deletion.php +0 -25
  728. templates/email/notification_new_user.php +0 -34
  729. templates/email/notification_review.php +0 -34
  730. templates/email/{pending_email.php → pending_email.html} +6 -3
  731. templates/email/{rejected_email.php → rejected_email.html} +6 -4
  732. templates/email/{resetpw_email.php → resetpw_email.html} +6 -4
  733. templates/email/{welcome_email.php → welcome_email.html} +6 -4
  734. templates/gdpr-register.php +0 -44
  735. templates/login.php +16 -127
  736. templates/logout.php +7 -45
  737. templates/members-grid.php +36 -79
  738. templates/members.php +9 -84
  739. templates/message.php +1 -1
  740. templates/password-change.php +15 -66
  741. templates/password-reset.php +20 -71
  742. templates/profile.php +28 -191
  743. templates/profile/comments-single.php +3 -3
  744. templates/profile/comments.php +4 -4
  745. templates/profile/posts-single.php +3 -3
  746. templates/profile/posts.php +13 -31
  747. templates/register.php +14 -125
  748. templates/restricted-taxonomy.php +0 -53
  749. ultimate-member.php +0 -32
  750. um-config.php +2170 -0
  751. um-init.php +245 -0
  752. uninstall.php +0 -104
addons/bp_avatar_transfer.php ADDED
@@ -0,0 +1,99 @@
1
+ <?php
2
+
3
+ class UM_ADDON_bp_avatar_transfer {
4
+
5
+ function __construct() {
6
+
7
+ add_action('admin_menu', array(&$this, 'admin_menu'), 1001);
8
+
9
+ add_action('admin_init', array(&$this, 'admin_init'), 1);
10
+
11
+ add_action('um_admin_addon_hook', array(&$this, 'um_admin_addon_hook') );
12
+
13
+ }
14
+
15
+ function admin_menu() {
16
+
17
+ global $ultimatemember;
18
+ $this->addon = $ultimatemember->addons['bp_avatar_transfer'];
19
+ add_submenu_page('ultimatemember', $this->addon[0], $this->addon[0], 'manage_options', 'bp_avatar_transfer', array(&$this, 'content') );
20
+
21
+ }
22
+
23
+ function um_admin_addon_hook( $hook ) {
24
+ global $ultimatemember;
25
+ switch( $hook ) {
26
+ case 'bp_avatar_transfer':
27
+ if ( class_exists('BuddyPress') ) {
28
+
29
+ $path = bp_core_avatar_upload_path() . '/avatars';
30
+
31
+ $files = glob( $path . '/*');
32
+ $i = 0;
33
+ foreach( $files as $key ) {
34
+ $q = (count(glob("$key/*")) === 0) ? 0 : 1;
35
+ if ( $q == 1 ) {
36
+ $photo = glob( $key . '/*');
37
+ foreach( $photo as $file ) {
38
+ if ( strstr( $file, 'bpfull' ) ) {
39
+ $get_user_id = explode('/', $file);
40
+ array_pop($get_user_id);
41
+ $user_id = end($get_user_id);
42
+ if ( !file_exists( $ultimatemember->files->upload_basedir . $user_id . '/profile_photo.jpg' ) ) {
43
+ $ultimatemember->files->new_user( $user_id );
44
+ copy( $file, $ultimatemember->files->upload_basedir . $user_id . '/profile_photo.jpg' );
45
+ update_user_meta($user_id, 'profile_photo', 'profile_photo.jpg');
46
+ $i++;
47
+ }
48
+ }
49
+ }
50
+ }
51
+ }
52
+
53
+ $this->content = '<p><strong>Done. Process completed!</p>';
54
+ $this->content .= $i . ' user(s) changed.</strong></p>';
55
+
56
+ }
57
+ break;
58
+ }
59
+ }
60
+
61
+ function admin_init() {
62
+ if ( isset( $_REQUEST['um-addon-hook'] ) ) {
63
+ $hook = $_REQUEST['um-addon-hook'];
64
+ do_action("um_admin_addon_hook", $hook);
65
+ }
66
+ }
67
+
68
+ function content() {
69
+
70
+ $this->process_link = add_query_arg('um-addon-hook','bp_avatar_transfer');
71
+
72
+ ?>
73
+
74
+ <div class="wrap">
75
+
76
+ <h2>Ultimate Member <sup style="font-size:15px"><?php echo ultimatemember_version; ?></sup></h2>
77
+
78
+ <h3><?php echo $this->addon[0]; ?></h3>
79
+
80
+ <?php if ( isset( $this->content ) ) {
81
+ echo $this->content;
82
+ } else { ?>
83
+
84
+ <p>This tool allows you to move all custom user photos/avatars from BuddyPress to Ultimate Member platform. This can help you If you are switching from BuddyPress.</p>
85
+ <p>Depending on your users database, this could take a few moments. To start the process, click the following button.</p>
86
+
87
+ <p><a href="<?php echo $this->process_link; ?>" class="button button-primary">Start transferring avatars</a></p>
88
+
89
+ <?php } ?>
90
+
91
+ </div><div class="clear"></div>
92
+
93
+ <?php
94
+
95
+ }
96
+
97
+ }
98
+
99
+ $UM_ADDON_bp_avatar_transfer = new UM_ADDON_bp_avatar_transfer();
addons/generate_random_users.php ADDED
@@ -0,0 +1,261 @@
1
+ <?php
2
+
3
+ class UM_ADDON_generate_random_users {
4
+
5
+ function __construct() {
6
+
7
+ add_action('admin_menu', array(&$this, 'admin_menu'), 1001);
8
+
9
+ add_action('admin_init', array(&$this, 'admin_init'), 1);
10
+
11
+ add_action('um_admin_addon_hook', array(&$this, 'um_admin_addon_hook') );
12
+
13
+ }
14
+
15
+
16
+ function admin_menu() {
17
+
18
+ global $ultimatemember;
19
+ $this->addon = $ultimatemember->addons['generate_random_users'];
20
+ add_submenu_page('ultimatemember', $this->addon[0], $this->addon[0], 'manage_options', 'generate_random_users', array(&$this, 'content') );
21
+
22
+ }
23
+
24
+ function um_admin_addon_hook( $hook ) {
25
+ global $ultimatemember;
26
+
27
+ switch ( $hook ) {
28
+ case 'generate_random_users':
29
+ $json_url = "https://randomuser.me/api/";
30
+
31
+ $arr_post_header = array( );
32
+
33
+ if( isset( $_GET['gender'] ) ){
34
+ $gender = $_GET['gender'];
35
+ if( $gender != 'both' ){
36
+ $json_url = add_query_arg('gender', $gender, $json_url );
37
+ $arr_post_header['gender'] = $gender;
38
+ }
39
+ }
40
+
41
+ if( isset( $_GET['nationality'] ) ){
42
+ $nationality = implode(",", $_GET['nationality']);
43
+ if( ! empty( $nationality ) ){
44
+ $json_url = add_query_arg('nat', $nationality, $json_url );
45
+ }
46
+ $arr_post_header['nat'] = $nationality;
47
+ }
48
+
49
+ if( isset( $_GET['total_users'] ) ){
50
+ $total_users = intval( $_GET['total_users'] );
51
+ $json_url = add_query_arg('results', $total_users, $json_url );
52
+ $arr_post_header['results'] = $total_users;
53
+ }
54
+
55
+
56
+ $response = wp_remote_get( $json_url, array('timeout' => 120 ) );
57
+ $json = '';
58
+
59
+ if( is_array($response) ) {
60
+ if( isset( $response['body'] ) && ! empty( $response['body'] ) ){
61
+ $json = json_decode( $response['body'] );
62
+ }
63
+ }
64
+
65
+ if( is_wp_error( $response ) ){
66
+ wp_die( $response->get_error_message() );
67
+ }
68
+
69
+ if( ! empty( $json ) ){
70
+
71
+ remove_action('um_after_new_user_register', 'um_after_new_user_register', 10, 2);
72
+
73
+ $failed_dummies = 0;
74
+ $default_role = um_get_option("default_role");
75
+
76
+ foreach( $json->results as $dummy ){
77
+
78
+ if( isset( $_GET['password'] ) && ! empty( $_GET['password'] ) ){
79
+ $password = $_GET['password'];
80
+ }else{
81
+ $password = wp_generate_password( 8, false );
82
+ }
83
+
84
+ $site_url = @$_SERVER['SERVER_NAME'];
85
+ $random_generate = wp_generate_password( 4, false );
86
+
87
+ if( username_exists( $dummy->login->username ) ){
88
+ $dummy->login->username = $dummy->login->username.'_'. $random_generate;
89
+ }
90
+
91
+ $dummy->login->email = $dummy->login->username."_dummy@{$site_url}";
92
+
93
+ if( email_exists( $dummy->login->email ) ){
94
+ $dummy->login->email = $dummy->login->username."_dummy_{$random_generate}@{$site_url}";
95
+ }
96
+
97
+ $userdata = array(
98
+ 'display_name' => ucfirst( $dummy->name->first )." ".ucfirst( $dummy->name->last ),
99
+ 'first_name' => ucfirst( $dummy->name->first ),
100
+ 'last_name' => ucfirst( $dummy->name->last ),
101
+ 'user_email' => $dummy->login->email,
102
+ 'user_login' => $dummy->login->username,
103
+ 'user_pass' => $password,
104
+ );
105
+
106
+ $user_id = wp_insert_user( $userdata );
107
+
108
+ if( is_wp_error( $user_id ) ){
109
+ $failed_dummies++;
110
+ }
111
+
112
+ $usermeta = array(
113
+ 'synced_profile_photo' => $dummy->picture->large,
114
+ 'gender' => ucfirst($dummy->gender),
115
+ 'birth_date' => date("Y/m/d", strtotime( $dummy->dob) ),
116
+ '_um_last_login' => date("Y/m/d", strtotime( $dummy->registered ) ),
117
+ 'mobile_number' => $dummy->cell,
118
+ 'phone_number' => $dummy->phone,
119
+ 'synced_gravatar_hashed_id' => md5( strtolower( trim( $dummy->email ) ) ),
120
+ 'account_status' => 'approved',
121
+ '_um_profile_dummy' => true,
122
+ 'role' => isset( $default_role ) ? $default_role: 'member'
123
+ );
124
+
125
+ if( isset( $_GET['add_cover_photo'] ) && $_GET['add_cover_photo'] == 1 ){
126
+
127
+ $rand = array('0', '1', '2', '3', '4', '5', '6', '7', '8', '9', 'a', 'b', 'c', 'd', 'e', 'f');
128
+ $color = $rand[rand(0,15)].$rand[rand(0,15)].$rand[rand(0,15)].$rand[rand(0,15)].$rand[rand(0,15)].$rand[rand(0,15)];
129
+
130
+ $usermeta['synced_cover_photo'] = 'http://placehold.it/650x350/'.$color.'/'.$color;
131
+
132
+ }
133
+
134
+ foreach ( $usermeta as $key => $value ) {
135
+ update_user_meta( $user_id, $key, $value );
136
+ }
137
+
138
+
139
+ }
140
+ wp_redirect( admin_url("admin.php?page=generate_random_users") ); exit;
141
+ }
142
+
143
+ break;
144
+
145
+ case 'remove_random_users':
146
+
147
+ $dummies = new WP_User_Query(
148
+ array(
149
+ 'fields' => array('ID'),
150
+ 'meta_key' => '_um_profile_dummy',
151
+ 'meta_value' => true,
152
+ 'meta_compare' => '='
153
+ )
154
+ );
155
+
156
+ if( $dummies->total_users > 0 ){
157
+ foreach ( $dummies->get_results() as $dummy ) {
158
+
159
+ if( isset( $dummy->ID ) ){
160
+ wp_delete_user( $dummy->ID );
161
+ }
162
+
163
+ }
164
+ }
165
+
166
+ delete_option('um_generated_dumies');
167
+ wp_redirect( admin_url("admin.php?page=generate_random_users") );
168
+ exit;
169
+
170
+ break;
171
+
172
+ default:
173
+
174
+ break;
175
+ }
176
+
177
+ }
178
+
179
+ function admin_init() {
180
+ if ( isset( $_REQUEST['um-addon-hook'] ) ) {
181
+ $hook = $_REQUEST['um-addon-hook'];
182
+ do_action("um_admin_addon_hook", $hook );
183
+ }
184
+ }
185
+
186
+ function content() {
187
+
188
+ ?>
189
+
190
+ <div class="wrap">
191
+
192
+ <h2>Ultimate Member <sup style="font-size:15px"><?php echo ultimatemember_version; ?></sup></h2>
193
+
194
+ <h3><?php echo $this->addon[0]; ?></h3>
195
+
196
+ <?php if ( isset( $this->content ) ) {
197
+ echo $this->content;
198
+ } else { ?>
199
+
200
+ <p>This tool allows you to add dummies as Ultimate Member users. </p>
201
+ <?php
202
+ $dummies = new WP_User_Query(
203
+ array(
204
+ 'fields' => array('ID'),
205
+ 'meta_key' => '_um_profile_dummy',
206
+ 'meta_value' => true,
207
+ 'meta_compare' => '='
208
+ )
209
+ );
210
+ ?>
211
+ <?php if( $dummies->total_users > 0 ): ?>
212
+ <form method="get">
213
+ <p>
214
+ &nbsp;<input type="submit" class="button button-secondary" value="Remove Generated Dummies (<?php echo $dummies->total_users;?>)"/>
215
+ <input type="hidden" name="um-addon-hook" value="remove_random_users"/>
216
+ <input type="hidden" name="page" value="generate_random_users"/>
217
+ </form>
218
+ <br/>
219
+ <?php endif; ?>
220
+ <form method="get">
221
+ <label for="total_users">How many dummies? <br/><input type="text" name="total_users" value="30" /> <br/><br/>
222
+ <label for="gender">Gender:</label> <br/>
223
+ <label><input type='radio' name="gender" value="male"/> Male</label> <br/>
224
+ <label><input type='radio' name="gender" value="female"/> Female</label> <br/>
225
+ <label><input type='radio' checked="checked" name="gender" value="both"/> Both</label>
226
+ <br/><br/>
227
+ <label for="nationality">Available Nationalities:</label><br/>
228
+ <select style="width:150px" name="nationality[]" multiple>
229
+ <?php
230
+ $nationality = array( 'AU', 'BR', 'CA', 'CH', 'DE', 'DK', 'ES', 'FI', 'FR', 'GB', 'IE', 'IR', 'NL', 'NZ', 'TR', 'US' );
231
+ foreach ($nationality as $code ) {
232
+ $value = strtolower($code);
233
+ echo "<option value='".$value."'/> ".$code."</option>";
234
+ }
235
+ ?>
236
+ </select>
237
+ <br/><br/>
238
+ <label for="add_cover_photo"><input type="checkbox" name="add_cover_photo" value="1" />
239
+ Add cover photos?</label>
240
+ <br/><small>Generates random colored cover photos</small>
241
+ <br/><br/>
242
+ <label for="password">
243
+ Account Passwords:
244
+ <input type="password" name="password" />
245
+ <br/><small>if you leave this blank, it will generate random strings password</small>
246
+ </label>
247
+ <br/>
248
+ <input type="submit" class="button button-primary" value="Start Generating Dummies"/>
249
+ <input type="hidden" name="um-addon-hook" value="generate_random_users"/>
250
+
251
+ <?php } ?>
252
+ </form>
253
+
254
+ </div><div class="clear"></div>
255
+
256
+ <?php
257
+
258
+ }
259
+ }
260
+
261
+ $UM_ADDON_generate_random_users = new UM_ADDON_generate_random_users ();
addons/gravatar_transfer.php ADDED
@@ -0,0 +1,83 @@
1
+ <?php
2
+
3
+ class UM_ADDON_gravatar_transfer {
4
+
5
+ function __construct() {
6
+
7
+ add_action('admin_menu', array(&$this, 'admin_menu'), 1001);
8
+
9
+ add_action('admin_init', array(&$this, 'admin_init'), 1);
10
+
11
+ add_action('um_admin_addon_hook', array(&$this, 'um_admin_addon_hook') );
12
+
13
+ }
14
+
15
+ function gravatar_hash(){
16
+ global $wpdb;
17
+ $wpdb->query('DELETE FROM '.$wpdb->usermeta.' WHERE meta_key = "synced_gravatar_hashed_id" ');
18
+
19
+ $wpdb->query('INSERT INTO '.$wpdb->usermeta.'(user_id, meta_key, meta_value)
20
+ SELECT ID, "synced_gravatar_hashed_id", MD5( LOWER( TRIM(user_email) ) ) FROM '.$wpdb->users.' ');
21
+
22
+ return true;
23
+ }
24
+
25
+ function admin_menu() {
26
+
27
+ global $ultimatemember;
28
+ $this->addon = $ultimatemember->addons['gravatar_transfer'];
29
+ add_submenu_page('ultimatemember', $this->addon[0], $this->addon[0], 'manage_options', 'gravatar_transfer', array(&$this, 'content') );
30
+
31
+ }
32
+
33
+ function um_admin_addon_hook( $hook ) {
34
+ global $ultimatemember;
35
+ switch( $hook ) {
36
+ case 'gravatar_transfer':
37
+ if( $this->gravatar_hash() ){
38
+ $this->content = '<p><strong>Done. Process completed!</p>';
39
+ $result = count_users();
40
+ $this->content .= $result['total_users'] . ' user(s) changed.</strong></p>';
41
+ }
42
+ break;
43
+ }
44
+ }
45
+
46
+ function admin_init() {
47
+ if ( isset( $_REQUEST['um-addon-hook'] ) ) {
48
+ $hook = $_REQUEST['um-addon-hook'];
49
+ do_action("um_admin_addon_hook", $hook);
50
+ }
51
+ }
52
+
53
+ function content() {
54
+
55
+ $this->process_link = add_query_arg('um-addon-hook','gravatar_transfer');
56
+
57
+ ?>
58
+
59
+ <div class="wrap">
60
+
61
+ <h2>Ultimate Member <sup style="font-size:15px"><?php echo ultimatemember_version; ?></sup></h2>
62
+
63
+ <h3><?php echo $this->addon[0]; ?></h3>
64
+
65
+ <?php if ( isset( $this->content ) ) {
66
+ echo $this->content;
67
+ } else { ?>
68
+
69
+ <p>This tool allows you to add gravatars to Ultimate Member users. This can help you to link gravatar photos to user accounts with their email address.</p>
70
+ <p>Depending on your users database, this could take a few moments. To start the process, click the following button.</p>
71
+
72
+ <p><a href="<?php echo $this->process_link; ?>" class="button button-primary">Start adding gravatars</a></p>
73
+
74
+ <?php } ?>
75
+
76
+ </div><div class="clear"></div>
77
+
78
+ <?php
79
+
80
+ }
81
+ }
82
+
83
+ $UM_ADDON_gravatar_transfer = new UM_ADDON_gravatar_transfer();
addons/install_info.php ADDED
@@ -0,0 +1,419 @@
1
+ <?php
2
+
3
+ class UM_ADDON_install_info {
4
+
5
+ function __construct() {
6
+
7
+ add_action('admin_menu', array(&$this, 'admin_menu'), 1001);
8
+
9
+ add_action('admin_init', array(&$this, 'admin_init'), 1);
10
+
11
+ add_action('um_admin_addon_hook', array(&$this, 'um_admin_addon_hook') );
12
+
13
+ }
14
+
15
+
16
+ function admin_menu() {
17
+
18
+ global $ultimatemember;
19
+ $this->addon = $ultimatemember->addons['install_info'];
20
+ add_submenu_page('ultimatemember', "System Info","System Info", 'manage_options', 'um_install_info', array(&$this, 'content') );
21
+
22
+ }
23
+
24
+ function um_admin_addon_hook( $hook ) {
25
+ global $ultimatemember;
26
+
27
+ switch ( $hook ) {
28
+
29
+ case 'download_install_info':
30
+
31
+ nocache_headers();
32
+
33
+ header( "Content-type: text/plain" );
34
+ header( 'Content-Disposition: attachment; filename="ultimatemember-install-info.txt"' );
35
+
36
+ echo wp_strip_all_tags( $_POST['um-install-info'] );
37
+ exit;
38
+
39
+ break;
40
+
41
+ default:
42
+
43
+ break;
44
+ }
45
+
46
+ }
47
+
48
+ function admin_init() {
49
+ if ( isset( $_REQUEST['um-addon-hook'] ) ) {
50
+ $hook = $_REQUEST['um-addon-hook'];
51
+ do_action("um_admin_addon_hook", $hook );
52
+ }
53
+ }
54
+
55
+ function content() {
56
+ global $wpdb, $ultimatemember;
57
+
58
+ if( !class_exists( 'Browser' ) )
59
+ require_once um_path . 'core/lib/browser.php';
60
+
61
+ // Detect browser
62
+ $browser = new Browser();
63
+
64
+ // Get theme info
65
+ $theme_data = wp_get_theme();
66
+ $theme = $theme_data->Name . ' ' . $theme_data->Version;
67
+
68
+ // Identify Hosting Provider
69
+ $host = um_get_host();
70
+
71
+ um_fetch_user( get_current_user_id() );
72
+ ?>
73
+
74
+ <div class="wrap">
75
+
76
+ <h2>Ultimate Member</h2>
77
+
78
+ <h3><?php echo $this->addon[0]; ?></h3>
79
+
80
+ <?php if ( isset( $this->content ) ) {
81
+ echo $this->content;
82
+ } else { ?>
83
+
84
+ <form action="<?php echo esc_url( admin_url( 'admin.php?page=um_install_info' ) ); ?>" method="post" dir="ltr">
85
+ <textarea style="width:100%; height:400px;" readonly="readonly" onclick="this.focus();this.select()" id="install-info-textarea" name="um-install-info" title="<?php _e( 'To copy the Install info, click below then press Ctrl + C (PC) or Cmd + C (Mac).', 'edd' ); ?>">
86
+ ### Begin Install Info ###
87
+
88
+ ## Please include this information when posting support requests ##
89
+
90
+ <?php do_action( 'um_install_info_before' ); ?>
91
+
92
+ --- Site Info ---
93
+
94
+ Site URL: <?php echo site_url() . "\n"; ?>
95
+ Home URL: <?php echo home_url() . "\n"; ?>
96
+ Multisite: <?php echo is_multisite() ? 'Yes' . "\n" : 'No' . "\n" ?>
97
+
98
+ --- Hosting Provider ---
99
+
100
+ <?php if( $host ) : ?>
101
+ Host: <?php echo $host . "\n"; ?>
102
+ <?php endif; ?>
103
+
104
+ --- User Browser ---
105
+
106
+ <?php echo $browser ; ?>
107
+
108
+ ---- Current User Details --
109
+
110
+ <?php $user = wp_get_current_user(); ?>
111
+ UM Role: <?php echo um_user('role'). "\n"; ?>
112
+ WP Role: <?php echo $user->roles ? $user->roles[0] : false; echo "\n"; ?>
113
+
114
+ --- WordPress Configurations ---
115
+
116
+ Version: <?php echo get_bloginfo( 'version' ) . "\n"; ?>
117
+ Language: <?php echo get_locale()."\n"; ?>
118
+ Permalink Structure: <?php echo get_option( 'permalink_structure' ) . "\n"; ?>
119
+ Active Theme: <?php echo $theme . "\n"; ?>
120
+ <?php $show_on_front = get_option( 'show_on_front' ); ?>
121
+ <?php if( $show_on_front == "posts" ): ?>
122
+ Show On Front: <?php echo get_option( 'show_on_front' ) . "/static\n" ?>
123
+ <?php elseif( $show_on_front == "page" ): ?>
124
+ Page On Front: <?php $id = get_option( 'page_on_front' ); echo get_the_title( $id ) . ' (#' . $id . ')' . "\n" ?>
125
+ Page For Posts: <?php $id = get_option( 'page_for_posts' ); echo get_the_title( $id ) . ' (#' . $id . ')' . "\n" ?>
126
+ <?php endif; ?>
127
+ ABSPATH: <?php echo ABSPATH."\n"; ?>
128
+ <?php $wp_count_posts = wp_count_posts(); ?>
129
+ All Posts/Pages: <?php echo array_sum((array)$wp_count_posts)."\n";?>
130
+ <?php
131
+ $request['cmd'] = '_notify-validate';
132
+
133
+ $params = array(
134
+ 'sslverify' => false,
135
+ 'timeout' => 60,
136
+ 'user-agent' => 'UltimateMember/' . ultimatemember_version,
137
+ 'body' => $request
138
+ );
139
+
140
+ $response = wp_remote_post( 'https://www.paypal.com/cgi-bin/webscr', $params );
141
+
142
+ if ( ! is_wp_error( $response ) && $response['response']['code'] >= 200 && $response['response']['code'] < 300 ) {
143
+ $WP_REMOTE_POST = 'wp_remote_post() works' . "\n";
144
+ } else {
145
+ $WP_REMOTE_POST = 'wp_remote_post() does not work' . "\n";
146
+ }
147
+ ?>
148
+ WP Remote Post: <?php echo $WP_REMOTE_POST; ?>
149
+ WP_DEBUG: <?php echo defined( 'WP_DEBUG' ) ? WP_DEBUG ? 'Enabled' . "\n" : 'Disabled' . "\n" : 'Not set' . "\n" ?>
150
+ WP Table Prefix: <?php echo "Length: ". strlen( $wpdb->prefix ); echo ", Status:"; if ( strlen( $wpdb->prefix )>16 ) {echo " ERROR: Too Long";} else {echo " Acceptable";} echo "\n"; ?>
151
+ Memory Limit: <?php echo ( um_let_to_num( WP_MEMORY_LIMIT )/( 1024 ) )."MB"; ?><?php echo "\n"; ?>
152
+
153
+ --- UM Configurations ---
154
+
155
+ Version: <?php echo ultimatemember_version . "\n"; ?>
156
+ Upgraded From: <?php echo get_option( 'um_version_upgraded_from', 'None' ) . "\n"; ?>
157
+ Current URL Method: <?php echo um_get_option( 'current_url_method' ). "\n"; ?>
158
+ Cache User Profile: <?php if( um_get_option( 'um_profile_object_cache_stop' ) == 1 ){ echo "No"; }else{ echo "Yes"; } echo "\n"; ?>
159
+ Generate Slugs on Directories: <?php if( um_get_option( 'um_generate_slug_in_directory' ) == 1 ){ echo "No"; }else{ echo "Yes"; } echo "\n"; ?>
160
+ Rewrite Rules: <?php if( um_get_option( 'um_flush_stop' ) == 1 ){ echo "No"; }else{ echo "Yes"; } echo "\n"; ?>
161
+ Force UTF-8 Encoding: <?php if( um_get_option( 'um_force_utf8_strings' ) == 1 ){ echo "Yes"; }else{ echo "No"; } echo "\n"; ?>
162
+ Time Check Security: <?php if( um_get_option( 'enable_timebot' ) == 1 ){ echo "Yes"; }else{ echo "No"; } echo "\n"; ?>
163
+ JS/CSS Compression: <?php if( um_get_option( 'disable_minify' ) == 0 ){ echo "Yes"; }else{ echo "No"; } echo "\n"; ?>
164
+ <?php if( is_multisite() ): ?>
165
+ Network Structure: <?php echo um_get_option( 'network_permalink_structure' ). "\n"; ?>
166
+ <?php endif; ?>
167
+ Nav Menu Settings: <?php if( um_get_option( 'disable_menu' ) == 0 ){ echo "Yes"; }else{ echo "No"; } echo "\n"; ?>
168
+ Port Forwarding in URL: <?php if( um_get_option( 'um_port_forwarding_url' ) == 1 ){ echo "Yes"; }else{ echo "No"; } echo "\n"; ?>
169
+ Exclude CSS/JS on Home: <?php if( um_get_option( 'js_css_exlcude_home' ) == 1 ){ echo "Yes"; }else{ echo "No"; } echo "\n"; ?>
170
+
171
+ --- UM Pages Configuration ---
172
+
173
+ <?php do_action("um_install_info_before_page_config") ?>
174
+ User: <?php echo get_permalink( um_get_option('core_user') ) . "\n"; ?>
175
+ Account: <?php echo get_permalink( um_get_option('core_account') ) . "\n"; ?>
176
+ Members: <?php echo get_permalink( um_get_option('core_members') ) . "\n"; ?>
177
+ Register: <?php echo get_permalink( um_get_option('core_register') ) . "\n"; ?>
178
+ Login: <?php echo get_permalink( um_get_option('core_login') ) . "\n"; ?>
179
+ Logout: <?php echo get_permalink( um_get_option('core_logout') ) . "\n"; ?>
180
+ Password Reset: <?php echo get_permalink( um_get_option('core_password-reset') ) . "\n"; ?>
181
+ <?php do_action("um_install_info_after_page_config") ?>
182
+
183
+ -- UM Users Configuration ---
184
+
185
+ Default New User Role: <?php echo um_get_option('default_role') . "\n"; ?>
186
+ Profile Permalink Base: <?php echo um_get_option('permalink_base') . "\n"; ?>
187
+ User Display Name: <?php echo um_get_option('display_name') . "\n"; ?>
188
+ Force Name to Uppercase: <?php echo $this->value( um_get_option('force_display_name_capitlized'), 'yesno', true ); ?>
189
+ Redirect author to profile: <?php echo $this->value( um_get_option('author_redirect'), 'yesno', true ); ?>
190
+ Enable Members Directory: <?php echo $this->value( um_get_option('members_page'), 'yesno', true ); ?>
191
+ Use Gravatars: <?php echo $this->value( um_get_option('use_gravatars'), 'yesno', true ); ?>
192
+ <?php if( um_get_option('use_gravatars') ): ?>Gravatar builtin image: <?php echo um_get_option('use_um_gravatar_default_builtin_image') . "\n"; ?>
193
+ UM Avatar as blank Gravatar: <?php echo $this->value( um_get_option('use_um_gravatar_default_image'), 'yesno', true ); ?><?php endif; ?>
194
+ Require a strong password: <?php echo $this->value( um_get_option('reset_require_strongpass'), 'onoff', true ); ?>
195
+ Editable primary email field in profile view: <?php echo $this->value( um_get_option('editable_primary_email_in_profile'), 'onoff', true ); ?>
196
+
197
+ -- UM Access Configuration ---
198
+
199
+ Panic Key: <?php echo um_get_option('panic_key') . "\n"; ?>
200
+ Global Site Access: <?php $arr = array('Site accessible to Everyone','','Site accessible to Logged In Users'); echo $arr[ intval( um_get_option('accessible') ) ] . "\n"; ?>
201
+ <?php if( um_get_option('accessible') == 2 ):?>
202
+ Custom Redirect URL: <?php echo um_get_option('access_redirect')."\n";?>
203
+ Exclude the following URLs:<?php echo "\t\t\t\t".implode("\t\n\t\t\t\t\t\t\t\t\t\t",um_get_option('access_exclude_uris') )."\n";?><?php endif;?>
204
+ Backend Login Screen for Guests: <?php echo $this->value( um_get_option('wpadmin_login'), 'yesno', true ); ?>
205
+ <?php if( ! um_get_option('wpadmin_login') ):?>Redirect to alternative login page: <?php if( um_get_option('wpadmin_login_redirect') == 'um_login_page' ){ echo um_get_core_page('login')."\n"; }else{ echo um_get_option('wpadmin_login_redirect_url')."\n"; }?><?php endif; ?>
206
+ Backend Register Screen for Guests: <?php echo $this->value( um_get_option('wpadmin_register'), 'yesno', true ); ?>
207
+ <?php if( ! um_get_option('wpadmin_register') ):?>Redirect to alternative register page: <?php if( um_get_option('wpadmin_register_redirect') == 'um_register_page' ){ echo um_get_core_page('register')."\n"; }else{ echo um_get_option('wpadmin_register_redirect_url')."\n"; }?><?php endif; ?>
208
+ Access Control widget for Admins only: <?php echo $this->value( um_get_option('access_widget_admin_only'), 'yesno', true ); ?>
209
+ Enable the Reset Password Limit: <?php echo $this->value( um_get_option('enable_reset_password_limit'), 'yesno', true ); ?>
210
+ <?php if( um_get_option('enable_reset_password_limit') ) {
211
+ echo "Reset Password Limit:\t\t\t\t\t\t".um_get_option('reset_password_limit_number')."\n";
212
+ echo "Disable Reset Password Limit for Admins:\t".$this->value( um_get_option('disable_admin_reset_password_limit'), 'yesno', true );
213
+ } ?>
214
+ <?php $wpadmin_allow_ips = um_get_option('wpadmin_allow_ips'); if( ! empty( $wpadmin_allow_ips ) ){ ?>
215
+ Whitelisted Backend IPs: <?php echo count( explode("\n",trim(um_get_option('wpadmin_allow_ips') ) ) )."\n"; ?>
216
+ <?php }?>
217
+ <?php $blocked_ips = um_get_option('blocked_ips'); if( ! empty( $blocked_ips ) ){ ?>
218
+ Blocked IP Addresses: <?php echo count( explode("\n",um_get_option('blocked_ips') ) )."\n"; ?>
219
+ <?php }?>
220
+ <?php $blocked_emails = um_get_option('blocked_emails'); if( ! empty( $blocked_emails ) ){ ?>
221
+ Blocked Email Addresses: <?php echo count( explode("\n",um_get_option('blocked_emails') ) )."\n"; ?>
222
+ <?php }?>
223
+ <?php $blocked_words = um_get_option('blocked_words'); if( ! empty( $blocked_words ) ){ ?>
224
+ Blacklist Words: <?php echo count( explode("\n",um_get_option('blocked_words') ) )."\n"; ?>
225
+ <?php }?>
226
+
227
+
228
+ --- UM Email Configurations --
229
+
230
+ Mail appears from: <?php $mail_from = um_get_option('mail_from'); if( ! empty( $mail_from ) ){echo um_get_option('mail_from');}else{echo "-";}; echo "\n";?>
231
+ Mail appears from address: <?php $mail_from_addr = um_get_option('mail_from_addr'); if( ! empty( $mail_from_addr ) ){echo um_get_option('mail_from_addr');}else{echo "-";}; echo "\n";?>
232
+ Use HTML for E-mails: <?php echo $this->value( um_get_option('email_html'), 'yesno', true ); ?>
233
+ Account Welcome Email: <?php echo $this->value( um_get_option('welcome_email_on'), 'yesno', true ); ?>
234
+ Account Activation Email: <?php echo $this->value( um_get_option('checkmail_email_on'), 'yesno', true ); ?>
235
+ Pending Review Email: <?php echo $this->value( um_get_option('pending_email_on'), 'yesno', true ); ?>
236
+ Account Approved Email: <?php echo $this->value( um_get_option('approved_email_on'), 'yesno', true ); ?>
237
+ Account Rejected Email: <?php echo $this->value( um_get_option('rejected_email_on'), 'yesno', true ); ?>
238
+ Account Deactivated Email: <?php echo $this->value( um_get_option('inactive_email_on'), 'yesno', true ); ?>
239
+ Account Deleted Email: <?php echo $this->value( um_get_option('deletion_email_on'), 'yesno', true ); ?>
240
+ Password Reset Email: <?php echo $this->value( um_get_option('resetpw_email_on'), 'yesno', true ); ?>
241
+ Password Changed Email: <?php echo $this->value( um_get_option('changedpw_email_on'), 'yesno', true ); ?>
242
+
243
+
244
+ --- UM Total Users ---
245
+
246
+ <?php
247
+
248
+ $result = count_users();
249
+ echo 'All Users('.$result['total_users'].")\n";
250
+ foreach($result['avail_roles'] as $role => $count){
251
+ echo $role."(".$count.")\n";
252
+ }
253
+ ?>
254
+
255
+
256
+ --- UM Roles ---
257
+
258
+ <?php
259
+
260
+ foreach( $ultimatemember->query->get_roles() as $role_id => $role ) {
261
+ echo $role." ({$role_id})\n";
262
+ }
263
+
264
+ ?>
265
+
266
+
267
+ --- UM Custom Templates ---
268
+
269
+ <?php
270
+ // Show templates that have been copied to the theme's edd_templates dir
271
+
272
+ $dir = get_stylesheet_directory() . '/ultimate-member/templates/*.php';
273
+ if ( ! empty( $dir ) ){
274
+ $found = glob( $dir );
275
+ if( ! empty( $found ) ){
276
+ foreach ( glob( $dir ) as $file ) {
277
+ echo "File: " . $file . "\n";
278
+ }
279
+ }else {
280
+ echo 'N/A'."\n";
281
+ }
282
+ }
283
+ echo "\n\n";
284
+
285
+ $dir = get_stylesheet_directory() . '/ultimate-member/templates/emails/*.html';
286
+ echo "-- UM Email HTML Templates -- \n\n";
287
+
288
+ if ( ! empty( $dir ) ){
289
+ $found = glob( $dir );
290
+ if( ! empty( $found ) ){
291
+ foreach ( glob( $dir ) as $file ) {
292
+ echo "File: ". $file . "\n";
293
+ }
294
+ }else {
295
+ echo 'N/A'."\n";
296
+ }
297
+ }
298
+
299
+ ?>
300
+
301
+ --- Web Server Configurations ---
302
+
303
+ PHP Version: <?php echo PHP_VERSION . "\n"; ?>
304
+ MySQL Version: <?php echo $wpdb->db_version() . "\n"; ?>
305
+ Web Server Info: <?php echo $_SERVER['SERVER_SOFTWARE'] . "\n"; ?>
306
+
307
+ --- PHP Configurations --
308
+
309
+ PHP Memory Limit: <?php echo ini_get( 'memory_limit' ) . "\n"; ?>
310
+ PHP Upload Max Size: <?php echo ini_get( 'upload_max_filesize' ) . "\n"; ?>
311
+ PHP Post Max Size: <?php echo ini_get( 'post_max_size' ) . "\n"; ?>
312
+ PHP Upload Max Filesize: <?php echo ini_get( 'upload_max_filesize' ) . "\n"; ?>
313
+ PHP Time Limit: <?php echo ini_get( 'max_execution_time' ) . "\n"; ?>
314
+ PHP Max Input Vars: <?php echo ini_get( 'max_input_vars' ) . "\n"; ?>
315
+ PHP Arg Separator: <?php echo ini_get( 'arg_separator.output' ) . "\n"; ?>
316
+ PHP Allow URL File Open: <?php echo ini_get( 'allow_url_fopen' ) ? "Yes\n" : "No\n"; ?>
317
+
318
+
319
+ --- Web Server Extensions/Modules ---
320
+
321
+ DISPLAY ERRORS: <?php echo ( ini_get( 'display_errors' ) ) ? 'On (' . ini_get( 'display_errors' ) . ')' : 'N/A'; ?><?php echo "\n"; ?>
322
+ FSOCKOPEN: <?php echo ( function_exists( 'fsockopen' ) ) ? 'Your server supports fsockopen.' : 'Your server does not support fsockopen.'; ?><?php echo "\n"; ?>
323
+ cURL: <?php echo ( function_exists( 'curl_init' ) ) ? 'Your server supports cURL.' : 'Your server does not support cURL.'; ?><?php echo "\n"; ?>
324
+ SOAP Client: <?php echo ( class_exists( 'SoapClient' ) ) ? 'Your server has the SOAP Client enabled.' : 'Your server does not have the SOAP Client enabled.'; ?><?php echo "\n"; ?>
325
+ SUHOSIN: <?php echo ( extension_loaded( 'suhosin' ) ) ? 'Your server has SUHOSIN installed.' : 'Your server does not have SUHOSIN installed.'; ?><?php echo "\n"; ?>
326
+ GD Library: <?php echo ( extension_loaded( 'gd' ) && function_exists('gd_info') ) ? 'PHP GD library is installed on your web server.' : 'PHP GD library is NOT installed on your web server.'; ?><?php echo "\n"; ?>
327
+ Mail: <?php echo ( function_exists('mail') ) ? 'PHP mail function exist on your web server.' : 'PHP mail function doesn\'t exist on your web server.'; ?><?php echo "\n"; ?>
328
+
329
+
330
+ --- Session Configurations ---
331
+
332
+ Session: <?php echo isset( $_SESSION ) ? 'Enabled' : 'Disabled'; ?><?php echo "\n"; ?>
333
+ Session Name: <?php echo esc_html( ini_get( 'session.name' ) ); ?><?php echo "\n"; ?>
334
+ Cookie Path: <?php echo esc_html( ini_get( 'session.cookie_path' ) ); ?><?php echo "\n"; ?>
335
+ Save Path: <?php echo esc_html( ini_get( 'session.save_path' ) ); ?><?php echo "\n"; ?>
336
+ Use Cookies: <?php echo ini_get( 'session.use_cookies' ) ? 'On' : 'Off'; ?><?php echo "\n"; ?>
337
+ Use Only Cookies: <?php echo ini_get( 'session.use_only_cookies' ) ? 'On' : 'Off'; ?><?php echo "\n"; ?>
338
+
339
+
340
+
341
+ --- WordPress Active Plugins ---
342
+
343
+ <?php
344
+ $plugins = get_plugins();
345
+ $active_plugins = get_option( 'active_plugins', array() );
346
+
347
+ foreach ( $plugins as $plugin_path => $plugin ) {
348
+ // If the plugin isn't active, don't show it.
349
+ if ( ! in_array( $plugin_path, $active_plugins ) )
350
+ continue;
351
+
352
+ echo $plugin['Name'] . ': ' . $plugin['Version'] ."\n";
353
+ }
354
+
355
+ if ( is_multisite() ) :
356
+ ?>
357
+
358
+ --- WordPress Network Active Plugins ---
359
+
360
+ <?php
361
+ $plugins = wp_get_active_network_plugins();
362
+ $active_plugins = get_site_option( 'active_sitewide_plugins', array() );
363
+
364
+ foreach ( $plugins as $plugin_path ) {
365
+ $plugin_base = plugin_basename( $plugin_path );
366
+
367
+ // If the plugin isn't active, don't show it.
368
+ if ( ! array_key_exists( $plugin_base, $active_plugins ) )
369
+ continue;
370
+
371
+ $plugin = get_plugin_data( $plugin_path );
372
+
373
+ echo $plugin['Name'] . ' :' . $plugin['Version'] ."\n";
374
+ }
375
+
376
+ endif;
377
+ ?>
378
+ <?php
379
+ do_action( 'um_install_info_after' );
380
+ ?>
381
+
382
+
383
+
384
+
385
+ ### End Install Info ###</textarea>
386
+ <p class="submit">
387
+ <input type="hidden" name="um-addon-hook" value="download_install_info" />
388
+ <?php submit_button( 'Download Install Info File', 'primary', 'download_install_info', false ); ?>
389
+ </p>
390
+ </form>
391
+
392
+ <?php } ?>
393
+
394
+ <?php
395
+
396
+ }
397
+
398
+ function value( $raw_value = '', $type = 'yesno', $default = '', $default_negate = '' ){
399
+
400
+ if( $type == 'yesno' ){
401
+ if( $default == $raw_value ){
402
+ $raw_value = "Yes";
403
+ }else{
404
+ $raw_value = "No";
405
+ }
406
+ }else if( $type == 'onoff' ){
407
+ if( $default == $raw_value ){
408
+ $raw_value = "On";
409
+ }else{
410
+ $raw_value = "Off";
411
+ }
412
+ }
413
+
414
+ return $raw_value."\n";
415
+ }
416
+
417
+ }
418
+
419
+ $UM_ADDON_install_info = new UM_ADDON_install_info();
{includes/admin → admin}/assets/css/um-admin-builder.css RENAMED
@@ -29,7 +29,7 @@
29
text-decoration: none;
30
}
31
32
- .um-admin-drag-add-field:hover {color: #0085ba}
33
34
.um-admin-drag-add-field i {
35
font-size: 23px !important;
@@ -69,8 +69,7 @@
69
70
.um-admin-drag-ctrls a.active,
71
.um-admin-drag-ctrls a.active:hover {
72
- /*background-color: #3ba1da;*/
73
- background-color: #0085ba;
74
color: #fff;
75
}
76
@@ -161,7 +160,7 @@
161
font-size: 23px !important;
162
margin: 0 !important;
163
}
164
- .um-admin-drag-addrow:hover {color: #0085ba}
165
166
/*
167
- Fields
@@ -252,8 +251,7 @@
252
text-align: center;
253
display: block !important;
254
float: left;
255
- /*background: #44b0ec;*/
256
- background: #0085ba;
257
padding: 0 4px;
258
transition: all .2s linear;
259
border-left: 1px solid #379dd5;
@@ -267,7 +265,7 @@
267
.um-admin-drag-row-icons span:hover,
268
.um-admin-drag-rowsub-icons a:hover,
269
.um-admin-drag-rowsub-icons span:hover,
270
- .um-admin-drag-fld-icons a:hover {background: #008ec2;/*background: #3396cd;*/}
271
272
.um-admin-drag-row-icons i,
273
.um-admin-drag-rowsub-icons i,
29
text-decoration: none;
30
}
31
32
+ .um-admin-drag-add-field:hover {color: #3ba1da}
33
34
.um-admin-drag-add-field i {
35
font-size: 23px !important;
69
70
.um-admin-drag-ctrls a.active,
71
.um-admin-drag-ctrls a.active:hover {
72
+ background-color: #3ba1da;
73
color: #fff;
74
}
75
160
font-size: 23px !important;
161
margin: 0 !important;
162
}
163
+ .um-admin-drag-addrow:hover {color: #3ba1da}
164
165
/*
166
- Fields
251
text-align: center;
252
display: block !important;
253
float: left;
254
+ background: #44b0ec;
255
padding: 0 4px;
256
transition: all .2s linear;
257
border-left: 1px solid #379dd5;
265
.um-admin-drag-row-icons span:hover,
266
.um-admin-drag-rowsub-icons a:hover,
267
.um-admin-drag-rowsub-icons span:hover,
268
+ .um-admin-drag-fld-icons a:hover {background: #3396cd;}
269
270
.um-admin-drag-row-icons i,
271
.um-admin-drag-rowsub-icons i,
{includes/admin → admin}/assets/css/um-admin-columns.css RENAMED
@@ -38,7 +38,7 @@
38
width: 100%;
39
box-sizing: border-box;
40
text-align: center;
41
- background: #0085ba;
42
color: #fff;
43
font-size: 14px;
44
height: 34px;
38
width: 100%;
39
box-sizing: border-box;
40
text-align: center;
41
+ background: #3ba1da;
42
color: #fff;
43
font-size: 14px;
44
height: 34px;
{includes/admin → admin}/assets/css/um-admin-dashboard.css RENAMED
@@ -1,11 +1,11 @@
1
- #um-extensions-wrap a.plugin-image,
2
#um-extensions-wrap a.plugin-image img {
3
max-width: 100%;
4
display: block;
5
}
6
7
#um-extensions-wrap .plugin-card {
8
- width: calc( 33% - 8px );
9
clear: none !important;
10
margin-right: 8px !important;
11
margin-left: 0 !important;
@@ -76,7 +76,7 @@
76
77
78
#um-extensions-wrap .plugin-card-top {
79
- min-height: 140px;
80
}
81
82
@media screen and (max-width: 782px) {
@@ -94,14 +94,15 @@
94
margin-left: 0;
95
}
96
97
- #um-metaboxes-general h1 sup {
98
font-size: 14px;
99
position: relative;
100
font-weight: 400;
101
- background: #0085ba;
102
color: #fff !important;
103
padding: 2px 4px !important;
104
border-radius: 3px;
105
top: 5px;
106
left: 3px;
107
border: none !important;
@@ -209,4 +210,4 @@
209
color: #777 !important;
210
font-size: 22px !important;
211
}
212
- .um-admin-dash-share a:hover {color: #0085ba !important}
1
+ #um-extensions-wrap a.plugin-image,
2
#um-extensions-wrap a.plugin-image img {
3
max-width: 100%;
4
display: block;
5
}
6
7
#um-extensions-wrap .plugin-card {
8
+ width: calc( 33% - 8px );
9
clear: none !important;
10
margin-right: 8px !important;
11
margin-left: 0 !important;
76
77
78
#um-extensions-wrap .plugin-card-top {
79
+ min-height: 140px;
80
}
81
82
@media screen and (max-width: 782px) {
94
margin-left: 0;
95
}
96
97
+ #um-metaboxes-general h2 sup {
98
font-size: 14px;
99
position: relative;
100
font-weight: 400;
101
+ background: #3ba1da;
102
color: #fff !important;
103
padding: 2px 4px !important;
104
border-radius: 3px;
105
+ position: relative