Webboard

Pełna wersja: Jak edytowac szablon portalu
Aktualnie przeglądasz uproszczoną wersję forum. Kliknij tutaj, by zobaczyć wersję z pełnym formatowaniem.
wersja skryptu MyBB:1.6.3
adres forum:dungal-serwer.cba.pl/portal.php
na czym polega problem (screen, opis, komunikaty):

Witam. Jest to mój trzeci problem.

Jeśli wciśniecie prawym na stronę i źródlo, w zależności jaką macie przeglądarke. Ja mam Chrome i wciskam Zbadaj element. Powiedzcie mi jaka jest nazwe tego pliku, który odpowiada za strukture portalu, ponieważ jest możliwość zmienienia Szukaj i Użytkownicy na Forum i Portal tylko, jeśli uzyskam dostęp do tego pliku.. Niestety nie moge znaleść jak on się nazywa... Proszę o pomoc.

Dziękuje za pomoc.
Chodzi o template? ACP -> Style i Szablony -> Twój Szablon - > Portal -> portal_, ewentualnie Header (Nagłówek)
Niestety nie ma tam takiego pliku... Chodzi mi o takie coś:
Kod:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><!-- start: portal -->
<html xml:lang="pl" lang="pl" xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Dungal Serwer Minecraft</title>
<!-- start: headerinclude -->
<link rel="alternate" type="application/rss+xml" title="Najnowsze wątki (RSS 2.0)" href="http://www.dungal-serwer.cba.pl/syndication.php" />
<link rel="alternate" type="application/atom+xml" title="Najnowsze wątki (Atom 1.0)" href="http://www.dungal-serwer.cba.pl/syndication.php?type=atom1.0" />
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<meta http-equiv="Content-Script-Type" content="text/javascript" />
<script type="text/javascript" src="http://www.dungal-serwer.cba.pl/jscripts/prototype.js?ver=1603"></script>
<script type="text/javascript" src="http://www.dungal-serwer.cba.pl/jscripts/general.js?ver=1603"></script>
<script type="text/javascript" src="http://www.dungal-serwer.cba.pl/jscripts/popup_menu.js?ver=1600"></script>
<link type="text/css" rel="stylesheet" href="http://www.dungal-serwer.cba.pl/cache/themes/theme4/css3.css" />
<link type="text/css" rel="stylesheet" href="http://www.dungal-serwer.cba.pl/cache/themes/theme4/global.css" />

<script type="text/javascript">
<!--
    var cookieDomain = ".dungal-serwer.cba.pl";
    var cookiePath = "/";
    var cookiePrefix = "";
    var deleteevent_confirm = "Czy na pewno chcesz usunąć to wydarzenie?";
    var removeattach_confirm = "Czy na pewno chcesz usunąć zaznaczone załączniki?";
    var loading_text = 'Wczytywanie<br />Proszę czekać...';
    var saving_changes = 'Zapisywanie zmian...';
    var use_xmlhttprequest = "1";
    var my_post_key = "a1621b38d1853ebfbd5e58ab9f58fc3e";
    var imagepath = "images";
// -->
</script>

<!-- end: headerinclude -->
</head>
<body><!--]>--><script type="text/javascript">ok=false;</script><script type="text/javascript" src="http://a.cba.pl/r1.js"></script>
<!-- (C) 2000-2009 Gemius SA - gemiusAudience / ver 11.1 / pp.cba.pl / podstrony-->
<script type="text/javascript">
<!--//--><![CDATA[//><!--
var pp_gemius_identifier ='p9.lpfe6LVht.FvD5q6cb8Pc7Mq_YOxZNwdcvPdYR1n.u7';
//--><!]]>
</script>
<script type="text/javascript" src="http://arbo.hit.gemius.pl/xgemius.js"></script>
<script type='text/javascript' src='http://go.arbopl.bbelements.com/bb/bb_one2n.js'></script>
<script type='text/javascript'>/* <![CDATA[ */
if (ok) bmone2n.addPosition('1585.4.1.30','');
if (ok) bmone2n.getAd('go.arbopl.bbelements.com','',''+(typeof(bburlparam)=='string'?'&'+bburlparam:''));
/* ]]> */</script>
<div id='bmone2t-1585.4.1.30' style='display:none'><script type='text/javascript'>/* <![CDATA[ */ if (ok) bmone2n.makeAd('1585.4.1.30'); /* ]]> */</script></div>
<script type='text/javascript'>/* <![CDATA[ */ if (ok) bmone2n.moveAd(); /* ]]> */</script>

<!-- start: header -->
<div id="container">

        <a name="top" id="top"></a>

        <div id="header">

            <div id="logo">

                <div class="wrapper">

                    <a href="http://www.dungal-serwer.cba.pl/index.php"><img src="http://www.dungal-serwer.cba.pl/images/logo.png" alt="Dungal Serwer Minecraft" title="Dungal Serwer Minecraft" /></a>

                </div>

            </div>

            <div id="panel">

                <div class="upper"><!-- This div(class="upper") is closed in the header_welcomeblock_member and header_welcomeblock_guest templates -->

                    <div class="wrapper">

                        <ul class="menu top_links">

                            <li><a href="http://www.dungal-serwer.cba.pl/search.php" class="search">Szukaj</a></li>

                            <li><a href="http://www.dungal-serwer.cba.pl/memberlist.php" class="memberlist">Użytkownicy</a></li>

                            <li><a href="http://www.dungal-serwer.cba.pl/calendar.php" class="calendar">Kalendarz</a></li>

                        </ul>

                        <!-- start: header_welcomeblock_member -->
<!-- Continuation of div(class="upper") as opened in the header template -->

    <span class="welcome"><strong>Witaj, Hussar</strong>. Ostatnia wizyta: Dzisiaj, 06:18 PM <a href="http://www.dungal-serwer.cba.pl/member.php?action=logout&amp;logoutkey=d43deacb6e14a65694f75aea4ddfe560" class="logout">Wyloguj</a></span>

    </div>

</div>

<div class="lower">

    <div class="wrapper">

        <ul class="menu panel_links">

            <li><a href="http://www.dungal-serwer.cba.pl/usercp.php" class="usercp">Panel użytkownika</a></li>

            <!-- start: header_welcomeblock_member_moderator -->
<li><a href="http://www.dungal-serwer.cba.pl/modcp.php" class="modcp">MCP</a></li>
<!-- end: header_welcomeblock_member_moderator -->

            <!-- start: header_welcomeblock_member_admin -->
<li><a href="http://www.dungal-serwer.cba.pl/admin/index.php" class="admincp">ACP</a></li>
<!-- end: header_welcomeblock_member_admin -->

        </ul>

        <ul class="menu user_links">

            <li><a href="#" onclick="MyBB.popupWindow('http://www.dungal-serwer.cba.pl/misc.php?action=buddypopup', 'buddyList', 350, 350);">Lista znajomych</a></li>

            <li><a href="http://www.dungal-serwer.cba.pl/search.php?action=getnew">Pokaż nowe posty</a></li>

            <li><a href="http://www.dungal-serwer.cba.pl/search.php?action=getdaily">Pokaż dzisiejsze posty</a></li>

            <li><a href="http://www.dungal-serwer.cba.pl/private.php">Prywatne wiadomości</a> (0 nowych, 0 wszystkich)</li>

        </ul>

    </div>

</div>
<!-- end: header_welcomeblock_member -->

            </div>

        </div>

        <div id="content">

            <div class="wrapper">

                

                

                

                

                

                <!-- start: nav -->

<div class="navigation">
<!-- start: nav_bit -->
<a href="http://www.dungal-serwer.cba.pl/index.php">Dungal Serwer Minecraft</a>
<!-- end: nav_bit --><!-- start: nav_sep_active -->
<br /><img src="images/nav_bit.gif" alt="" />
<!-- end: nav_sep_active --><!-- start: nav_bit_active -->
<span class="active">Portal</span>
<!-- end: nav_bit_active -->
</div>
<!-- end: nav -->

                <br />
<!-- end: header -->
<table width="100%" cellspacing="0" cellpadding="5" border="0" align="center">
<tr><td valign="top" width="200">
<!-- start: portal_welcome -->
<table border="0" cellspacing="0" cellpadding="5" class="tborder">
<tr>
<td class="thead"><strong>Witaj, Hussar</strong></td>
</tr>
<tr>
<td class="trow1">
<!-- start: portal_welcome_membertext -->
<span class="smalltext"><em>Ostatnia wizyta:</em> Dzisiaj, 06:18 PM<br />
Od Twojej ostatniej wizyty napisano:<br />
<strong>&raquo;</strong> 0 nowych ogłoszeń<br />
<strong>&raquo;</strong> 0 nowych wątków<br />
<strong>&raquo;</strong> 0 nowych postów<br /><br />
<a href="http://www.dungal-serwer.cba.pl/search.php?action=getnew">Pokaż nowe posty</a><br /><a href="http://www.dungal-serwer.cba.pl/search.php?action=getdaily">Pokaż dzisiejsze posty</a>
</span>
<!-- end: portal_welcome_membertext -->
</td>
</tr>
</table><br />
<!-- end: portal_welcome -->
<!-- start: portal_pms -->
<table border="0" cellspacing="0" cellpadding="5" class="tborder">
<tr>
<td class="thead"><strong><a href="http://www.dungal-serwer.cba.pl/private.php">Prywatne wiadomości</a></strong></td>
</tr>
<tr>
<td class="trow1">
<span class="smalltext">Hussar, masz <b>0</b> nieprzeczytanych wiadomości.<br /><br />
<strong>&raquo; </strong> <strong>0</strong> Nieprzeczytane wiadomości<br />
<strong>&raquo; </strong> <strong>0</strong> Razem wiadomości</span>
</td>
</tr>
</table>
<br />
<!-- end: portal_pms -->
<!-- start: portal_search -->
<table border="0" cellspacing="0" cellpadding="5" class="tborder">
<tr>
<td class="thead"><strong>Szukaj na forum</strong></td>
</tr>
<tr>
<td class="trow1" align="center">
<form method="post" action="http://www.dungal-serwer.cba.pl/search.php">
<input type="hidden" name="action" value="do_search" />
<input type="hidden" name="postthread" value="1" />
<input type="hidden" name="forums" value="all" />
<input type="hidden" name="showresults" value="threads" />
<input type="text" class="textbox" name="keywords" value="" />
<!-- start: gobutton -->
<input type="submit" class="button" value="OK" />
<!-- end: gobutton -->
</form><br />
<span class="smalltext">
(<a href="http://www.dungal-serwer.cba.pl/search.php">Zaawansowane szukanie</a>)
</span>
</td>
</tr>
</table>
<br />
<!-- end: portal_search -->
<!-- start: portal_stats -->
<table border="0" cellspacing="0" cellpadding="5" class="tborder">
<tr>
<td class="thead"><strong>Statystyki</strong></td>
</tr>
<tr>
<td class="trow1">
<span class="smalltext">
<strong>&raquo; </strong>Użytkownicy: 1<br />
<strong>&raquo; </strong>Najnowszy użytkownik: <a href="http://www.dungal-serwer.cba.pl/member.php?action=profile&amp;uid=1">Hussar</a><br />
<strong>&raquo; </strong>Wątków na forum: 1<br />
<strong>&raquo; </strong>Postów na forum: 1
<br /><br /><a href="http://www.dungal-serwer.cba.pl/stats.php">Pełne statystyki</a>
</span>
</td>
</tr>
</table>
<br />
<!-- end: portal_stats -->
<!-- start: portal_whosonline -->
<table border="0" cellspacing="0" cellpadding="5" class="tborder">
<tr>
<td class="thead"><strong>Użytkownicy online</strong></td>
</tr>
<tr>
<td class="trow1">
<span class="smalltext">
Aktualnie jest <b>1</b> użytkownik online.<br /><strong>&raquo;</strong> <b>1</b> Użytkownik(ów) | <b>0</b> Gość(i)<br /><a href="http://www.dungal-serwer.cba.pl/member.php?action=profile&amp;uid=1"><span style="color: green;"><strong><em>Hussar</em></strong></span></a>
</span>
</td>
</tr>
</table>
<br />
<!-- end: portal_whosonline -->
<!-- start: portal_latestthreads -->
<table border="0" cellspacing="0" cellpadding="5" class="tborder">
<tr>
<td class="thead"><strong>Ostatnie wątki</strong></td>
</tr>
<!-- start: portal_latestthreads_thread -->
<tr>
<td class="trow1">
<strong><a href="http://www.dungal-serwer.cba.pl/showthread.php?tid=1">Serwer wystartował!</a></strong>
<span class="smalltext"><br />
<a href="showthread.php?tid=1&amp;action=lastpost">Ostatni post:</a> <a href="http://www.dungal-serwer.cba.pl/member.php?action=profile&amp;uid=1">Hussar</a><br />
Dzisiaj 05:39 PM<br />
<strong>&raquo; </strong>Odpowiedzi: 0<br />
<strong>&raquo; </strong>Wyświetleń: 3
</span>
</td>
</tr>
<!-- end: portal_latestthreads_thread -->
</table>
<br />
<!-- end: portal_latestthreads -->
</td>
<td>&nbsp;</td>
<td valign="top">
<!-- start: portal_announcement -->
<table cellspacing="0" cellpadding="5" class="tborder">
<tr>
<td class="thead"><strong>&nbsp; <a href="http://www.dungal-serwer.cba.pl/showthread.php?tid=1">Serwer wystartował!</a></strong></td>
</tr>
<tr>
<td class="trow2" align="right">
<span class="smalltext">Napisane przez: <a href="http://www.dungal-serwer.cba.pl/member.php?action=profile&amp;uid=1">Hussar</a>  - Dzisiaj 05:39 PM <!-- start: portal_announcement_numcomments_no -->
- Brak odpowiedzi
<!-- end: portal_announcement_numcomments_no --></span>
</td>
</tr>
<tr>
<td class="trow1">
<table border="0" cellpadding="5" width="100%">
    <tr>
        
        <td class="trow1">
            <p>
                <div style="text-align: center;"><span style="color: #FFA500;"><span style="font-size: x-large;"><span style="font-family: Tahoma;"><span style="font-weight: bold;">Nasz Serwer</span></span></span></span><br />
<a href="http://mcserverstatus.com/index.php?action=viewserver&amp;id=2855" target="_blank"><img src="http://mcserverstatus.com/2855_1.png" border="0" alt="[Obrazek: 2855_1.png]" /></a><br />
<br />
<span style="font-weight: bold;"><span style="color: #32CD32;">Typ Serwera</span></span>: <span style="color: #32CD32;">Survival</span><br />
<span style="font-weight: bold;"><span style="color: #32CD32;">WhiteList</span></span>: <span style="color: #32CD32;">On</span><br />
<span style="font-weight: bold;"><span style="color: #32CD32;">Potwory</span></span>: <span style="color: #32CD32;">On</span><br />
<span style="font-weight: bold;"><span style="color: #32CD32;">Zwierzęta</span></span>: <span style="color: #32CD32;">On</span><br />
<span style="font-weight: bold;"><span style="color: #32CD32;">Sloty</span></span>: <span style="color: #32CD32;">30</span><br />
<br />
<span style="color: #FF4500;"><span style="font-size: large;"><span style="font-weight: bold;">Plugins:</span></span></span><br />
WorldEdit<br />
WorldGuard<br />
ChestShop<br />
Cuboid<br />
CommandBook<br />
AuthMe<br />
Dynmap<br />
<br />
<span style="font-size: large;"><span style="color: #00BFFF;">Cennik Cuboid:</span></span><br />
<span style="color: #1E90FF;">1 Diamond - 10x10<br />
2 Diamond - 20x20<br />
3 Diamond - 30x30<br />
4 Diamond - 40x40<br />
5 Diamond - 50x50</span><br />
<br />
<span style="font-size: large;"><span style="color: #00BFFF;">Cennik VIP:</span></span><br />
<span style="color: #1E90FF;">10zł - VIP 30 Dni - Możliwości: <br />
15zł - VIP 30 Dni - Możliwości: <br />
25zł - VIP 30 Dni - Możliwości: <br />
<br />
Po zakupieniu Vip'a, następny 50% taniej!</span><br />
<br />
<br />
<br />
<br />
</div>
            </p>
            
        </td>
    </tr>
    <tr>
        <td align="right" colspan="2" valign="bottom">
            <span class="smalltext">
                <a href="http://www.dungal-serwer.cba.pl/printthread.php?tid=1"><img src="images/printable.gif" alt="Wydrukuj tę wiadomość" title="Wydrukuj tę wiadomość" /></a>&nbsp;<a href="http://www.dungal-serwer.cba.pl/sendthread.php?tid=1"><img src="images/send.gif" alt="Wyślij tę wiadomość znajomemu" title="Wyślij tę wiadomość znajomemu" /></a>
            </span>
        </td>
    </tr>
</table>
</td>
</tr>
</table>
<br />
<!-- end: portal_announcement -->
</td>
</tr>
</table>
<!-- start: footer -->
<div id="debug">Generated in 0.2027621 seconds (25.28% PHP / 74.72% MySQL)<br />SQL Queries: 15 /  Global Parsing Time: 0.1049740 / Memory Usage: 4.25 MB<br />PHP version: 5.2.17 / Server Load: 10.58 / GZip Compression: Disabled<br />[<a href="/portal.php?debug=1" target="_blank">advanced details</a>]<br /></div>

    </div>

</div>

<div id="footer">

    <div class="upper">

        <div class="wrapper">

            <!-- start: footer_languageselect -->
<div class="language">

<form method="get" action="/portal.php" id="lang_select">

    

    <select name="language" onchange="MyBB.changeLanguage();">

        <optgroup label="Wybierz język">

            <option value="english">&nbsp;&nbsp;&nbsp;English (American)</option>
<option value="polish" selected="selected">&nbsp;&nbsp;&nbsp;Polski</option>


        </optgroup>

    </select>

    <!-- start: gobutton -->
<input type="submit" class="button" value="OK" />
<!-- end: gobutton -->

</form>

</div>
<!-- end: footer_languageselect -->

            <ul class="menu bottom_links">

                <li><a href="mailto:sagox19@gmail.com">Kontakt</a></li>

                <li><a href="/">Dungal Serwer Minecraft</a></li>

                <li><a href="#top">Wróć do góry</a></li>

                <li><a href="http://www.dungal-serwer.cba.pl/archive/index.php">Wersja bez grafiki</a></li>

                <li><a href="http://www.dungal-serwer.cba.pl/misc.php?action=syndication">RSS</a></li>

                <li><a href="http://www.dungal-serwer.cba.pl/misc.php?action=help" class="help">Pomoc</a></li>

            </ul>

        </div>

    </div>

    <div class="lower">

        <div class="wrapper">

            <span id="current_time"><strong>Aktualny czas:</strong> 05-02-2011, 07:05 PM</span>

            <span id="copyright">

                <!-- MyBB is free software developed and maintained by a volunteer community.

                    It would be much appreciated by the MyBB Group if you left the full copyright and "powered by" notice intact,

                    to show your support for MyBB.  If you choose to remove or modify the copyright below,

                    you may be refused support on the MyBB Community Forums.

                

                    This is free software, support us and we'll support you. -->

                Polskie tłumaczenie &copy; 2007-2011 <a href="https://webboard.pl">Polski Support MyBB</a> <br/>Silnik forum <a href="http://www.mybboard.net" target="_blank">MyBB</a>, &copy; 2002-2011 <a href="http://www.mybboard.net" target="_blank">MyBB Group</a>.

                <!-- End powered by -->

            </span>

            <span id="theme">

                <!-- Apart is a series of twelve simple, beautiful themes released completely free of charge.

                    You love Apart - that's why you're using it - so why prevent others from finding Apart

                    by removing this short, simple created by statement? If you make changes to this theme,

                    feel free to modify the created by statement, as long as the originial credit remains

                    intact. Furthermore, if you remove or unjustly modify this simple statement, you will

                    be refused support for the theme.

    

                    Thanks for your consideration, and best of luck with your forum.

                    - Justin S., bellomandesign.com

                -->

                Theme created by <a href="http://bellomandesign.com/" target="_blank">Justin S.</a>

                <!-- End theme created by statement -->

            </span>

        </div>

    </div>

</div>

<!-- The following piece of code allows MyBB to run scheduled tasks. DO NOT REMOVE --><img src="http://www.dungal-serwer.cba.pl/task.php" border="0" width="1" height="1" alt="" /><!-- End task image code -->



</div>
<!-- end: footer -->
<!--]>--><script type="text/javascript"></script><div style="text-align:center;font-size:11px" class="cbalink"><a href="http://www.cba.pl/" title="darmowy hosting">Darmowy Hosting</a> CBA.PL<br/><br/></div>
<script type="text/javascript" src="http://a.cba.pl/r2.js"></script>
<script src="http://www.google-analytics.com/urchin.js" type="text/javascript"></script>
<script type="text/javascript">
_uacct = "UA-2289508-3";
urchinTracker();
</script>
</body>
</html>
<!-- end: portal -->


Gdzie takie coś znajde? Chce zmienić:
Kod:
                        <ul class="menu top_links">

                            <li><a href="http://www.dungal-serwer.cba.pl/search.php" class="search">Szukaj</a></li>

                            <li><a href="http://www.dungal-serwer.cba.pl/memberlist.php" class="memberlist">Użytkownicy</a></li>

Na:
Kod:
                        <ul class="menu top_links">

                            <li><a href="http://www.dungal-serwer.cba.pl/" class="search">Forum</a></li>

                            <li><a href="http://www.dungal-serwer.cba.pl/portal.php" class="memberlist">Portal</a></li>
Kod:
header_welcomeblock_guest
oraz
Kod:
header_welcomeblock_member

O to chodzi?
No własnie o to chodzi, gdzie znajde te pliki ?
Kod:
ACP -> Style i Szablony -> Szablony -> Szablon używany przez twój styl -> Header -> header_welcomeblock_guest
Wiesz co... Masz może TeamViewer albo podaj GG, bo takto spam porobimy..

[Obrazek: 61755510794626584138.png]

Tak wygląda zawartość mojego stylu.
(02.05.2011, 20:56)Hussar napisał(a): [ -> ]Wiesz co... Masz może TeamViewer albo podaj GG, bo takto spam porobimy..

[Obrazek: 61755510794626584138.png]

Tak wygląda zawartość mojego stylu.

<facepalm> Szablony - nie style,
Kod:
<div id="container">
        <a name="top" id="top"></a>
        <div id="header">
            <div id="logo">
                <div class="wrapper">
                    <a href="{$mybb->settings['bburl']}/index.php"><img src="{$theme['logo']}" alt="{$mybb->settings['bbname']}" title="{$mybb->settings['bbname']}" /></a>
                </div>
            </div>
            <div id="panel">
                <div class="upper"><!-- This div(class="upper") is closed in the header_welcomeblock_member and header_welcomeblock_guest templates -->
                    <div class="wrapper">
                        <ul class="menu top_links">
                            <li><a href="{$mybb->settings['bburl']}/" class="Forum">{$lang->toplinks_search}</a></li>
                            <li><a href="{$mybb->settings['bburl']}/portal.php" class="Portal">{$lang->toplinks_memberlist}</a></li>
                            <li><a href="{$mybb->settings['bburl']}/calendar.php" class="calendar">{$lang->toplinks_calendar}</a></li>
                        </ul>
                        {$welcomeblock}
            </div>
        </div>
        <div id="content">
            <div class="wrapper">
                {$pm_notice}
                {$bannedwarning}
                {$bbclosedwarning}
                {$unreadreports}
                {$pending_joinrequests}
                <navigation>
                <br />

Zrobiłem tak, ale nie zamieniło Szukaj na Forum, tylko zamieniło url pod nazwe... Co mam zrobic, zeby zamienic Szukaj na Forum...

Gdzie znajde TopLinks, bo zmieniłem właśnie toplinks_memberlist na toplinks_portal i dziala, ale toplinks_forum już nie działa...

Temat do zamknięcia.

Zamieniłem <li><a href="{$mybb->settings['bburl']}/" class="Forum">{$lang->toplinks_search}</a></li> za <li><a href="{$mybb->settings['bburl']}/">Forum</a></li>