[DEV] First Topic [pic] on Forum Index 0.0.5.a (en) (update)

DEV-Area for phpBB 3.0.x

[DEV] First Topic [pic] on Forum Index 0.0.5.a (en) (update)

Postby 4seven » Fri 22. Jan 2010, 01:15 | Userzeit: +1.00 / Fr 22. Jan 2010, 01:15

First Topic [pic] on Forum Index

MOD-Title: First Topic [pic] on Forum Index
MOD-Version: 0.0.5.a
MOD-Author: 4seven

Request by: inikad

MOD-Description: This Mod shows the first [pic] in a Topic on Forum Index, no matter if it's an [img] or [attachment)

phpBB-Version: phpBB 3.0.x
phpBB-Languages: multilingual
phpBB-Styles: all Styles, that are based on prosilver, subsilver2

Demo: http://4seven.bplaced.net/phpbb3/viewforum.php?f=7

Features:
- Shows the first [img] or/and [attachment] from topics of chosen forums in forum-index
- per forum thumbing
- separate 'per forum thumbing' for [img]'s and [attachment]'s in 'mix' function-mode
- chequered display possibilities in 'mix' function-mode
- 'first come -first serve' mode for [img]'s and [attachment]'s in 'mix' function-mode
- (see http://4seven.bplaced.net/phpbb3/viewtopic. ... 87&start=0)
- Auto-thumbing of [img]'s of own or external site
- Auto-thumbing of [attachment]'s
- Thumbs storing on your server
- If you changed a 'first [img]' or 'first[attachment]' the thumb is auto-updated
- Link on thumbs to original [img]- or [attachment]-post
- "width" and "height" size-option (adjustable for each mode: "width", "heigt" or "mix")
- "mix" size-option squares the pic to exact fit (takes always the very center part of every pic (if not squared allready))
- dead-link-check
- perfect layout in every browser
- xhtml 1.0 strict valid / transitional (subsilver2)

Requirements: fopen()

Fixes and Features in v.0.0.3
- kill "cannot redeclare class simpleresize" error
- optimize code (also build in all previous fixes)
- reduce edits

Fixes and Features in v.0.0.4
- "mix" size-option squares the pic to exact fit (takes always the very center part of every pic (if not squared allready)) ... request by fantastic http://www.phpbb.com/community/viewtopi ... #p12028595
- optimize performance of code
- reduce edits

Fixes and Features in v.0.0.5
- revised main code
- optimized thumbing code
- $display_priority mode is strict now
- bug reported by canedje is fixed
- no thumbing anymore of [img] smaller than $convert_max_size (no matter if smaller in width or height)
- optional thumb display in all search modes per request* http://www.phpbb.com/community/viewtopi ... #p12055295
- optional "no [img] pic" per request* http://www.phpbb.com/community/viewtopi ... #p12044345

Fixes and Features in v.0.0.5.a
improve performance of main files:
- first_x_in_forum_index.php
- first_x_in_forum_search.php
fixing bug reported by michaelp74 > http://www.phpbb.com/community/viewtopi ... #p12458705
fixing bug reported by Worzel > viewtopic.php?p=1426#p1426

Note:
- No display of protected remote pics

Planned:
- Delete-Orphaned Modul
- ACP ??
- ??

Image (follows)

Download:
First_Topic_Pic_on_ Forum_Index_v_0_0_5_a.zip
(12.28 KiB) Downloaded 327 times



Instruction: see install.txt


User avatar
4seven
Administrator
 
Posts: 427
 
Last 3 Topics:
Tabmenu Test
[Snippet] Avatar Ev...
[DEV] Zero and X-P...
 
Joined:
Sun 13. Jan 2008, 23:44
 
Letzter Login:
Mon 1. Aug 2022, 16:40
 
Posted:
Fri 22. Jan 2010, 01:15 +1.00
Userzeit: Fr 22. Jan 2010, 01:15

Re: [DEV] First Topic [pic] on Forum Index v.0.0.5 (en) (update)

Postby 4seven » Wed 3. Mar 2010, 03:33 | Userzeit: +1.00 / Fr 22. Jan 2010, 01:15

[DEV] First Topic [pic] on Forum Index v.0.0.5

General-Update

Changes for v.0.0.5:

- revised main code
- optimized thumbing code
- $display_priority mode is strict now
- bug reported by canedje is fixed
- no thumbing anymore of [img] smaller than $convert_max_size (no matter if smaller in width or height)
- optional thumb display in all search modes per request* http://www.phpbb.com/community/viewtopi ... #p12055295
- optional "no [img] pic" per request* http://www.phpbb.com/community/viewtopi ... #p12044345

---------------------------------------
Upate-Instruction

- make all edits again and load up all files again
- than delete all pics in images/att_thumbs and images/img_thumbs
- clear all board- and browser-caches

Download-Link > see first post

There are also the v.0.0.4 as temporary download, if u dont know what and where to update.

> make shure, u enter all your settings in first_x_in_forum_index_config.php <
User avatar
4seven
Administrator
 
Posts: 427
 
Last 3 Topics:
Tabmenu Test
[Snippet] Avatar Ev...
[DEV] Zero and X-P...
 
Joined:
Sun 13. Jan 2008, 23:44
 
Letzter Login:
Mon 1. Aug 2022, 16:40
 
Posted:
Wed 3. Mar 2010, 03:33 +1.00
Userzeit: Fr 22. Jan 2010, 01:15

Re: [DEV] First Topic [pic] on Forum Index 0.0.5.a (en) (upd

Postby 4seven » Sat 3. Apr 2010, 17:11 | Userzeit: +1.00 / Fr 22. Jan 2010, 01:15

Update v.0.0.5.a (note: the package was re-updated @ 19:00 MEZ with this*)

Fixes and Features in v.0.0.5.a
improve performance of main files:
- first_x_in_forum_index.php
- first_x_in_forum_search.php
*fixing bug reported by michaelp74 > http://www.phpbb.com/community/viewtopi ... #p12458705
fixing bug reported by Worzel > viewtopic.php?p=1426#p1426


Upate-Instruction

- Download new package
- Then upload..
root/includes/first_x_in_forum_index.php > includes/first_x_in_forum_index.php
root/include/first_x_in_forum_search.php > includes/first_x_in_forum_search.php
..again

- clear all caches
- thats it
User avatar
4seven
Administrator
 
Posts: 427
 
Last 3 Topics:
Tabmenu Test
[Snippet] Avatar Ev...
[DEV] Zero and X-P...
 
Joined:
Sun 13. Jan 2008, 23:44
 
Letzter Login:
Mon 1. Aug 2022, 16:40
 
Posted:
Sat 3. Apr 2010, 17:11 +1.00
Userzeit: Fr 22. Jan 2010, 01:15


Return to [DEV] Mods for 3.0.x



Who is online

Users browsing this forum: No registered users and 0 guests

cron