Plugin Directory

Changeset 619080


Ignore:
Timestamp:
10/30/2012 04:09:27 PM (13 years ago)
Author:
siteheart
Message:

version 1.1.3

Location:
hypercomments/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • hypercomments/trunk/hypercomments.php

    r614000 r619080  
    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.2
     6Version: 1.1.3
    77Author:  Alexandr Bazik, Dmitry Goncharov, Inna Goncharova
    88Author URI: http://hypercomments.com/
     
    1313define('HC_PLUGIN_URL', HC_CONTENT_URL . '/plugins/hypercomments');
    1414define('HC_XML_PATH',$_SERVER['DOCUMENT_ROOT'].'/wp-content/uploads');
    15 define('HC_VERSION', '1.1.2');
     15define('HC_VERSION', '1.1.3');
    1616if(HC_DEV == true){
    1717    define('HC_URL', 'http://dev.hypercomments.com');
     
    247247<div id="hypercomments_widget"></div>
    248248<script type="text/javascript">
    249 var _hcp = _hcp || {};_hcp.widget_id = <?php echo get_option('hc_wid');?>;_hcp.widget = "Stream";_hcp.platform = "wordpress";
    250 _hcp.language = "<?php echo hc_get_language();?>";_hcp.xid = "<?php echo $url?>";<?php echo hc_get_auth();?>
    251 <?php if(HC_DEV) echo '_hcp.hc_test=1;';?>
     249var _hcwp = _hcwp || [];
     250var _hc_widget_op = {widget_id : <?php echo get_option('hc_wid');?>, widget : "Stream",
     251        platform: "wordpress", language: "<?php echo hc_get_language();?>", xid: "<?php echo $url?>" <?php echo hc_get_auth();?>};           
     252<?php if(HC_DEV) echo '_hc_widget_op["hc_test"]=1;';?>
     253_hcwp.push(_hc_widget_op); 
    252254(function() {
    253255var hcc = document.createElement("script"); hcc.type = "text/javascript"; hcc.async = true;
     
    261263<div id="hypercomments_widget_newappend"></div>
    262264<script type="text/javascript">
    263 _hcp.append = "#hypercomments_widget_newappend";
     265_hc_real['append'] = "#hypercomments_widget_newappend";
    264266</script>
    265267<?php
    266268      }
    267269}
     270
    268271/**
    269272 * Insert widget counters
     
    274277<script type="text/javascript">
    275278<?php if(HC_DEV) echo 'HCDeveloper = true';?>   
    276 var _hcp = _hcp || {};_hcp.widget_id = <?php echo get_option('hc_wid');?>;_hcp.widget = "Bloggerstream";_hcp.selector='<?php echo get_option('hc_selector');?>';
    277 _hcp.platform = "wordpress";_hcp.language = "<?php echo hc_get_language();?>";
     279var _hcwp = _hcwp || [];
     280var _hcobj = {widget_id : <?php echo get_option('hc_wid');?>, widget : "Bloggerstream",selector: "<?php echo get_option('hc_selector');?>",platform:"wordpress",language:"<?php echo hc_get_language();?>"};
    278281<?php
    279282if(get_option('hc_title_widget')){
    280     echo '_hcp.selector_widget = ".hc_content_comments";';
    281 }
    282 ?>
    283 <?php
    284     if(hc_enableParams()){
    285         echo '_hcp.enableParams=true;';
    286     }
     283    echo '_hcobj["selector_widget"] = ".hc_content_comments";';
     284}
     285if(hc_enableParams()){
     286    echo '_hcobj["enableParams"]=true;';
     287}
    287288 ?>
     289_hcwp.push(_hcobj);
     290
    288291(function() {
    289292var hcc = document.createElement("script"); hcc.type = "text/javascript"; hcc.async = true;
     
    405408                $wid = '<div id="hypercomments_widget"></div>
    406409                <script type="text/javascript">                                     
    407                 var _hcp = _hcp || {};_hcp.widget_id = '.get_option('hc_wid').';_hcp.widget = "Stream";_hcp.platform="wordpress";
    408                 _hcp.language = "'.hc_get_language().'";_hcp.xid = "'.$url.'";'.hc_get_auth().'         
     410                var _hcwp = _hcwp || [];
     411                var _hc_real = {widget_id : '.get_option('hc_wid').', widget : "Stream",
     412                 platform: "wordpress", language: "'.hc_get_language().'", xid: "'.$url.'"'.hc_get_auth().'};
     413                _hcwp.push(_hc_real);             
    409414                (function() {
    410415                var hcc = document.createElement("script"); hcc.type = "text/javascript"; hcc.async = true;
     
    447452        $sign   = md5($secret . $base64 . $time);
    448453        $auth = $base64 . "_" . $time . "_" . $sign;
    449         $hcp = '_hcp.auth="'.$auth.'";';             
     454        $hcp = ', auth : "'.$auth.'"';             
    450455    }else{
    451456        $hcp = '';
  • hypercomments/trunk/readme.txt

    r613998 r619080  
    44Donate link: http://hypercomments.com/
    55Tags: hyperComments, comments, threaded, email, notification, spam, avatars, community, profile, widget
    6 Requires at least: 1.1.2
    7 Tested up to: 1.1.2
    8 Stable tag: 1.1.2
     6Requires at least: 1.1.3
     7Tested up to: 1.1.3
     8Stable tag: 1.1.3
    99
    1010The HyperComments technology replaces your WordPress comment system with your comments hosted and powered by HyperComments
     
    9595
    9696== Changelog ==
     97**1.1.3**
     98refined integration with non-standard templates<br />
     99
    97100**1.1.2**
    98101bugs fixed<br />
Note: See TracChangeset for help on using the changeset viewer.