Scris: 18-Apr-2004, 11:50:37
Trebuie să creezi o categorie a forumului în care să fie ştirile şi apoi ID-ul acesteia să îl setezi în fişierul de configurare a glance-ului.
forumul phpBB in limba romana. Opinii, implementari, ajutor, instructiuni si download.
https://phpbb3.ro/community/
Cod: Selectaţi tot
<!-- INCEPUT tabel introdus pentru At a glance -->
<table width="100%" cellpadding="0" cellspacing="0" border="0">
<tr>
<!-- INCEPUT prima celula -->
<td valign="top" width="100%">
<!-- INCEPUT tabel categorii si forumuri -->
<table width="100%" cellpadding="2" cellspacing="1" border="0" class="forumline">
<tr>
<th colspan="2" class="thCornerL" height="25" nowrap="nowrap">&{L_FORUM}&</th>
<th width="50" class="thTop" nowrap="nowrap">&{L_TOPICS}&</th>
<th width="50" class="thTop" nowrap="nowrap">&{L_POSTS}&</th>
<th class="thCornerR" nowrap="nowrap">&{L_LASTPOST}&</th>
</tr>
<!-- BEGIN catrow -->
<tr>
<td class="catLeft" colspan="2" height="28"><span class="cattitle"><a href="{catrow.U_VIEWCAT}" class="cattitle">{catrow.CAT_DESC}</a></span></td>
<td class="rowpic" colspan="3" align="right">&</td>
</tr>
<!-- BEGIN forumrow -->
<tr>
<td class="row1" align="center" valign="middle" height="50"><img src="{catrow.forumrow.FORUM_FOLDER_IMG}" width="46" height="25" alt="{catrow.forumrow.L_FORUM_FOLDER_ALT}" title="{catrow.forumrow.L_FORUM_FOLDER_ALT}" /></td>
<td class="row1" width="100%" height="50"><span class="forumlink"> <a href="{catrow.forumrow.U_VIEWFORUM}" class="forumlink">{catrow.forumrow.FORUM_NAME}</a><br />
</span> <span class="genmed">{catrow.forumrow.FORUM_DESC}<br />
</span><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 -->
<!-- END catrow -->
</table>
<!-- SFARSIT tabel categorii si forumuri -->
</td>
<!-- SFARSIT prima celula -->
<!-- INCEPUT a doua celula -->
<td> </td>
<!-- SFARSIT a doua celula -->
<!-- INCEPUT a treia celula -->
<td valign="top" width="180">{GLANCE_OUTPUT}</td>
<!-- SFARSIT a treia celula -->
</tr>
</table>
<!-- SFARSIT tabel introdus pentru At a glance -->
include($phpbb_root_path . 'glance.'.$phpEx);
//
// Generate the page
//
$template->pparse('body');
include($phpbb_root_path . 'includes/page_tail.'.$phpEx);
Aruncă o privire peste Ghidul utilizatorului phpBB şi anume la Imagini asociate (avataruri) încărcabiledemostene scrie:in plus nu stiu de ce nu merge sa uploadez avataruri! adica i-am dat optiune din panoul de administrare dar ioc..
Cod: Selectaţi tot
- INCEPUT tabel introdus pentru At a glance -->
<table width="100%" cellpadding="0" cellspacing="0" border="0">
<tr>
<!-- INCEPUT prima celula -->
<td valign="top" width="100%">
<!-- INCEPUT tabel categorii si forumuri -->
<table width="100%" cellpadding="2" cellspacing="1" border="0" class="forumline">
<tr>
.
.
</tr>
<!-- END forumrow -->
<!-- END catrow -->
</table>
<!-- SFARSIT tabel categorii si forumuri -->
</td>
<!-- SFARSIT prima celula -->
<!-- INCEPUT a doua celula -->
<td> </td>
<!-- SFARSIT a doua celula -->
<!-- INCEPUT a treia celula -->
<td valign="top" width="180">{GLANCE_OUTPUT}</td>
<!-- SFARSIT a treia celula -->
</tr>
</table>
<!-- SFARSIT tabel introdus pentru At a glance -->
Cod: Selectaţi tot
<!-- INCEPUT tabel introdus pentru At a glance -->
<table width="100%" cellpadding="0" cellspacing="0" border="0">
<tr>
<!-- INCEPUT prima celula -->
<td valign="top" width="100%">
<!-- INCEPUT tabel categorii si forumuri -->
<table width="100%" cellpadding="2" cellspacing="1" border="0" class="forumline">
<tr>
.
.
</tr>
<!-- END forumrow -->
<!-- END catrow -->
</table>
<!-- SFARSIT tabel categorii si forumuri -->
</td>
<!-- SFARSIT prima celula -->
<!-- INCEPUT a doua celula -->
<td> </td>
<!-- SFARSIT a doua celula -->
<!-- INCEPUT a treia celula -->
<td valign="top" width="180">{GLANCE_OUTPUT}</td>
<!-- SFARSIT a treia celula -->
</tr>
</table>
<!-- SFARSIT tabel introdus pentru At a glance -->