[ABD] Image Upload

Any abandoned Extensions will be moved to this forum.

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

WARNING: Extensions in this forum are not currently being supported nor updated by the original Extension author. Proceed at your own risk.
User avatar
janus_zonstraal
Registered User
Posts: 6418
Joined: Sat Aug 30, 2014 1:30 pm

Re: [3.2][3.3][DEV] Image Upload

Post by janus_zonstraal »

subsilver2 style
There isn't a subsilver2 style for phpbb3.3.0
Sorry! My English is bat ;) !!!
legofrik
Registered User
Posts: 3
Joined: Fri Jun 27, 2008 5:15 pm

Re: [3.2][3.3][DEV] Image Upload

Post by legofrik »

janus_zonstraal wrote: Thu Jun 18, 2020 1:27 pm There isn't a subsilver2 style for phpbb3.3.0
Yes, but subsilver2 version 3.1.11 style works just fine on phpbb 3.3.0.
Do you think this is a problem?
Must I use Prosilver style? If yes, than we have a problem, because I don't like the look of it. :)
User avatar
Scanialady
Registered User
Posts: 421
Joined: Thu Jan 17, 2013 7:09 pm
Location: Germany
Name: Annette
Contact:

Re: [3.2][3.3][DEV] Image Upload

Post by Scanialady »

Styles and extensions need to be updated to match the used phpBB version.

Subsilver2:
http://area51.phpbb.com/phpBB/viewtopic ... 6&p=295471
My 2 cents: Whether an extension is in the CDB says nothing about its quality. It is more important to read the support topics for it. Better to avoid authors who do not answer support questions themselves, who do not update their stuff, and who do not fix bugs for years.
User avatar
janus_zonstraal
Registered User
Posts: 6418
Joined: Sat Aug 30, 2014 1:30 pm

Re: [3.2][3.3][DEV] Image Upload

Post by janus_zonstraal »

You can use this style, but it need also some editing to make it work good on 3.3.0
Sorry! My English is bat ;) !!!
legofrik
Registered User
Posts: 3
Joined: Fri Jun 27, 2008 5:15 pm

Re: [3.2][3.3][DEV] Image Upload

Post by legofrik »

THX guys.
I think my knowledge of programming is too low to make any progress. :)
User avatar
dmzx
Registered User
Posts: 853
Joined: Fri Sep 05, 2014 6:48 am
Location: The Netherlands
Contact:

Re: [3.2][3.3][DEV] Image Upload

Post by dmzx »

First post updated.
Contact me on dmzx-web.net
Buy me a beer Donate and try binance.com or try CentOS Web Panel
User avatar
HiFiKabin
Community Team Member
Community Team Member
Posts: 6673
Joined: Wed May 14, 2014 9:10 am
Location: Swearing at the PC, UK
Name: James
Contact:

Re: [3.2][3.3][DEV] Image Upload

Post by HiFiKabin »

Thanks for the update, but one error is still present.

Images uploaded before the img-files directory had individual user directories do not have correctly formatted BBCodes, nor do they show correctly in the Your Uploaded Images link.
images list.jpg

there is a / missing after img-files

Code: Select all

 [img]https://hifikabin.me.uk/ext/dmzx/imageupload/img-filesc75ec0b074c8460b6fa935b71cde424c.jpg[/img] 
bbcode.jpg

image-ftp.jpg

I know its not a big deal, just an annoyance
User avatar
dmzx
Registered User
Posts: 853
Joined: Fri Sep 05, 2014 6:48 am
Location: The Netherlands
Contact:

Re: [3.2][3.3][DEV] Image Upload

Post by dmzx »

HiFiKabin wrote: Fri Sep 04, 2020 4:36 pm there is a / missing after img-files
Will check on that. It was also reported on my forum.
Contact me on dmzx-web.net
Buy me a beer Donate and try binance.com or try CentOS Web Panel
User avatar
HiFiKabin
Community Team Member
Community Team Member
Posts: 6673
Joined: Wed May 14, 2014 9:10 am
Location: Swearing at the PC, UK
Name: James
Contact:

Re: [3.2][3.3][DEV] Image Upload

Post by HiFiKabin »

Thanks
User avatar
stone23
Registered User
Posts: 177
Joined: Sat Nov 02, 2019 4:44 pm
Location: France

Re: [3.2][3.3][DEV] Image Upload

Post by stone23 »

Hello,

I found where the error comes from: just open the file dmzx/imageupload/core/functions.php

Find (line 226):

Code: Select all

				'IMAGEPATH'					=> $board_url . '/ext/dmzx/imageupload/img-files' . $file_name,
Replace with:

Code: Select all

				'IMAGEPATH'					=> $board_url . '/ext/dmzx/imageupload/img-files/' . $file_name,
Last edited by stone23 on Wed Sep 09, 2020 5:23 pm, edited 1 time in total.
encreuse.net
Forum version : 3.3.11
php version : 8.2.10

Excuse my English, I'm French...
User avatar
HiFiKabin
Community Team Member
Community Team Member
Posts: 6673
Joined: Wed May 14, 2014 9:10 am
Location: Swearing at the PC, UK
Name: James
Contact:

Re: [3.2][3.3][DEV] Image Upload

Post by HiFiKabin »

Nice find Stone23. Edited the file and all is working perfectly.

Thanks
Last edited by HiFiKabin on Wed Sep 09, 2020 12:55 pm, edited 1 time in total.
Reason: typo
User avatar
Scanialady
Registered User
Posts: 421
Joined: Thu Jan 17, 2013 7:09 pm
Location: Germany
Name: Annette
Contact:

Re: [3.2][3.3][DEV] Image Upload

Post by Scanialady »

Thank you for sorting it out, stone23.
My 2 cents: Whether an extension is in the CDB says nothing about its quality. It is more important to read the support topics for it. Better to avoid authors who do not answer support questions themselves, who do not update their stuff, and who do not fix bugs for years.
Tread
Registered User
Posts: 101
Joined: Thu Nov 14, 2019 9:52 pm

Re: [3.2][3.3][DEV] Image Upload

Post by Tread »

stone23 wrote: Wed Sep 09, 2020 9:25 am Hello,

I found where the error comes from: just open the file dmzx/imageupload/core/functions.php

Find (line 226):

Code: Select all

				'IMAGEPATH'					=> $board_url . '/ext/dmzx/imageupload/img-files' . $file_name,
Replace with:

Code: Select all

				'IMAGEPATH'					=> $board_url . '/ext/dmzx/imageupload/img-files/' . $file_name,

There is no need to edit the file.

The ext uses 'IMAGEPATH' => $board_url . '/ext/dmzx/imageupload/img-files' . $file_name,

this results in
ext/dmzx/imageupload/img-files/2/afce884/1f0ba2d/f952dab0172ad6d199b19e09ac6a6.png
User avatar
HiFiKabin
Community Team Member
Community Team Member
Posts: 6673
Joined: Wed May 14, 2014 9:10 am
Location: Swearing at the PC, UK
Name: James
Contact:

Re: [3.2][3.3][DEV] Image Upload

Post by HiFiKabin »

... but not in the case referred to above viewtopic.php?p=15585151#p15585151
User avatar
stone23
Registered User
Posts: 177
Joined: Sat Nov 02, 2019 4:44 pm
Location: France

Re: [3.2][3.3][DEV] Image Upload

Post by stone23 »

I however have the impression that this is what causes an error 400 in the case of multiple selection of images ... :roll:
encreuse.net
Forum version : 3.3.11
php version : 8.2.10

Excuse my English, I'm French...
Locked

Return to “Abandoned Extensions”