Changeset 198274
- Timestamp:
- 01/26/2010 11:20:51 AM (16 years ago)
- Location:
- meneame-comments-to-wp/trunk
- Files:
-
- 6 edited
-
meneame-comments-ajax.php (modified) (1 diff)
-
meneame-comments-cronfooter.php (modified) (2 diffs)
-
meneame-comments-options.php (modified) (1 diff)
-
meneame-comments-upload-js.php (modified) (1 diff)
-
meneame-comments.php (modified) (4 diffs)
-
readme.txt (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
meneame-comments-to-wp/trunk/meneame-comments-ajax.php
r70464 r198274 264 264 } 265 265 add_action('wp_ajax_meneame_comments__ajax__updatecomments', 'meneame_comments__ajax__updatecomments' ); 266 ?> 266 -
meneame-comments-to-wp/trunk/meneame-comments-cronfooter.php
r70464 r198274 1 1 <?php 2 3 4 2 function meneame_comments__wp_footer() { 5 3 global $posts, $meneamec_url; … … 17 15 add_action('wp_footer', 'meneame_comments__wp_footer'); 18 16 19 ?> -
meneame-comments-to-wp/trunk/meneame-comments-options.php
r169949 r198274 1 1 <?php 2 3 4 2 ### Variables Variables Variables 5 3 $pluginPageOptions = 'admin.php?page='.$pluginPath; -
meneame-comments-to-wp/trunk/meneame-comments-upload-js.php
r169949 r198274 90 90 } 91 91 92 ?> 92 -
meneame-comments-to-wp/trunk/meneame-comments.php
r171735 r198274 6 6 Author: Alejandro Carravedo (Blogestudio) 7 7 Author URI: http://blogestudio.com/ 8 Version: 0.0.1 78 Version: 0.0.18 9 9 Date: 2008-10-25 19:00:00 10 10 */ … … 142 142 SELECT * 143 143 FROM $wpdb->comments 144 WHERE comment_author_url LIKE 'http://meneame.net/story/%' 144 WHERE 1 = 1 145 AND ( comment_author_url LIKE 'http://meneame.net/story/%' OR comment_author_url LIKE 'http://www.meneame.net/story/%' ) 145 146 ". ( ( $post_id != '' ) ? ' AND comment_post_ID = '.$post_id.' ' : '' ) ." 146 147 ". ( ( $lastupdate > 0 ) ? " AND comment_date >= '". date('Y-m-d H:i:s', ($lastupdate - meneame_comments__refresh_seconds()) )."'" : "" ) ." … … 166 167 $parsedCommentAuthorURL = parse_url($commentdata['comment_author_url']); 167 168 168 if ( $parsedCommentAuthorURL['host'] == 'meneame.net') {169 if ( in_array($parsedCommentAuthorURL['host'], array('meneame.net', 'www.meneame.net')) ) { 169 170 return meneame_comments__parseNEWS( $commentdata['comment_author_url'], $commentdata['comment_post_ID'], $commentdata['comment_approved'] ); //$commentdata['comment_author_url']); 170 171 } … … 444 445 445 446 $parsedCommentAuthorURL = parse_url($commentdata['comment_author_url']); 446 if ( $parsedCommentAuthorURL['host'] == 'meneame.net') {447 if ( in_array($parsedCommentAuthorURL['host'], array('meneame.net', 'www.meneame.net')) ) { 447 448 448 449 // Cogemos los tiempos de actualizacion de cada POST -
meneame-comments-to-wp/trunk/readme.txt
r171735 r198274 2 2 Contributors: blogestudio 3 3 Tags: comments, meneame, rss 4 Tested up to: 2. 8.55 Stable tag: 0.0.1 74 Tested up to: 2.9.1 5 Stable tag: 0.0.18 6 6 Requires at least: 2.5.1 7 7 8 You can now import meneame user comments from your blog's posts that have been sent 9 to meneame. 8 You can now import meneame user comments from your blog's posts that have been sent to meneame. 10 9 11 10 == Description == 12 11 13 This plugin adds comments from your posts sent to "[Menéame](http://meneame.net/)" to 14 your blog's comments list automatically. 12 This plugin adds comments from your posts sent to "[Menéame](http://meneame.net/)" to your blog's comments list automatically. 15 13 16 The system detects trackbacks from "Menéame" and starts a 7-day task that downloads 17 the new comments, every 30 minutes, adding them to your blog. 14 The system detects trackbacks from "Menéame" and starts a 7-day task that downloads the new comments, every 30 minutes, adding them to your blog. 18 15 19 16 See the [Meneame Comments to WP page](http://blogestudio.com/plugins/meneame-comments/) for further information. … … 25 22 2. Activate the plugin, if you've installed it in the "mu-plugins" it's not necessary. 26 23 27 3. Now go to Settings->Menéame Comments to WP and click "Menéame Comments First Load". 28 This will download all the comments of every post sent to meneame and it will activate 29 a system to check for new comments in meneame for posts sent less than 7 days ago. 24 3. Now go to Settings->Menéame Comments to WP and click "Menéame Comments First Load". This will download all the comments of every post sent to meneame and it will activate a system to check for new comments in meneame for posts sent less than 7 days ago. 30 25 31 26 4. This system works automatically, so there is no need to intervene. … … 33 28 == Frequently Asked Questions == 34 29 35 By default your posts comments and meneame comments will be mixed in your comments template. 36 If you want to have them seperately follow these instructions: 30 By default your posts comments and meneame comments will be mixed in your comments template. If you want to have them seperately follow these instructions: 37 31 38 32 = How can I list only comments of "Menéame"? = … … 54 48 == Thanks == 55 49 56 We would sincerely like to thank [Enrique Dans](http://www.enriquedans.com/) for giving us the idea, 57 [Ricardo Galli](http://ricardogalli.com/) for helping us with Menéame, and last but not least ;-) 58 all the betatesters who helped us http://blogestudio.com/2008/09/22/plugin-wordpress-comentarios-de-meneame-en-wordpress/ 50 We would sincerely like to thank [Enrique Dans](http://www.enriquedans.com/) for giving us the idea, [Ricardo Galli](http://ricardogalli.com/) for helping us with Menéame, and last but not least ;-) all the betatesters who helped us http://blogestudio.com/2008/09/22/plugin-wordpress-comentarios-de-meneame-en-wordpress/ 51 52 == Changelog == 53 54 = 0.0.18 = 55 * Added "www.meneame.net" as valid host. (Now check "meneame.net" and "www.meneame.net") 56 57 == Upgrade Notice == 58 59 = 0.0.18 = 60 All users need update.
Note: See TracChangeset
for help on using the changeset viewer.