[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.
Daryl Grant
Registered User
Posts: 182
Joined: Mon Nov 19, 2007 4:28 pm

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

Post by Daryl Grant »

Eeek im having lots of problems, ive double checked all the edits but im getting this appear on the front page.

Even though ive only set it to 5 pics etc

Doesnt matter if crawl is enabled or not. if I change image sizes or set it to mix it makes no differnce to how it appears on the screen

Image
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 »

delete all files in folder images/last_x_img and clear all board and browser-caches.

than call your site again.

if it than not works i need ftp-access and a testuser, bcs this error never appears anytime.
Last edited by 4_seven on Wed Mar 31, 2010 5:25 pm, edited 1 time in total.
Current Mods | Mod Base | php(BB) programming | No help via PM
Daryl Grant
Registered User
Posts: 182
Joined: Mon Nov 19, 2007 4:28 pm

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

Post by Daryl Grant »

Thx for the reply.. but before I do that.

I only have the folder

images/last_x_img (not images/img_thumbs and images/att_thumbs )

Should I have those 2 folders you listed?


Also

last_x_img_on_forum_orphan.php: I put in root/includes, yes?
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 »

i correct that in my last post. false mod ;)
last_x_img_on_forum_orphan.php: I put in root/includes, yes?
yes..
Current Mods | Mod Base | php(BB) programming | No help via PM
Daryl Grant
Registered User
Posts: 182
Joined: Mon Nov 19, 2007 4:28 pm

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

Post by Daryl Grant »

ok thankyou.... but now this is error I get..

Image
Daryl Grant
Registered User
Posts: 182
Joined: Mon Nov 19, 2007 4:28 pm

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

Post by Daryl Grant »

update

(if anything is disfunction by detection, turn it to: no)

If I change it to no.. the page loads but some pics are very large.

Also

// (important if user have no javacript enabled or $detect_java_screen is set to 'no';)
$max_img_to_show = 5;



No matter what number I input it shows 100
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 »

remove the [img] malaynbrits005.jpg from your forum, bcs. it's no real *.jpg.
than test it again.

note: dont change the extension of a pic.

and, as i said before
if it than not works i need ftp-access and a testuser, bcs this error never appears anytime.
also
first post wrote:Note:
- No display of protected remote pics
-------------------

edit:
i will implement exif_imagetype() which can detect the extension (no matter how the pic is named) for both files: thumb_crop.php and thumb_resize.php.
the reason why i implement it not already is, bcs. some low-level boards don't provide it. so i may build a switch, if exif_imagetype() is available. if not, the script use getimagesize() instead ;)
Current Mods | Mod Base | php(BB) programming | No help via PM
Daryl Grant
Registered User
Posts: 182
Joined: Mon Nov 19, 2007 4:28 pm

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

Post by Daryl Grant »

Thx Seven, Ive had to uninstall it for the moment as im about to go away for a few days, when I come back il let you take a look cos maybe another module is getting in the way.

Anyway keep up the good work its a great mod :D
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 »

thx for feedback. have some nice days wherever u go..
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: [DEV] Last X [img] on Forum v.0.0.2

Post by dkdkdkdk »

Hi, will be there some combination of Last_X_img and Last_X_attach MODs showing pictures from them in one still/crawling panel?
When I now install both on index, they will be showed under each other.
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 »

they will be showed under each other.
logical. each of both mods are not build to mix with other mods.
may i take a look if it's possible next time...
Current Mods | Mod Base | php(BB) programming | No help via PM
colinmcrae
Registered User
Posts: 11
Joined: Tue Nov 10, 2009 3:50 pm

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

Post by colinmcrae »

Hi 4_seven,
i got no problems with this mod, i just wanted to thank you for the wonderful work you did, this is one of the best mod i ever seen (combined with the other you did) so a big thank you and keep going
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 »

thx for laudation and greez
4seven
Current Mods | Mod Base | php(BB) programming | No help via PM
Akbaio
Registered User
Posts: 49
Joined: Fri Dec 05, 2008 1:33 am

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

Post by Akbaio »

This mod won't work:
[phpBB Debug] PHP Notice: in file /includes/thumb_resize.php on line 49: imagesx(): supplied argument is not a valid Image resource
[phpBB Debug] PHP Notice: in file /includes/thumb_resize.php on line 60: Division by zero
[phpBB Debug] PHP Notice: in file /includes/thumb_resize.php on line 52: imagesy(): supplied argument is not a valid Image resource
[phpBB Debug] PHP Notice: in file /includes/thumb_resize.php on line 65: imagecreatetruecolor() [function.imagecreatetruecolor]: Invalid image dimensions
[phpBB Debug] PHP Notice: in file /includes/thumb_resize.php on line 49: imagesx(): supplied argument is not a valid Image resource
[phpBB Debug] PHP Notice: in file /includes/thumb_resize.php on line 52: imagesy(): supplied argument is not a valid Image resource
[phpBB Debug] PHP Notice: in file /includes/thumb_resize.php on line 66: imagecopyresampled(): supplied argument is not a valid Image resource
[phpBB Debug] PHP Notice: in file /includes/thumb_resize.php on line 37: imagejpeg(): supplied argument is not a valid Image resource
[phpBB Debug] PHP Notice: in file /includes/thumb_resize.php on line 46: imagedestroy(): supplied argument is not a valid Image resource
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 »

may u have an corrupt [img] file in one of the forums u enter in config-file ;)

delete the file and all will be fine.

also it works only with real [img]:

[img]****.jpg[/img] or [img]****.png[/img] or [img]****.gif[/img]

not with:

[img]*****file.php?blabla23456[/img]
Current Mods | Mod Base | php(BB) programming | No help via PM

Return to “[3.0.x] Abandoned MODs”