[ABD] First Topic [pic] on Forum Index v.0.0.6

Any abandoned MODs will be moved to this forum.

WARNING: MODs in this forum are not currently being supported or maintained by the original MOD author. Proceed at your own risk.
Forum rules
IMPORTANT: MOD Development Forum rules

WARNING: MODs in this forum are not currently being supported nor updated by the original MOD author. Proceed at your own risk.
User avatar
4_seven
I've Been Banned!
Posts: 5155
Joined: Wed Apr 30, 2008 1:41 am

Re: [DEV] First Topic [pic] on Forum Index v.0.0.3

Post by 4_seven »

as the error message said:

Code: Select all

Permission denied
make shure u give chmod777 via ftp to folder images/img_thumbs (incl. all subfolder and files)
Current Mods | Mod Base | php(BB) programming | No help via PM
Redy
Registered User
Posts: 102
Joined: Sun Feb 07, 2010 5:37 pm

Re: [DEV] First Topic [pic] on Forum Index v.0.0.3

Post by Redy »

cool,many thx you are right :) !! and last question...where I found forum ID? :oops: I can not hit the correct numbers :D
User avatar
4_seven
I've Been Banned!
Posts: 5155
Joined: Wed Apr 30, 2008 1:41 am

Re: [DEV] First Topic [pic] on Forum Index v.0.0.3

Post by 4_seven »

do all settings in the Settings Area in viewforum.php

begins here

Code: Select all

// 4seven / First Topic [pic] on Forum Index  / 2010
//----------BASIC-SETTINGS----------------
Current Mods | Mod Base | php(BB) programming | No help via PM
User avatar
4_seven
I've Been Banned!
Posts: 5155
Joined: Wed Apr 30, 2008 1:41 am

Re: [DEV] First Topic [pic] on Forum Index v.0.0.3

Post by 4_seven »

fantastic wrote:80x80 is ideal
4_seven wrote:by the way, request is realized, the new "mix"-option takes always the very center part of every pic (if not squared allready)
bcs. of this the thumb have always the perfect-square-fit and not a fake-"black-bar"-fit ;)
testing a while, than release the revised v.0.0.4

link to check it out follows
realized (80x80) and tested (check it out here)
http://4seven.kilu.de/phpbb3/viewforum.php?f=7
Current Mods | Mod Base | php(BB) programming | No help via PM
User avatar
4_seven
I've Been Banned!
Posts: 5155
Joined: Wed Apr 30, 2008 1:41 am

Re: [DEV] First Topic [pic] on Forum Index v.0.0.4

Post by 4_seven »

[UPDATE] v.0.0.3 > v.0.0.4

download > see first-post

new features
- new "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 in viewforum.php

To update..

open (from new package)

root/includes/first_x_in_forum_index_config.php

make shure u enter all settings correctly..

load up (new and again)

root/includes/first_x_in_forum_index.php > includes/first_x_in_forum_index.php
root/includes/first_x_in_forum_index_config.php > includes/first_x_in_forum_index_config.php
root/includes/thumb_resize.php > includes/thumb_crop.php
root/includes/thumb_resize.php > includes/thumb_resize.php

open

viewforum.php

find

Code: Select all

// 4seven / First Topic [pic] on Forum Index  / 2010
//----------BASIC-SETTINGS----------------

******* config etc. etc **********

//------------------------------------------------------------
if (!function_exists('simpleresize')){
include($phpbb_root_path . 'includes/thumb_resize.' . $phpEx);}
//------------------------------------------------------------
// 4seven / First Topic [pics] on Forum Index  / 2010
delete this old Settings-Part above completely and replace with

Code: Select all

// First Topic [pics] on Forum Index / 4seven / 2010	
include($phpbb_root_path . 'includes/first_x_in_forum_index_config.' . $phpEx);
// First Topic [pics] on Forum Index / 4seven / 2010
no other edits else to do

-------------------

note

if u enter new settings in includes/first_x_in_forum_index_config.php delete all existing files in images/img_thumbs and images/att_thumbs (exclude index.htm) and clear all board- and browser-caches..

..and be patient of rebuild new versions of thumbs.
if a timeout appears, just reload the site (thumbing is recursive)
Current Mods | Mod Base | php(BB) programming | No help via PM
Redy
Registered User
Posts: 102
Joined: Sun Feb 07, 2010 5:37 pm

Re: [DEV] First Topic [pic] on Forum Index v.0.0.3

Post by Redy »

4_seven wrote:do all settings in the Settings Area in viewforum.php

begins here

Code: Select all

// 4seven / First Topic [pic] on Forum Index  / 2010
//----------BASIC-SETTINGS----------------
yea,i know, but here...

Code: Select all

/ ----------------[img] SETTINGS--------------------
// enter here the forum id's to thumbing
I must set "ID" of the forum, where I want to show my views, but where I find the forum has which ID? :)
ibelphegor
Registered User
Posts: 453
Joined: Wed Oct 24, 2007 8:37 am

Re: [DEV] First Topic [pic] on Forum Index v.0.0.4

Post by ibelphegor »

Well,
Great mod but i think need to add 2 necessary things:

1) Most of the users click on "new post" - "active post", so it must add the option to search to.
2) I make a test and see if i post icon before image you will see the icon on index - I think will be
better to add minimum size to view in index So if for example if image size not minimum 100 then
Don't show.

Add to notify - great mod thanks for share.
;)
User avatar
4_seven
I've Been Banned!
Posts: 5155
Joined: Wed Apr 30, 2008 1:41 am

Re: [DEV] First Topic [pic] on Forum Index v.0.0.3

Post by 4_seven »

Redy wrote: but where I find the forum has which ID?
u see em in each link to a forum (just put your mouse on that and look at status-bar in browser)

example:

http : / / www .phpbb.com/community/viewtopic.php?f=70&t=1953215&start=45

f=70 means forum id 70
ibelphegor wrote:1) Most of the users click on "new post" - "active post", so it must add the option to search to.
if other user request that also, i will add it on dev-todo-list
ibelphegor wrote:2) I make a test and see if i post icon before image you will see the icon on index - I think will be
better to add minimum size to view in index So if for example if image size not minimum 100 then
Don't show.
add on dev-todo-list.
so the base-size will be the thumb-size (eg. 100). every pic which is smaller in width or height will not thumbed..
Current Mods | Mod Base | php(BB) programming | No help via PM
ibelphegor
Registered User
Posts: 453
Joined: Wed Oct 24, 2007 8:37 am

Re: [DEV] First Topic [pic] on Forum Index v.0.0.4

Post by ibelphegor »

I really hope you add the option to Search.php
I try to do it myself but Without success :|

Here more demo if needed:
http://www.tukinfo.com/viewforum.php?f=16
User avatar
4_seven
I've Been Banned!
Posts: 5155
Joined: Wed Apr 30, 2008 1:41 am

Re: [DEV] First Topic [pic] on Forum Index v.0.0.4

Post by 4_seven »

so, 2nd point is realized:

no pic is thumbing under given size of $convert_max_size = 80;

adjustable in first_x_in_forum_index_config.php

no matter if its the width or height that is under 80

http://4seven.kilu.de/phpbb3/viewforum.php?f=7

is that the point? than i add it to actual package
Current Mods | Mod Base | php(BB) programming | No help via PM
User avatar
4_seven
I've Been Banned!
Posts: 5155
Joined: Wed Apr 30, 2008 1:41 am

Re: [DEV] First Topic [pic] on Forum Index v.0.0.4

Post by 4_seven »

1st point
ibelphegor wrote:I really hope you add the option to Search.php
later, be patient..
Current Mods | Mod Base | php(BB) programming | No help via PM
ibelphegor
Registered User
Posts: 453
Joined: Wed Oct 24, 2007 8:37 am

Re: [DEV] First Topic [pic] on Forum Index v.0.0.4

Post by ibelphegor »

4_seven wrote:so, 2nd point is realized:

no pic is thumbing under given size of $convert_max_size = 80;

adjustable in first_x_in_forum_index_config.php

no matter if its the width or height that is under 80

http://4seven.kilu.de/phpbb3/viewforum.php?f=7

is that the point? than i add it to actual package
Yes. really nice.. now it's look great without full icons on index.
Thanks, i will try that now.
4_seven wrote:1st point
ibelphegor wrote:I really hope you add the option to Search.php
later, be patient..
OK i will be patient :mrgreen:

Question,
How you mange to make perfect 80X80?
I know the option are width, height or mix..

Edit: Ok mix do that :roll:
User avatar
4_seven
I've Been Banned!
Posts: 5155
Joined: Wed Apr 30, 2008 1:41 am

Re: [DEV] First Topic [pic] on Forum Index v.0.0.4

Post by 4_seven »

ibelphegor wrote: now it's look great without full icons on index.
Thanks, i will try that now.
ok, the actual v.0.0.4 package will be updated with this new code soon,
all thing do to then is, load up the first_x_in_forum_index.php again and..
if u enter new settings in includes/first_x_in_forum_index_config.php delete all existing files in images/img_thumbs and images/att_thumbs (exclude index.htm) and clear all board- and browser-caches..
i give a hint in this post via edit, if the package with this additional is out
Current Mods | Mod Base | php(BB) programming | No help via PM
ibelphegor
Registered User
Posts: 453
Joined: Wed Oct 24, 2007 8:37 am

Re: [DEV] First Topic [pic] on Forum Index v.0.0.4

Post by ibelphegor »

Great!

More request :P
I the end results is not show image then show "no image.gif"

This is my favored mod. :ugeek:
User avatar
4_seven
I've Been Banned!
Posts: 5155
Joined: Wed Apr 30, 2008 1:41 am

Re: [DEV] First Topic [pic] on Forum Index v.0.0.4

Post by 4_seven »

u mean bcs. than the "forum-line" have the perfect "straight-optic"?
Current Mods | Mod Base | php(BB) programming | No help via PM
Locked

Return to “[3.0.x] Abandoned MODs”