Aranjare subforumuri in colonita
Forum gratuit: forum de suport al utilizatorilor :: Forum de suport :: Probleme legate de un script (cod) :: Arhiva scripturi/coduri
Pagina 1 din 2 • Distribuiţi
Pagina 1 din 2 • 1, 2
Aranjare subforumuri in colonita
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
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
Re: Aranjare subforumuri in colonita
1. Inlocuiti index_box cu acesta:
Pentru phpbb2 inlocuiti tot ce aveti in index_box cu:
Iar in foaia de still css adaugati:
2.
Adaugi in descrierea forumului..
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 Dec 02, 2012 4:08 pm, editata de 1 ori
Re: Aranjare subforumuri in colonita
2. Rezolvat
1. Nu merge
1. Nu merge
Ultima editare efectuata de catre Alexutzu.Cosmin in Dum Dec 02, 2012 4:13 pm, editata de 1 ori
Re: Aranjare subforumuri in colonita
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:
Acest cod se adauga in CSS si modificați culorile după bunul plac.
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.
Re: Aranjare subforumuri in colonita
Hey la aia cu chenaru nu merge x(la unele categori nu merge x(
Re: Aranjare subforumuri in colonita
Imposibil, am verificat eu pe pbpBB2 si a mers.
Adauga asta in CSS
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;
}
Re: Aranjare subforumuri in colonita
nu merge la acele categori care am posturi la ultimele mesaje numi apare nimicc e ca un dreptunghi...grii...nu e bun scriptu
Re: Aranjare subforumuri in colonita
Adauga in css acest cod:
Ma scuzi ca am gresit codul.
- 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.
Re: Aranjare subforumuri in colonita
Tot nu merge...
Ultima editare efectuata de catre Alexutzu.Cosmin in Dum Dec 02, 2012 4:58 pm, editata de 2 ori
Re: Aranjare subforumuri in colonita
Codul oferit de tgzgaming nu se adauga in index_box ci in Foaia de stil CSS
Re: Aranjare subforumuri in colonita
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
Re: Aranjare subforumuri in colonita
Salut,
Mergi in PA - Afisare - Template-uri - General - index_box si inlocuiesti tot cu:
Pe urma, mergi in PA - Afisare - Imagini si culori - Culori - Foaie de stil CSS si adauga urmatorul cod:
P.S: Daca faceai intocmai cum ti-a spus tgz, functiona din prima.
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
- Mesaje : 3738
Localizare : Forumgratuit
Data înscrierii : 01/08/2012
Mulțumiri : 30
Pagina 1 din 2 • 1, 2
Subiecte similare
» Aranjare subforumuri in categorie
» Subforumuri in descrierea altor subforumuri
» Aranjare chatbox
» Aranjare Butoane
» Aranjare Profil
» Subforumuri in descrierea altor subforumuri
» Aranjare chatbox
» Aranjare Butoane
» Aranjare Profil
Forum gratuit: forum de suport al utilizatorilor :: Forum de suport :: Probleme legate de un script (cod) :: Arhiva scripturi/coduri
Pagina 1 din 2
Permisiunile acestui forum:
Nu puteti raspunde la subiectele acestui forum