Help thumbs first topic pic on forum index

Mod Support

Moderators: BNa, Sekuro, 4seven

Help thumbs first topic pic on forum index

Postby Octa+ » 07 May 2013, 21:55

Help thumbs First Topic [pic] on Forum Index' version 0.0.6


Hallo


I installed 'First Topic [pic] on Forum Index' version 0.0.6'

There ocure 2 problems,

*First only the Thumbnail of the latest topic is show & it jumps down next to te previous topic .
(the thumb of the flowers belong to the topic with title "Test" & there is a picture in the second topic allso but not shown as a thumb)

*Second The Thumbnail is shown twice :

http://imageshack.us/f/109/topickq.jpg/

I would like a thumbnail for every topic not only the new ones, shown next to the topic title &
shown only once.
I really dont know where to adjust the settings e how.

Thank you very much
oct

here are my settings of
first_x_in_forum_index_config:
--------------------------------------------------- ------------------------------------

Code: Select all
<?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 'attachment';

// enter as given: img, attachment or mix (first come - first serve)
// $display_priority = 'img'; // later

//------------------------------------------------- -------------

// make your desired settings here

$width_or_height_img 'mix';

// 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 'no';

// 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(1,4,5,67,6,7,8,9,42,43,68,44,45,71,69,70,73,7 6,72,46,47,48,10,13,14,15,18,19,20,16,53,54,55,57,5 0,31,58,59,60,61,65,66,63,64,21,22,38,39,40,41,23,2 4,25,26,27,29,49,30,12,32,33,34,35,36,37,51,52);

// enter as given: (1,4,5,67,6,7,8,9,42,43,68,44,45,71,69,70,73,76,72, 46,47,48,10,13,14,15,18,19,20,16,53,54,55,57,50,31, 58,59,60,61,65,66,63,64,21,22,38,39,40,41,23,24,25, 26,27,29,49,30,12,32,33,34,35,36,37,51,52)

//------------------------------------------------- -------------

// enter here the forum id's that will show thumbing of [img]

$affected_forum_img = array(1,4,5,67,6,7,8,9,42,43,68,44,45,71,69,70,73,7 6,72,46,47,48,10,13,14,15,18,19,20,16,53,54,55,57,5 0,31,58,59,60,61,65,66,63,64,21,22,38,39,40,41,23,2 4,25,26,27,29,49,30,12,32,33,34,35,36,37,51,52);

// enter as given: (1,4,5,67,6,7,8,9,42,43,68,44,45,71,69,70,73,76,72, 46,47,48,10,13,14,15,18,19,20,16,53,54,55,57,50,31, 58,59,60,61,65,66,63,64,21,22,38,39,40,41,23,24,25, 26,27,29,49,30,12,32,33,34,35,36,37,51,52)

//------------------------------------------------- -------------
//----------------SETTINGS - END -------------------
// First Topic [pic] on Forum Index / 4seven / 2010
?>
Octa+

Tiptop

Tiptop
 
Posts: 3
Joined: 07 May 2013, 21:49
 
Resolution: 1024x768


Re: Help thumbs first topic pic on forum index

Postby 4seven » 08 May 2013, 15:16

Check all you edits and clear all available board- and browser-caches. Normally it works (see demo).
Current Mods | Mod Base | php(BB) programming | No help via PM
User avatar
4seven

Tiptop

Tiptop
 
Posts: 318
Joined: 20 Jun 2012, 16:55
 
Resolution: 1920x1080


Re: Help thumbs first topic pic on forum index

Postby Octa+ » 08 May 2013, 17:00

Double check did it!!!
Thank you very much!
Octa+

Tiptop

Tiptop
 
Posts: 3
Joined: 07 May 2013, 21:49
 
Resolution: 1024x768

Re: Help thumbs first topic pic on forum index

Postby Octa+ » 09 May 2013, 10:31

Everything is running as it should,
but 1 thing i cannot set right.

Instead of showing the first pic of the first topic's post it "sometimes" generate a pic of the last reply within a topic with pictures in it.
any solution for that? iwould like to show only the first picture of the first post not a reply.

Thank you very much
Octa+

Tiptop

Tiptop
 
Posts: 3
Joined: 07 May 2013, 21:49
 
Resolution: 1024x768


Re: Help thumbs first topic pic on forum index

Postby 4seven » 09 May 2013, 12:42

Can not reproduce (see demo). Also i have no time for re-checking this mod until autumn this year.
In my current timeline other mods have more priority (see also my signature, bcs. of pausing coding).
Current Mods | Mod Base | php(BB) programming | No help via PM
User avatar
4seven

Tiptop

Tiptop
 
Posts: 318
Joined: 20 Jun 2012, 16:55
 
Resolution: 1920x1080



Return to Support Forum

Who is online

Users browsing this forum: No registered users and 1 guest

cron