Automatic thumbnails on index

Looking for a MOD? Have a MOD request? Post here for help. (Note: This forum is community supported; phpBB does not have official MOD authors)
Get Involved
Locked
User avatar
4_seven
I've Been Banned!
Posts: 5155
Joined: Wed Apr 30, 2008 1:41 am

Re: Automatic thumbnails on index

Post by 4_seven »

Testforum added for..

First Topic [attachment] on Forum Index v.0.0.1
http://4seven.kilu.de/phpbb3/viewforum.php?f=9

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

If you will mixed both mods..

- First Topic [img] on Forum Index
- First Topic [attachment] on Forum Index

..it will (normally) work in "first come, first serve" mode:

If an [img] is present in a topic it displays it,
but is there (only) a [attachment] (and no [img]) it display that instead*

*ore vice-versa, bcs. of order of code in viewforum.php

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

Further a "strict parallel mode" is possible, so u have two span/div/table 'side by side' (if [img] and [attachment] is given). in this case i must build a special-instruction for those, who wants this mode.
Current Mods | Mod Base | php(BB) programming | No help via PM
dkdkdkdk
Registered User
Posts: 81
Joined: Tue Jun 30, 2009 7:22 am

Re: Automatic thumbnails on index

Post by dkdkdkdk »

This would be great ;) Iam looking forward the first release to test it :D
User avatar
4_seven
I've Been Banned!
Posts: 5155
Joined: Wed Apr 30, 2008 1:41 am

Re: Automatic thumbnails on index

Post by 4_seven »

[DEV] Last X [attachments] on Forum v.0.0.1 (released)
http://4seven.kilu.de/forum/phpbb3/view ... ?f=8&t=337

Developement Status of other Mods:
[DEV] Last X [img] on Forum v.0.0.1 (50%)
[DEV] First Topic [attachment] on Forum Index v.0.0.1 (80%)
[DEV] First Topic [img] on Forum Index v.0.0.2 (released)
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: Automatic thumbnails on index

Post by 4_seven »

[DEV] Last X [attachments] on Forum v.0.0.1 (released)
http://4seven.kilu.de/forum/phpbb3/view ... ?f=8&t=337
check install again (update bcs. of some hurry up errors)
http://4seven.kilu.de/forum/phpbb3/view ... f=15#p1087

edit
Must re-upload the file, so download again
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: Automatic thumbnails on index

Post by 4_seven »

[DEV] Last X [attachments] on Forum v.0.0.1

forgotten instruction part in install

(thx to parafun for reporting)

Code: Select all

#
#-----[ CREATE FOLDER ]------------------------------------------
#

images/viewforum_thumbs

#
#-----[ GIVE CHMOD via FTP ]------------------------------------------
#

images/viewforum_thumbs > 777
package was updated asap
Current Mods | Mod Base | php(BB) programming | No help via PM
User avatar
3Di
Former Team Member
Posts: 16032
Joined: Mon Apr 04, 2005 11:09 pm
Location: Milan (IT) Frankfurt (DE)
Name: Marco
Contact:

Re: Automatic thumbnails on index

Post by 3Di »

4_seven wrote:[DEV] Last X [attachments] on Forum v.0.0.1

forgotten instruction part in install

(thx to parafun for reporting)

Code: Select all

#
#-----[ CREATE FOLDER ]------------------------------------------
#

images/viewforum_thumbs

#
#-----[ GIVE CHMOD via FTP ]------------------------------------------
#

images/viewforum_thumbs > 777
package was updated asap
This are not regular instructions, all of this can be achieved via PHP though.. instead.
Please PM me only to request paid works. Thx.
Want to compensate me for my interest? Donate
My development's activity º PhpStorm's proud user
Extensions, Scripts, MOD porting, Update/Upgrades
Looking for a specific feature or alternative option? We will rock you! 🚀
User avatar
4_seven
I've Been Banned!
Posts: 5155
Joined: Wed Apr 30, 2008 1:41 am

Re: Automatic thumbnails on index

Post by 4_seven »

?? dont understand
Current Mods | Mod Base | php(BB) programming | No help via PM
User avatar
3Di
Former Team Member
Posts: 16032
Joined: Mon Apr 04, 2005 11:09 pm
Location: Milan (IT) Frankfurt (DE)
Name: Marco
Contact:

Re: Automatic thumbnails on index

Post by 3Di »

4_seven wrote:?? dont understand
CREATE FOLDER and CHMOD IT etc.. you could do that via PHP/phpBB, coding it.
Please PM me only to request paid works. Thx.
Want to compensate me for my interest? Donate
My development's activity º PhpStorm's proud user
Extensions, Scripts, MOD porting, Update/Upgrades
Looking for a specific feature or alternative option? We will rock you! 🚀
User avatar
4_seven
I've Been Banned!
Posts: 5155
Joined: Wed Apr 30, 2008 1:41 am

Re: Automatic thumbnails on index

Post by 4_seven »

ah, this u mean. this i've allready coded in the past of dev-time of this mod. my knowledge is good enough to do that, but, on some restricted test-boards it gives problems with php folder creation and php chmod (folder are on-deletable or un-accesable after that .. errors appears etc.) - on manually way all was right (on every board), so i change my code- way to this safe-way ;)
Current Mods | Mod Base | php(BB) programming | No help via PM
User avatar
3Di
Former Team Member
Posts: 16032
Joined: Mon Apr 04, 2005 11:09 pm
Location: Milan (IT) Frankfurt (DE)
Name: Marco
Contact:

Re: Automatic thumbnails on index

Post by 3Di »

4_seven wrote:ah, this u mean. this i've allready coded in the past of dev-time of this mod. my knowledge is good enough to do that, but, on some restricted test-boards it gives problems with php folder creation and php chmod (folder are on-deletable or un-accesable after that .. errors appears etc.) - on manually way all was right (on every board), so i change my code- way to this safe-way ;)
Never used the native PHPBB functions for that? ;)
Please PM me only to request paid works. Thx.
Want to compensate me for my interest? Donate
My development's activity º PhpStorm's proud user
Extensions, Scripts, MOD porting, Update/Upgrades
Looking for a specific feature or alternative option? We will rock you! 🚀
User avatar
4_seven
I've Been Banned!
Posts: 5155
Joined: Wed Apr 30, 2008 1:41 am

Re: Automatic thumbnails on index

Post by 4_seven »

no, but it is immaterial, bcs. it is only to create one folder
Current Mods | Mod Base | php(BB) programming | No help via PM
User avatar
3Di
Former Team Member
Posts: 16032
Joined: Mon Apr 04, 2005 11:09 pm
Location: Milan (IT) Frankfurt (DE)
Name: Marco
Contact:

Re: Automatic thumbnails on index

Post by 3Di »

4_seven wrote:no, but it is immaterial, bcs. it is only to create one folder
Yes, but a good exercise. ;)
Please PM me only to request paid works. Thx.
Want to compensate me for my interest? Donate
My development's activity º PhpStorm's proud user
Extensions, Scripts, MOD porting, Update/Upgrades
Looking for a specific feature or alternative option? We will rock you! 🚀
User avatar
4_seven
I've Been Banned!
Posts: 5155
Joined: Wed Apr 30, 2008 1:41 am

Re: Automatic thumbnails on index

Post by 4_seven »

than tell me how the phpbb way goes instead of mkdir() and chmod()
Current Mods | Mod Base | php(BB) programming | No help via PM
User avatar
3Di
Former Team Member
Posts: 16032
Joined: Mon Apr 04, 2005 11:09 pm
Location: Milan (IT) Frankfurt (DE)
Name: Marco
Contact:

Re: Automatic thumbnails on index

Post by 3Di »

includes/functions.php (function phpbb_chmod)
includes/constants.php
have a look to these.

There are at least 9 files onto a Vanilla phpBB 3.0.6 that are using that function/s.
Please PM me only to request paid works. Thx.
Want to compensate me for my interest? Donate
My development's activity º PhpStorm's proud user
Extensions, Scripts, MOD porting, Update/Upgrades
Looking for a specific feature or alternative option? We will rock you! 🚀
Locked

Return to “[3.0.x] MOD Requests”