Ghinion

Rezolvări la problemele apărute la instalarea, actualizarea sau conversia forumului phpBB 2.0.x.
Avatar utilizator
Sharakuza
Utilizator înregistrat
Mesaje: 590
Membru din: 15-Dec-2006, 04:20:20
Ext: Nu
Server: Windows
Nivel phpBB: Mediu
Nivel php: Mediu
Contact:

Ghinion

Mesaj de Sharakuza »

M-am pus sa fac si eu ca aici pe forum modificarea din index_body.tpl

insa nu-mi iese sub nici o culoarea acel tabel pe partea dreapta :(

Daca ma puteti ajuta cu un sfat sau orice sa pot sa fac v-as ramane pe deplin dator.

Multumesc anticipat !
Avatar utilizator
Etherfast
Fost coleg
Mesaje: 2634
Membru din: 19-Sep-2006, 10:33:41
Ext: Nu
Server: Windows
Nivel phpBB: Mediu
Nivel php: Mediu
Localitate: Bucharest, RO
Contact:

Mesaj de Etherfast »

Deschizi un fisier notepad, si faci in felul urmator:

Cod: Selectaţi tot

<table>
<tr><td>
Pui TOT ce iti apare in index_body.tpl aici
</td><td> </td>
<td>Aici pui codul ce vrei sa-ti apara in coloana din dreapta. Respectiv {Glance_OUTPUT} si ce mai vrei tu sa apara in dreapta.</td></tr></table>
Fisierul asta il denumesti index_body.tpl si il pui peste cel vechi.
Voila.
Avatar utilizator
Sharakuza
Utilizator înregistrat
Mesaje: 590
Membru din: 15-Dec-2006, 04:20:20
Ext: Nu
Server: Windows
Nivel phpBB: Mediu
Nivel php: Mediu
Contact:

Mesaj de Sharakuza »

de asta te iubesc :oops:

era logic sa faci ceva gen .. insa eu ma chinuiam sa adaug dupa un tabel . sa mai fac o coloana .. ma tot incurcam :roll:

am reusit odata sa fac ceva mai concret dar se vedeau footeru si headeru nasol pozitionate ( sau index_body.tpl nasol pozitionat :lol: )
Avatar utilizator
Sharakuza
Utilizator înregistrat
Mesaje: 590
Membru din: 15-Dec-2006, 04:20:20
Ext: Nu
Server: Windows
Nivel phpBB: Mediu
Nivel php: Mediu
Contact:

Mesaj de Sharakuza »

dap .. am dat de o mica dificultate

Am facut cum a zis ether dar cu 2 mici modificari

le-am asezat pe 3 randuri
prima : ce-a cu {LAST_VISIT_DATE} , {CURRENT_TIME} etc...
a 2-a : continutul forumurile si subforumurile pe o coloana .. si ce am vrut eu pe cealalta coloana
a 3-a : statisticile


Dar in schimb , cand te uiti pe el vezi bine asezate primele 2 randuri .. dar ultima .. aia cu statistici si headerul stau puse aiurea . nici pe stanga , nici pe dreapta .. si nu reusesc sa-i dau de cap.

astept putin ajutor

Multumesc Anticipat !
Avatar utilizator
Etherfast
Fost coleg
Mesaje: 2634
Membru din: 19-Sep-2006, 10:33:41
Ext: Nu
Server: Windows
Nivel phpBB: Mediu
Nivel php: Mediu
Localitate: Bucharest, RO
Contact:

Mesaj de Etherfast »

E oare asa greu sa NU faci double posting?
N-ai nici macar 2 ore diferenta intre cele 2 mesaje.
etherfast.ro - Blog personal
Avatar utilizator
Aliniuz
Fost coleg
Mesaje: 3629
Membru din: 19-Mai-2006, 08:06:42
Ext: Nu
Server: Windows
Nivel phpBB: Mediu
Nivel php: Mediu
Localitate: Galati
Contact:

Mesaj de Aliniuz »

Poti da un link sa vedem si noi despre ce e vorba ?
Avatar utilizator
Sharakuza
Utilizator înregistrat
Mesaje: 590
Membru din: 15-Dec-2006, 04:20:20
Ext: Nu
Server: Windows
Nivel phpBB: Mediu
Nivel php: Mediu
Contact:

Mesaj de Sharakuza »

Etherfast scrie:E oare asa greu sa NU faci double posting?
N-ai nici macar 2 ore diferenta intre cele 2 mesaje.
Aliniuz scrie:Poti da un link sa vedem si noi despre ce e vorba ?
Este doubleposting , dar m-am gandit inainte sa postez din nou , sa dau modifica sau raspune.
Am ales doubleposting ( cu riscu de a sari lumea la gatul meu ) deoarce cam 2 posturi diametral opuse ca informatii.

Si era penibil sa bag asta in acelasi post.
Acuma ma scuzi daca te-am suparat :roll: chiar asa tare :?


link catre ce ziceam :

www.still.srv.ro
si as vrea sa nu fie lipite de margine :roll:

Multumesc Anticipat !
Avatar utilizator
Aliniuz
Fost coleg
Mesaje: 3629
Membru din: 19-Mai-2006, 08:06:42
Ext: Nu
Server: Windows
Nivel phpBB: Mediu
Nivel php: Mediu
Localitate: Galati
Contact:

Mesaj de Aliniuz »

Din acel cod sterge <td> </td> .
Avatar utilizator
Sharakuza
Utilizator înregistrat
Mesaje: 590
Membru din: 15-Dec-2006, 04:20:20
Ext: Nu
Server: Windows
Nivel phpBB: Mediu
Nivel php: Mediu
Contact:

Mesaj de Sharakuza »

nu inteleg care "acel"

link catre index_body.tpl : http://www.still.srv.ro/templates/Still ... x_body.tpl

Continut index_body.tpl ( cand dau pe el imi afiseaza designu )



<style type="text/css">
<!--
-->
</style>
<table width="95%" cellspacing="4" cellpadding="2" border="0" align="center">
<tr>
<td align="left" valign="bottom"><span class="gensmall">
<!-- BEGIN switch_user_logged_in -->
{LAST_VISIT_DATE}<br />
<!-- END switch_user_logged_in -->
{CURRENT_TIME}<br /></span>
<table width="148" border="0">
<tr>
<td width="142" background="templates/Stillzone/images/main_bgd2.jpg"><a href="{U_INDEX}" class="nav">{L_INDEX}</a></td>
</tr>
</table> <span class="nav"><a href="{U_INDEX}" class="nav"></a></span></td>
<td align="right" valign="bottom" class="gensmall">
<!-- BEGIN switch_user_logged_in -->
<a href="{U_SEARCH_NEW}" class="gensmall">{L_SEARCH_NEW}</a><br /><a href="{U_SEARCH_SELF}" class="gensmall">{L_SEARCH_SELF}</a><br />
<!-- END switch_user_logged_in -->
<a href="{U_SEARCH_UNANSWERED}" class="gensmall">{L_SEARCH_UNANSWERED}</a></td>
</tr>
</table><table>
<tr>

<td>

<!-- BEGIN catrow -->
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="3%" align="left"><img src="templates/Stillzone/images/t_head_left.gif" width="47" height="24"></td>
<td width="94%" align="center" background="templates/Stillzone/images/t_head_bkgd.gif"><span class="forumtitle">&nbsp;{L_FORUM}&nbsp;</span></td>
<td width="3%" align="right"><img src="templates/Stillzone/images/t_head_right.gif" width="47" height="24"></td>
</tr>
</table>
<table width="100%" cellpadding="2" cellspacing="1" border="0" class="forumline">
<tr>
<th colspan="2" class="thCornerL" align="left" height="25" nowrap="nowrap">&nbsp;<span class="cattitle"><a href="{catrow.U_VIEWCAT}" class="cattitle">{catrow.CAT_DESC}</a></span></th>
<th width="50" class="thTop" nowrap="nowrap">&nbsp;{L_TOPICS}&nbsp;</th>
<th width="50" class="thTop" nowrap="nowrap">&nbsp;{L_POSTS}&nbsp;</th>
<th class="thCornerR" nowrap="nowrap">&nbsp;{L_LASTPOST}&nbsp;</th>
</tr>

<!-- BEGIN forumrow -->
<tr>
<td class="row1" align="center" valign="middle" height="50"><img src="{catrow.forumrow.FORUM_FOLDER_IMG}" width="46" height="38" alt="{catrow.forumrow.L_FORUM_FOLDER_ALT}" title="{catrow.forumrow.L_FORUM_FOLDER_ALT}" /></td>
<td class="row1" width="95%" height="50" onMouseOver="this.style.backgroundColor='{CELL1_OVER}'; this.style.cursor='hand';" onMouseOut=this.style.backgroundColor="{CELL1}" onclick="window.location.href='{catrow.forumrow.U_VIEWFORUM}'"><span class="forumlink"> <a href="{catrow.forumrow.U_VIEWFORUM}" class="forumlink">{catrow.forumrow.FORUM_NAME}</a></span><br />
<span class="genmed">{catrow.forumrow.FORUM_DESC}</span><br />
<span class="gensmall">{catrow.forumrow.L_MODERATOR} {catrow.forumrow.MODERATORS}</span></td>
<td class="row2" 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="row2" align="center" valign="middle" height="50" nowrap="nowrap"> <span class="gensmall">{catrow.forumrow.LAST_POST}</span></td>
</tr>
<!-- END forumrow -->
</table>
<!-- END catrow -->
<td valign="top"> <table width="100%" cellspacing="0" border="0" align="center" cellpadding="0">
<!-- BEGIN switch_user_logged_out -->
<tr>
<td>&nbsp;</td>
<td>
<form method="post" action="{S_LOGIN_ACTION}">
<table width="100%" cellpadding="3" cellspacing="1" border="0" class="forumline">
<tr>
<th height="28" colspan="2" background="templates/Stillzone/images/t_head_bkgd.gif" class="thCornerL">&nbsp;</th>
</tr>
<tr>
<th class="thCornerL" colspan="2" height="28"><a name="login"></a>{L_LOGIN_LOGOUT}</th>
</tr>
<tr>
<td class="row1" align="right" valign="middle" height="28"><span class="gensmall">{L_USERNAME}:</span></td>
<td class="row1" align="left" valign="middle" height="28"><input class="post" type="text" name="username" size="10" /></td>
</tr>
<tr>
<td class="row1" align="right" valign="middle" height="28"><span class="gensmall">{L_PASSWORD}:</span></td>
<td class="row1" align="left" valign="middle" height="28"><input class="post" type="password" name="password" size="10" /></td>
</tr>
<tr><td class="row1" align="center" valign="middle" height="28" colspan="2"><span class="gensmall">
{L_AUTO_LOGIN} <input class="text" type="checkbox" name="autologin" /></span>
</td></tr>
<tr>
<td class="row1" align="center" valign="middle" height="28" colspan="2"><span class="gensmall">
z
<input type="submit" class="mainoption" name="login" value="{L_LOGIN}" /></span> </td></tr>
</table>
</form>
<!-- END switch_user_logged_out -->


<!-- BEGIN switch_user_logged_in -->



<table width="100%" cellpadding="3" cellspacing="1" border="0" class="forumline">

<tr>
<th class="thCornerL" colspan="2" height="28">{L_NAME_WELCOME}</th>
</tr>

<tr>
<td colspan="2" class="row1"><div align="center"><BR />{AVATAR_IMG}<BR /><span class="gensmall"><b>{U_NAME_LINK}</b></span>
<br /><span class="gensmall">{LAST_VISIT_DATE}</span>
<br><br></div></td>
</tr>
</table>

<br />
<!-- END switch_user_logged_in -->
<table width="100%" cellpadding="3" cellspacing="1" border="0" class="forumline">
<tr>
<th class="thCornerL">Links</th>
</tr>
<tr>
<td class="row1" valign="top" height="100%"><center>
<a href="http://www.stillzone.ro" target="_blank"><img src="http://www.stillzone.ro/_wallpapers/green.jpg" alt="Poti salva o viata! Alexandru are nevoie de ajutor!" width="200" height="240" border="0" /></a>
</center></td>
</tr>
</table>
<br />
<table width="100%" cellpadding="3" cellspacing="1" border="0" class="forumline">



<tr>
<th class="thCornerL">Discutii Recente</th>
</tr>

<tr>
<td class="row1" valign="top" height="100%"><span class="genmed">
<table width="100%" cellspacing="0" cellpadding="0" border="0">

<!-- BEGIN recent --> <tr>
<td nowrap valign="top"><span class="genmed" style="color:#005500"><b>»</b>&nbsp;</span></td>
<td valign="top" width="100%"> <a href="{recent.U_VIEW_TOPIC}" class="gensmal">{recent.TOPIC_TITLE}</a><span class="gensmall"><br />scris {recent.FIRST_AUTHOR}</a>
<br>({recent.REPLIES}) comentarii</span></td></tr>
<!-- END recent --></td>
</table>
</tr>
</table>




<!-- pana aici --></td>
</tr>
</table></td></tr></table>
<table width="95%" cellspacing="4" border="0" align="center" cellpadding="2">
<tr>
<td align="left">
<!-- BEGIN switch_user_logged_in -->
<span class="gensmall"><a href="{U_MARK_READ}" class="gensmall">{L_MARK_FORUMS_READ}</a></span>
<!-- END switch_user_logged_in -->
</td>
</tr>
</table>
<table width="95%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="3%" align="left"><img src="templates/Stillzone/images/t_head_left.gif" width="47" height="24"></td>
<td width="94%" align="center" background="templates/Stillzone/images/t_head_bkgd.gif"><a href="{U_VIEWONLINE}" class="forumtitle">{L_WHO_IS_ONLINE}</a></td>
<td width="3%" align="right"><img src="templates/Stillzone/images/t_head_right.gif" width="47" height="24"></td>
</tr>
</table>
<table width="95%" cellpadding="3" cellspacing="1" border="0" class="forumline">
<tr>
<td class="row1" align="center" valign="middle" rowspan="3"><img src="templates/Stillzone/images/whosonline.gif" alt="{L_WHO_IS_ONLINE}" /></td>
<td class="row1" align="left" width="100%"><span class="gensmall">{TOTAL_POSTS}<br />{TOTAL_USERS}<br />{NEWEST_USER}</span>
</td>
</tr>

<!-- Start add - Last visit MOD -->
<tr>
<td class="row1" align="left"><span class="gensmall">{L_USERS_TODAY}&nbsp;{L_USERS_LASTHOUR}<br />{USERS_TODAY_LIST}</br></span></td>
</tr>
<!-- Start add - Last visit MOD -->

<tr>
<td class="row1" align="left"><span class="gensmall">{TOTAL_USERS_ONLINE} &nbsp; {COLOR_GROUPS_LIST}<br />{RECORD_USERS}<br />{LOGGED_IN_USER_LIST}</span></td>
</tr>
</table>

<table width="95%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="3%" height="24" align="left" valign="top"><img src="templates/Stillzone/images/t_bottom_left.gif" width="47" height="24"></td>
<td align="left" valign="top" background="templates/Stillzone/images/t_bottom_bkgd.gif"><img src="templates/Stillzone/images/spacer.gif" width="1" height="24"></td>
<td width="3%" height="24" align="right" valign="top"><img src="templates/Stillzone/images/t_bottom_right.gif" width="47" height="24"></td>
</tr>
</table>

<table width="95%" cellpadding="1" cellspacing="1" border="0">
<tr>
<td align="left" valign="top"><span class="gensmall">{L_ONLINE_EXPLAIN}</span></td>
</tr>
</table>

<!-- BEGIN switch_user_logged_out -->
<!-- END switch_user_logged_out -->
<br clear="all" />

<table cellspacing="3" border="0" align="center" cellpadding="0">
<tr>
<td width="25" align="center"><img src="templates/Stillzone/images/folder_new_big.gif" alt="{L_NEW_POSTS}"/></td>
<td><span class="gensmall">{L_NEW_POSTS}</span></td>
<td>&nbsp;&nbsp;</td>
<td width="25" align="center"><img src="templates/Stillzone/images/folder_big.gif" alt="{L_NO_NEW_POSTS}" /></td>
<td><span class="gensmall">{L_NO_NEW_POSTS}</span></td>
<td>&nbsp;&nbsp;</td>
<td width="25" align="center"><img src="templates/Stillzone/images/folder_locked_big.gif" alt="{L_FORUM_LOCKED}" /></td>
<td><span class="gensmall">{L_FORUM_LOCKED}</span></td>
</tr>
</table>
Ultima oară modificat 28-Feb-2007, 23:59:42 de către Sharakuza, modificat 1 dată în total.
Avatar utilizator
Aliniuz
Fost coleg
Mesaje: 3629
Membru din: 19-Mai-2006, 08:06:42
Ext: Nu
Server: Windows
Nivel phpBB: Mediu
Nivel php: Mediu
Localitate: Galati
Contact:

Mesaj de Aliniuz »

Din codul dat de Etherfast .
Închis

Înapoi la “2.0.x Instalare, actualizare, conversie”

Cine este conectat

Utilizatori ce ce navighează pe acest forum: Niciun utilizator înregistrat și 1 vizitator