Esta es una discusión para el tema VBadvance + (AJAX) vBShout en el foro vBadvanced CMPS, bajo la categoría Soporte para Productos/Plugins; Hola amigos instale mi foro.
la instalación fue primero foro y luego el vbadvance, luego de ello, instale el VBShout (que cuando lo hice se colgo dentro del foro), luego busque y busque y cree ...
Página:
Hola amigos instale mi foro.
la instalación fue primero foro y luego el vbadvance, luego de ello, instale el VBShout (que cuando lo hice se colgo dentro del foro), luego busque y busque y cree un modulo para el shoutbox (vbshout) que no se si esta bien
El problema que estoy teniendo lo veran en los adjuntos que envio,
cuando carga el vbshout en el vbadvance no funciona directamente queda ahi cargando y no pasa nada, el otro problema que tengo tambien.. es que luego de crear un nuevo tema en el foro y responder a ese tema te tira un error..tambien lo adjunto en jpg.
Espero me ayuden muchas gracias..
he soluciona varias cositas, pero estas ya no he podido agradesco su tiempo.
xuta a mi me paso lo mismo!!! quien puede explra cual es el problema...
edite el modulo porsiaca para colocar la direcion completa del vBShout peor aun ais no funciona si se postea en el advancer no se ve nada peor en el foro si se que se posteo...
help
Buenas, tengo novedades el segundo ya lo solucione habia un error en el path jeje... bueno en el vbshout todavia toy probando, desintale el vbshout igual asi que volvere a instalarlo
Superbigo: Vos tenes el modulo??? pasamelo si es asi y verifico la diferencia entre ambos y sacamos conclusiones![]()
ok te voy a mandar el link de que esta en l apagina del vbadvacer
ya que no tengo el modulo a mano!!![]()
aca esta el modulo
http://www.vbadvanced.com/forum/showthread.php?t=11628
lo puedes bajar sin problemas!!!!
Buenisimo, si podes mandame un MP con tu email asi nos contactamos por MSN un abrazo.
IGUANA
te agrege a mi msn porsiaca...
si alguin sabe cual es el problea porfa que lo postee!! gracielas
alguien lo tiene en español plz lo kice poner no me salio ahiii
a ki te dejo el modulo para shoutbox
<td class="alt1" align="left" width="100%">
<form action="foros/vbshout.php?{$session['sessionurl']}" method="post" name="vbshoutform" onsubmit="return postShout(this)">
<input type='hidden' name='do' value='shout' />
<input type='hidden' name='color' />
<input type='hidden' name='fontFamily' />
<input type='hidden' name='fontWeight' />
<input type='hidden' name='textDecoration' />
<input type='hidden' name='fontStyle' />
<if condition="!$vboptions[shout_editor_position]">
<if condition="$bbuserinfo[userid] > 0">
<table width='100%' border='0' cellpadding='0' cellspacing='0'>
<tr>
<td width='100%'>
<input type="text" name="shout" style="width: 90%" class="bginput" />
</td>
<td style='white-space:nowrap' width='1%'>
<input type="submit" value="Shout" class="button" />
<if condition="$vboptions[shout_extra_options]">
<input type='button' class='button' value='Clear' onclick='sb_Clear()' />
</if>
</td>
</tr>
</table>
<div style="height: 2px"></div>
</if>
</if>
<div id="vbshout" style="overflow:auto;height:{$vboptions['shout_box_height']}px;width:100%;">
Loading...
</div>
<if condition="$vboptions[shout_editor_position]">
<if condition="$bbuserinfo[userid] > 0">
<div style="height: 2px"></div>
<table width='100%' border='0' cellpadding='0' cellspacing='0'>
<tr>
<td width='100%'>
<input type="text" name="shout" style="width: 90%" class="bginput" />
</td>
<td style='white-space:nowrap' width='1%'>
<input type="submit" value="Shout" class="button" />
<if condition="$vboptions[shout_extra_options]">
<input type='button' class='button' value='Clear' onclick='sb_Clear()' />
</if>
</td>
</tr>
</table>
</if>
</if>
</form>
</td>
<script type='text/javascript'>
<!--
postingShout = false
function requestShouts()
{
if (!postingShout)
{
ShoutRequest = new vB_AJAX_Handler(true)
ShoutRequest.onreadystatechange(showShouts)
ShoutRequest.send('foros/vbshout.php', 'nocache=' + (5 * Math.random() * 1.33) )
}
}
function showShouts()
{
if (ShoutRequest)
{
if (ShoutRequest.handler.readyState == 4 && ShoutRequest.handler.status == 200 && ShoutRequest.handler.responseText)
{
Shouts = fetch_object('vbshout')
Shouts.innerHTML = '<table cellpadding="1" cellspacing="3" border="0" width="95%" align="left">' + ShoutRequest.handler.responseText + '</table>'
setTimeout('requestShouts()', 10000)
<if condition="$vboptions[shout_messages_order]">
document.getElementById('vbshout').scrollTop = 99999;
</if>
}
}
}
function sb_CollectHV(sbForm)
{
rString = ''
inputObjs = sbForm.getElementsByTagName('input')
for (i = 0; i < inputObjs.length; i++)
{
if (inputObjs[i].type == 'hidden' && inputObjs[i].value != '')
{
rString += '&' + inputObjs[i].name + '=' + PHP.urlencode(inputObjs[i].value)
}
}
return rString
}
function postShout(formObj)
{
doShout = new vB_AJAX_Handler(true)
doShout.onreadystatechange(postedShout)
if (postingShout)
{
alert('Posting in progress..')
return false
}
Shout = formObj.shout.value
if (Shout.replace(/ /g, '') == '')
{
alert('You must enter a shout!')
return false
}
doShout.send('foros/vbshout.php', 'do=shout&shout=' + PHP.urlencode(Shout) + sb_CollectHV(document.forms['vbshoutform']))
sb_Clear()
postingShout = true
return false
}
function postedShout()
{
if (doShout.handler.readyState == 4 && doShout.handler.status == 200)
{
postingShout = false
requestShouts()
}
}
function sb_Input_SC(sProperty, setting)
{
eval('document.forms["vbshoutform"].shout.style.' + sProperty + ' = "' + setting + '"')
eval('document.forms["vbshoutform"].' + sProperty + '.value = "' + setting + '"')
}
function getSelectionValue(eSelector)
{
return eSelector.options[eSelector.options.selectedIndex].value == 'Default' ? '' : eSelector.options[eSelector.options.selectedIndex].value
}
function sb_PropChange(eSelector, sProperty)
{
sb_Input_SC(sProperty, getSelectionValue(eSelector))
}
function sb_PropChange_Button_Value(sProperty)
{
trueValue = ''
switch (sProperty)
{
case 'fontWeight':
falseValue = 'bold'
break;
case 'textDecoration':
falseValue = 'underline'
break;
case 'fontStyle':
falseValue = 'italic'
break;
}
return (eval('document.forms["vbshoutform"].' + sProperty + '.value'))? trueValue : falseValue
}
function sb_PropChange_Button(cButton, sProperty)
{
if (cButton.value.match(/\*/))
{
cButton.value = cButton.value.replace(/\s+\*/, '')
}
else
{
cButton.value = cButton.value + ' *'
}
sb_Input_SC(sProperty, sb_PropChange_Button_Value(sProperty))
}
function sb_Smilie(code)
{
document.forms["vbshoutform"].shout.value += ' ' + code
return false
}
function sb_Clear()
{
document.forms["vbshoutform"].shout.value = ''
return true;
}
function sb_Smilies(cButton)
{
if (cButton.value.match(/\*/))
{
cButton.value = cButton.value.replace(/\s+\*/, '')
}
else
{
cButton.value = cButton.value + ' *'
}
document.getElementById('shout_emo').style.display = (document.getElementById('shout_emo').style.displa y == 'none')? '' : 'none'
}
requestShouts()
-->
</script>
lo agreg pero aun me sale loading en el chat y no me carga el chat y puse la url y todo pero cundo carga y cuando kiero mandar un mensaje para probar me sale a esta url http://www.portalfirmero.net/foros/vbshout.php?
la cual no existe pero si en la url k pide del modulo puse esto
http://www.portalfirmero.net/vbshout.php?
alguien me dice como areglar eso plz yo tengo mi web todo en la raiz![]()
Última edición por 3sc0rpi0n; 22/07/2006 a las 20:30