Question Membermap shows big grey block

Status
Not open for further replies.
This is caused by this JavaScript on your site:

Code:
<script type="text/javascript" language="JavaScript1.2">
var howOften = 7; //number often in seconds to rotate
var current = 0; //start the counter at 0
var ns6 = document.getElementById&&!document.all; //detect netscape 6


var items = new Array();
    items[0]="<a href='/' ><img alt='test1- please ignore' img src='' height='auto' width='100%'  /></a>";
    items[1]="<a href='/'><img alt='test2-please ignore' img src='' height='auto' width='100%'  /></a>";

function rotater() {
    document.getElementById("placeholder").innerHTML = items[current];
    current = (current==items.length-1) ? 0 : current + 1;
    setTimeout("rotater()",howOften*1000);
}

function rotater() {
    if(document.layers) {
        document.placeholderlayer.document.write(items[current]);
        document.placeholderlayer.document.close();
    }
    if(ns6)document.getElementById("placeholderdiv").innerHTML=items[current]
        if(document.all)
            placeholderdiv.innerHTML=items[current];

    current = (current==items.length-1) ? 0 : current + 1; //increment or reset
    setTimeout("rotater()",howOften*1000);
}
window.onload=rotater;
//-->
</script>

This JS is broken, and doesn't work on the member map page. If you remove it, the Member Map should spring to life :)
 
That's really quite strange, I'm actually at a loss as to why that would be. The only thing I can think of would be that your site is running on HTTPS, but every piece of content is being served over HTTP.

Is it intended that your site forces people to run HTTPS? If so, have you changed your Board URL to https:// instead of http:// ?
 
Ok here is the solution, in case anyone else has this issue...

Not only change URL to "https://www.hobby-machinist.com]INSIDE THE HOBBY-MACHINIST"

BUT check "Enable board URL canonicalization"


Thanks!
 
That is very interesting, thank you for posting the solution :D

That setting is probably a good idea to keep enabled anyway, since it'll reduce the chances of duplicate content being reported by search engines.
 
Hello hobbymachinist,

This ticket has now been closed with the status Answered.

We hope your issue or question has been addressed to your satisfaction. If not, please feel free to re-open it by clicking this link.

If you have any further issues or questions, please feel free to start a new support ticket via the button at the top of every page.

Thank you!
 
Status
Not open for further replies.

DragonByte Member Map

XenForo 1.5.3+ XenForo 2.0.x XenForo 2.1.x XenForo 2.2.x
Seller
DragonByte Technologies
Release date
Last update
Total downloads
1,725
Customer rating
5.00 star(s) 1 ratings
Back
Top