top 10 postari
Scris: 12-Ian-2012, 07:57:24
asi vrea si eu sa pun pe forum ca in imaginea alaturata
http://dovada.grove-street.info/images/ ... 5ceucj.png
http://dovada.grove-street.info/images/ ... 5ceucj.png
forumul phpBB in limba romana. Opinii, implementari, ajutor, instructiuni si download.
https://phpbb3.ro/community/
Trebuie să instalezi MODificarea pe forumul tău.Aaron scrie:am gasit ce imi trebuia dar cum fac exact sa mise activeze top 10 postari??
unde bag top_five_1_0_1_d
si vad ca este pentru 3.0.7 ... pentru 3.0.10 nu are
root
pe serverul tău prin FTP.index.php
şi caută:
Cod: Selectaţi tot
// Assign index specific vars
$template->assign_vars(array(
Cod: Selectaţi tot
//-- mod: top five ---------------------------------------------------------//
include($phpbb_root_path . 'includes/top_five.' . $phpEx);
//-- end: top five ---------------------------------------------------------//
includes/functions_user.php
şi caută:
Cod: Selectaţi tot
set_config('newest_user_colour', $row['user_colour'], true);
}
Cod: Selectaţi tot
//-- mod: top five ---------------------------------------------------------//
// destroy the top_five cache
global $cache;
$cache->purge('_top_five_newest_users');
$cache->purge('_top_five_posters');
//-- end: top five ---------------------------------------------------------//
Cod: Selectaţi tot
// Because some tables/caches use username-specific data we need to purge this here.
$cache->destroy('sql', MODERATOR_CACHE_TABLE);
Cod: Selectaţi tot
//-- mod: top five ---------------------------------------------------------//
// destroy the top_five cache
$cache->purge('_top_five_newest_users');
$cache->purge('_top_five_posters');
//-- end: top five ---------------------------------------------------------//
Cod: Selectaţi tot
// Reset newest user info if appropriate
if ($config['newest_user_id'] == $user_id)
Cod: Selectaţi tot
//-- mod: top five ---------------------------------------------------------//
// Reset newest user info if appropriate
if ($config['newest_user_id'] != $user_id)
{
// destroy the top_five cache
$cache->purge('_top_five_newest_users');
$cache->purge('_top_five_posters');
}
//-- end: top five ---------------------------------------------------------//
Cod: Selectaţi tot
// Because some tables/caches use usercolour-specific data we need to purge this here.
$cache->destroy('sql', MODERATOR_CACHE_TABLE);
Cod: Selectaţi tot
//-- mod: top five ---------------------------------------------------------//
// destroy the top_five cache
$cache->purge('_top_five_newest_users');
$cache->purge('_top_five_posters');
//-- end: top five ---------------------------------------------------------//
Cod: Selectaţi tot
update_foes(array($group_id));
}
Cod: Selectaţi tot
//-- mod: top five ---------------------------------------------------------//
// destroy the top_five cache
global $cache;
$cache->purge('_top_five_newest_users');
$cache->purge('_top_five_posters');
//-- end: top five ---------------------------------------------------------//
index_body.html
din styles/tema_ta/template/
, caută:
Cod: Selectaţi tot
<!-- IF not S_USER_LOGGED_IN and not S_IS_BOT -->
Cod: Selectaţi tot
<!-- INCLUDE top_five_body.html -->
index_body.html
din styles/tema_ta/template/
, caută:
Cod: Selectaţi tot
<!-- IF S_DISPLAY_ONLINE_LIST -->
Cod: Selectaţi tot
<!-- INCLUDE top_five_body.html -->
Descarcă această arhivă şi dezarhiveaz-o cu WinRAR.Aaron scrie:am facut setarile dar nu am inteles cum trebui sa fac asta .. " Ca să instalezi MODificarea, dezarhivează arhiva cu fişierele, apoi pune conţinutul directorului root pe serverul tău prin FTP. "
top_five
un alt folder numit top_five_1_0_1_d
.