Login Chat Box Automatico Sáb 20 Jun 2015 - 21:58
- Descrição:
Uso tb o seguinte to´pico para ter o chat em tds as paginasCaros Amigos da BS
Não sei mais o que fazer.
A meses procuro a solução deste meu problema.
Meu chat Box não faz Login Automatico de jeito nenhum.
Atualmente estou usando o codigo passado por nosso colega Krenisk no seguinte tópico, só não segui a parte do CSS.
[Tens de ter uma conta e sessão iniciada para poderes visualizar este link]
[quote=Krenisk]Olá então tente isto:
Depois crie um JS com investimento apenas no índice e poste este código:
- Código:
// Redefine function!
function insertChatBox(chatbox_id, chatbox_url) {
return insertChatBoxNew(chatbox_id, chatbox_url);
}
// Redefine function!
function insertChatBoxNew(chatbox_id, chatbox_url) {
// Put the chat box on top of widgets!
$('#' + chatbox_id).parent().detach().prependTo('#wrapper');
document.getElementById(chatbox_id).innerHTML = '<iframe src="/chatbox/index.forum?archives" id="frame_chatbox" scrolling="no" width="100%" height="100%" marginwidth="0" marginheight="0" frameborder="0"></iframe>';
}
Veja se resulta.
- Código:
function updateIframeSize(x,y){
if (x != '') {
$('#' + x).height(y + 10 + 'px');
}
}
$(function() {
$('#page-body').prepend('<iframe id="iframe_shoutbox" height="360px" width="100%" frameBorder="0" src="/chatbox">Seu navegador não suporta IFRAMES</iframe>');
});
- Informações:
Fórum: | [Tens de ter uma conta e sessão iniciada para poderes visualizar este link] | Versão: | PUNBB |
Tipo: | Pedido de código | Tags: | Login,Automatico |