Changeset 1185633
- Timestamp:
- 06/22/2015 03:55:07 PM (11 years ago)
- Location:
- fb-comments-importer/trunk
- Files:
-
- 4 edited
-
index.php (modified) (1 diff)
-
js/script.js (modified) (1 diff)
-
readme.txt (modified) (2 diffs)
-
templates/home.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
fb-comments-importer/trunk/index.php
r1180153 r1185633 4 4 Plugin URI: http://wp-resources.com/ 5 5 Description: Imports Facebook comments to your Wordpress site and gives it a SEO boost. 6 Version: 1.8. 06 Version: 1.8.1 7 7 Author: Ivan M 8 8 */ -
fb-comments-importer/trunk/js/script.js
r981902 r1185633 1 function CheckComNumFree(id ){1 function CheckComNumFree(id,token){ 2 2 jQuery.ajax({ 3 3 type: "GET", 4 url: "https://graph.facebook.com/"+id+"/comments?limit=5000&fields=id ",4 url: "https://graph.facebook.com/"+id+"/comments?limit=5000&fields=id&"+token, 5 5 async: true, 6 6 success: function(resp) { -
fb-comments-importer/trunk/readme.txt
r1180153 r1185633 5 5 Requires at least: 3.0 6 6 Tested up to: 4.2 7 Stable tag: 1.8. 07 Stable tag: 1.8.1 8 8 License: GPLv2 or later 9 9 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 58 58 59 59 == Changelog == 60 61 = 1.8.1 2015-06-22 = 62 * Fixed bug related with checking number of comments on button click. 60 63 61 64 = 1.8.0 2015-06-13 = -
fb-comments-importer/trunk/templates/home.php
r1166899 r1185633 49 49 if($element['wp_post_id'] !="-"){ 50 50 ?> 51 <a href="javascript:void(0);" onclick="CheckComNumFree('<?php echo $element['id'];?>' );">Check</a> <span id="countcomm_<?php echo $element['id'];?>"> </span>51 <a href="javascript:void(0);" onclick="CheckComNumFree('<?php echo $element['id'];?>','<?php echo $token;?>');">Check</a> <span id="countcomm_<?php echo $element['id'];?>"> </span> 52 52 <?php 53 53 } 54 54 else{ 55 55 ?> 56 <a href="javascript:void(0);" onclick="CheckComNumFree('<?php echo $element['id'];?>' );">Check</a> <span id="countcomm_<?php echo $element['id'];?>"> </span>56 <a href="javascript:void(0);" onclick="CheckComNumFree('<?php echo $element['id'];?>','<?php echo $token;?>'');">Check</a> <span id="countcomm_<?php echo $element['id'];?>"> </span> 57 57 <?php 58 58 }
Note: See TracChangeset
for help on using the changeset viewer.