[ABD] Last X [img] on Forum v.0.0.2

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.
kevinviet
Registered User
Posts: 47
Joined: Mon Jun 08, 2009 6:35 pm

Re: [DEV] Last X [img] on Forum v.0.0.2

Post by kevinviet »

Hello 4seven
I got 2 of these files includes/thumb_crop.php and includes/thumb_resize.php in my includes folder from your other mod already so how do I upload these 2 files ?

Thanks
User avatar
4_seven
I've Been Banned!
Posts: 5155
Joined: Wed Apr 30, 2008 1:41 am

Re: [DEV] Last X [img] on Forum v.0.0.2

Post by 4_seven »

Than ignore it, if you have the newest version of the other mod.
In doubt take the newer version of both files (create date in file info).
Current Mods | Mod Base | php(BB) programming | No help via PM
kevinviet
Registered User
Posts: 47
Joined: Mon Jun 08, 2009 6:35 pm

Re: [DEV] Last X [img] on Forum v.0.0.2

Post by kevinviet »

Thank you for your instruction 4seven, but I think I will wait for you to release a mod that first pic of a first topic on a index. :D that will very cool ;)
User avatar
4_seven
I've Been Banned!
Posts: 5155
Joined: Wed Apr 30, 2008 1:41 am

Re: [DEV] Last X [img] on Forum v.0.0.2

Post by 4_seven »

Can you explain it a bit more?
Current Mods | Mod Base | php(BB) programming | No help via PM
kevinviet
Registered User
Posts: 47
Joined: Mon Jun 08, 2009 6:35 pm

Re: [DEV] Last X [img] on Forum v.0.0.2

Post by kevinviet »

I read thru 11 page again and I think I find my solution here http://www.phpbb.com/community/viewtopi ... #p13057786
Thanks again 4seven, now I go to install your mod and see if I get trouble will ask for help :D
kevinviet
Registered User
Posts: 47
Joined: Mon Jun 08, 2009 6:35 pm

Re: [DEV] Last X [img] on Forum v.0.0.2

Post by kevinviet »

Ok I just install your mod and it looks fine but just a few problems that not look perfectly.
First, it's changed on my domain http:// lalalala.com/index&w=1400 x 900 .....
Second, it's pick a last picture from very old topic in those forum ID.
So if you have some spare time and fix the first problem that will be great and the second problem is if it's just pick up only the first picture from the newest topic in that forum ID will be very cool.
I am sorry being asking to much but I have a large forum with many forum contain an image in the topic and I want to get it out on the index as much as I can without a heavy load in the index.

Thank you very much for your time and your hard work, I'm very appreciated
User avatar
4_seven
I've Been Banned!
Posts: 5155
Joined: Wed Apr 30, 2008 1:41 am

Re: [DEV] Last X [img] on Forum v.0.0.2

Post by 4_seven »

kevinviet wrote:First, it's changed on my domain http:// lalalala.com/index&w=1400 x 900
Of course, bcs. the JS Engine detects the client display resolution to rerkon the max img to show. If you do not want so, than edit the config area of mod and enter the max img to show manually (all things are explained in this area).
kevinviet wrote:So if you have some spare time and fix the first problem that will be great and the second problem is if it's just pick up only the first picture from the newest topic in that forum ID will be very cool.
You speak about problems, but that are personal preferences. But, bcs. it was requested 2-3 times in past, i have build it testwise (proof: http://www.4seven.de/forum/media/viewfo ... yle=1&f=13 / Takes only the very first picture from first post in forum id 7. / If there is no img in first post, it shows no thumb for this topic). This comes as an optional mode in v.0.0.3 with other brandnew features (mix-mode, additional image infos in tooltip, timed auto orphaned img delete / All that is viewable live in current v.0.0.3 demo).
kevinviet wrote:I want to get it out on the index as much as I can without a heavy load in the index.
The mod have exactly one sql request, if it works the current way, "your way" or the v.0.0.3 way.
Current Mods | Mod Base | php(BB) programming | No help via PM
kevinviet
Registered User
Posts: 47
Joined: Mon Jun 08, 2009 6:35 pm

Re: [DEV] Last X [img] on Forum v.0.0.2

Post by kevinviet »

Thanks for your explanation 4_seven, like I said before I will wait for your next version 0.0.3 to release. I think it's more suitable for my need. Please release next version as soon as you can. Thanks again
lustucrus
Registered User
Posts: 45
Joined: Tue Dec 06, 2011 12:39 pm

Re: [DEV] Last X [img] on Forum v.0.0.2

Post by lustucrus »

For show the first Img only search in config DESC (Descendent) and change it to ASC (Acsendent) in last_x_img_on_forum.php on line 148 ;)

After delete all img in the '*.*/images/Last X img/..'
User avatar
4_seven
I've Been Banned!
Posts: 5155
Joined: Wed Apr 30, 2008 1:41 am

Re: [DEV] Last X [img] on Forum v.0.0.2

Post by 4_seven »

shure that it works the named way? i mean, that it only takes the very first img in each first post (even if there is more then one img)? if yes, than perfect, bcs. ive rebuild the sql for v.0.0.3 and i think, that it may not work that way there.
Current Mods | Mod Base | php(BB) programming | No help via PM
lustucrus
Registered User
Posts: 45
Joined: Tue Dec 06, 2011 12:39 pm

Re: [DEV] Last X [img] on Forum v.0.0.2

Post by lustucrus »

4_seven wrote:shure that it works the named way? i mean, that it only takes the very first img in each first post (even if there is more then one img)? if yes, than perfect, bcs. ive rebuild the sql for v.0.0.3 and i think, that it may not work that way there.
That work's and only show the first in each post img between IMG BBcode :)
User avatar
4_seven
I've Been Banned!
Posts: 5155
Joined: Wed Apr 30, 2008 1:41 am

Re: [DEV] Last X [img] on Forum v.0.0.2

Post by 4_seven »

thanks for sharing.
Current Mods | Mod Base | php(BB) programming | No help via PM
User avatar
martin123456
I've Been Banned!
Posts: 726
Joined: Sat Mar 05, 2011 7:44 pm

Re: [DEV] Last X [img] on Forum v.0.0.2

Post by martin123456 »

Any idea to when auto mod will be installed ? a rough time maybe ?

Code: Select all

<!-- IF S_CODE_UNTIDY and S_MESS_ON_INDEX Good If_Not_TIDY_Then_SUBMIT -->
User avatar
4_seven
I've Been Banned!
Posts: 5155
Joined: Wed Apr 30, 2008 1:41 am

Re: [DEV] Last X [img] on Forum v.0.0.2

Post by 4_seven »

v.0.0.3 will have ModX and comes out in the next 2 weeks.
Current Mods | Mod Base | php(BB) programming | No help via PM
lustucrus
Registered User
Posts: 45
Joined: Tue Dec 06, 2011 12:39 pm

Re: [DEV] Last X [img] on Forum v.0.0.2

Post by lustucrus »

i have a suggestion because i not find the way to make that ...

The mod can show by forums ID ???

exemple : in forum ID=1 , show only image of this forum ID, in 'viewforum.php?=1' .

Return to “[3.0.x] Abandoned MODs”