[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
dmzx
Registered User
Posts: 853
Joined: Fri Sep 05, 2014 6:48 am
Location: The Netherlands

[ABD] Image Upload

Post by dmzx »

Extension Name: Image Upload
Authors: dmzx & martin

Extension Description:
This extension will add an upload system for images to your forum.
This will allow you to host your own images from your server rather than use a 3rd party.
Allowed extensions can be set in ACP.
Set permission for groups, default only admin group can upload images.

Image Image Image

Before you update backup you files folder in the extension folder!

Image
- Code update UCP delete images.

Image
- Code update.

Image
- Code update to path_helper.
- Style redo for mobile by martin.

Image
- Changed pagination on index/ucp/posting pages.
- Style update CSS and html.

Image
- Added multiple upload section.
- Added permission for multiupload.
- Added sweetalert2 js for images.
- limit php.ini value in ACP.
- Various code changes.

Image
- Added ACP switches for global on/off index and posting images.
- Added permission to view tab in UCP.
- Changed layout of title and delete/insert images.
- Added pagination for images.
- Various code updates.

Image
- Fix deleting images on lower php version.

Image
- Changed HSIMG to URL-IMG link.
- Added ACP options for link display.
- Deleted code for 3.1 uploading files.

Image
- Rename "files" dir to "img-files" thanks to g0lang.
- Code update for 3.3.x
- Changed code for ACP for deleting images.

Image
- Drop support 3.1.x
- Added allowed extensions for images in ACP.
- Moved functions to core/functions.
- Changed code for allowed extensions in controller.
- Changed code for Collapsible Categories 2.

Image
Changed code for deleting image

Image
Added scroll bar in UCP if large amount of images are uploaded.
Code update.

Image
Added option to delete images from UCP. (See permissions default only Admin group can delete images)
Added button in posting topic for IMG direct in post.
Changed code for close conflict with boardannounce .
Changed html to twig.
Code update.

Image
Image

Image
Added new copy function
Added code for members to see own uploaded images. On posting page and Index page.
Added UPC setting for uploaded images on index to show for member.
Added direct insert to mchat on index. (if mchat is installed)

Image
Image
Image
Image
Image

Image
Added multiple delete in ACP
Added sorting

Screenshots:
Image

Image

Image

Image

Extension Download:
Download-link

Installation:
  1. Download the latest release.
  2. Unzip the downloaded release, and change the name of the folder to `imageupload`.
  3. In the `ext` directory of your phpBB board, create a new directory named `dmzx` (if it does not already exist).
  4. Copy the `imageupload` folder to `/ext/dmzx/` if done correctly, you'll have the main extension class at
    (your forum root)/ext/dmzx/imageupload/composer.json
  5. Navigate in the ACP to `Customise -> Manage extensions`
  6. Look for `Image Upload` under the Disabled Extensions list, and click its `Enable` link.
Last edited by dmzx on Fri Apr 09, 2021 12:27 pm, edited 17 times in total.
Contact me on dmzx-web.net
Buy me a beer Donate and try binance.com or try CentOS Web Panel
User avatar
supanet
Registered User
Posts: 246
Joined: Sat Dec 15, 2012 4:20 pm
Location: UK

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

Post by supanet »

Subscribed ;)
User avatar
Stoker 4.0
Registered User
Posts: 1510
Joined: Sun Feb 13, 2011 1:33 pm
Location: Funen, Denmark
Name: Ulrik Christensen

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

Post by Stoker 4.0 »

Why not use phpBB uploads instead?
Upload, place inline in posts. Cant be much easier than that.
Regards Stoker
User avatar
Scanialady
Registered User
Posts: 432
Joined: Thu Jan 17, 2013 7:09 pm
Location: Germany
Name: Annette

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

Post by Scanialady »

But you can clear the folder. Is good for temporary use - to show something just now. Makes it easier to handle outdated files. This extension is a good idea for my opinion :)
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
dmzx
Registered User
Posts: 853
Joined: Fri Sep 05, 2014 6:48 am
Location: The Netherlands

Re: [3.1][3.2][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
spinecki
Registered User
Posts: 68
Joined: Wed Jan 11, 2017 12:41 pm

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

Post by spinecki »

Yes! I thought about it yesterday and bam - here it is :)
darren.cb
Registered User
Posts: 12
Joined: Mon Apr 25, 2016 5:37 pm

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

Post by darren.cb »

Amazing! Will there be a feature for users to manage their own images? This was a mod a while back on a board I had seen... Every user was displayed a dropdown of all his/her previously uploaded images to pick from in the event they needed to re-post the images (or lost the link between the time they uploaded and went to post). Just a thought.

Also, what about the possibility of adding an "add image to post" link under the quick-reply (or PM or full editor) text area that opened the image upload page in a smaller pop-up window for quickly adding images to posts?
User avatar
ViolaF
I've Been Banned!
Posts: 1609
Joined: Tue Aug 14, 2012 11:52 pm

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

Post by ViolaF »

Take a look at this 3.0.* MOD with its fantastic features and explore the demo as an experience
and an intention for takers, who wants to transform this very great MOD to an EXT:

http://bit.ly/2lLro3x
Last edited by ViolaF on Sun Mar 05, 2017 2:29 pm, edited 1 time in total.
kim902
I've Been Banned!
Posts: 59
Joined: Wed Nov 09, 2016 5:49 pm

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

Post by kim902 »

ViolaF wrote: Fri Feb 10, 2017 8:09 pm Take a look at this 3.0.* MOD with its fantastic features and explore the demo as an experience
and an intention for takers, who wants to transform this very great MOD to an EXT:

http://***spam link removed by phpBB Team***/forum/6test/vi ... p?f=3&t=49
Why would any one want an old MOD when this topic is about a NEW ext for latest phpbb ?
Hardest thing in life is accepting some one else has done it better.
kim902
I've Been Banned!
Posts: 59
Joined: Wed Nov 09, 2016 5:49 pm

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

Post by kim902 »

Stoker 4.0 wrote: Sun Feb 05, 2017 8:36 am Why not use phpBB uploads instead?
Upload, place inline in posts. Cant be much easier than that.
I use this to upload images and use the link for other boards it's a nice addon for phpbb.

like this as you cant upload here on phpbb.com
Image
Hardest thing in life is accepting some one else has done it better.
User avatar
ViolaF
I've Been Banned!
Posts: 1609
Joined: Tue Aug 14, 2012 11:52 pm

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

Post by ViolaF »

kim902 wrote: Fri Feb 10, 2017 8:48 pmWhy would any one want an old MOD when this topic is about a NEW ext for latest phpbb ?
as an experience
and an intention for takers, who wants to transform this very great MOD to an EXT
:lol: :geek: :D
kim902
I've Been Banned!
Posts: 59
Joined: Wed Nov 09, 2016 5:49 pm

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

Post by kim902 »

Yawnz i see you linked to 4sevens site cant he make an ext out of it ?
Hardest thing in life is accepting some one else has done it better.
User avatar
ViolaF
I've Been Banned!
Posts: 1609
Joined: Tue Aug 14, 2012 11:52 pm

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

Post by ViolaF »

no, he's dead already. just linked to this as an inspiration....
darren.cb
Registered User
Posts: 12
Joined: Mon Apr 25, 2016 5:37 pm

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

Post by darren.cb »

darren.cb wrote: Thu Feb 09, 2017 10:43 pm Also, what about the possibility of adding an "add image to post" link under the quick-reply (or PM or full editor) text area that opened the image upload page in a smaller pop-up window for quickly adding images to posts?
Just added

Code: Select all

<!-- IF IMAGEUPLOAD_USE_UPLOAD -->
<input type="button" class="button2" onclick="popup('{U_IMAGEUPLOAD_UPLOAD}', 550, 550); return false;" value="{L_IMAGEUPLOAD_UPLOAD}" title="{L_IMAGEUPLOAD_UPLOAD}" />
<!-- ENDIF -->
to

Code: Select all

styles/prosilver/template/quickreply_editor.html
and it did the trick for the quick-reply.
spinecki
Registered User
Posts: 68
Joined: Wed Jan 11, 2017 12:41 pm

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

Post by spinecki »

Hi, there is a problem with file permissions on my server.
Everything works fine except for all the files uploaded are 0600, not 0644.
Folder 'files' is 0755.

What can i do?

Return to “Abandoned Extensions”