Me Ayudan Con Esto!?

Esta es una discusión para el tema Me Ayudan Con Esto!? en el foro vBadvanced CMPS, bajo la categoría Soporte para Productos/Plugins; pero ahora tengo otro problema, cuando quiero poner un shoutbox, pongo agregar modulo llenos algunos datos (no todos) y pongo este codigo: Código: <td class="alt1" align="left" width="100%"> <form action="vbshout.php?{$session['sessionurl']}" method="post" name="vbshoutform" onsubmit="return postShout(this)"> <input type='hidden' ...
Página:


Resultados 1 al 6 de 6

Temas similares

  1. Me ayudan con el header? Respuestas: 8
    Por magiccen en el foro vBulletin 3 - Preguntas, Problemas y Soluciones
  1. #1
    Miembro especial Miembro de plata Array
    Fecha de ingreso
    27 nov, 08
    Mensajes
    62
    Gustado
    0 Veces
    Me Gustan
    0 Veces

    Predeterminado Me Ayudan Con Esto!?

    pero ahora tengo otro problema, cuando quiero poner un shoutbox, pongo agregar modulo llenos algunos datos (no todos)

    y pongo este codigo:
    Código:
    <td class="alt1" align="left" width="100%">
        <form action="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="Enviar" class="button" />
                                <if condition="$vboptions[shout_extra_options]">
                                <input type='button' class='button' value='Borrar' 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('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('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.display == 'none')? '' : 'none'
    }
     
    requestShouts()
     
    -->
    </script>
    lo pongo en Contenido de la Plantilla

    pero cuando pongo aceptar, me aparece lo siguiente



    alguna ayuda?? estoy haciendo algo mal??
    Última edición por mcloud; 29/11/2008 a las 17:14

  2. #2
    Miembro especial Miembro de oro Array Avatar de Capone
    Fecha de ingreso
    21 jul, 08
    Ubicación
    Chile...in da house
    Mensajes
    239
    Gustado
    0 Veces
    Me Gustan
    0 Veces

    Predeterminado Me Ayudan Con Esto!?

    jaja viste ke era una version antigua ...voy a ver ke onda con lo ultimo

    puede seeeeeeeeeer ke el archivo vba_cmps_admin no este en la carpeta
    forum/admincp

  3. #3
    Miembro especial Miembro de plata Array
    Fecha de ingreso
    27 nov, 08
    Mensajes
    62
    Gustado
    0 Veces
    Me Gustan
    0 Veces

    Predeterminado Re: Necesito Ayuda!

    Cita Iniciado por Capone Ver mensaje
    jaja viste ke era una version antigua ...voy a ver ke onda con lo ultimo

    puede seeeeeeeeeer ke el archivo vba_cmps_admin no este en la carpeta
    forum/admincp
    ok cuando encontres algo de info avisame plz

  4. #4
    Miembro especial Miembro de oro Array Avatar de Capone
    Fecha de ingreso
    21 jul, 08
    Ubicación
    Chile...in da house
    Mensajes
    239
    Gustado
    0 Veces
    Me Gustan
    0 Veces

    Predeterminado Re: Necesito Ayuda!

    prueba haciendo eso po xD!
    busca en la carpeta de el vbadvanced CMPS>forums>admincp el archivo vba_cmps_admin

    y lo subes a tuforo/admincp

  5. #5
    Miembro especial Miembro de plata Array
    Fecha de ingreso
    27 nov, 08
    Mensajes
    62
    Gustado
    0 Veces
    Me Gustan
    0 Veces

    Predeterminado Re: Necesito Ayuda!

    si lo tengo subido al archivo !

    lo subi for FTP apenas comence con el vba cmps..

  6. #6
    Miembro especial Miembro de plata Array
    Fecha de ingreso
    27 nov, 08
    Mensajes
    62
    Gustado
    0 Veces
    Me Gustan
    0 Veces

    Predeterminado Me Ayudan Con Esto!?

    bueno miren querria saber si me pueden dar una solucion a este problema..
    resulta que cuando quiero agregar un modulo, por ej para un shoutbox, voy lo agrego pongo el codigo todo y cuando pongo guardar me aparece este error....