Changeset 741270
- Timestamp:
- 07/15/2013 07:47:01 PM (13 years ago)
- Location:
- realtidbits-comments/trunk
- Files:
-
- 2 edited
-
readme.txt (modified) (2 diffs)
-
realtidbits-comments.php (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
realtidbits-comments/trunk/readme.txt
r740006 r741270 4 4 Requires at least: 2.5 5 5 Tested up to: 3.5 6 Stable tag: 1.1. 26 Stable tag: 1.1.3 7 7 8 8 The RealTidbits comment system replaces your WordPress comment system with comments powered by RealTidbits. … … 19 19 20 20 == Changelog == 21 22 = 1.1.3 = 23 * Updated Recent Comments widget to V3 21 24 22 25 = 1.1.2 = -
realtidbits-comments/trunk/realtidbits-comments.php
r740027 r741270 5 5 Description: The RealTidbits comment system replaces your WordPress comment system with comments powered by RealTidbits. 6 6 Author: RealTidbits <[email protected]> 7 Version: 1.1. 27 Version: 1.1.3 8 8 Author URI: http://realtidbits.com/ 9 9 */ 10 10 11 define('RTB_COMMENTS_VERSION', '1.1. 2');11 define('RTB_COMMENTS_VERSION', '1.1.3'); 12 12 13 13 define('RTB_BACKPLANE_KEY', 'a80a2e1dcb316164b32acd23c9ae2481'); … … 478 478 }); 479 479 </script> 480 <style type="text/css"> 481 #rtb-latest-comments .echo-streamserver-controls-stream-item-markers, 482 #rtb-latest-comments .echo-streamserver-controls-stream-item-tags, 483 #rtb-latest-comments .echo-streamserver-controls-stream-item-buttons, 484 #rtb-latest-comments .echo-streamserver-controls-stream-item-modeSwitch { 485 display:none !important; 486 } 487 </style> 480 488 <script type="text/javascript"> 481 489 jQuery(document).ready(function() { 482 new Echo.StreamServer.Controls.Stream({ 483 "target": document.getElementById('rtb-latest-comments'), 484 "appkey": "<?php echo get_option('rtb_comments_appkey'); ?>", 485 "query": "childrenof:" + document.location.protocol + "//" + document.location.hostname + "/* sortOrder:reverseChronological children state:Untouched,ModeratorApproved user.state:Untouched,ModeratorApproved itemsPerPage:<?php echo $itemsPerPage?> -source:Twitter,Facebook", 486 "reTag": true, 487 "itemsPerPage": <?php echo $itemsPerPage?>, 488 "maxBodyCharacters": 300, 489 "viaLabel": { 490 "icon": true, 491 "text": true 490 Echo.Loader.initApplication({ 491 "script": "http://cdn.echoenabled.com/sdk/v3/streamserver.pack.js", 492 "component": "Echo.StreamServer.Controls.Stream", 493 "backplane": { 494 "busName": "<?php echo get_option('rtb_comments_backplane_busname'); ?>", 495 "serverBaseURL": "https://api.echoenabled.com/v1" 492 496 }, 493 "streamStateLabel": { 494 "icon": false, 495 "text": false 496 }, 497 "state": {"label": {"icon": false, "text": false}, "toggleBy": "mouseover", "layout": "compact"}, 498 "contentTransformations": { 499 "text": ["smileys", "hashtags", "urls", "newlines"], 500 "html": ["smileys", "hashtags", "urls", "newlines"], 501 "xhtml": ["smileys", "hashtags", "urls"] 502 }, 503 "children": { 504 "sortOrder": "chronological" 505 }, 506 "plugins": [ 507 { 508 "name": "Whirlpools", 509 "after" : 2, 510 "clickable": true 497 "config": { 498 "target": document.getElementById('rtb-latest-comments'), 499 "appkey": "<?php echo get_option('rtb_comments_appkey'); ?>", 500 "query": "childrenof:" + document.location.protocol + "//" + document.location.hostname + "/* sortOrder:reverseChronological children state:Untouched,ModeratorApproved user.state:Untouched,ModeratorApproved itemsPerPage:<?php echo $itemsPerPage?> -source:Twitter,Facebook", 501 "stream": { 502 "queryParams": { 503 "main": {"source": "-source:Twitter,Facebook -provider:'Idea Melt'", "bozo": true, "premod": true, "type": "type:'http://activitystrea.ms/schema/1.0/comment'"} 504 } 511 505 }, 512 {"name": "CommunityFlag"}, 513 {"name": "Curation"}, 514 {"name": "UserBan"}, 515 {"name": "UserPrivileges"}, 516 { 517 "name": "Reply", 518 "actionString": "Write reply here...", 519 "nestedPlugins": [{ 520 "name": "FormAuth", 521 "submitPermissions": "forceLogin" 522 }] 523 } 524 ] 525 }); 506 "item": { 507 "reTag": false, 508 "limits": { 509 "maxBodyCharacters": 300 510 } 511 }, 512 "liveUpdates": { 513 "enabled" : false 514 }, 515 "itemsPerPage": <?php echo $itemsPerPage?>, 516 "children": { 517 "sortOrder": "chronological" 518 }, 519 "plugins": [ 520 { 521 "name": "Whirlpools", 522 "after" : 2, 523 "clickable": true 524 }, 525 {"name": "CommunityFlag"}, 526 {"name": "Curation"}, 527 {"name": "UserBan"}, 528 {"name": "UserPrivileges"}, 529 { 530 "name": "Reply", 531 "actionString": "Write reply here...", 532 "nestedPlugins": [{ 533 "name": "FormAuth", 534 "submitPermissions": "forceLogin" 535 }] 536 } 537 ] 538 } 539 }); 526 540 }); 527 541 </script> … … 544 558 global $rtb; 545 559 if ( !is_admin() ){ 560 wp_enqueue_script( 'backplane', 'http://cdn.echoenabled.com/sdk/v3/backplane.js'); 561 wp_enqueue_script( 'echo-loader', 'http://cdn.echoenabled.com/sdk/v3/loader.js' ); 546 562 wp_enqueue_script( 'jquery' ); 547 563 wp_enqueue_script( 'rtb', rtb_plugin_url( 'js/pushquote.js' ), array('jquery'), '1.0', true); … … 549 565 // array('jquery'), '1.0', true); 550 566 wp_localize_script( 'rtb', 'PushquoteAjax', array( 'show_credits' => (is_array($rtb) ? $rtb['show_credits'] : 0 ) ) ); 551 wp_enqueue_script( 'backplane', 'http://cdn.echoenabled.com/sdk/v3/backplane.js'); 552 wp_enqueue_script( 'echo-loader', 'http://cdn.echoenabled.com/sdk/v3/loader.js' ); 567 568 //wp_enqueue_script( 'environment', 'http://cdn.echoenabled.com/sdk/v3/environment.pack.js', array( 'jquery' ), '1.0' ); 569 //wp_enqueue_script( 'streamserver', 'http://cdn.echoenabled.com/sdk/v3/streamserver.pack.js', array( 'jquery' ), '1.0' ); 570 //wp_enqueue_script( 'identityserver', 'http://cdn.echoenabled.com/sdk/v3/identityserver.pack.js', array( 'jquery' ), '1.0' ); 571 553 572 wp_enqueue_script( 'jplayer', rtb_plugin_url( 'js/jquery.jplayer.js' ), array('jquery'), '1.0', true); 554 573 wp_enqueue_script( 'miniPlayer', rtb_plugin_url( 'js/jquery.mb.miniPlayer.js' ), array('jquery'), '1.0', true);
Note: See TracChangeset
for help on using the changeset viewer.