WpDevArt Facebook comments - Version 1.7.4

Version Description

Download this release

Release Info

Developer wpdevart
Plugin Icon 128x128 WpDevArt Facebook comments
Version 1.7.4
Comparing to
See all releases

Code changes from version 1.7.3 to 1.7.4

facebook-comment.php CHANGED
@@ -4,7 +4,7 @@
4
  * Plugin URI: http://wpdevart.com/wordpress-facebook-comments-plugin/
5
  * Author URI: http://wpdevart.com
6
  * Description: Facebook comments plugin will help you to display Facebook Comments box on your website. You can use Facebook Comments on your pages/posts.
7
- * Version: 1.7.3
8
  * Author: wpdevart
9
  * License: GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html
10
  */
@@ -69,6 +69,8 @@ class wpdevart_comment_main{
69
  $wpdevart_comment_front_end = new wpdevart_comment_front_end(array('menu_name' => 'Wpdevart Comment','databese_parametrs'=>$this->wpdevart_comment_options));
70
 
71
  }
 
 
72
 
73
  public function registr_requeried_scripts(){
74
  wp_register_script('comment-box-admin-script',$this->wpdevart_comment_plugin_url.'includes/javascript/admin-wpdevart-comment.js');
4
  * Plugin URI: http://wpdevart.com/wordpress-facebook-comments-plugin/
5
  * Author URI: http://wpdevart.com
6
  * Description: Facebook comments plugin will help you to display Facebook Comments box on your website. You can use Facebook Comments on your pages/posts.
7
+ * Version: 1.7.4
8
  * Author: wpdevart
9
  * License: GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html
10
  */
69
  $wpdevart_comment_front_end = new wpdevart_comment_front_end(array('menu_name' => 'Wpdevart Comment','databese_parametrs'=>$this->wpdevart_comment_options));
70
 
71
  }
72
+
73
+ /*############ Register Requeried Scripts function ################*/
74
 
75
  public function registr_requeried_scripts(){
76
  wp_register_script('comment-box-admin-script',$this->wpdevart_comment_plugin_url.'includes/javascript/admin-wpdevart-comment.js');
includes/admin_menu.php CHANGED
@@ -117,7 +117,9 @@ class wpdevart_comment_admin_menu{
117
  return NULL;
118
 
119
  }
 
120
  /*###################### Database function ##################*/
 
121
  public function save_in_databese(){
122
  $kk=1;
123
  if(isset($_POST['wpdevart_comment_options_nonce']) && wp_verify_nonce( $_POST['wpdevart_comment_options_nonce'],'wpdevart_comment_options_nonce')){
@@ -218,6 +220,7 @@ Also, here is another tutorial(from other source) of creating App Id, you can ch
218
 
219
 
220
  /*######################### Facebook Comments Box main settings #################################*/
 
221
  public function generete_wpdevart_main_section($page_parametrs){
222
 
223
  ?>
@@ -528,6 +531,7 @@ Also, here is another tutorial(from other source) of creating App Id, you can ch
528
  </div>
529
  <?php }
530
  }
 
531
  /*######################################### Fonts Function #######################################*/
532
 
533
  private function create_select_element_for_font($select_id='',$curent_font='none'){
117
  return NULL;
118
 
119
  }
120
+
121
  /*###################### Database function ##################*/
122
+
123
  public function save_in_databese(){
124
  $kk=1;
125
  if(isset($_POST['wpdevart_comment_options_nonce']) && wp_verify_nonce( $_POST['wpdevart_comment_options_nonce'],'wpdevart_comment_options_nonce')){
220
 
221
 
222
  /*######################### Facebook Comments Box main settings #################################*/
223
+
224
  public function generete_wpdevart_main_section($page_parametrs){
225
 
226
  ?>
531
  </div>
532
  <?php }
533
  }
534
+
535
  /*######################################### Fonts Function #######################################*/
536
 
537
  private function create_select_element_for_font($select_id='',$curent_font='none'){
includes/front_end.php CHANGED
@@ -34,6 +34,7 @@ class wpdevart_comment_front_end{
34
 
35
  }
36
  /*###################### FUNCTION FOR CONNECTING TO THE DATABASE ##################*/
 
37
  private function generete_params(){
38
 
39
  foreach($this->databese_parametrs as $param_array_key => $param_value){
@@ -73,14 +74,18 @@ class wpdevart_comment_front_end{
73
 
74
 
75
  }
 
76
  /*###################### Scripts and Styles function ##################*/
 
77
  public function generete_front_javascript(){
78
  wp_enqueue_script('thickbox');
79
  wp_enqueue_style('thickbox');
80
  echo '<meta property="fb:app_id" content="'.$this->params['wpdevart_comment_facebook_app_id'].'"/>';
81
 
82
  }
 
83
  /*###################### Shortcode function ##################*/
 
84
  public function wpdevart_comment_shortcode($atts){
85
  $atts = shortcode_atts( array(
86
  "facebook_app_id" => $this->params['wpdevart_comment_facebook_app_id'],
34
 
35
  }
36
  /*###################### FUNCTION FOR CONNECTING TO THE DATABASE ##################*/
37
+
38
  private function generete_params(){
39
 
40
  foreach($this->databese_parametrs as $param_array_key => $param_value){
74
 
75
 
76
  }
77
+
78
  /*###################### Scripts and Styles function ##################*/
79
+
80
  public function generete_front_javascript(){
81
  wp_enqueue_script('thickbox');
82
  wp_enqueue_style('thickbox');
83
  echo '<meta property="fb:app_id" content="'.$this->params['wpdevart_comment_facebook_app_id'].'"/>';
84
 
85
  }
86
+
87
  /*###################### Shortcode function ##################*/
88
+
89
  public function wpdevart_comment_shortcode($atts){
90
  $atts = shortcode_atts( array(
91
  "facebook_app_id" => $this->params['wpdevart_comment_facebook_app_id'],
includes/install_database.php CHANGED
@@ -22,12 +22,12 @@ class wpdevart_comment_install_database{
22
  "wpdevart_comments_box_order_type" => 'social',
23
  "wpdevart_comment_title_text" => 'Facebook Comments',
24
  "wpdevart_comment_title_text_color" => '#000000',
25
- "wpdevart_comment_title_text_font_size" => '16',
26
  "wpdevart_comment_title_text_font_famely" => 'Times New Roman,Times,Serif,Georgia',
27
  "wpdevart_comment_title_text_position" => 'left',
28
  "wpdevart_comments_box_show_in" => '{"home":true,"post":true,"page":true}',
29
  "wpdevart_comments_box_width" => '100%',
30
- "wpdevart_comments_box_count_of_comments" => '7',
31
  "wpdevart_comments_box_locale" => 'en_US',
32
  )
33
  );
22
  "wpdevart_comments_box_order_type" => 'social',
23
  "wpdevart_comment_title_text" => 'Facebook Comments',
24
  "wpdevart_comment_title_text_color" => '#000000',
25
+ "wpdevart_comment_title_text_font_size" => '15',
26
  "wpdevart_comment_title_text_font_famely" => 'Times New Roman,Times,Serif,Georgia',
27
  "wpdevart_comment_title_text_position" => 'left',
28
  "wpdevart_comments_box_show_in" => '{"home":true,"post":true,"page":true}',
29
  "wpdevart_comments_box_width" => '100%',
30
+ "wpdevart_comments_box_count_of_comments" => '10',
31
  "wpdevart_comments_box_locale" => 'en_US',
32
  )
33
  );
includes/library.php CHANGED
@@ -26,11 +26,11 @@ class wpdevart_comment_setting{
26
  "curent_url" => get_permalink(),
27
  "title_text" => 'Comments',
28
  "title_text_color" => '#000000',
29
- "title_text_font_size" => '16',
30
  "title_text_font_famely" => 'Times New Roman,Times,Serif,Georgia',
31
  "title_text_position" => 'left',
32
  "width" => '100%',
33
- "count_of_comments" => '7',
34
  "locale" => 'en_US',
35
 
36
  );
26
  "curent_url" => get_permalink(),
27
  "title_text" => 'Comments',
28
  "title_text_color" => '#000000',
29
+ "title_text_font_size" => '15',
30
  "title_text_font_famely" => 'Times New Roman,Times,Serif,Georgia',
31
  "title_text_position" => 'left',
32
  "width" => '100%',
33
+ "count_of_comments" => '10',
34
  "locale" => 'en_US',
35
 
36
  );
includes/style/admin-style.css CHANGED
@@ -25,6 +25,7 @@
25
  font-family: serif;
26
  /*color: #3AA3D4;*/
27
  }
 
28
  .title_parametrs_image{
29
  height: 37px;
30
  float: left;
@@ -203,6 +204,7 @@ button{
203
  .save_section_parametrs.padding_loading{
204
  width: 130px !important;
205
  }
 
206
  .saving_in_progress{
207
  position: relative;
208
  display:none;
25
  font-family: serif;
26
  /*color: #3AA3D4;*/
27
  }
28
+
29
  .title_parametrs_image{
30
  height: 37px;
31
  float: left;
204
  .save_section_parametrs.padding_loading{
205
  width: 130px !important;
206
  }
207
+ /*Saving in progress style*/
208
  .saving_in_progress{
209
  position: relative;
210
  display:none;
readme.txt CHANGED
@@ -3,7 +3,7 @@ Contributors: wpdevart
3
  Tags: facebook comments, facebook comment, facebook comment notification, facebook comments import, facebook comment system, comments, comment, wordpress comment, wordpress comments, Facebook, facebook badge, facebook connect, facebook group, facebook integration, Facebook like widget, facebook meta, facebook meta tag, Facebook Open Graph, Facebook Page, facebook platform, facebook plugin, post to facebook, Facebook feed, Facebook Stream, social, responsive comments, social comments, comments plugin, facebook comment plugin
4
  Requires at least: 2.9
5
  Tested up to: 4.7.3
6
- Stable tag: 1.7.3
7
  License: GPLv3
8
  License URI: http://www.gnu.org/licenses/gpl-3.0.html
9
 
3
  Tags: facebook comments, facebook comment, facebook comment notification, facebook comments import, facebook comment system, comments, comment, wordpress comment, wordpress comments, Facebook, facebook badge, facebook connect, facebook group, facebook integration, Facebook like widget, facebook meta, facebook meta tag, Facebook Open Graph, Facebook Page, facebook platform, facebook plugin, post to facebook, Facebook feed, Facebook Stream, social, responsive comments, social comments, comments plugin, facebook comment plugin
4
  Requires at least: 2.9
5
  Tested up to: 4.7.3
6
+ Stable tag: 1.7.4
7
  License: GPLv3
8
  License URI: http://www.gnu.org/licenses/gpl-3.0.html
9