Problem in Staff Online Widget in the javascript - Page 2 Hitskin_logo Hitskin.com

This is a Hitskin.com skin preview
Install the skinReturn to the skin page

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.
4 posters

    Problem in Staff Online Widget in the javascript

    Van-Helsing
    Van-Helsing
    Hyperactive


    Male Posts : 2431
    Reputation : 116
    Language : English, Greek

    Solved Problem in Staff Online Widget in the javascript

    Post by Van-Helsing May 9th 2015, 12:32 am

    First topic message reminder :

    Hello,
    I found an error in javascript of staff online widget can someone help me to solve it?

    Problem in Staff Online Widget in the javascript - Page 2 22SUb3q
    Van-Helsing
    Van-Helsing
    Hyperactive


    Male Posts : 2431
    Reputation : 116
    Language : English, Greek

    Solved Re: Problem in Staff Online Widget in the javascript

    Post by Van-Helsing June 1st 2015, 2:52 pm

    Hello @JScript,
    There is another problem here probably it caused for the widgets sidebar.
    Van-Helsing
    Van-Helsing
    Hyperactive


    Male Posts : 2431
    Reputation : 116
    Language : English, Greek

    Solved Re: Problem in Staff Online Widget in the javascript

    Post by Van-Helsing June 3rd 2015, 1:37 pm

    bump
    Van-Helsing
    Van-Helsing
    Hyperactive


    Male Posts : 2431
    Reputation : 116
    Language : English, Greek

    Solved Re: Problem in Staff Online Widget in the javascript

    Post by Van-Helsing June 4th 2015, 9:41 pm

    Bump
    Van-Helsing
    Van-Helsing
    Hyperactive


    Male Posts : 2431
    Reputation : 116
    Language : English, Greek

    Solved Re: Problem in Staff Online Widget in the javascript

    Post by Van-Helsing June 6th 2015, 1:30 am

    Bump
    Van-Helsing
    Van-Helsing
    Hyperactive


    Male Posts : 2431
    Reputation : 116
    Language : English, Greek

    Solved Re: Problem in Staff Online Widget in the javascript

    Post by Van-Helsing June 7th 2015, 12:35 pm

    Bump
    Van-Helsing
    Van-Helsing
    Hyperactive


    Male Posts : 2431
    Reputation : 116
    Language : English, Greek

    Solved Re: Problem in Staff Online Widget in the javascript

    Post by Van-Helsing June 9th 2015, 2:12 pm

    Bump
    JScript
    JScript
    Forumember


    Male Posts : 741
    Reputation : 175
    Language : PT-BR, EN
    Location : Brazil

    Solved Re: Problem in Staff Online Widget in the javascript

    Post by JScript June 9th 2015, 4:51 pm

    @Black-Shadow
    Hello!
    I can assure you that the code I posted in this link: https://help.forumotion.com/t140589-problem-in-staff-online-widget-in-the-javascript#956123 - is working perfectly in my testing forum !

    Edit:
    The amount of JS code in your forum is greatly terrible !!!
    I counted 22 JavaScripts modules ...

    See:
    Problem in Staff Online Widget in the javascript - Page 2 Captur10

    Surely there are conflicts between them,

    JS
    Van-Helsing
    Van-Helsing
    Hyperactive


    Male Posts : 2431
    Reputation : 116
    Language : English, Greek

    Solved Re: Problem in Staff Online Widget in the javascript

    Post by Van-Helsing June 9th 2015, 9:13 pm

    Hello @JScript,
    Yes that true I have a lot javascripts, but I think I have been correct the most of them or removed the problematic javascript codes. The problem as I watched is the way which writing on local storage cache. How can I locate the conflicts to edit them?
    Van-Helsing
    Van-Helsing
    Hyperactive


    Male Posts : 2431
    Reputation : 116
    Language : English, Greek

    Solved Re: Problem in Staff Online Widget in the javascript

    Post by Van-Helsing June 10th 2015, 10:55 pm

    Bump
    Van-Helsing
    Van-Helsing
    Hyperactive


    Male Posts : 2431
    Reputation : 116
    Language : English, Greek

    Solved Re: Problem in Staff Online Widget in the javascript

    Post by Van-Helsing June 12th 2015, 10:09 pm

    bump
    Van-Helsing
    Van-Helsing
    Hyperactive


    Male Posts : 2431
    Reputation : 116
    Language : English, Greek

    Solved Re: Problem in Staff Online Widget in the javascript

    Post by Van-Helsing June 15th 2015, 2:46 am

    Bump
    Van-Helsing
    Van-Helsing
    Hyperactive


    Male Posts : 2431
    Reputation : 116
    Language : English, Greek

    Solved Re: Problem in Staff Online Widget in the javascript

    Post by Van-Helsing June 16th 2015, 2:01 pm

    Bump
    JScript
    JScript
    Forumember


    Male Posts : 741
    Reputation : 175
    Language : PT-BR, EN
    Location : Brazil

    Solved Re: Problem in Staff Online Widget in the javascript

    Post by JScript June 16th 2015, 2:31 pm

    Black-Shadow wrote:Bump
    Hello, I tested the code in your forum through the browser console and it worked normally! scratch

    JS
    Van-Helsing
    Van-Helsing
    Hyperactive


    Male Posts : 2431
    Reputation : 116
    Language : English, Greek

    Solved Re: Problem in Staff Online Widget in the javascript

    Post by Van-Helsing June 16th 2015, 2:43 pm

    Ok @JScript,
    I have removed some javascripts to make my forum working more quickly and debug the most of them. The only problem is when browser's cache full filled the status updates are not appearing in the widget but it is ok because I am usually cleaning the browser's cache.
    So I am marking the topic as solved. If will appearing any new problem I will open a new topic.

    Thank you very much for your assistance.Smile

    With Best Regards,
    Black-Shadow
    JScript
    JScript
    Forumember


    Male Posts : 741
    Reputation : 175
    Language : PT-BR, EN
    Location : Brazil

    Solved Re: Problem in Staff Online Widget in the javascript

    Post by JScript June 16th 2015, 2:52 pm

    Black-Shadow wrote:(...)The only problem is when browser's cache full filled the status updates are not appearing in the widget but it is ok because I am usually cleaning the browser's cache.
    (...)
    Interesting to know this!
    In this case, if you allow me to review the "storage" used by your forum to detect a possible failure or even the full use of 5mb ...

    JS
    Van-Helsing
    Van-Helsing
    Hyperactive


    Male Posts : 2431
    Reputation : 116
    Language : English, Greek

    Solved Re: Problem in Staff Online Widget in the javascript

    Post by Van-Helsing June 16th 2015, 3:00 pm

    How can I allow you to review the browser's local storage? Mozilla firefox using 350MB as cache by default I think the local storage cache is inside this folder(s)/files. This problem is appearing more usually in google chrome then mozilla firefox.
    Ape
    Ape
    Administrator
    Administrator


    Male Posts : 19325
    Reputation : 2005
    Language : fluent in dork / mumbojumbo & English haha

    Solved Re: Problem in Staff Online Widget in the javascript

    Post by Ape June 17th 2015, 1:36 pm

    is this problem solved ?



    Problem in Staff Online Widget in the javascript - Page 2 Left1212Problem in Staff Online Widget in the javascript - Page 2 Center11Problem in Staff Online Widget in the javascript - Page 2 Right112
    Problem in Staff Online Widget in the javascript - Page 2 Ape_b110
    Problem in Staff Online Widget in the javascript - Page 2 Ape1010
    JScript
    JScript
    Forumember


    Male Posts : 741
    Reputation : 175
    Language : PT-BR, EN
    Location : Brazil

    Solved Re: Problem in Staff Online Widget in the javascript

    Post by JScript June 17th 2015, 1:44 pm

    @Black-Shadow
    I think I did not express myself well, what I meant is that I will check the "storage" used on your forum with the code below:
    Code:

    console.clear();
    var i;

    console.log("local storage");
    for (i=0; i<localStorage.length; i++)  {
        console.log(localStorage.key(i)+"=["+localStorage.getItem(localStorage.key(i))+"]");
    }

    console.log("session storage");
    for (i=0; i<sessionStorage.length; i++) {
        console.log(sessionStorage.key(i)+"="+sessionStorage.getItem(sessionStorage.key(i))+"]");
    }

    That way I can check if there are any problems about it!

    @APE
    Maybe, but I do still wish to do some checks...

    JS
    Ape
    Ape
    Administrator
    Administrator


    Male Posts : 19325
    Reputation : 2005
    Language : fluent in dork / mumbojumbo & English haha

    Solved Re: Problem in Staff Online Widget in the javascript

    Post by Ape June 17th 2015, 1:53 pm

    ok i will leave it open for now until i get word from you Wink marked as back in progress



    Problem in Staff Online Widget in the javascript - Page 2 Left1212Problem in Staff Online Widget in the javascript - Page 2 Center11Problem in Staff Online Widget in the javascript - Page 2 Right112
    Problem in Staff Online Widget in the javascript - Page 2 Ape_b110
    Problem in Staff Online Widget in the javascript - Page 2 Ape1010
    Van-Helsing
    Van-Helsing
    Hyperactive


    Male Posts : 2431
    Reputation : 116
    Language : English, Greek

    Solved Re: Problem in Staff Online Widget in the javascript

    Post by Van-Helsing June 17th 2015, 4:49 pm

    JScript wrote:@Black-Shadow
    I think I did not express myself well, what I meant is that I will check the "storage" used on your forum with the code below:
    Code:

    console.clear();
    var i;

    console.log("local storage");
    for (i=0; i<localStorage.length; i++)  {
        console.log(localStorage.key(i)+"=["+localStorage.getItem(localStorage.key(i))+"]");
    }

    console.log("session storage");
    for (i=0; i<sessionStorage.length; i++) {
        console.log(sessionStorage.key(i)+"="+sessionStorage.getItem(sessionStorage.key(i))+"]");
    }

    That way I can check if there are any problems about it!

    @APE
    Maybe, but I do still wish to do some checks...

    JS

    Hello dear all,
    @JScript must I place this code on my forum?
    JScript
    JScript
    Forumember


    Male Posts : 741
    Reputation : 175
    Language : PT-BR, EN
    Location : Brazil

    Solved Re: Problem in Staff Online Widget in the javascript

    Post by JScript June 17th 2015, 6:24 pm

    @Black-Shadow
    No, it was just to show you how I will check the storage used by your forum...

    As soon as I complete the review I'll let you know,

    JS
    Van-Helsing
    Van-Helsing
    Hyperactive


    Male Posts : 2431
    Reputation : 116
    Language : English, Greek

    Solved Re: Problem in Staff Online Widget in the javascript

    Post by Van-Helsing June 19th 2015, 3:31 pm

    Hello @JScript,
    Is there an optimized code for the widget?
    JScript
    JScript
    Forumember


    Male Posts : 741
    Reputation : 175
    Language : PT-BR, EN
    Location : Brazil

    Solved Re: Problem in Staff Online Widget in the javascript

    Post by JScript June 19th 2015, 4:05 pm

    Van-Helsing
    Van-Helsing
    Hyperactive


    Male Posts : 2431
    Reputation : 116
    Language : English, Greek

    Solved Re: Problem in Staff Online Widget in the javascript

    Post by Van-Helsing June 24th 2015, 2:44 am

    Hello @JScript,
    Is there any update?
    Van-Helsing
    Van-Helsing
    Hyperactive


    Male Posts : 2431
    Reputation : 116
    Language : English, Greek

    Solved Re: Problem in Staff Online Widget in the javascript

    Post by Van-Helsing June 25th 2015, 2:50 pm

    Bump
    Van-Helsing
    Van-Helsing
    Hyperactive


    Male Posts : 2431
    Reputation : 116
    Language : English, Greek

    Solved Re: Problem in Staff Online Widget in the javascript

    Post by Van-Helsing June 28th 2015, 2:34 pm

    Hello,
    @JScript have you completed the test to mark it as "Solved"?
    JScript
    JScript
    Forumember


    Male Posts : 741
    Reputation : 175
    Language : PT-BR, EN
    Location : Brazil

    Solved Re: Problem in Staff Online Widget in the javascript

    Post by JScript June 28th 2015, 3:50 pm

    @Black-Shadow
    Yes, unfortunately I did not find problems in the code and it is working perfectly in various other forums that I have tested!

    JS
    Van-Helsing
    Van-Helsing
    Hyperactive


    Male Posts : 2431
    Reputation : 116
    Language : English, Greek

    Solved Re: Problem in Staff Online Widget in the javascript

    Post by Van-Helsing June 28th 2015, 9:21 pm

    Hello @JScript
    Ok I marked it as "Solved". If you have any code update please tag me.

    With Best-Regards,
    Black-Shadow.
    Ape
    Ape
    Administrator
    Administrator


    Male Posts : 19325
    Reputation : 2005
    Language : fluent in dork / mumbojumbo & English haha

    Solved Re: Problem in Staff Online Widget in the javascript

    Post by Ape June 28th 2015, 9:25 pm

    can this now be locked ?



    Problem in Staff Online Widget in the javascript - Page 2 Left1212Problem in Staff Online Widget in the javascript - Page 2 Center11Problem in Staff Online Widget in the javascript - Page 2 Right112
    Problem in Staff Online Widget in the javascript - Page 2 Ape_b110
    Problem in Staff Online Widget in the javascript - Page 2 Ape1010
    Van-Helsing
    Van-Helsing
    Hyperactive


    Male Posts : 2431
    Reputation : 116
    Language : English, Greek

    Solved Re: Problem in Staff Online Widget in the javascript

    Post by Van-Helsing June 28th 2015, 9:31 pm

    Yes @Ape you can lock it. Thanks.