Tutorial instalare top five

2
434
Ti-a placut acest articol? Acorda-i o nota

Descriere: acest mod va adauga la statisticile din subsolul forumului vostru phpbb3 statistici cu top 5 mesaje noi, postatori si membri, asa cum probabil ati observat la finalul forumului.

Download mod: Click

Autor mod: RMcGirr83
Fisere de modificat: * index.php
* styles/prosilver/subsilver2/template/index_body.html

Fisiere de uploadat:
* root/includes/top_five.php
* root/styles/prosilver/subsilver2/template/top_five_body.html
* root/language/en/mods/top_five.php

Instalare mod:
* Deschidem index.php:
Cautati linia:

// Assign index specific vars

Adaugati inainte:

//-- mod: top five ---------------------------------------------------------//
include($phpbb_root_path . 'includes/top_five.' . $phpEx);
//-- end: top five ---

PROSILVER

  • Deschidem styles/prosilver/template/index_body.html:

Cautati linia:

!-- IF S_DISPLAY_ONLINE_LIST --

Adaugati inainte:

!-- INCLUDE top_five_body.html --

SUBSILVER2

  • Deschidem styles/subsilver2/template/index_body.html:

Cautati linia:

!-- IF S_DISPLAY_BIRTHDAY_LIST --

Adaugati inainte:

!-- INCLUDE top_five_body.html --

 

Pentru a-l traduce in romana intrati in : root/language/en/mods/top_five.php si cautati :

'NEWEST_TOPICS' => 'Newest Posts',
'TOP_FIVE_ACTIVE' => 'Top Active Users',
'TOP_FIVE_NEWEST' => 'Newest Users',

si modificati Newest Posts, Top Active Users si Newest Users dupa cum vreti !
Pentru a va reduce munca va recomand instalare acestui mod cu Automod phpBB3