iBPlanet.pl

Witaj Gościu ( Zaloguj | Rejestruj )

 
Closed TopicStart new topic
> Brak polskich znaków na forum, Czyli tzw. krzaczki
kwiateusz
post wto, 13 gru 2005 - 14:55
Post #1


Sensei
Ikona grupy

Grupa: Administratorzy
Postów: 2,467
Dołączył: pon, 05 gru 05
Skąd: iBplanet.pl
Korzystam z IPB 2.3




1.Wchodzimy do ACP

2.Przechodzimy na zakladke Skórki & Wygląd (Skin &Templates)

3.Wybieramy Zarządzaj skórkami (Skin Manager)

4.Klikamy na nazwe skinu i wybieramy Edytuj nagłówek i stopkę forum(Edit Board Header & Wrapper)
i zmieniamy :

KOD
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html  xml:lang="en" lang="en" xmlns="http://www.w3.org/1999/xhtml">


na :

KOD
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xml:lang="pl" lang="pl" xmlns="http://www.w3.org/1999/xhtml">


oraz :

KOD
<meta http-equiv="content-type" content="text/html; charset=iso-8859-1" />


na :

KOD
<meta http-equiv="content-type" content="text/html; charset=iso-8859-2" />


klikamy na Zapisz Wrapper (Save Wrapper)

5.Klikamy ponownie na nazwe skinu i wybieramy Edytuj szablon HTML (Edit HTML Template)

6.Wybieramy All Global HTML potem Redirect i zamieniamy tresc na :

KOD
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xml:lang="pl" lang="pl" xmlns="http://www.w3.org/1999/xhtml">
   <head>
    <meta http-equiv="content-type" content="text/html; charset=iso-8859-2" />
        <title>{ipb.lang['stand_by']}</title>
        <meta http-equiv="refresh" content="2; url=$Url" />
        <script type="text/javascript"> </script>
        $css
    </head>
    <body>
        <div id="redirectwrap">
            <h4>{ipb.lang['thanks']}</h4>
            <p>$Text<br /><br />{ipb.lang['transfer_you']}</p>
            <p class="redirectfoot">(<a href="$Url">{ipb.lang['dont_wait']}</a>)</p>
        </div>
    </body>
</html>


7.W All Global HTML wybieramy pop_up_window i tresc zmieniamy na :

KOD
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xml:lang="pl" lang="pl" xmlns="http://www.w3.org/1999/xhtml">
   <head>
    <meta http-equiv="content-type" content="text/html; charset=iso-8859-2" />
        <title>$title</title>
        $css
    </head>
    <script type="text/javascript">
      <!--
       var ipb_var_st       = "{ipb.input['st']}";
       var ipb_lang_tpl_q1  = "{ipb.lang['tpl_q1']}";
       var ipb_var_s        = "{ipb.session_id}";
       var ipb_var_phpext   = "{ipb.vars['php_ext']}";
       var ipb_var_base_url = "{ipb.script_url}";
       var ipb_input_f      = "{ipb.input['f']}";
       var ipb_input_t      = "{ipb.input['t']}";
       var ipb_input_p      = "{ipb.input['p']}";
       var ipb_var_cookieid = "{ipb.vars['cookie_id']}";
       var ipb_var_cookie_domain = "{ipb.vars['cookie_domain']}";
       //-->
    </script>
    <script type="text/javascript" src="jscripts/ipb_global.js"></script>
    <body>
        <div>
            $text
        </div>
    </body>
</html>


8.Otwieramy / skin_cache / cacheid_X / skin_global.php

Szukamy:


KOD
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  <html xml:lang="pl" lang="pl" xmlns="http://www.w3.org/1999/xhtml">
  <head>
  <title><% TITLE %>
  <meta http-equiv="content-type" content="text/html; charset=iso-8859-1" />



I zamieniamy na:


KOD
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  <html xml:lang="pl" lang="pl" xmlns="http://www.w3.org/1999/xhtml">
  <head>
  <title><% TITLE %>
  <meta http-equiv="content-type" content="text/html; charset=iso-8859-2" />



W tym samym pliku szukamy:


KOD
$IPBHTML .= <<
  <html>
  <head>
   <title>{$ibforums->lang['stand_by']}
   <meta http-equiv="refresh" content="2; url=$Url" />
   <script type="text/javascript">



I zamieniamy na:


KOD
$IPBHTML .= <<
  <html>
  <head>
   <title>{$ibforums->lang['stand_by']}
                       <meta http-equiv='Content-Language' content='pl'/>
    <meta http-equiv="content-type" content="text/html;  charset=iso-8859-2" />
   <script type="text/javascript">


9.Otwieramy / skin_cache / cacheid_X / skin_portal.php

Szukamy:


KOD
<meta http-equiv="content-type" content="text/html; charset=iso-8859-1" />



I zamieniamy na:


KOD
<meta http-equiv="content-type" content="text/html; charset=iso-8859-2" />


10.Otwieramy / sources / classes / class_email.php

Szukamy:


KOD
var $char_set     = 'iso-8859-1';



I zamieniamy na:


KOD
var $char_set     = 'iso-8859-2';


12.Otwieramy / lofiversion / lofi_skin.php

I szukamy:


KOD
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  <html xml:lang="pl" lang="pl" xmlns="http://www.w3.org/1999/xhtml">
  <head>
  <title><% TITLE %>
  <meta http-equiv="content-type" content="text/html; charset=iso-8859-1" />



Zmieniamy na:


KOD
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  <html xml:lang="pl" lang="pl" xmlns="http://www.w3.org/1999/xhtml">
  <head>
  <title><% TITLE %>
  <meta http-equiv="content-type" content="text/html; charset=iso-8859-2" />


13. I koniec smile.gif
Go to the top of the page
 
+Quote Post

Closed TopicStart new topic
1 Użytkowników czyta ten temat (1 Gości i 0 Anonimowych użytkowników)
0 Zarejestrowanych:

 



RSS Wersja Lo-Fi Aktualny czas: sobota, 19 maj 2012 - 19:11