Uso la versione 3.0.6 del phpBB3 e il mio stile è il prosilver.
La parte finale della MOD consiste nell'editare il file: first_x_in_forum_index_config.php io penso di averlo fatto correttamente, ma non si sa mai, posto qui il mio file editato
Codice: Seleziona tutto
<?php
/**
*
* @package First Topic [pic] on Forum Index v.0.0.6
* @version $Id: first_x_in_forum_index_config.php 2356 2356 2010-11-04 12:00:17Z 4seven $
* @copyright (c) 2010 / 4seven
* @license http://opensource.org/licenses/gpl-license.php GNU Public License
*
*/
/**
* @ignore
*/
if (!defined('IN_PHPBB'))
{
exit;
}
// First Topic [pic] on Forum Index / 4seven / 2010
//----------------SETTINGS - START -------------------
//------------------------------------------------------------
//----------BASIC-SETTINGS----------------
// set function-mode of mod:
$function_mode = 'img';
// enter as given: img, attachment or mix (first come - first serve)
// $display_priority = 'img'; // later
//--------------------------------------------------------------
// make your desired settings here
$width_or_height_img = '80, 80';
// enter as given: width, height or mix
// explanation of mix: centered cropped pic with exact squared fit
//--------------------------------------------------------------
// make the setting of max thumb-size in px here
// counts for width, height or mix
$convert_max_size = 80;
// don't make it to big ;)
//--------------------------------------------------------------
// activate the display of an "no [img] pic"
// but, before u activate this > make a pic and save it
// with the size of $convert_max_size and correct fit (given by $width_or_height_img )
// name it no_img.jpg and load it up to images/img_thumbs
$no_pic_img = 'yes';
// enter as given: yes or no
//--------------------------------------------------------------
// placeholder with perfect fit, instead of "no [img] pic"
// if $no_pic_img = 'no' and $no_img_placeholder = 'no' > the topic title fit is shown in standard phpbb3 mode
// hint: only active if $no_pic_img = 'no'
$no_img_placeholder = 'no';
// enter as given: yes or no
//--------------------------------------------------------------
// colour of border around thumb and "no [img] pic"
$border_color = '#F6F4D0';
// enter in HEX eg. '#F6F4D0' (for prosilver) or 'lightgray' or 'transparent' (no border)
//--------------------------------------------------------------
// activate this mode for showing thumbs in search.php
// (Search Results,View unanswered posts, View active topics etc.)
$active_4_search = 'yes';
// enter as given: yes or no
//--------------------------------------------------------------
// ----------------[img] SETTINGS--------------------
// ------------[attachment] SETTINGS---------------
// enter here the forum id's that will show thumbing of [attachment]
$affected_forum_att = array(105,108);
// enter as given: (7,8,9)
//--------------------------------------------------------------
// enter here the forum id's that will show thumbing of [img]
$affected_forum_img = array(4,28,30);
// enter as given: (7,8,9)
//--------------------------------------------------------------
//----------------SETTINGS - END -------------------
// First Topic [pic] on Forum Index / 4seven / 2010
?>
Ho creato le 2 cartelle tramite Filezilla e gli ho dato i privilegi 777 tramite le proprietà, qualche consiglio?
Grazie dell'attenzione.