[3.1][3.2][DEV] Image Upload

A place for Extension Authors to post and receive feedback on Extensions still in development. No Extensions within this forum should be used within a live environment!
Suggested Hosts
Forum rules
READ: phpBB.com Board-Wide Rules and Regulations

IMPORTANT: Extensions Development rules

IMPORTANT FOR NEEDED EVENTS!!!
If you need an event for your extension please read this for the steps to follow to request the event(s)
User avatar
dmzx
Registered User
Posts: 698
Joined: Fri Sep 05, 2014 6:48 am
Location: The Netherlands
Contact:

[3.1][3.2][DEV] Image Upload

Post by dmzx » Sat Feb 04, 2017 9:57 am

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 'gif', 'jpg', 'jpeg', 'png'
Set permission for groups, default only admin group can upload images.

Image 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 Sun Apr 23, 2017 8:24 am, edited 2 times in total.
dmzx-web.net - Need a Host? - Want to Donate

User avatar
supanet
Registered User
Posts: 227
Joined: Sat Dec 15, 2012 4:20 pm
Location: UK
Contact:

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

Post by supanet » Sat Feb 04, 2017 3:31 pm

Subscribed ;)

User avatar
Stoker 4.0
Registered User
Posts: 1422
Joined: Sun Feb 13, 2011 1:33 pm
Location: Funen, Denmark
Name: Ulrik Christensen
Contact:

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

Post by Stoker 4.0 » Sun Feb 05, 2017 8:36 am

Why not use phpBB uploads instead?
Upload, place inline in posts. Cant be much easier than that.

User avatar
Scanialady
Registered User
Posts: 144
Joined: Thu Jan 17, 2013 7:09 pm
Location: Germany
Name: Annette
Contact:

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

Post by Scanialady » Sun Feb 05, 2017 3:43 pm

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 :)
Webseite, Blog, Wiki
JV-Arcade / phpBB-Arcade / dmzx-Extensions Übersetzungsteam, andere deutsche Übersetzungen - german language files

User avatar
dmzx
Registered User
Posts: 698
Joined: Fri Sep 05, 2014 6:48 am
Location: The Netherlands
Contact:

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

Post by dmzx » Sun Feb 05, 2017 10:01 pm

First post updated.
dmzx-web.net - Need a Host? - Want to Donate

spinecki
Registered User
Posts: 9
Joined: Wed Jan 11, 2017 12:41 pm
Contact:

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

Post by spinecki » Wed Feb 08, 2017 7:37 am

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 » Thu Feb 09, 2017 10:43 pm

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
Registered User
Posts: 1372
Joined: Tue Aug 14, 2012 11:52 pm

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

Post by ViolaF » 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://bit.ly/2lLro3x
Last edited by ViolaF on Sun Mar 05, 2017 2:29 pm, edited 1 time in total.

kim902
Registered User
Posts: 52
Joined: Wed Nov 09, 2016 5:49 pm

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

Post by kim902 » Fri Feb 10, 2017 8:48 pm

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
Registered User
Posts: 52
Joined: Wed Nov 09, 2016 5:49 pm

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

Post by kim902 » Fri Feb 10, 2017 8:50 pm

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
Registered User
Posts: 1372
Joined: Tue Aug 14, 2012 11:52 pm

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

Post by ViolaF » Fri Feb 10, 2017 10:53 pm

kim902 wrote:
Fri Feb 10, 2017 8:48 pm
Why 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
Registered User
Posts: 52
Joined: Wed Nov 09, 2016 5:49 pm

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

Post by kim902 » Fri Feb 10, 2017 11:15 pm

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
Registered User
Posts: 1372
Joined: Tue Aug 14, 2012 11:52 pm

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

Post by ViolaF » Fri Feb 10, 2017 11:58 pm

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 » Sun Feb 12, 2017 4:10 am

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: 9
Joined: Wed Jan 11, 2017 12:41 pm
Contact:

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

Post by spinecki » Thu Feb 16, 2017 8:35 pm

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?

Post Reply

Return to “Extensions in Development”

Who is online

Users browsing this forum: Chrono, HiFiKabin, KhurramMunawar and 21 guests