Plugin Directory

Changeset 933038


Ignore:
Timestamp:
06/16/2014 02:00:43 PM (12 years ago)
Author:
siteheart
Message:

version 1.1.8

Location:
hypercomments/trunk
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • hypercomments/trunk/comments.php

    r628179 r933038  
    77            <div style='position:absolute; width:36px'><?php echo get_avatar($comments[$i]->user_id)?></div>
    88            <div style='margin-left:50px;'>
    9                 <div style='float:left;margin-right:5px;color:#3B5998;font-size: 11px;font-family: tahoma,verdana,arial,sans-serif;font-weight: bold;'><?php echo $comments[$i]->comment_author;?></div>
     9                <div style='float:left;margin-right:5px;color:#3B5998;font-size: 11px;font-family: tahoma,verdana,arial,sans-serif;font-weight: bold;'><?php echo htmlentities($comments[$i]->comment_author, ENT_QUOTES, 'UTF-8');?></div>
    1010                <div style='color: gray;font-size:10px;'><?php echo $comments[$i]->comment_date;?></div>
    11                 <div style='padding:5px;'><?php echo $comments[$i]->comment_content;?></div>
     11                <div style='padding:5px;'><?php echo htmlentities($comments[$i]->comment_content, ENT_QUOTES, 'UTF-8');?></div>
    1212            </div>
    1313        </div>
  • hypercomments/trunk/css/hypercomments.css

    r780861 r933038  
    66    z-index: 3;
    77    overflow: visible;
    8     margin-bottom: 10px;
    98}
    109.hc_logo{
     
    4039.hc_top_menu{
    4140    text-align: right;
    42     margin-right: 70px;
     41    margin-right: 5px;
    4342    margin-bottom: 10px;
    4443    padding-top: 15px;
  • hypercomments/trunk/hypercomments.php

    r780861 r933038  
    44Plugin URI: http://hypercomments.com/
    55Description: HyperComments - New dimension of comments. Hypercomments technology allows commenting a specific word or a piece of text.
    6 Version: 1.1.7
     6Version: 1.1.8
    77Author:  Alexandr Bazik
    88Author URI: http://hypercomments.com/
     
    1414define('HC_PLUGIN_URL', HC_CONTENT_URL . '/plugins/hypercomments');
    1515define('HC_XML_PATH',$_SERVER['DOCUMENT_ROOT'].'/wp-content/uploads');
    16 define('HC_VERSION', '1.1.7');
     16define('HC_VERSION', '1.1.8');
    1717if(HC_DEV == true){
    1818    define('HC_URL', 'http://dev.hypercomments.com');
     
    352352  if(!is_singular() && !(is_page() && is_single())) {     
    353353    $counter_label = (get_option('hc_label_counter') && strlen(get_option('hc_label_counter'))>0) ?
    354                         ', label : "'.get_option('hc_label_counter').'"' : '';
     354                        ' label : "'.get_option('hc_label_counter').'"' : '';
    355355    echo hc_get_counter_widget(get_option('hc_wid'), get_option('hc_selector'), hc_get_language(), $counter_label);
    356356  }
  • hypercomments/trunk/js/hypercomments.js

    r780861 r933038  
    6060            var time_zone = -date.getTimezoneOffset()/60;
    6161           
    62             $.getJSON(context.hc_url+'/'+context.hc_lang+'/widget/wordpresscreate?jsoncallback=?',
     62            $.getJSON(context.hc_url+'/api/widget_create?jsoncallback=?',
    6363            {
    6464                site       : context.hc_siteurl,
    6565                title      : (context.hc_blogname.length > 0) ? context.hc_blogname : 'WP blog name',
    66                 plugins    : "comments,rss,login,count_messages,authors,topics,hypercomments,likes",
     66                plugins    : "comments,rss,login,count_messages,authors,topics,hypercomments,likes,quotes",
    6767                hypertext  : "*",
    6868                limit      : 20,
     
    176176                var opt = $(this).data('opt');
    177177                if($(this).attr('type') == 'checkbox'){
    178                     val = $(this).is(':checked');
     178                    val = $(this).is(':checked') ? 1 : 0;
    179179                    obj_opt[opt] = val;
    180180                }else if($(this).attr('type') == 'text'){
  • hypercomments/trunk/readme.txt

    r780861 r933038  
    55Tags: hyperComments, comments, threaded, email, notification, spam, avatars, community, profile, widget
    66Requires at least: 2.8
    7 Tested up to: 3.6.1
    8 Stable tag: 1.1.7
     7Tested up to: 3.9.1
     8Stable tag: 1.1.8
    99
    1010The HyperComments technology replaces the native WordPress comment system with comments hosted and powered by HyperComment
     
    8080
    8181== Changelog ==
     82**1.1.8**
     83bugs fixed<br />
     84new admin panel<br />
     85
    8286**1.1.7**
    8387Updated plugin interface<br />
  • hypercomments/trunk/widgets.php

    r780861 r933038  
    1616    var _hc_real = {widget_id : <?php echo $hc_wid?>, widget : "Stream",
    1717     append: '<?php echo $hc_append?>', css: '<?php echo $hc_css?>',
    18      words_limit: <?php echo $hc_word_limit?>, realtime: <?php echo $hc_realtime?>, comments_level: <?php echo $hc_comments_level?>,
     18     words_limit: <?php echo $hc_word_limit?>, realtime: <?php echo ($hc_realtime == 1) ? 'true' : 'false';?>, comments_level: <?php echo $hc_comments_level?>,
    1919     platform: "wordpress", xid: '<?php echo $hc_url?>' <?php echo $hc_auth?>};
    2020    _hcwp.push(_hc_real);             
     
    8080    ob_start();
    8181?>
    82     <div id="hc_adm_widget" style="width:1000px; margin: 0 auto;"></div>
     82    <div id="hc_adm_widget"></div>
    8383    <script type="text/javascript">
    8484        var _hcp = {};
    85         _hcp.widget = "Adm";
    86         _hcp.append = "#hc_adm_widget";   
    87         _hcp.lang = '<?php echo $hc_lang?>';
    88         _hcp.widget_id = <?php echo $hc_wid?>;
     85        _hcp.append = "#hc_adm_widget";
     86        _hcp.height = jQueryHC(window).height() - 120;
    8987        <?php if(HC_DEV): ?>
    90         _hcp.test = 1;
    91         _hcp.debug = 1;
    92         _hcp.dev = 1;
     88        _hcp.url = document.location.protocol + "//testadmin.hypercomments.com";
    9389        <?php endif;?>
    9490        (function() {
Note: See TracChangeset for help on using the changeset viewer.