IN FRENCH
Bonjour,
Je trouve ce plugin très pratique, et le créateur a disparu ...
Pourriez vous, vous les codeurs de MyBB et Moddeurs, créer un plugin similaire ?
J'ai du pour pouvoir l'utiliser sur la version 1.8.x modifier le fichier "general.js" quelques lignes des popups pour le faire fonctionner.
Part of the original code " general.js " MyBB 1.8.6 - Partie du code original "general.js" MyBB 1.8.6
popupWindow: function(url, options, root)
{
if(!options) options = { fadeDuration: 250, zIndex: (typeof modal_zindex !== 'undefined' ? modal_zindex : 9999) }
if(root != true)
url = rootpath + url;
$.get(url, function(html)
{
$(html).appendTo('body').modal(options);
});
},
Part of the modified Code " general.js " MyBB 1.8.x - Partie du code modifié de "general.js" MyBB 1.8.x
popupWindow: function(url, name, width, height, options, root)
{
settings = "toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=yes";
if(width)
{
settings = settings+",width="+width;
}
if(height)
{
settings = settings+",height="+height;
}
window.open(url, name, settings);
if(!options) options = { fadeDuration: 250, zIndex: (typeof modal_zindex !== 'undefined' ? modal_zindex : 9999) }
if(root != true)
url = rootpath + url;
$.get(url, function(html)
{
$(html).appendTo('body').modal(options);
});
},
NOTE : Le problème est que les fenêtres popups du nouveau MyBB n'ont plus la même apparence, et cela n'est pas la solution ...
D'avance un grand merci, pour une éventuelle réponse et aide
Très cordialement,
IN ENGLISH by Google ...
Hello,
I find this handy plugin , and the creator has disappeared ...
Could you, coders and modders MyBB , create a similar plugin?
I have to be able to use on version 1.8.x edit the file " general.js " popups few lines to make it work .
Part of the original code " general.js " MyBB 1.8.6 - Partie du code original "general.js" MyBB 1.8.6
popupWindow: function(url, options, root)
{
if(!options) options = { fadeDuration: 250, zIndex: (typeof modal_zindex !== 'undefined' ? modal_zindex : 9999) }
if(root != true)
url = rootpath + url;
$.get(url, function(html)
{
$(html).appendTo('body').modal(options);
});
},
Part of the modified Code " general.js " MyBB 1.8.x - Partie du code modifié de "general.js" MyBB 1.8.x
popupWindow: function(url, name, width, height, options, root)
{
settings = "toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=yes";
if(width)
{
settings = settings+",width="+width;
}
if(height)
{
settings = settings+",height="+height;
}
window.open(url, name, settings);
if(!options) options = { fadeDuration: 250, zIndex: (typeof modal_zindex !== 'undefined' ? modal_zindex : 9999) }
if(root != true)
url = rootpath + url;
$.get(url, function(html)
{
$(html).appendTo('body').modal(options);
});
},
NOTE : The problem is that the new MyBB popups no longer look the same , and this is not the solution
In advance thank you very much for any reply and help
Sincerely ,