To jest tylko wersja do druku, aby zobaczyć pełną wersję tematu, kliknij TUTAJ
phpBB2 by Przemo
Support forów phpBB2 modified by Przemo

F.A.Q. - Read it first! - How to remove the symbols (below the smiles)?

Matteo - 03-09-2010, 22:33
Temat postu: How to remove the symbols (below the smiles)?
[ Question ]: How to remove the symbols (below the smiles) while writing a post?

[ Answer ]:

open posting.php
FIND and DELETE
Kod:
$symbols = array('µ','Ω','Π','φ','Δ','Θ','Λ','Σ','Φ','Ψ','α','β','χ','τ','γ','δ','ε','ζ','η','ψ','θ','λ','ξ','ρ','σ','ω','κ','Γ','♣','♥','ø','§','©','®','•','™','°','«','»','≤','≥','³','²','½','¼','¾','±','÷','×','√','∞','∫','≈','≠','≡','≈','←','→','↑','↓','↔','€','£','¥','¢','ƒ');

for($i = 0; $i < count($symbols); $i++)
{
    $tr_symbol_begin = $tr_symbol_end = '';
    if ( ($i / 11 == 1) || ($i / 11 == 2) || ($i / 11 == 3) || ($i / 11 == 4) || ($i / 11 == 5) || ($i / 11 == 6) || ($i / 11 == 7) )
    {
        $tr_symbol_begin = '<tr align="center" valign="middle">';
    }
    if ( ($i+1 / 11 == 1) || ($i+1 / 11 == 2) || ($i+1 / 11 == 3) || ($i+1 / 11 == 4) || ($i+1 / 11 == 5) || ($i+1 / 11 == 6) || ($i+1 / 11 == 7) )
    {
        $tr_symbol_end = '</tr>';
    }
    $template->assign_block_vars('symbols', array(
        'TR_SYMBOL_BEGIN' => $tr_symbol_begin,
        'TR_SYMBOL_END' => $tr_symbol_end,
        'SYMBOL' => $symbols[$i])
    );
}

open templates/*/posting_body.tpl
FIND and DELETE
Kod:
            <tr>
                <td align="center">
                    <table align="center">
                        <tr align="center" valign="middle">
                            <!-- BEGIN symbols -->
                            {symbols.TR_SYMBOL_BEGIN}
                            <td>
                                <a href="javascript:emoticon('{symbols.SYMBOL}')" class="genmed"><b>{symbols.SYMBOL}</b></a>
                            </td>
                            {symbols.TR_SYMBOL_END}
                            <!-- END symbols -->
                        </tr>
                    </table>
                </td>
            </tr>

(original content)



Powered by phpBB modified by Przemo © 2003 phpBB Group