1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Why does my Xenforo do this?

Discussion in 'Troubleshooting and Problems' started by Pro, Jul 28, 2011.

  1. Pro

    Pro Active Member

    forumswitch.jpg

    Only does it for a few seconds or less, then shoots to the correct style. Only does it some of the time.. I finally got a screenshot of it though.
     
  2. Kier

    Kier XenForo Developer Staff Member

    What you are seeing there is XenForo without CSS - I'm not entirely sure why your site is allowing the page to be rendered before CSS has been loaded though.
     
  3. EQnoble

    EQnoble Well-Known Member

    The site loaded and worked fine for me...i could only get it to display like that by clicking refresh then stop super quickly.
    It does not do for at any other xenforo installation I have tried so far though so yeah....i don't have an answer or anything just adding what I saw.
     
  4. EQnoble

    EQnoble Well-Known Member

    also in the rendered html....i see this is missing from Kairospot
    Code:
            <base href="[URL='http://xenforo.com/community/view-source:http://xenxero.com/']http://your.com/[/URL]" />         <script type="text/javascript">             var _b = document.getElementsByTagName('base')[0], _bH = "http://your.com/";             if (_b && _b.href != _bH) _b.href = _bH;         </script>
    
     
  5. Pro

    Pro Active Member

    Weird.. none of those names have any relevance to me. Xenxero or Your.com o_O
     
  6. EQnoble

    EQnoble Well-Known Member

    Well that is a line of code that i pretty much see in every xf installs source code being different for each site of course. (xenxero is my domain, I thought I changed all references in the code here but apparently not) I also messed it up pasting it in..

    This is what it should read I think.

    HTML:
            <base href="http://kairospot.net/" />
            <script type="text/javascript">
                var _b = document.getElementsByTagName('base')[0], _bH = "http://kairospot.net";
                if (_b && _b.href != _bH) _b.href = _bH;
            </script>
     
  7. CyberAP

    CyberAP Well-Known Member

    This is a usual situation when you suddenly stop the rebuilding templates process. Try creating new style and wait for all templates to rebuild.
     
  8. Floris

    Floris Guest

    Either that's from those styles

    Wait, third party styles putting THEIR adsense and javascript in their releases? o_O shady.
     
  9. erich37

    erich37 Well-Known Member

    where do you see the adsense in this template?
    I can not see it.....
     
  10. Floris

    Floris Guest

    I didn't review it properly.
     
  11. Pro

    Pro Active Member

    Sounds like something I probably did. So I need to completely restyle my theme again?.. Because it breaks when I export it now as well.

    help.jpg
     
  12. CyberAP

    CyberAP Well-Known Member

    Just create a new style (don't touch the old one). Then you can remove it after rebuild.

    But I suppose it is a problem with the style itself.
     
  13. Pro

    Pro Active Member

    Won't I have to go in and completely re-do the style properties again?
     
  14. CyberAP

    CyberAP Well-Known Member

    No.
     

Share This Page