The forum of the forums

Would you like to react to this message? Create an account in a few clicks or log in to continue.
The forum of the forums
+2
Neptune-
smurfavr
6 posters

    https from green turned gray.

    smurfavr
    smurfavr
    Active Poster


    Male Posts : 1881
    Reputation : 22
    Language : Bulgarian

    Solved https from green turned gray.

    Post by smurfavr January 23rd 2020, 4:09 pm

    First topic message reminder :

    https from green turned gray. I have not made any changes to the forum. How to fix it to become green again?

    https from green turned gray. - Page 2 6amGwEp
    smurfavr
    smurfavr
    Active Poster


    Male Posts : 1881
    Reputation : 22
    Language : Bulgarian

    Solved Re: https from green turned gray.

    Post by smurfavr January 25th 2020, 12:11 am

    @SLGray The widgets have been removed.

    I didn't understand what you meant.
    SLGray wrote:Do you know that in Firefox those widgets will be blocked if you block tracking?
    https from green turned gray. - Page 2 Tracki10
    SLGray
    SLGray
    Administrator
    Administrator


    Male Posts : 51555
    Reputation : 3524
    Language : English
    Location : United States

    Solved Re: https from green turned gray.

    Post by SLGray January 25th 2020, 2:54 am

    With those widgets removed, the ion is green, but there is still an issue.

    Try This:  Remove all customized widgets.



    https from green turned gray. - Page 2 Slgray10

    When your topic has been solved, ensure you mark the topic solved.
    Never post your email in public.
    skouliki
    skouliki
    Manager
    Manager


    Female Posts : 15391
    Reputation : 1709
    Language : English,Greek
    Location : Greece

    Solved Re: https from green turned gray.

    Post by skouliki January 25th 2020, 8:32 am

    now for me your forum is ok no console errors 

    https from green turned gray. - Page 2 Scre1672

    smurfavr
    smurfavr
    Active Poster


    Male Posts : 1881
    Reputation : 22
    Language : Bulgarian

    Solved Re: https from green turned gray.

    Post by smurfavr January 25th 2020, 10:58 am

    @SLGray Can you find out exactly which gadget comes from because some of the gadgets I need in my forum.

    Until a few days ago, the padlock was green and all the gadgets were working in the forum. Now why do I have to remove gadgets to be a green padlock on the forum?


    psp
    The site has gadgets and the padlock is green. The problem is only in the forum.
    avatar
    Guest
    Guest


    Solved Re: https from green turned gray.

    Post by Guest January 25th 2020, 1:53 pm

    The issue seems to be the gametracker images, not the widgets. Firefox considers them unsafe from an user privacy point of view.
    smurfavr
    smurfavr
    Active Poster


    Male Posts : 1881
    Reputation : 22
    Language : Bulgarian

    Solved Re: https from green turned gray.

    Post by smurfavr January 25th 2020, 8:58 pm

    I don't use firefox, I use google chrome. I read in the forum that the problem is from an invalid certificate. https://letsencrypt.org/documents/isrg-cps-v2.7/

    January 21, 2020 Make the structure more compliant with RFC 3647 recommendation. Audit the use of the No Stipulation phrase and remove the blank sections. Removal of IP Restriction in Section 7.1.5. Update the lists of appropriate and prohibited uses of certificates in sections 1.4.1 and 1.4.2. Explanation of the annual vulnerability assessment requirements in section 5.4.8.


    Last edited by smurfavr on January 25th 2020, 9:02 pm; edited 1 time in total
    SLGray
    SLGray
    Administrator
    Administrator


    Male Posts : 51555
    Reputation : 3524
    Language : English
    Location : United States

    Solved Re: https from green turned gray.

    Post by SLGray January 25th 2020, 9:01 pm

    https from green turned gray. - Page 2 Issue10



    https from green turned gray. - Page 2 Slgray10

    When your topic has been solved, ensure you mark the topic solved.
    Never post your email in public.
    smurfavr
    smurfavr
    Active Poster


    Male Posts : 1881
    Reputation : 22
    Language : Bulgarian

    Solved Re: https from green turned gray.

    Post by smurfavr January 25th 2020, 9:05 pm

    I removed the banners.
    SLGray
    SLGray
    Administrator
    Administrator


    Male Posts : 51555
    Reputation : 3524
    Language : English
    Location : United States

    Solved Re: https from green turned gray.

    Post by SLGray January 25th 2020, 9:08 pm

    With them gone, my briwser (Firefox) shows a normal secure padlock.



    https from green turned gray. - Page 2 Slgray10

    When your topic has been solved, ensure you mark the topic solved.
    Never post your email in public.
    smurfavr
    smurfavr
    Active Poster


    Male Posts : 1881
    Reputation : 22
    Language : Bulgarian

    Solved Re: https from green turned gray.

    Post by smurfavr January 25th 2020, 9:16 pm

    I tried with, firefox and chrome the problem is still there.
    SLGray
    SLGray
    Administrator
    Administrator


    Male Posts : 51555
    Reputation : 3524
    Language : English
    Location : United States

    Solved Re: https from green turned gray.

    Post by SLGray January 25th 2020, 9:23 pm

    Clear your browser's history and cache.



    https from green turned gray. - Page 2 Slgray10

    When your topic has been solved, ensure you mark the topic solved.
    Never post your email in public.
    smurfavr
    smurfavr
    Active Poster


    Male Posts : 1881
    Reputation : 22
    Language : Bulgarian

    Solved Re: https from green turned gray.

    Post by smurfavr January 25th 2020, 9:30 pm

    I cleared the cookies and the forum history. If I haven't logged in the forum, the padlock turns green, but when logged in the forum turns gray.
    SLGray
    SLGray
    Administrator
    Administrator


    Male Posts : 51555
    Reputation : 3524
    Language : English
    Location : United States

    Solved Re: https from green turned gray.

    Post by SLGray January 25th 2020, 9:50 pm

    No, your browser, not forum.



    https from green turned gray. - Page 2 Slgray10

    When your topic has been solved, ensure you mark the topic solved.
    Never post your email in public.
    smurfavr
    smurfavr
    Active Poster


    Male Posts : 1881
    Reputation : 22
    Language : Bulgarian

    Solved Re: https from green turned gray.

    Post by smurfavr January 25th 2020, 10:00 pm

    I cleared my history and cache my browser.
    SLGray
    SLGray
    Administrator
    Administrator


    Male Posts : 51555
    Reputation : 3524
    Language : English
    Location : United States

    Solved Re: https from green turned gray.

    Post by SLGray January 25th 2020, 10:08 pm

    It must be an issue in your browsers because my Firefox says it is ok.
    https from green turned gray. - Page 2 Fine10



    https from green turned gray. - Page 2 Slgray10

    When your topic has been solved, ensure you mark the topic solved.
    Never post your email in public.
    smurfavr
    smurfavr
    Active Poster


    Male Posts : 1881
    Reputation : 22
    Language : Bulgarian

    Solved Re: https from green turned gray.

    Post by smurfavr January 25th 2020, 10:15 pm

    On all foreign sites my browser shows a green padlock. Only on mine, the site shows gray. Apparently the problem is not in the browser.
    Ape
    Ape
    Administrator
    Administrator


    Male Posts : 19436
    Reputation : 2010
    Language : fluent in dork / mumbojumbo & English haha

    Solved Re: https from green turned gray.

    Post by Ape January 25th 2020, 10:21 pm

    looking at your site we see your site is now working as it should be.

    There is Nothing we can do our end to fix your problem as our systems are working how they should do.

    It is down to you the founder owner of the forum to make sure all links are seen as safe before you place them on your forum.

    We have No power over your links on your images so really we can not help you on this matter.



    https from green turned gray. - Page 2 Left1212https from green turned gray. - Page 2 Center11https from green turned gray. - Page 2 Right112
    https from green turned gray. - Page 2 Ape_b110
    https from green turned gray. - Page 2 Ape1010
    smurfavr
    smurfavr
    Active Poster


    Male Posts : 1881
    Reputation : 22
    Language : Bulgarian

    Solved Re: https from green turned gray.

    Post by smurfavr January 25th 2020, 10:25 pm

    I also tried with my smartphone and the situation is the same.

    @APE
    Three days ago, the padlock on my forum was green, but then it suddenly turned gray. So far, I have neither added anything to my forum nor made any settings.

    psp
    At these sites, the padlock glows green.
    help.forumotion
    google.com
    bing.com
    youtube
    discordapp

    Only in my forum is the padlock in gray.
    Ape
    Ape
    Administrator
    Administrator


    Male Posts : 19436
    Reputation : 2010
    Language : fluent in dork / mumbojumbo & English haha

    Solved Re: https from green turned gray.

    Post by Ape January 25th 2020, 10:36 pm

    I understand what you are saying but the problem is not our side.

    If the problem was on our side we could send a ticket to try and get it fixed but as it's a browser problem we have NO power over this problem.

    It does sound to me that this is a browser problem / Update on Chrome's side

    As you can see our site here is safe and it don't have a green lock any more it's grey.

    Sadly I can't see any problem now your site is safe.



    https from green turned gray. - Page 2 Left1212https from green turned gray. - Page 2 Center11https from green turned gray. - Page 2 Right112
    https from green turned gray. - Page 2 Ape_b110
    https from green turned gray. - Page 2 Ape1010
    smurfavr
    smurfavr
    Active Poster


    Male Posts : 1881
    Reputation : 22
    Language : Bulgarian

    Solved Re: https from green turned gray.

    Post by smurfavr January 25th 2020, 10:41 pm

    Why then is it having trouble opening my site through my smartphone? On my smartphone google chrome has been updated to the latest version.
    SLGray
    SLGray
    Administrator
    Administrator


    Male Posts : 51555
    Reputation : 3524
    Language : English
    Location : United States

    Solved Re: https from green turned gray.

    Post by SLGray January 25th 2020, 10:44 pm

    The issues you are now having are on your side since our tool shows that your site is safe.  There really not much more we can do.  Have you tried contacting support for Chrome?



    https from green turned gray. - Page 2 Slgray10

    When your topic has been solved, ensure you mark the topic solved.
    Never post your email in public.
    Ape
    Ape
    Administrator
    Administrator


    Male Posts : 19436
    Reputation : 2010
    Language : fluent in dork / mumbojumbo & English haha

    Solved Re: https from green turned gray.

    Post by Ape January 25th 2020, 10:47 pm

    smurfavr wrote:Why then is it having trouble opening my site through my smartphone? On my smartphone google chrome has been updated to the latest version.

    I don't know to tell you the truth as i don't use a mobile phone for FM sites.

    You have to remember our forums are basic when it comes to smart phone browsing as long as your site don't say any warnings then there is nothing we can do to speed this up.

    The more you have loading on your forum from outside will slow things down as it has to hit our forum and the outside host's all at the same time.

    I still say this is a Browser problem and we have no power over then sorry.



    https from green turned gray. - Page 2 Left1212https from green turned gray. - Page 2 Center11https from green turned gray. - Page 2 Right112
    https from green turned gray. - Page 2 Ape_b110
    https from green turned gray. - Page 2 Ape1010
    smurfavr
    smurfavr
    Active Poster


    Male Posts : 1881
    Reputation : 22
    Language : Bulgarian

    Solved Re: https from green turned gray.

    Post by smurfavr January 25th 2020, 10:53 pm

    When I am not logged in to my forum (I am not logged in with my profile) the padlock turns green when I log in it turns gray. Surely it gives you green because you didn't log in to my forum?
    SLGray
    SLGray
    Administrator
    Administrator


    Male Posts : 51555
    Reputation : 3524
    Language : English
    Location : United States

    Solved Re: https from green turned gray.

    Post by SLGray January 26th 2020, 2:27 am

    But does not the gray icon also say your forum is secure?



    https from green turned gray. - Page 2 Slgray10

    When your topic has been solved, ensure you mark the topic solved.
    Never post your email in public.
    skouliki
    skouliki
    Manager
    Manager


    Female Posts : 15391
    Reputation : 1709
    Language : English,Greek
    Location : Greece

    Solved Re: https from green turned gray.

    Post by skouliki January 26th 2020, 8:53 am

    smurfavr wrote:I also tried with my smartphone and the situation is the same.

    @APE
    Three days ago, the padlock on my forum was green, but then it suddenly turned gray. So far, I have neither added anything to my forum nor made any settings.

    psp
    At these sites, the padlock glows green.
    help.forumotion
    google.com
    bing.com
    youtube
    discordapp

    Only in my forum is the padlock in gray.


    to me those sites have a gray padlock

    example https from green turned gray. - Page 2 Scre1679

    smurfavr
    smurfavr
    Active Poster


    Male Posts : 1881
    Reputation : 22
    Language : Bulgarian

    Solved Re: https from green turned gray.

    Post by smurfavr January 26th 2020, 9:49 am

    You didn't understand me correctly. I have said that I want to fix the yatinara icon to be green as it is in other forums. Obviously the problem is from Google translator.
    SLGray wrote:But does not the gray icon also say your forum is secure?

    @skouliki For me, these sites show up with a green padlock.



    I understood where the problem came from. From the chat in the forum. Now I deactivated the chat and the problem is fixed and the padlock is green.

    Now the question is how to fix the chat in the forum so that the padlock does not turn gray?
    skouliki
    skouliki
    Manager
    Manager


    Female Posts : 15391
    Reputation : 1709
    Language : English,Greek
    Location : Greece

    Solved Re: https from green turned gray.

    Post by skouliki January 26th 2020, 11:27 am

    for me your padlock is still gray using always chrome

    do you use any codes for the chat ? or its the basic chat we use

    smurfavr
    smurfavr
    Active Poster


    Male Posts : 1881
    Reputation : 22
    Language : Bulgarian

    Solved Re: https from green turned gray.

    Post by smurfavr January 26th 2020, 11:56 am

    I use this chat code.
    [code][table   class="inline-code"][tr][td][code]***
    * Application: chatbox8 - Edit Messages
    * Description: Support for editing messages in chat box!
    * Version: 0.05072015-jq1.9.1
    * RC1 (Release candidate 1!) - Mahabharata
    * Author: JScript - 2015-05-07
    * Copyright (c) 2015 JScript <jscriptbrasil at live dot com>
    * This work is free. You can redistribute it and/or modify it
    * under the terms of the WTFPL, Version 2
    */
    // Redefine function!
    function insertChatBox(chatbox_id, chatbox_url) {
    return insertChatBoxNew(chatbox_id, chatbox_url);
    }
    // Redefine function!
    function insertChatBoxNew(chatbox_id, chatbox_url) {
    // Put the chat box on top of widgets!
    //$('#' + chatbox_id).parent().detach().prependTo('#wrapper');

    document.getElementById(chatbox_id).innerHTML = '<iframe style="visibility: hidden;" src="/chatbox/index.forum?archives=1" id="frame_chatbox" scrolling="no" width="100%" height="100%" marginwidth="0" marginheight="0" frameborder="0"></iframe>';
    // Loader 1
    var iFrame = document.getElementById('frame_chatbox').contentWindow;
    var frame_chatbox_document = setInterval(function() {
    try {
    if (iFrame.jQuery) {
    clearInterval(frame_chatbox_document);
    chat_edit();
    }
    } catch (e) {}
    }, 50);
    }

    // Loader 2
    $(function() {
    if (_userdata.session_logged_in) {
    $('#frame_chatbox').load(function() {
    if (typeof document.getElementById('frame_chatbox').contentWindow['chatEdit'] == 'undefined') {
    chat_edit();
    }
    });
    }
    });

    function chat_edit() {
    var oIframe = (document.getElementById("frame_chatbox").contentWindow.document || document.getElementById("frame_chatbox").contentDocument),
    script = oIframe.createElement("script"),
    chatbox_script = function() {
    window.chatEdit = {
    locale: {
    Remove: "Сигурни ли сте, че искате да премахнете това съобщение?",
    Save: "Запази",
    Cancel: "Откажи",
    },

    config: {
    // Change your chatbox title, default is "" = (locale title!)
    Title: "",
    // ligns "joined" and "logged off": 1 = Remove
    Notice: 0,
    // Change the moderator prefix
    Prefix: "@",
    // Automatic login: 0 = Disable
    autoLogin: 1,
    // Limit the amount of messages to show, default is 60
    limitOfMsg: 500000,
    // Open "smiles" in a pop up window? Default is 0 = no pop up!
    smilePopUp: 0,
    /***
    * New Chatbox pseudo commands (Beta test and staff only!)
    * Command Explanation
    * -------------------------------------------------------------------------------
    * /shake "Username" shook the chat window to catch everyone's attention!
    */
    shakeMsg: "agitou a janela de bate-papo para chamar a atencao de todos!"
    },

    interval: 0,

    isStorage: (typeof(Storage) == "undefined") ? 0 : 1,

    oBBCode: {
    patt: [
    /\(.*?)\[\/b]/gi,
    /\(.*?)\[\/i]/gi,
    /\(.*?)\[\/u]/gi,
    /\[s](.*?)\[\/s]/gi,
    /\
    (.*?)\[\/center]/gi,
    /\[size=(.*?)](.*?)\[\/size]/gi,
    /\[url](.*?)\[\/url]/gi,
    /\[url=(.*?)](.*?)\[\/url]/gi,
    /\[color=(.*?)](.*?)\[\/color]/gi,
    /\[img](.*?)\[\/img]/gi,
    /\[spoiler](.*?)\[\/spoiler]/gi,
    /\[code](.*?)\[\/code]/gi,
    /\[quote](.*?)\[\/quote]/gi
    ],
    html: [
    "<strong>$1</strong>",
    "<i>$1</i>",
    "<span style='text-decoration:underline;'>$1</span>",
    "<span style='text-decoration:line-through'>$1</span>",
    "<div style='margin:auto;text-align:center;width:100%'>$1</div>",
    "<span style='font-size: $1;'>$2</span>",
    "<a rel='nofollow' target='_blank' href='$1'>$1</a>",
    "<a rel='nofollow' target='_blank' href='$1'>$2</a>",
    "<span style='color: $1'>$2</span>",
    "<img src='$1' style='max-width:120px;max-height:120px;'/>",
    "<dl class='codebox spoiler'><dt style='cursor: pointer;'>Spoiler:</dt><dd><div class='spoiler_content'>$1</div></dd></dl>",
    "<dl class='codebox'><dt>Code:</dt><dd class='cont_code'><code>$1</code></dd></dl>",
    "<blockquote><div>$1</div></blockquote>"
    ]
    },

    oHTML: {
    patt: [
    /<strong>(.*?)<\/strong>/gi,
    /<i>(.*?)<\/i>/gi,
    /<span style="text-decoration:underline;">(.*?)<\/span>/gi,
    /<span style="text-decoration:line-through;">(.*?)<\/span>/gi,
    /<div style="margin:auto;text-align:center;width:100%">(.*?)<\/div>/gi,
    /<span style="font-size: (.*?);">(.*?)<\/span>/gi,
    /<a href="(.*?)"><\/a>/gi,
    /<a href="(.*?)">(.*?)<\/a>/gi,
    /<span style="color: (.*?)">(.*?)<\/span>/gi,
    ///<img(?:.*)src="(.*?)"(?:.*)>/gi,
    /<dl class="codebox spoiler"><dt style="cursor: pointer;">Spoiler:<\/dt><dd><div class="spoiler_content">(.*?)<\/div><\/dd><\/dl>/gi,
    /<dl class="codebox"><dt>Code:<\/dt><dd class="cont_code"><code>(.*?)<\/code><\/dd><\/dl>/gi,
    /<blockquote><div>(.*?)<\/div><\/blockquote>/gi
    ],
    bbcode: [
    '[b]$1
    ',
    '[i]$1
    ',
    '[u]$1
    ',
    '[s]$1[/s]',
    '[center]$1
    ',
    '[size=$1]$2[/size]',
    '[url]"$1"[/url]',
    '[url="$1"]$2[/url]',
    '[color:bbd0=$1]$2',
    //'https from green turned gray. - Page 2 $1',
    '
    Spoiler:
    ',
    '[code]$1[/code]',
    '
    $1
    '
    ]
    },

    loadSmile: function() {
    if (chatEdit.config.smilePopUp) {
    return false;
    }
    $("#divsmilies").unbind("click").bind("click", function (event) {
    chatEdit.showSmile(event);
    });
    jQuery.ajax({
    url: "/post?mode=smilies",
    cache: true,
    type: "get",
    dataType: "text",
    success: function(response, status, xhr) {
    if (xhr.status == 200) {
    var htmlSmile = $("<div>" + response + "</div>");
    htmlSmile.find("#smilies_categ, p, span").remove();

    htmlSmile.html(htmlSmile.html().replace(/insert_chatboxsmilie/g, "chatEdit.insertSmile"));

    var oTarget = htmlSmile.find("a"),
    oThis, patt, regex;
    for (var i = 0, len = oTarget.length; i < len; i++) {
    oThis = $(oTarget[i]);
    patt = /\('(.*?)'\)/i.exec(oThis.attr("href"))[1];
    regex = new RegExp('<img[^>]+?' + oThis.find('img').attr('src') + '[^>]*>', "gi");
    chatEdit.oHTML.patt.push(regex);
    chatEdit.oHTML.bbcode.push(patt.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\^\$\|]/g, "\\$&"));
    /*oThis.attr({
    href: "#",
    onclick: "chatEdit.insertSmile('" + patt + "');return false;"
    });*/
    }
    /*var aSmiles = [
    "&phone;", "&starf;", "♥", "&sung;", "&check;",
    "&boxbox;", "©", "&Jscr;&Sscr;", "&block;", "&blk34;",
    "&xcirc;", "&star;", "♣", "&cross;", "&Fscr;&Mscr;"
    ],
    sSmiles = "<p>";
    for (var i = 0, len = aSmiles.length; i < len; i++) {
    sSmiles += "<a href='#' onclick='chatEdit.insertSmile(\"" + aSmiles[i] + "\");return false;'>" + aSmiles[i] + "</a>";
    }*/
    jQuery("#chat-smiles-show").html(
    htmlSmile.find("#simple-wrap, tbody:last").html()
    );
    }
    }
    });
    jQuery("head").append(
    "<style type='text/css'>" +
    "#chat-smiles-show {" +
    " background: none no-repeat scroll center center rgb(255, 255, 255);" +
    " border: 2px solid #d2d2d2;" +
    " height: 250px;" +
    " overflow: auto;" +
    " padding-top: 6px;" +
    " position: absolute;" +
    " width: 225px;" +
    " z-index: 99999;" +
    "}" +
    "#chat-smiles-show > p {" +
    " margin: 0;" +
    "}" +
    "#chat-smiles-show p a {" +
    " margin-bottom: 14px;" +
    "}" +
    "#chat-smiles-show a {" +
    " display: inline-block;" +
    " font-size: 18px;" +
    " margin-bottom: 5px;" +
    " margin-left: 10px;" +
    " text-decoration: none;" +
    "}" +
    "</style>"
    );
    jQuery("body").append("<div id='chat-smiles-show' style='display: none;'></div>");
    },

    showSmile: function(event) {
    var elenPos = jQuery("#divsmilies"),
    target = jQuery("#chat-smiles-show");
    target.css({
    "left": (elenPos.offset().left + elenPos.outerWidth()) - target.outerWidth(),
    "top": elenPos.offset().top - target.outerHeight()
    });
    return (target[0].style.display == "none") ? target.fadeIn("fast") : target.fadeOut("fast");
    },

    insertSmile: function(smile) {
    var id = document.getElementById("message");
    id.focus();
    id.value += " " + smile + " ";
    document.getElementById("chat-smiles-show").style.display = "none";
    },

    parseBBCode: function(data) {
    data = data.replace(/%0A|%5Cn/gi, "<br>");
    for (var i = 0, len = chatEdit.oBBCode.patt.length; i < len; i++) {
    data = data.replace(chatEdit.oBBCode.patt[i], chatEdit.oBBCode.html[i]);
    }
    return data
    },

    parseHTML: function(data) {
    data = data.replace(/<br>/gi, "%0A");
    for (var i = 0, len = chatEdit.oHTML.patt.length; i < len; i++) {
    data = data.replace(chatEdit.oHTML.patt[i], chatEdit.oHTML.bbcode[i]);
    }
    return data
    },

    editShout: function(ID, num, oThis) {
    var oShout = $("#chatbox .shout-" + ID),
    oEditor = oShout.find('.date-and-time'),
    oMsg = oShout.find('span.msg');
    try {
    var sMsg = chatEdit.parseHTML(oMsg.children('span')[0].innerHTML);
    } catch (e) {
    // For unknown reasons, the above line fails for lack of span tag!
    var sMsg = chatEdit.parseHTML(oMsg[0].innerHTML);
    }

    if (num == 0) {
    var sHtml = '<span>' +
    ' <textarea id="edit-' + ID + '" style="width: ' + (oMsg.width() - oEditor.width()) + 'px; height: ' + oMsg.height() + 'px;vertical-align: middle;font-family: inherit;font-size: inherit;margin-top: 4px;">' + sMsg + '</textarea>' +
    ' <input type="submit" style="cursor: pointer;margin-right: 4px;" onclick="chatEdit.submitEdit(' + ID + ', 0, this);" value="' + chatEdit.locale.Save + '" class="button2">' +
    ' <a title="' + chatEdit.locale.Cancel + '" style="cursor: pointer;" href="javascript:void(0);" onclick="chatEdit.submitEdit(' + ID + ', -1, this);">' + chatEdit.locale.Cancel + '</a>' +
    ' </span>';
    oEditor.hide();
    oMsg.hide().before(sHtml);
    } else if (num == 1 && chatEdit.iConfirm(chatEdit.locale.Remove + "\n\n" + sMsg) == 1) {
    chatEdit.submitEdit(ID, 1, oThis);
    }
    },

    submitEdit: function(ID, num, oThis) {
    var p = $(oThis).closest('p');
    if (num == 0) {
    var value = $('#edit-' + ID).val();
    $('#message').val('/edit' + ID + 'Μ' + value);
    p.find('span.msg > span').html(chatEdit.parseBBCode(value)).show();
    window.chatbox.send();
    } else if (num == 1) {
    $('#message').val('/del' + ID + 'Μ');
    $("#chatbox .shout-" + ID).remove();
    window.chatbox.send();
    }
    p.find('.date-and-time').show().end().find('span.msg').show();
    $(oThis).parent().remove();
    },

    shake: function() {
    var iFrame = parent.$("#frame_chatbox"),
        interval = 70,
        distance = 10,
        times = 4;
    iFrame.css('position','relative');
    for(var iter = 0; iter < (times + 1); iter++){
    iFrame.animate({
    left:((iter%2 == 0 ? distance : distance*-1))
    }, interval);
    }
    iFrame.animate({ left: 0}, interval);
    },

    async: function(mode) {
    jQuery.ajaxSetup({
    async: mode
    });
    },

    iConfirm: function(text) {
    return (confirm(text) == true) ? true : false;
    }
    };

    // "For" asynchronous loop, faster and does not lock the browser interface when you have many messages!
    (function($) {
    $.assyncFor = function(arr, limitOfMsg, callback) {
    var max_len = (arr.length > limitOfMsg) ? (arr.length - limitOfMsg) : 0;
    if (max_len < 0) {
    max_len = 0;
    }
    for (var i = max_len, len = arr.length; i < len; ++i) {
    var boundCallback = callback.bind(null, i, arr[i]);
    setTimeout(boundCallback, i);
    }
    return this;
    };
    }(jQuery));

    Chatbox.prototype.send = function(params) {
    var self = this,
    isCMD = null,
    message = $('#message').val().trim(),
    aArray = ['/id', '/edit', '/del', '/shake', '/abs', '/away', '/clear', '/cls', '/kick', '/ban', '/unban', '/me', '/exit', '/mod', '/unmod'];

    for (var i = 0, len = aArray.length; i < len; ++i) {
    if (message.indexOf(aArray[i]) == 0) {
    isCMD = aArray[i];
    }
    }
    switch (isCMD) {
    case null:
    $('#message').val('/id' + (Math.random() + "000000000").substr(2, 10) + 'Μ' + message);
    break;
    case '/shake':
    if ((chatEdit.isStorage) && (parent._userdata.user_level > 0)) {
    $('#message').val('/shake' + parent._userdata.user_id + 'Μ');
    }
    break;
    }
    if (!params) {
    params = $('form[name=\'post\']').serialize()
    }
    var data = params + '&method=send&archives=' + this.archives;
    $('#message').val('').focus();
    $.ajax({
    url: this.actionsUrl,
    type: 'post',
    data: data,
    dataType: 'json',
    cache: false,
    success: function(response) {
    self.refresh(response)
    }
    })
    };

    Chatbox.prototype.refresh = function(data) {
    if (data.error) {
    $("body").html(data.error)
    } else {
    /*
    if (this.connected && !this.archives) {
    $("#chatbox_footer").css("display", "block");
    $("#chatbox_messenger_form").css("display", "block");
    $("#chatbox_messenger_form").css("visibility", "visible")
    } else {
    $("#chatbox_footer").css("display", "none");
    $("#chatbox_messenger_form").css("display", "none");
    $("#chatbox_messenger_form").css("visibility", "hidden")
    }
    */
    if (this.connected) {
    $("#chatbox_display_archives").show();
    $("#chatbox_option_co").hide();
    $("#chatbox_option_disco, #chatbox_footer").show();
    $("#chatbox_messenger_form").css('display', 'block');
    $("#chatbox_messenger_form").css('visibility', 'visible');
    $(".format-message").each(function() {
    var name = $(this).attr("name");
    var value = my_getcookie("CB_" + name);
    $(this).prop("checked", parseInt(value) ? true : false)
    });
    this.format();
    if (data.lastModified) {
    this.listenParams.lastModified = data.lastModified
    }
    if (!chatEdit.interval) {
    $("#chatbox").empty();
    chatEdit.interval = setInterval(function() {
    chatbox.get();
    }, 5000);
    if (document.getElementById("chat-smiles-show") == null) {
    chatEdit.loadSmile();
    }
    }
    } else {
    if (chatEdit.interval) {
    clearInterval(chatEdit.interval);
    chatEdit.interval = 0;
    $("#chatbox").empty();
    }
    $("#chatbox_option_co").show();
    $("#chatbox_option_disco, #chatbox_footer").hide();
    $("#chatbox_display_archives").hide();
    $("#chatbox_messenger_form").css('display', 'none');
    $("#chatbox_messenger_form").css('visibility', 'hidden');
    }
    if (data.users) {
    this.users = [];
    $(".online-users, .away-users").empty();
    $(".member-title").hide();
    for (var i in data.users) {
    var user = data.users[i];
    this.users[user.id] = user;
    //var username = "<span style='color:" + user.color + "'>" + (user.admin ? "@ " : "") + "<span class='chatbox-username chatbox-user-username' data-user='" + user.id + "' >" + user.username + "</span></span>";
    var username = "";
    for (var j in data.messages) {
    var message = data.messages[j];
    if (message.userId == user.id) {
    if (message.user.avatar) {
    username = "<span class='cb-avatar'><img src='" + message.user.avatar + "' style='height: 24px; width: 24px; margin-right: 4px;'/></span>";
    }
    }
    }
    username += "<span style='color:" + user.color + "'>" + (user.admin ? "@ " : "") + "<span class='chatbox-username chatbox-user-username' data-user='" + user.id + "' >" + user.username + "</span></span>";
    var list = user.online ? ".online-users" : ".away-users";
    $(list).append("<li>" + username + "</li>")
    }
    if (!$(".online-users").is(":empty")) {
    $(".member-title.online").show()
    }
    if (!$(".away-users").is(":empty")) {
    $(".member-title.away").show()
    }
    }
    if (data.messages) {
    var scroll = !this.messages || this.messages.length != data.messages.length;
    this.messages = data.messages;

    if ( (scroll && data.messages.length == 1) || !data.connected) {
    $("#chatbox").empty();
    }

    if (this.messages) {
    var oThis = this, // Here we save the current "this" for use inside "For" asynchronous loop!
    html = "";

    $.assyncFor(oThis.messages, chatEdit.config.limitOfMsg, function(index, message) { // The "For" asynchronous loop...
    // CMD and UID...
    var CMD = null,
    UID = null;

    if (message.userId > 0) {
    CMD = message.msg.match(/([^]+)(\/[a-z]+)([0-9]+)Μ([^]+)/);
    } else {
    UID = index;
    }

    // Checks for message editions...
    if (CMD !== null) {
    /* Example:
    Match 1: <span style="color: #222222">/edit9125922055Μchatbox8 - Edit Messages!</span>
    Group 1: <span style="color: #222222">
    Group 2: /edit
    Group 3: 9125922055
    Group 4: chatbox8 - Edit Messages!</span>
    */
    switch (CMD[2]) {
    case '/del':
    $(".shout-" + CMD[3]).remove();
    break;
    case '/edit':
    $(".shout-" + CMD[3]).find('span.msg').html(CMD[1] + CMD[4]);
    break;
    case '/shake':
    if ( ((index + 1) == oThis.messages.length) && scroll && $('#chatbox_members span[data-user="' + message.userId + '"]').length) {
    if (parent._userdata.user_id !== Number(message.userId)) {
    setTimeout(function(){ chatEdit.shake() }, 500);
    }
    html =
    "<p class='chatbox_row_" + (index % 2 == 1 ? 2 : 1) + " clearfix shout-" + index + "'>" +
    " <span class='date-and-time' title='" + message.date + "'>(" + message.datetime + ")</span>" +
    " <span class='msg'><img src='https://2img.net/u/1917/43/09/52/smiles/18952631.png' />" +
    " <span style='color:" + message.user.color + "'><strong> " + message.username +
    " <span style='color: red'>&nbsp;" + chatEdit.config.shakeMsg + "</span></strong>" +
    " </span>" +
    " </span>" +
    "</p>";
    $("#chatbox").append(html);
    }
    break;
    default:
    UID = CMD[3];
    message.msg = CMD[1] + CMD[4];
    CMD = null; // Reset CMD!
    break
    }

    }

    if (CMD == null) {
    // Here checks if there is already a message in the DOM, if already, not need to process the same message!
    if ( $("#chatbox .shout-" + UID).length || (chatEdit.config.Notice && message.userId == -10) ) {
    return false;
    }

    // Processes the message content |ClassName index|
    html = "<p class='chatbox_row_" + (index % 2 == 1 ? 2 : 1) + " clearfix shout-" + UID + "'>" +
    " <span class='date-and-time' title='" + message.date + "'>(" + message.datetime + ")";
    if (message.userId == -10) {
    html += "</span>" + "<span class='msg'><span style='color:" + message.msgColor + "'><strong> " + message.msg + "</strong></span></span>"
    } else {
    if ((parent._userdata.username == message.username) || (parent._userdata.user_level > 0)) {
    html +=
    " <span class='editor'>" +
    " &nbsp;<img alt='Edit' style='cursor: pointer;' onclick='chatEdit.editShout(\"" + UID + "\", 0, this);' src='https://i.servimg.com/u/f59/18/17/62/92/commen10.png'>&nbsp;" +
    " <img alt='Remove' style='cursor: pointer;' onclick='chatEdit.editShout(\"" + UID + "\", 1, this);' src='https://i.servimg.com/u/f59/18/17/62/92/delete10.png'>" +
    " </span>";
    }
    html += "</span>" +
    " <span class='user-msg'>";
    if (oThis.avatar) {
    html += "<span class='cb-avatar'><img src='" + message.user.avatar + "' /></span>";
    }
    html += " <span class='user' style='color:" + message.user.color + "'>" +
    " <strong> " + (message.user.admin ? chatEdit.config.Prefix + " " : "") +
    " <span class='chatbox-username chatbox-message-username' data-user='" + message.userId + "' >" + message.username + "</span>&nbsp;:&nbsp;" +
    " </strong>" +
    " </span>" +
    " <span class='msg'>" + message.msg + "</span>" +
    " </span>";
    }
    html += "</p>";
    /**
    * Here the "append" will not make slow the code execution since it is not within a synchronous loop,
    * but instead in an asynchronous loop that schedules the execution later!
    */
    $("#chatbox").append(html);
    }
    if ((index + 1) == oThis.messages.length) {
    if (scroll) {
    $("#chatbox")[0].scrollTop = $("#chatbox").prop("scrollHeight") * 2
    }
    }
    });
    }
    }
    }
    };

    if (chatEdit.config.Title.length) {
    $("a.chat-title").text(chatEdit.config.Title);
    }

    $("#chatbox_option_co, #chatbox_option_disco").bind("click", function() {
    $("#chatbox").empty();
    });

    /*if ($('#chatbox_option_disco:visible')) {
    chatEdit.async(false);
    chatbox.get();
    chatEdit.async(true);
    }*/
    parent.document.getElementById('frame_chatbox').style.visibility='visible';

    if (chatEdit.config.autoLogin) { // && chatbox.connected == false) {
    setTimeout(function() {
    $('#chatbox_option_co:visible').click() // chatbox.connect();
    }, 1000);
    }
    };
    script.type = "text/javascript";
    script.innerHTML = "$(function() { (" + chatbox_script.toString() + ")(); });";
    oIframe.getElementsByTagName("head")[0].appendChild(script);
    };[/code][quote][quote][/td][code][b][i][u][s][center][size=(.*?)][url][url=(.*?)][color=(.*?)][img][/tr][code][b][i][u][s][center][size=(.*?)][url][url=(.*?)][color=(.*?)][img][quote][/table][code][b][i][u][s][center][size=(.*?)][url][url=(.*?)][color=(.*?)][img][quote][code]

    [/code]
    skouliki
    skouliki
    Manager
    Manager


    Female Posts : 15391
    Reputation : 1709
    Language : English,Greek
    Location : Greece

    Solved Re: https from green turned gray.

    Post by skouliki January 26th 2020, 12:14 pm

    i cant read like this please edit your post and use code tags for the code

    avatar
    Guest
    Guest


    Solved Re: https from green turned gray.

    Post by Guest January 26th 2020, 1:17 pm

    I don't see any issues on Chrome. Your site is marked as safe:
    https from green turned gray. - Page 2 Untitl11
    Same thing on Firefox and on the mobile version of Chrome.

      Current date/time is November 14th 2024, 12:56 pm