o intrebare la at a glace

Pentru întrebări legate de facilităţile forumului phpBB 2.0.x, acest loc este cel mai potrivit.
Închis
k3nz0r
Utilizator înregistrat
Mesaje: 20
Membru din: 07-Sep-2007, 07:10:28

o intrebare la at a glace

Mesaj de k3nz0r »

cum fac ca acel tabel cu ultimile noutati etc sa fie ega departat .. ex cum e la phpbb.ro sa nutreaca mai sus de linia aia :| sa ramana la acel nivel cu forumul :|
k3nz0r
Utilizator înregistrat
Mesaje: 20
Membru din: 07-Sep-2007, 07:10:28

Mesaj de k3nz0r »

...
Avatar utilizator
53rg1u
Utilizator înregistrat
Mesaje: 457
Membru din: 23-Iun-2007, 13:07:25
Ext: Nu
Server: Windows
Nivel phpBB: Mediu
Nivel php: Mediu
Localitate: sGz.ro

Mesaj de 53rg1u »

nu mai fa double-post ;)...ca asta lai faqt chiar intentionat X(
Imi rezerv dreptul de a scrie cu greseli gramaticale !!!

GodClanCS | Blog
sandman
Utilizator înregistrat
Mesaje: 31
Membru din: 09-Feb-2006, 18:58:50

Re: o intrebare la at a glace

Mesaj de sandman »

k3nz0r scrie:cum fac ca acel tabel cu ultimile noutati etc sa fie ega departat .. ex cum e la phpbb.ro sa nutreaca mai sus de linia aia :| sa ramana la acel nivel cu forumul :|
Daca ai instalat cumva at a glance 2.3.5 atunci urmezi instructiunile din documentatie, ceva de genul:
# Open the next file to set your preferences.
#
glance_config.php

#
#-----[ COPY ]-----------------------------------
#
copy root/glance.php to phpbb_root_path/glance.php
copy root/glance_config.php to phpbb_root_path/glance_config.php
copy root/language/lang_english/lang_main_glance.php to phpbb_root_path/language/lang_english/lang_main_glance.php
copy root/templates/subSilver/glance_body.tpl to phpbb_root_path/templates/subSilver/glance_body.tpl
copy root/templates/subSilver/glance_body_big.tpl to phpbb_root_path/templates/subSilver/glance_body_big.tpl

#
#-----[ OPEN ]------------------------------
# Note -- Any page you want it on (.php).
# Note -- For example index.php
#
*.php

#
#-----[ FIND ]-----------------------------------
#
//
// Generate the page
//
$template->pparse('body');

#
#-----[ BEFORE, ADD ]-----------------------------------
#
include($phpbb_root_path . 'glance.'.$phpEx);

#
#-----[ OPEN ]------------------------------
# Note -- Corresponding template file (.tpl)
# Note -- For example index_body.tpl
#
index_body.tpl

#
#-----[ FIND ]-----------------------------------
# Note -- The code will be displayed before your recent news and/or topics.
# * is any code.
#
<table>
<tr>
<th>&nbsp;{L_FORUM}&nbsp;</th>
<th>&nbsp;{L_TOPICS}&nbsp;</th>
<th>&nbsp;{L_POSTS}&nbsp;</th>
<th>&nbsp;{L_LASTPOST}&nbsp;</th>
</tr>
<BEGIN>
<tr>
<td><span><a href="{catrow.U_VIEWCAT}" class="cattitle">{catrow.CAT_DESC}</a></span></td>
<td>&nbsp;</td>
</tr>
<BEGIN>
<tr>
<td><img></td>
<td><span> <a href="{catrow.forumrow.U_VIEWFORUM}" class="forumlink">{catrow.forumrow.FORUM_NAME}</a><br>
</span> <span>{catrow.forumrow.FORUM_DESC}<br>
</span><span>{catrow.forumrow.L_MODERATOR} {catrow.forumrow.MODERATORS}</span></td>
<td><span>{catrow.forumrow.TOPICS}</span></td>
<td><span>{catrow.forumrow.POSTS}</span></td>
<td> <span>{catrow.forumrow.LAST_POST}</span></td>
</tr>
<END>
<END>
</table>

#
#-----[ BEAFORE, ADD ]-----------------------------------
# Note -- Anywhere you want the box.
#

<table>
<tr>
<td>

#
#-----[ AFTER, ADD ]-----------------------------------
# Note -- Anywhere you want the box.
#

</td>
<td>
<table>
<tr>
<td>
{GLANCE_OUTPUT}
</td>
</tr>
</table>
</td>
</tr>
</table>

#
#-----[ SAVE/CLOSE ALL FILES ]-----------------------------------
# EoM
Si daca ai urmat instructiunile corect, tabelul cu at a glance va fi la acelasi nivel cu forumul.
Închis

Înapoi la “2.0.x Cum pot să...?”

Cine este conectat

Utilizatori ce ce navighează pe acest forum: Bing [Bot] și 1 vizitator