Can't access classic verion in mobile ..? 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.
3 posters

    Can't access classic verion in mobile ..?

    Kirbs
    Kirbs
    Forumember


    Posts : 628
    Reputation : 18
    Language : English

    In progress Can't access classic verion in mobile ..?

    Post by Kirbs April 10th 2013, 7:51 pm

    Hello,

    4 days ago I went to my site and deleted all forum cookies and I did that from my mobile , Now that I did that I can't access my forum in classic version at all (I can access in mobile version But I need classic) So does all the forum members too that arrow that was supposed to take you to Classic version is not there anymore ? Anyone knows how can I fix it ?

    Thanks Smile .

    Forum URL : http://cyberduelacademy.forumotion.com/ .
    Username on forum: Kira .


    Last edited by Kirbs on April 12th 2013, 4:28 pm; edited 1 time in total
    Kirbs
    Kirbs
    Forumember


    Posts : 628
    Reputation : 18
    Language : English

    In progress Re: Can't access classic verion in mobile ..?

    Post by Kirbs April 12th 2013, 4:27 pm

    Bump.
    Kirbs
    Kirbs
    Forumember


    Posts : 628
    Reputation : 18
    Language : English

    In progress Re: Can't access classic verion in mobile ..?

    Post by Kirbs April 14th 2013, 3:20 am

    Bump ......
    Sanket
    Sanket
    ForumGuru


    Male Posts : 48766
    Reputation : 2830
    Language : English
    Location : Mumbai

    In progress Re: Can't access classic verion in mobile ..?

    Post by Sanket April 14th 2013, 7:04 am

    Have you asked your members about this?
    Kirbs
    Kirbs
    Forumember


    Posts : 628
    Reputation : 18
    Language : English

    In progress Re: Can't access classic verion in mobile ..?

    Post by Kirbs April 15th 2013, 6:34 pm

    Yes I did and they said they can't access it too
    Sanket
    Sanket
    ForumGuru


    Male Posts : 48766
    Reputation : 2830
    Language : English
    Location : Mumbai

    In progress Re: Can't access classic verion in mobile ..?

    Post by Sanket April 15th 2013, 6:41 pm

    Okay, first lets try a few things.
    Can you disable the javascript?
    Kirbs
    Kirbs
    Forumember


    Posts : 628
    Reputation : 18
    Language : English

    In progress Re: Can't access classic verion in mobile ..?

    Post by Kirbs April 15th 2013, 6:51 pm

    Ok i did it now it works but I can't give up my JS :/
    Sanket
    Sanket
    ForumGuru


    Male Posts : 48766
    Reputation : 2830
    Language : English
    Location : Mumbai

    In progress Re: Can't access classic verion in mobile ..?

    Post by Sanket April 15th 2013, 6:52 pm

    Sorry, but there is some javascript code that is causing the issue. You need to either fix it or remove it.
    Kirbs
    Kirbs
    Forumember


    Posts : 628
    Reputation : 18
    Language : English

    In progress Re: Can't access classic verion in mobile ..?

    Post by Kirbs April 15th 2013, 6:53 pm

    Can I post my JS and you tell me where the problem is ? Or PM them to you ?
    Sanket
    Sanket
    ForumGuru


    Male Posts : 48766
    Reputation : 2830
    Language : English
    Location : Mumbai

    In progress Re: Can't access classic verion in mobile ..?

    Post by Sanket April 15th 2013, 6:55 pm

    I am not really good at javascript, so i really can't give you a solution. Post it here anyways, maybe someone might have a fix.
    Kirbs
    Kirbs
    Forumember


    Posts : 628
    Reputation : 18
    Language : English

    In progress Re: Can't access classic verion in mobile ..?

    Post by Kirbs April 15th 2013, 6:58 pm

    Ok,

    JS Named "Variables", Checked In all pages:

    Code:
    $(function() {
      var x = document.getElementById('variables').getElementsByTagName('span');
      for (var i = 0, v; (v = x[i++]); ) {
            $('.' + v.id).html(v.innerHTML);
            $('.' + v.id + '-replace').each(function(i, e) {
                e.innerHTML = e.innerHTML.replace( RegExp('{' + v.id + '}', 'g') , v.innerHTML );
            }); 
      }
    });

    JS Named "Avatars", Checked In all pages :

    Code:
    $(window).load(function(){
    var x = document.getElementById('fa_usermenu').getElementsByTagName('img')[0].src;
    document.getElementById('usermenu').insertAdjacentHTML('afterbegin', '<span id="fa_proxy"><img src="'+x+'"/></span>');
    });

    Thanks in adv for anyone who is gonna check this JS Smile .
    SLGray
    SLGray
    Administrator
    Administrator


    Male Posts : 51553
    Reputation : 3519
    Language : English
    Location : United States

    In progress Re: Can't access classic verion in mobile ..?

    Post by SLGray April 15th 2013, 6:59 pm

    Which one is causing the issue? Or is it both of them?



    Can't access classic verion in mobile ..? Slgray10

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


    Posts : 628
    Reputation : 18
    Language : English

    In progress Re: Can't access classic verion in mobile ..?

    Post by Kirbs April 15th 2013, 7:00 pm

    Honestly Idk I just posted both because One or Both is causing this issue can you tell which one is it ?
    SLGray
    SLGray
    Administrator
    Administrator


    Male Posts : 51553
    Reputation : 3519
    Language : English
    Location : United States

    In progress Re: Can't access classic verion in mobile ..?

    Post by SLGray April 15th 2013, 7:03 pm

    Try this:
    Remove one and see if it causes the issue. Then try with the other one.



    Can't access classic verion in mobile ..? Slgray10

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


    Posts : 628
    Reputation : 18
    Language : English

    In progress Re: Can't access classic verion in mobile ..?

    Post by Kirbs April 15th 2013, 7:10 pm

    Ok did it I removed the Variables code and it worked so the problem is from this :

    Code:
    $(function() {
      var x = document.getElementById('variables').getElementsByTagName('span');
      for (var i = 0, v; (v = x[i++]); ) {
            $('.' + v.id).html(v.innerHTML);
            $('.' + v.id + '-replace').each(function(i, e) {
                e.innerHTML = e.innerHTML.replace( RegExp('{' + v.id + '}', 'g') , v.innerHTML );
            }); 
      }
    });


    Thanks Smile , Can you fix the code ?