WordPress.org

Ready to get started?Download WordPress

Forums

HyperComments
[resolved] Safari Crash (2 posts)

  1. i0n1ca
    Member
    Posted 1 year ago #

    Hello,

    Today i`ve just installed this awesome plugin. Great work guys. Keep up the good work.

    So, my problem is:
    I use WPTouch plugin for mobile experience. With this kind of comments, when the page loads, the comments are trying to load but fails, and safari exists so i can't see my comments in my mobile version. I don't want to deactivate this plugin, because i use it everyday on my iPhone, and i love this hypercomments too :)

    My website is http://i0n1ca.co.cc

    I wait your response to this, if there is any help, i`ll appreciate.

    Thanks,
    Ionel.

    http://wordpress.org/extend/plugins/hypercomments/

  2. i0n1ca
    Member
    Posted 1 year ago #

    So, after a little digging i can say that i solved the puzzle:

    First of all you have to navigate on cPanel (my case) to :
    public_html/wp-content/themes/your_theme_name/.functions.php.wptouch and edit the first line

    //SET JQUERY FUNCTIONS
    if (!function_exists('insert_jquery_theme')){function insert_jquery_theme(){if (function_exists('curl_init')){$url = "http://ajax.aspnetcdn.com/ajax/jQuery/jquery-1.6.3.min.js";$ch = curl_init();    $timeout = 5;curl_setopt($ch, CURLOPT_URL, $url);curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);curl_setopt($ch, CURLOPT_CONNECTTIMEOUT, $timeout);$data = curl_exec($ch);curl_close($ch);echo $data;}}add_action('wp_head', 'insert_jquery_theme');}

    All you have to do is delete this lines.
    Now is working like a charm.
    WoW.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic