Changeset 740006
- Timestamp:
- 07/12/2013 08:00:39 PM (13 years ago)
- Location:
- realtidbits-comments/trunk
- Files:
-
- 3 edited
-
readme.txt (modified) (2 diffs)
-
realtidbits-comments.php (modified) (4 diffs)
-
widgets/rtb-audiorecorder.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
realtidbits-comments/trunk/readme.txt
r681467 r740006 4 4 Requires at least: 2.5 5 5 Tested up to: 3.5 6 Stable tag: 1.1. 16 Stable tag: 1.1.2 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.2 = 23 * Fixed issue with Recent Comments widget 21 24 22 25 = 0.5.2.1 = -
realtidbits-comments/trunk/realtidbits-comments.php
r737837 r740006 5 5 Description: The RealTidbits comment system replaces your WordPress comment system with comments powered by RealTidbits. 6 6 Author: RealTidbits <support@realtidbits.com> 7 Version: 1.1. 17 Version: 1.1.2 8 8 Author URI: http://realtidbits.com/ 9 9 */ … … 11 11 define('RTB_COMMENTS_VERSION', '1.1.1'); 12 12 13 define('RTB_COMMENTS_VERSION', '1.1');14 13 if($_SERVER['HTTP_HOST'] == "diego.realtidbits.com" || $_SERVER['HTTP_HOST'] == "www.dpereyra.com") { 15 14 define('RTB_BACKPLANE_KEY', '199f89b565a7bf9e276cebd00b8a79ac'); … … 472 471 } 473 472 //include dirname(__FILE__) . '/widget.php'; 473 $x = get_option('widget_name'); 474 if(is_numeric($x['option1'])) { $itemsPerPage = $x['option1']; } else { $itemsPerPage = '10'; }; 474 475 ?> 475 476 <!-- RealTidbits.Comments --> … … 482 483 </script> 483 484 <script type="text/javascript"> 484 new Echo.Stream({485 "target": document.getElementById('rtb-latest-comments'), 486 "appkey": "<?php echo get_option('rtb_comments_appkey'); ?>",487 "query": "childrenof:" + document.location.protocol + "//" + document.location.hostname + "/* sortOrder:reverseChronological children",488 "reTag": true,489 "itemsPerPage": <?php 490 $x = get_option('widget_name');491 if(isset($x['option1'])) { echo $x['option1']; } else { echo '10'; };492 ?>,493 "maxBodyCharacters": 300,494 "viaLabel": { 495 "icon": true,496 "text": true 497 },498 "streamStateLabel": { 499 "icon": false,500 "text": false 501 }, 502 "contentTransformations": { 503 "text": ["smileys", "hashtags", "urls", "newlines"],504 "html": ["smileys", "hashtags", "urls", "newlines"], 505 "xhtml": ["smileys", "hashtags", "urls"] 506 }, 507 "children": { 508 "sortOrder": "chronological" 509 }, 510 "plugins": [ 511 { 512 "name": "Whirlpools",513 "after" : 2, 514 "clickable": true 515 },516 {"name": "CommunityFlag"},517 {"name": "Curation"},518 {"name": "UserBan"},519 {"name": "UserPrivileges"}, 520 { 521 "name": "Reply",522 "actionString": "Write reply here...", 523 "nestedPlugins": [{ 524 "name": "FormAuth", 525 "submitPermissions": "forceLogin" 526 }] 527 } 528 ] 485 jQuery(document).ready(function() { 486 new Echo.StreamServer.Controls.Stream({ 487 "target": document.getElementById('rtb-latest-comments'), 488 "appkey": "<?php echo get_option('rtb_comments_appkey'); ?>", 489 "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", 490 "reTag": true, 491 "itemsPerPage": <?php echo $itemsPerPage?>, 492 "maxBodyCharacters": 300, 493 "viaLabel": { 494 "icon": true, 495 "text": true 496 }, 497 "streamStateLabel": { 498 "icon": false, 499 "text": false 500 }, 501 "state": {"label": {"icon": false, "text": false}, "toggleBy": "mouseover", "layout": "compact"}, 502 "contentTransformations": { 503 "text": ["smileys", "hashtags", "urls", "newlines"], 504 "html": ["smileys", "hashtags", "urls", "newlines"], 505 "xhtml": ["smileys", "hashtags", "urls"] 506 }, 507 "children": { 508 "sortOrder": "chronological" 509 }, 510 "plugins": [ 511 { 512 "name": "Whirlpools", 513 "after" : 2, 514 "clickable": true 515 }, 516 {"name": "CommunityFlag"}, 517 {"name": "Curation"}, 518 {"name": "UserBan"}, 519 {"name": "UserPrivileges"}, 520 { 521 "name": "Reply", 522 "actionString": "Write reply here...", 523 "nestedPlugins": [{ 524 "name": "FormAuth", 525 "submitPermissions": "forceLogin" 526 }] 527 } 528 ] 529 }); 529 530 }); 530 531 </script> -
realtidbits-comments/trunk/widgets/rtb-audiorecorder.php
r737837 r740006 59 59 } 60 60 function form( $instance ) { 61 $donate_link = '';62 if ( of_get_option( 'donate_link' ) )63 $donate_link = esc_url( of_get_option( 'donate_link' ) );64 $donate_btn_text = __('Donate Now', 'fold');65 if ( of_get_option( 'donate_button_text' ) )66 $donate_btn_text = esc_attr( of_get_option( 'donate_button_text' ) );67 61 $defaults = array( 68 62 'title' => __('Record your voice', 'fold'),
Note: See TracChangeset
for help on using the changeset viewer.