[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.
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 »

Update

New in v.0.0.2:
- new thumb-file name-syntax to prevent "double content"

Update Instruction:

Download new package

Load up..

last_x_img_on_forum.php
last_x_img_on_forum_orphan.php

..again.

Make shure u save all settings you made in this section in last_x_img_on_forum.php ..

Code: Select all

//---------SETTINGS------------------

.........

//---------SETTINGS------------------
.. and enter them again in the updated file before you upload the file again.

Delete all files in images/last_x_img

Clear all Board, Style- and Browser-Caches
Current Mods | Mod Base | php(BB) programming | No help via PM
radhuza
Registered User
Posts: 42
Joined: Sat Dec 12, 2009 4:26 pm

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

Post by radhuza »

Hello, very thanks for your modification. :D I already have it installed, only when I switch to an index appears to me this error: you do not know what's the problem? Thanks :)

Code: Select all

[phpBB Debug] PHP Notice: in file /includes/last_x_img_on_forum.php  on line 191: copy() [function.copy]: Unable to access http://i44.tinypic.com/23mq8w0.jpg
[phpBB Debug] PHP Notice: in file /includes/thumb_crop.php on line 27: getimagesize() [function.getimagesize]: Unable to access ./images/last_x_img/23mq8w0.jpg
[phpBB Debug] PHP Notice: in file /includes/thumb_crop.php on line 27: getimagesize(./images/last_x_img/23mq8w0.jpg) [function.getimagesize]: failed to open stream: No such file or directory
Excuse my English
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 »

read the install ;)
#
#-----[ CREATE FOLDER ]------------------------------------------
#

images/last_x_img

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

images/last_x_img > 777
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,
we´re using hsimg tag instead of your img . What must be changed in the code to work for us??
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 »

find in the 2 main-files all
[img
and replace them with
[hsimg
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] Last X [img] on Forum v.0.0.2

Post by 4_seven »

radhuza wrote:

Code: Select all

getimagesize(./images/last_x_img/23mq8w0.jpg
also it seems to be you have the update v.0.0.2 not installed
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 »

4_seven wrote:find in the 2 main-files all
[img
and replace them with
[hsimg
Thanks, but there are showing only pictures which are in the post alone, without any text. Can you test it??
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 need ftp access and a testuser to check it out, bcs. i have no time to make my board like yours..
i have no infos about what for a bbcode it is and and and..
with img it is 100% functional
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 »

4_seven wrote:...with img it is 100% functional
OK, forget the hsimg tag thing

Can you post me some link with example of text+picture post that is working for you?

In our board this:
text, text (for ex. This is picture of my house)
[img]...[img]

is not working, but:
[img]...[img] only
is working correctly :(
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 check it out, so pls. wait a while..
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] Last X [img] on Forum v.0.0.2

Post by 4_seven »

I figure it out. It's an easy Update.
Also thx for finding this little boob ;)

fix #1 for v.0.0.2
open

last_x_img_on_forum.php
last_x_img_on_forum_orphan.php

find in both files

Code: Select all

"[img:%]%[/img:%]"
replace in both files with

Code: Select all

"%[img:%]%[/img:%]%"
package was updated soon
now it seems to be perfect..

..and u can also use your [hsimg] tag
http://www.phpbb.com/community/viewtopi ... #p12408995

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

posting
http://4seven.kilu.de/phpbb3/viewtopic. ... 1113#p1113
result
http://4seven.kilu.de/phpbb3/viewforum.php?f=11


-----------------------
Current Mods | Mod Base | php(BB) programming | No help via PM
fasko
Registered User
Posts: 185
Joined: Wed Jan 28, 2009 9:49 am

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

Post by fasko »

error

forum where many pictures it will not sustain

Sorry my english Lang.


Image

Image
Sorry for my english
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 »

seems to be u have mysqli :idea:
i dont have a server like that, so i must see, if i find a solution
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] Last X [img] on Forum v.0.0.2

Post by 4_seven »

try this

edit both files

last_x_img_on_forum.php
last_x_img_on_forum_orphan.php

find in both

Code: Select all

		AND t.forum_id IN (' . $forumz . ')
replace in both with

Code: Select all

		AND t.forum_id IN ' . $forumz . '
---------------------

or change testwise in both files

Code: Select all

		AND t.forum_id IN (' . $forumz . ')
to

Code: Select all

		AND t.forum_id IN (" . $forumz . ")
i see also u have not this fix installed
http://www.phpbb.com/community/viewtopi ... #p12409795
Current Mods | Mod Base | php(BB) programming | No help via PM
fasko
Registered User
Posts: 185
Joined: Wed Jan 28, 2009 9:49 am

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

Post by fasko »

:cry: I have many images. long loading page

my server RAM: 1024MB
CPU: 1 jadro (2.4 GHz Core2Quad Q6600)
HDD: 200GB
Sorry for my english

Return to “[3.0.x] Abandoned MODs”