Aranjare subforumuri in colonita

Vezi subiectul anterior Vezi subiectul urmator In jos

Rezolvat Aranjare subforumuri in colonita

Mesaj Scris de Alexutzu.Cosmin la data de Dum 2 Dec - 15:48

1.Salut as vrea si eu un script sami apara ultimul mesaj intr-un chenar...
2. As mai vrea un script care sami apara subforumurile de exemplu asa:
Topic 1 Topic 4
Topic 2 Topic 5
Topic 3 Topic 6

Asa as vrea sa arate!!Va rog sami spuneti unde sa bag.....acele scripturi

Alexutzu.Cosmin
Membru Forumgratuit

Mesaje : 82
Varsta : 18
Data de inscriere : 02/12/2012
Multumiri : 0
Membru exclus

http://www.powerstrike.forumer.ro

Sus In jos

Rezolvat Re: Aranjare subforumuri in colonita

Mesaj Scris de tgzgaming la data de Dum 2 Dec - 15:58

1. Inlocuiti index_box cu acesta:

Pentru phpbb2 inlocuiti tot ce aveti in index_box cu:

Cod:
<table width="100%" border="0" cellspacing="1" cellpadding="0" align="center">
          <tr>
              <td valign="bottom">
                <!-- BEGIN switch_user_logged_in -->
                <span class="gensmall">{LAST_VISIT_DATE}<br />
                {CURRENT_TIME}<br />
                </span>
                <!-- END switch_user_logged_in -->
                <div class="nav"><a class="nav" href="{U_INDEX}">{L_INDEX}</a>{NAV_CAT_DESC}</div>
              </td>
              <td class="gensmall" align="right" valign="bottom">
                <!-- BEGIN switch_user_logged_in -->
                <a class="gensmall" href="{U_SEARCH_NEW}">{L_SEARCH_NEW}</a><br />
                <a class="gensmall" href="{U_SEARCH_SELF}">{L_SEARCH_SELF}</a><br />
                <!-- END switch_user_logged_in -->
                <a class="gensmall" href="{U_SEARCH_UNANSWERED}">{L_SEARCH_UNANSWERED}</a>
              </td>
          </tr>
        </table>
        <!-- BEGIN catrow --><!-- BEGIN tablehead --><table class="forumline" width="100%" border="0" cellspacing="1" cellpadding="0">
          <tr>
              <th colspan="{catrow.tablehead.INC_SPAN}" nowrap="nowrap" width="100%" class="secondarytitle"> {catrow.tablehead.L_FORUM} </th>
              <th nowrap="nowrap" width="50">{L_TOPICS}</th>
              <th nowrap="nowrap" width="50">{L_POSTS}</th>
              <th nowrap="nowrap" width="150"><div style="width:150px;">{L_LASTPOST}</div></th>
          </tr>
          <!-- END tablehead -->
          <!-- BEGIN cathead -->
          <tr>
              <!-- BEGIN inc -->
              <td class="{catrow.cathead.inc.INC_CLASS}" width="46"><img src="{SPACER}" height="0" width="46" /></td>
              <!-- END inc -->
              <td class="{catrow.cathead.CLASS_CAT}" colspan="{catrow.cathead.INC_SPAN}" width="100%">
                <h{catrow.cathead.LEVEL} class="hierarchy">
                    <span class="cattitle">
                      <a class="cattitle" title="{catrow.cathead.CAT_DESC}" href="{catrow.cathead.U_VIEWCAT}">{catrow.cathead.CAT_TITLE}</a>
                    </span>
                </h{catrow.cathead.LEVEL}>
              </td>
              <td class="{catrow.cathead.CLASS_ROWPIC}" colspan="3" align="right"> </td>
          </tr>
          <!-- END cathead -->
          <!-- BEGIN forumrow -->
          <tr>
              <!-- BEGIN inc -->
              <td class="{catrow.forumrow.inc.INC_CLASS}" width="46"><img src="{SPACER}" height="0" width="46" alt="." /></td>
              <!-- END inc -->
              <td class="{catrow.forumrow.INC_CLASS}" align="center" valign="middle">
                <img title="{catrow.forumrow.L_FORUM_FOLDER_ALT}" src="{catrow.forumrow.FORUM_FOLDER_IMG}" alt="{catrow.forumrow.L_FORUM_FOLDER_ALT}" />
              </td>
              <td class="row1 over" colspan="{catrow.forumrow.INC_SPAN}" valign="top" width="100%" height="50">
                <h{catrow.forumrow.LEVEL} class="hierarchy">
                    <span class="forumlink">
                      <a class="forumlink" href="{catrow.forumrow.U_VIEWFORUM}">{catrow.forumrow.FORUM_NAME}</a><br />
                    </span>
                </h{catrow.forumrow.LEVEL}>
                <span class="genmed">{catrow.forumrow.FORUM_DESC}</span>
                <span class="gensmall">
                    <!-- BEGIN switch_moderators_links -->
                    {catrow.forumrow.switch_moderators_links.L_MODERATOR}{catrow.forumrow.switch_moderators_links.MODERATORS}
                    <!-- END switch_moderators_links -->
                    {catrow.forumrow.L_LINKS}{catrow.forumrow.LINKS}
                </span>
              </td>
              <td class="row3" align="center" valign="middle" height="50">
                <span class="gensmall">{catrow.forumrow.TOPICS}</span>
              </td>
              <td class="row2" align="center" valign="middle" height="50">
                <span class="gensmall">{catrow.forumrow.POSTS}</span>
              </td>
              <td class="row3 over" align="center" valign="middle" height="50">
                <div class="gensmall chenar"><span>{catrow.forumrow.LAST_POST}</span></div>
              </td>
          </tr>
          <!-- END forumrow -->
          <!-- BEGIN catfoot -->
          <tr>
              <!-- BEGIN inc -->
              <td class="{catrow.catfoot.inc.INC_CLASS}" width="46"><img src="{SPACER}" height="0" width="46" /></td>
              <!-- END inc -->
              <td class="spaceRow" colspan="{catrow.catfoot.INC_SPAN}" height="1"><img src="{SPACER}" alt="" height="1" width="1" /></td>
          </tr>
          <!-- END catfoot -->
          <!-- BEGIN tablefoot -->
        </table><img src="{SPACER}" alt="" height="5" width="1" /><!-- END tablefoot --><!-- END catrow -->


Iar in foaia de still css adaugati:

Cod:
.chenarlastposts {
margin: 3px;
margin-top: 3px;
margin-right: 3px;
margin-bottom: 3px;
margin-left: 3px;
padding: 2px;
padding-top: 2px;
padding-right: 2px;
padding-bottom: 2px;
padding-left: 2px;
border: 2px solid
#0097FC;
border-top-width: 2px;
border-right-width: 2px;
border-bottom-width: 2px;
border-left-width: 2px;
border-top-style: solid;
border-right-style: solid;
border-bottom-style: solid;
border-left-style: solid;
border-top-color:
#0097FC;
border-right-color:
#0097FC;
border-bottom-color:
#0097FC;
border-left-color:
#0097FC;
-webkit-border-radius: 5px;
-moz-border-radius: 5px;
border-radius: 5px;
border-top-left-radius: 5px;
border-top-right-radius: 5px;
border-bottom-right-radius: 5px;
border-bottom-left-radius: 5px;
-webkit-box-shadow: 0 0 8px
#0097FC;
-moz-box-shadow: 0 0 8px #0097FC;
box-shadow: 0 0 8px
#0097FC;
}







2.

Cod:
<table border="0" cellspacing="1" cellpadding="0">
    <tr>
    <td width="150"><br>
    <img src="http://i.imgur.com/UxVmO.gif">    <a href="">Liber</a><br>
<td width="150"><br>
    <img src="http://i.imgur.com/UxVmO.gif">    <a href="">Liber</a><br>
    </td>

    <td width="150"><br>
    <img src="http://i.imgur.com/UxVmO.gif">    <a href="">Liber</a><br>

</td>
</tr></table>

<table border="0" cellspacing="1" cellpadding="0">
    <tr>
    <td width="150"><br>
    <img src="http://i.imgur.com/UxVmO.gif">    <a href="">Liber</a><br>
<td width="150"><br>
    <img src="http://i.imgur.com/UxVmO.gif">    <a href="">Liber</a><br>
    </td>

    <td width="150"><br>
    <img src="http://i.imgur.com/UxVmO.gif">    <a href="">Liber</a><br>
<td>

</tr></table>

Adaugi in descrierea forumului..


Ultima editare efectuata de catre tgzgaming in Dum 2 Dec - 16:08, editata de 1 ori

tgzgaming
Membru activ

Mesaje : 637
Varsta : 19
Data de inscriere : 26/06/2012
Multumiri : 2
2 avertismente

http://aimcs.dust.tv/

Sus In jos

Rezolvat Re: Aranjare subforumuri in colonita

Mesaj Scris de Alexutzu.Cosmin la data de Dum 2 Dec - 16:06

2. Rezolvat
1. Nu merge


Ultima editare efectuata de catre Alexutzu.Cosmin in Dum 2 Dec - 16:13, editata de 1 ori

Alexutzu.Cosmin
Membru Forumgratuit

Mesaje : 82
Varsta : 18
Data de inscriere : 02/12/2012
Multumiri : 0
Membru exclus

http://www.powerstrike.forumer.ro

Sus In jos

Rezolvat Re: Aranjare subforumuri in colonita

Mesaj Scris de Emanuel la data de Dum 2 Dec - 16:11

Domnule Alexutzu.Cosmin, tgzgaming v-a dat doar scriptul pt. "Topic 1 Topic 4
Topic 2 Topic 5
Topic 3 Topic 6" iar cu scriptul "ultimul mesaj intr-un chenar" vă ajut eu:

Cod:
.chenar {
margin: 3px;
margin-top: 3px;
margin-right: 3px;
margin-bottom: 3px;
margin-left: 3px;
padding: 2px;
padding-top: 2px;
padding-right: 2px;
padding-bottom: 2px;
padding-left: 2px;
border: 2px solid
#0097FC;
border-top-width: 2px;
border-right-width: 2px;
border-bottom-width: 2px;
border-left-width: 2px;
border-top-style: solid;
border-right-style: solid;
border-bottom-style: solid;
border-left-style: solid;
border-top-color:
#0097FC;
border-right-color:
#0097FC;
border-bottom-color:
#0097FC;
border-left-color:
#0097FC;
-webkit-border-radius: 5px;
-moz-border-radius: 5px;
border-radius: 5px;
border-top-left-radius: 5px;
border-top-right-radius: 5px;
border-bottom-right-radius: 5px;
border-bottom-left-radius: 5px;
-webkit-box-shadow: 0 0 8px
#0097FC;
-moz-box-shadow: 0 0 8px #0097FC;
box-shadow: 0 0 8px
#0097FC;
}

Acest cod se adauga in CSS si modificați culorile după bunul plac.


[Trebuie sa fiti inscris si conectat pentru a vedea acest link][Trebuie sa fiti inscris si conectat pentru a vedea acest link][Trebuie sa fiti inscris si conectat pentru a vedea acest link]


[Trebuie sa fiti inscris si conectat pentru a vedea acest link]

Emanuel
Moderator
Moderator

masculin

Mesaje : 2925
Data de inscriere : 06/11/2012
Multumiri : 820
Niciun avertisment

http://www.infinigame.org/

Sus In jos

Rezolvat Re: Aranjare subforumuri in colonita

Mesaj Scris de Alexutzu.Cosmin la data de Dum 2 Dec - 16:15

Hey la aia cu chenaru nu merge x(la unele categori nu merge x(

Alexutzu.Cosmin
Membru Forumgratuit

Mesaje : 82
Varsta : 18
Data de inscriere : 02/12/2012
Multumiri : 0
Membru exclus

http://www.powerstrike.forumer.ro

Sus In jos

Rezolvat Re: Aranjare subforumuri in colonita

Mesaj Scris de Emanuel la data de Dum 2 Dec - 16:36

Imposibil, am verificat eu pe pbpBB2 si a mers.

Adauga asta in CSS

Cod:
.chenar {
margin: 3px;
margin-top: 3px;
margin-right: 3px;
margin-bottom: 3px;
margin-left: 3px;
padding: 2px;
padding-top: 2px;
padding-right: 2px;
padding-bottom: 2px;
padding-left: 2px;
border: 2px solid
#0097FC;
border-top-width: 2px;
border-right-width: 2px;
border-bottom-width: 2px;
border-left-width: 2px;
border-top-style: solid;
border-right-style: solid;
border-bottom-style: solid;
border-left-style: solid;
border-top-color:
#0097FC;
border-right-color:
#0097FC;
border-bottom-color:
#0097FC;
border-left-color:
#0097FC;
-webkit-border-radius: 5px;
-moz-border-radius: 5px;
border-radius: 5px;
border-top-left-radius: 5px;
border-top-right-radius: 5px;
border-bottom-right-radius: 5px;
border-bottom-left-radius: 5px;
-webkit-box-shadow: 0 0 8px
#0097FC;
-moz-box-shadow: 0 0 8px #0097FC;
box-shadow: 0 0 8px
#0097FC;
}


[Trebuie sa fiti inscris si conectat pentru a vedea acest link][Trebuie sa fiti inscris si conectat pentru a vedea acest link][Trebuie sa fiti inscris si conectat pentru a vedea acest link]


[Trebuie sa fiti inscris si conectat pentru a vedea acest link]

Emanuel
Moderator
Moderator

masculin

Mesaje : 2925
Data de inscriere : 06/11/2012
Multumiri : 820
Niciun avertisment

http://www.infinigame.org/

Sus In jos

Rezolvat Re: Aranjare subforumuri in colonita

Mesaj Scris de Alexutzu.Cosmin la data de Dum 2 Dec - 16:44

nu merge la acele categori care am posturi la ultimele mesaje numi apare nimicc e ca un dreptunghi...grii...nu e bun scriptu

Alexutzu.Cosmin
Membru Forumgratuit

Mesaje : 82
Varsta : 18
Data de inscriere : 02/12/2012
Multumiri : 0
Membru exclus

http://www.powerstrike.forumer.ro

Sus In jos

Rezolvat Re: Aranjare subforumuri in colonita

Mesaj Scris de tgzgaming la data de Dum 2 Dec - 16:49

Adauga in css acest cod:

Cod:
.chenarlastposts {
margin: 3px;
margin-top: 3px;
margin-right: 3px;
margin-bottom: 3px;
margin-left: 3px;
padding: 2px;
padding-top: 2px;
padding-right: 2px;
padding-bottom: 2px;
padding-left: 2px;
border: 2px solid
#0097FC;
border-top-width: 2px;
border-right-width: 2px;
border-bottom-width: 2px;
border-left-width: 2px;
border-top-style: solid;
border-right-style: solid;
border-bottom-style: solid;
border-left-style: solid;
border-top-color:
#0097FC;
border-right-color:
#0097FC;
border-bottom-color:
#0097FC;
border-left-color:
#0097FC;
-webkit-border-radius: 5px;
-moz-border-radius: 5px;
border-radius: 5px;
border-top-left-radius: 5px;
border-top-right-radius: 5px;
border-bottom-right-radius: 5px;
border-bottom-left-radius: 5px;
-webkit-box-shadow: 0 0 8px
#0097FC;
-moz-box-shadow: 0 0 8px #0097FC;
box-shadow: 0 0 8px
#0097FC;
}


Ma scuzi ca am gresit codul.

tgzgaming
Membru activ

Mesaje : 637
Varsta : 19
Data de inscriere : 26/06/2012
Multumiri : 2
2 avertismente

http://aimcs.dust.tv/

Sus In jos

Rezolvat Re: Aranjare subforumuri in colonita

Mesaj Scris de Alexutzu.Cosmin la data de Dum 2 Dec - 16:54

Tot nu merge...


Ultima editare efectuata de catre Alexutzu.Cosmin in Dum 2 Dec - 16:58, editata de 2 ori

Alexutzu.Cosmin
Membru Forumgratuit

Mesaje : 82
Varsta : 18
Data de inscriere : 02/12/2012
Multumiri : 0
Membru exclus

http://www.powerstrike.forumer.ro

Sus In jos

Rezolvat Re: Aranjare subforumuri in colonita

Mesaj Scris de Emanuel la data de Dum 2 Dec - 16:55

Codul oferit de tgzgaming nu se adauga in index_box ci in Foaia de stil CSS Foarte fericit


[Trebuie sa fiti inscris si conectat pentru a vedea acest link][Trebuie sa fiti inscris si conectat pentru a vedea acest link][Trebuie sa fiti inscris si conectat pentru a vedea acest link]


[Trebuie sa fiti inscris si conectat pentru a vedea acest link]

Emanuel
Moderator
Moderator

masculin

Mesaje : 2925
Data de inscriere : 06/11/2012
Multumiri : 820
Niciun avertisment

http://www.infinigame.org/

Sus In jos

Rezolvat Re: Aranjare subforumuri in colonita

Mesaj Scris de Alexutzu.Cosmin la data de Dum 2 Dec - 16:57

scuze dar tot nu merge x( am facut in tocmai cum a spus eu si de index_box ziceam de sus de tot...dar am incuit exact cum mia spus

Alexutzu.Cosmin
Membru Forumgratuit

Mesaje : 82
Varsta : 18
Data de inscriere : 02/12/2012
Multumiri : 0
Membru exclus

http://www.powerstrike.forumer.ro

Sus In jos

Rezolvat Re: Aranjare subforumuri in colonita

Mesaj Scris de Adi. la data de Dum 2 Dec - 19:49

Salut,

Mergi in PA - Afisare - Template-uri - General - index_box si inlocuiesti tot cu:
Cod:
<table width="100%" border="0" cellspacing="1" cellpadding="0" align="center">
  <tr>
      <td valign="bottom">
        <!-- BEGIN switch_user_logged_in -->
        <span class="gensmall">{LAST_VISIT_DATE}<br />
        {CURRENT_TIME}<br />
        </span>
        <!-- END switch_user_logged_in -->
        <div class="nav"><a class="nav" href="{U_INDEX}">{L_INDEX}</a>{NAV_CAT_DESC}</div>
      </td>
      <td class="gensmall" align="right" valign="bottom">
        <!-- BEGIN switch_user_logged_in -->
        <a class="gensmall" href="{U_SEARCH_NEW}">{L_SEARCH_NEW}</a><br />
        <a class="gensmall" href="{U_SEARCH_SELF}">{L_SEARCH_SELF}</a><br />
        <!-- END switch_user_logged_in -->
        <a class="gensmall" href="{U_SEARCH_UNANSWERED}">{L_SEARCH_UNANSWERED}</a>
      </td>
  </tr>
</table>
<!-- BEGIN catrow --><!-- BEGIN tablehead --><table class="forumline" width="100%" border="0" cellspacing="1" cellpadding="0">
  <tr>
      <th colspan="{catrow.tablehead.INC_SPAN}" nowrap="nowrap" width="100%" class="secondarytitle"> {catrow.tablehead.L_FORUM} </th>
      <th nowrap="nowrap" width="50"></th>
      <th nowrap="nowrap" width="50"></th>
      <th nowrap="nowrap" width="150"><div style="width:150px;">{L_LASTPOST}</div></th>
  </tr>
  <!-- END tablehead -->
  <!-- BEGIN cathead -->
  <tr>
      <!-- BEGIN inc -->
      <td class="{catrow.cathead.inc.INC_CLASS}" width="46"><img src="{SPACER}" height="0" width="46" /></td>
      <!-- END inc -->
      <td class="{catrow.cathead.CLASS_CAT}" colspan="{catrow.cathead.INC_SPAN}" width="100%">
        <h{catrow.cathead.LEVEL} class="hierarchy">
            <span class="cattitle">
              <a class="cattitle" title="{catrow.cathead.CAT_DESC}" href="{catrow.cathead.U_VIEWCAT}">{catrow.cathead.CAT_TITLE}</a>
            </span>
        </h{catrow.cathead.LEVEL}>
      </td>
      <td class="{catrow.cathead.CLASS_ROWPIC}" colspan="3" align="right"> </td>
  </tr>
  <!-- END cathead -->
  <!-- BEGIN forumrow -->
  <tr>
      <!-- BEGIN inc -->
      <td class="{catrow.forumrow.inc.INC_CLASS}" width="46"><img src="{SPACER}" height="0" width="46" alt="." /></td>
      <!-- END inc -->
      <td class="{catrow.forumrow.INC_CLASS}" align="center" valign="middle">
        <img title="{catrow.forumrow.L_FORUM_FOLDER_ALT}" src="{catrow.forumrow.FORUM_FOLDER_IMG}" alt="{catrow.forumrow.L_FORUM_FOLDER_ALT}" />
      </td>
      <td class="row1 over" colspan="{catrow.forumrow.INC_SPAN}" valign="top" width="100%" height="50">
        <h{catrow.forumrow.LEVEL} class="hierarchy">
            <span class="forumlink">
              <a class="forumlink" href="{catrow.forumrow.U_VIEWFORUM}">{catrow.forumrow.FORUM_NAME}</a><br />
            </span>
        </h{catrow.forumrow.LEVEL}>
        <span class="genmed">{catrow.forumrow.FORUM_DESC}</span>
        <span class="gensmall">
            <!-- BEGIN switch_moderators_links -->
            {catrow.forumrow.switch_moderators_links.L_MODERATOR}{catrow.forumrow.switch_moderators_links.MODERATORS}
            <!-- END switch_moderators_links -->
            {catrow.forumrow.L_LINKS}{catrow.forumrow.LINKS}
        </span>
      </td>
            <td class="row3" align="center" valign="middle" height="50">
        <span class="gensmall">
{catrow.forumrow.TOPICS}</span>
      </td>
      <td class="row2" align="center" valign="middle" height="50">
        <span class="gensmall">
{catrow.forumrow.POSTS}</span>
      </td>
                            <td class="row3 over" align="center" valign="middle" height="50">
        <div class="gensmall chenarlastposts">{catrow.forumrow.LAST_POST}</div>
      </td>
          </tr>
  <!-- END forumrow -->
  <!-- BEGIN catfoot -->
  <tr>
      <!-- BEGIN inc -->
      <td class="{catrow.catfoot.inc.INC_CLASS}" width="46"><img src="{SPACER}" height="0" width="46" /></td>
      <!-- END inc -->
      <td class="spaceRow" colspan="{catrow.catfoot.INC_SPAN}" height="1"><img src="{SPACER}" alt="" height="1" width="1" /></td>
  </tr>
  <!-- END catfoot -->
  <!-- BEGIN tablefoot -->
</table><img src="{SPACER}" alt="" height="5" width="1" /><!-- END tablefoot --><!-- END catrow -->

Pe urma, mergi in PA - Afisare - Imagini si culori - Culori - Foaie de stil CSS si adauga urmatorul cod:
Cod:
.chenarlastposts {
margin: 3px;
margin-top: 3px;
margin-right: 3px;
margin-bottom: 3px;
margin-left: 3px;
padding: 2px;
padding-top: 2px;
padding-right: 2px;
padding-bottom: 2px;
padding-left: 2px;
border: 2px solid
#0097FC;
border-top-width: 2px;
border-right-width: 2px;
border-bottom-width: 2px;
border-left-width: 2px;
border-top-style: solid;
border-right-style: solid;
border-bottom-style: solid;
border-left-style: solid;
border-top-color:
#0097FC;
border-right-color:
#0097FC;
border-bottom-color:
#0097FC;
border-left-color:
#0097FC;
-webkit-border-radius: 5px;
-moz-border-radius: 5px;
border-radius: 5px;
border-top-left-radius: 5px;
border-top-right-radius: 5px;
border-bottom-right-radius: 5px;
border-bottom-left-radius: 5px;
-webkit-box-shadow: 0 0 8px
#0097FC;
-moz-box-shadow: 0 0 8px #0097FC;
box-shadow: 0 0 8px
#0097FC;
}


P.S: Daca faceai intocmai cum ti-a spus tgz, functiona din prima.

Adi.
Membru onorific
Membru onorific

masculin

Mesaje : 3749
Localizare : Forumgratuit
Data de inscriere : 01/08/2012
Multumiri : 30
Niciun avertisment

Sus In jos

Rezolvat Re: Aranjare subforumuri in colonita

Mesaj Scris de Cassius Dio la data de Mier 12 Dec - 8:30

Avand in vedere ca problema prezentata in titlu a fost rezolvata:



Pentru fiecare problema, - va rugam, - deschideti topic separat. Râset

Cassius Dio
Membru onorific
Membru onorific

masculin

Mesaje : 11025
Varsta : 18
Localizare : Strawberry Fields
Data de inscriere : 13/07/2012
Multumiri : 78
Niciun avertisment

http://beatles.forummo.com/

Sus In jos

Vezi subiectul anterior Vezi subiectul urmator Sus

- Subiecte similare

Permisiunile acestui forum:
Nu puteti raspunde la subiectele acestui forum