Website URL
<private>
Chevereto version
3.10.8
Description of the issue
Hi
I have an SMF forum which i just activated https on.
The button has worked just fine until this.
This is the script I use:
<script async src="https://bilder.mbentusiastklubb.no/sdk/pup.js" data-url="https://bilder.mbentusiastklubb.no/upload" data-auto-insert="bbcode-embed-full"></script>
I have also tried
<script async src="https://www.mbentusiastklubb.no/bilder/sdk/pup.js" data-url="https://www.mbentusiastklubb.no/bilder/upload" data-auto-insert="bbcode-embed-full"></script>
but the result is the same, no upload button
before the change both addresses in the script was with http but changing to https did not help.
Is there any limitations with https versus http?
the script is inserted in a Global Headers and Footers plugin in the SMF forum and placed in the footer.
full footer script:
<script language="JavaScript">
var posters = document.getElementsByClassName('poster');
for(x in posters){
if(posters[x].children){
var type = '';
for(y in posters[x].children[1].children){
if(posters[x].children[1].children[y].className == 'membergroup'){
type = posters[x].children[1].children[y].innerHTML;
}
}
if(type == 'Administrator'){
posters[x].children[0].children[1].style.color = '#CC0000';
}else if(type == 'Betalende medlem'){
posters[x].children[0].children[1].style.color = '#267F00';
}else if(type == 'Gjest' || type == 'Guest'){
posters[x].children[0].style.color = '#606060';
}else if(!type){
posters[x].children[0].children[1].style.color = '#69ABED';
}
}
}
</script>
<center>
<SCRIPT LANGUAGE="JavaScript">
var theImages = new Array();
theImages[0] = '<a href="http://bergsauto.no/" target="_blank"><img src="https://www.mbentusiastklubb.com/smf/images/reklamebanner01.jpg"></a>'
theImages[1] = '<a href="https://www.mbentusiastklubb.no/?page_id=2477" target="_blank"><img src="https://www.mbentusiastklubb.no/wp-content/uploads/2011/08/annonse02.jpg"></a>'
theImages[2] = '<a href="https://mbtreff.no" target="_blank"><img src="https://www.mbentusiastklubb.com/smf/images/mbtreff_banner.png"></a>'
theImages[3] = '<a href="https://diagnosebutikken.no/butikk/bildiagnose/mercedes-benz" target="_blank"><img src="https://www.mbentusiastklubb.no/wp-content/uploads/2016/08/Diagnosebutikken-Mercedes.png"></a>'
theImages[4] = '<a href="https://www.mbentusiastklubb.no/?page_id=2473" target="_blank"><img src="https://www.mbentusiastklubb.no/wp-content/uploads/2018/01/Grasrotandel.jpg"></a>'
var j = 0
var p = theImages.length;
var preBuffer = new Array()
for (i = 0; i < p; i++){
preBuffer = new Image()
preBuffer.src = theImages
}
var whichImage = Math.round(Math.random()*(p-1));
function showImage(){
document.write(''+theImages[whichImage]+'');
}
showImage();
</script>
<script async src="https://bilder.mbentusiastklubb.no/sdk/pup.js" data-url="https://bilder.mbentusiastklubb.no/upload" data-auto-insert="bbcode-embed-full"></script>
</center>
<private>
Chevereto version
3.10.8
Description of the issue
Hi
I have an SMF forum which i just activated https on.
The button has worked just fine until this.
This is the script I use:
<script async src="https://bilder.mbentusiastklubb.no/sdk/pup.js" data-url="https://bilder.mbentusiastklubb.no/upload" data-auto-insert="bbcode-embed-full"></script>
I have also tried
<script async src="https://www.mbentusiastklubb.no/bilder/sdk/pup.js" data-url="https://www.mbentusiastklubb.no/bilder/upload" data-auto-insert="bbcode-embed-full"></script>
but the result is the same, no upload button
before the change both addresses in the script was with http but changing to https did not help.
Is there any limitations with https versus http?
the script is inserted in a Global Headers and Footers plugin in the SMF forum and placed in the footer.
full footer script:
<script language="JavaScript">
var posters = document.getElementsByClassName('poster');
for(x in posters){
if(posters[x].children){
var type = '';
for(y in posters[x].children[1].children){
if(posters[x].children[1].children[y].className == 'membergroup'){
type = posters[x].children[1].children[y].innerHTML;
}
}
if(type == 'Administrator'){
posters[x].children[0].children[1].style.color = '#CC0000';
}else if(type == 'Betalende medlem'){
posters[x].children[0].children[1].style.color = '#267F00';
}else if(type == 'Gjest' || type == 'Guest'){
posters[x].children[0].style.color = '#606060';
}else if(!type){
posters[x].children[0].children[1].style.color = '#69ABED';
}
}
}
</script>
<center>
<SCRIPT LANGUAGE="JavaScript">
var theImages = new Array();
theImages[0] = '<a href="http://bergsauto.no/" target="_blank"><img src="https://www.mbentusiastklubb.com/smf/images/reklamebanner01.jpg"></a>'
theImages[1] = '<a href="https://www.mbentusiastklubb.no/?page_id=2477" target="_blank"><img src="https://www.mbentusiastklubb.no/wp-content/uploads/2011/08/annonse02.jpg"></a>'
theImages[2] = '<a href="https://mbtreff.no" target="_blank"><img src="https://www.mbentusiastklubb.com/smf/images/mbtreff_banner.png"></a>'
theImages[3] = '<a href="https://diagnosebutikken.no/butikk/bildiagnose/mercedes-benz" target="_blank"><img src="https://www.mbentusiastklubb.no/wp-content/uploads/2016/08/Diagnosebutikken-Mercedes.png"></a>'
theImages[4] = '<a href="https://www.mbentusiastklubb.no/?page_id=2473" target="_blank"><img src="https://www.mbentusiastklubb.no/wp-content/uploads/2018/01/Grasrotandel.jpg"></a>'
var j = 0
var p = theImages.length;
var preBuffer = new Array()
for (i = 0; i < p; i++){
preBuffer = new Image()
preBuffer.src = theImages
}
var whichImage = Math.round(Math.random()*(p-1));
function showImage(){
document.write(''+theImages[whichImage]+'');
}
showImage();
</script>
<script async src="https://bilder.mbentusiastklubb.no/sdk/pup.js" data-url="https://bilder.mbentusiastklubb.no/upload" data-auto-insert="bbcode-embed-full"></script>
</center>