[ABD] Upload Image

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
John P
Registered User
Posts: 1232
Joined: Mon Jan 21, 2008 3:55 pm
Location: Netherlands
Name: John
Contact:

[ABD] Upload Image

Post by John P » Tue Oct 28, 2014 8:09 am

Description: Upload Images enables you to upload images in your images folder of your board. The ui folder is used for the images and is created automatically when enabling this extension. Copy imagepath simply by clicking and use it wherever you want to show your image.

Requirements:
  • phpBB 3.1-dev or higher
  • PHP 5.3.3 or higher
Repository: https://github.com/ForumHulp/uploadimage
Installation:
  • Copy the entire contents of the repository to ext/forumhulp/uploadimage/
  • Navigate in ACP to Customize -> Extension Management -> Extensions.
  • Click Enable.
Picture:
uploadimage.jpg
uploadimage.jpg (64.31 KiB) Viewed 4908 times
Image
Webhosting, Custom MODs, Technical management, MOD installation and Webdesign

User avatar
Mess
Registered User
Posts: 984
Joined: Wed Jul 01, 2009 6:37 am
Name: Kim

Re: [DEV] Upload Image

Post by Mess » Tue Oct 28, 2014 10:24 am

Nice extension, great util.


And congratz on the new title. Well deserved. :)

leschek
Registered User
Posts: 750
Joined: Tue Jul 18, 2006 12:49 pm
Contact:

Re: [DEV] Upload Image

Post by leschek » Tue Oct 28, 2014 3:49 pm

When I try to open extension (in ACP) I get this error:

Code: Select all

Fatal error: Uncaught exception 'UnexpectedValueException' with message 'RecursiveDirectoryIterator::__construct(./../images/ui/): failed to open dir: Permission denied' in /xxx/yyy/zzz/forum1_phpBB31/ext/forumhulp/uploadimage/controller/admin_controller.php:157 Stack trace: #0 /xxx/yyy/zzz/forum1_phpBB31/ext/forumhulp/uploadimage/controller/admin_controller.php(157): RecursiveDirectoryIterator->__construct('./../images/ui/', 12288) #1 /xxx/yyy/zzz/forum1_phpBB31/ext/forumhulp/uploadimage/acp/uploadimage_module.php(75): forumhulp\uploadimage\controller\admin_controller->display_images() #2 /xxx/yyy/zzz/forum1_phpBB31/includes/functions_module.php(674): forumhulp\uploadimage\acp\uploadimage_module->main('\\forumhulp\\uplo...', 'main') #3 /xxx/yyy/zzz/forum1_phpBB31/adm/index.php(81): p_master->load_active() #4 {main} thrown in /xxx/yyy/zzz/forum1_phpBB31/ext/forumhulp/uploadimage/controller/admin_controller.php on line 157

User avatar
moviehive
Registered User
Posts: 190
Joined: Mon Oct 20, 2014 2:08 am
Name: Aaron T

Re: [DEV] Upload Image

Post by moviehive » Tue Oct 28, 2014 8:23 pm

When I go to access the page in the admin I get a blank page.

User avatar
John P
Registered User
Posts: 1232
Joined: Mon Jan 21, 2008 3:55 pm
Location: Netherlands
Name: John
Contact:

Re: [DEV] Upload Image

Post by John P » Tue Oct 28, 2014 8:41 pm

@ leschek, that's a permission problem on your webserver, try chmod the folder. I updated the controller file to 755.

@moviehive, do you have more info for me, maybe set debig on or see your logiles
Image
Webhosting, Custom MODs, Technical management, MOD installation and Webdesign

leschek
Registered User
Posts: 750
Joined: Tue Jul 18, 2006 12:49 pm
Contact:

Re: [DEV] Upload Image

Post by leschek » Tue Oct 28, 2014 8:49 pm

Thank you for reply.
For some reason I'm not able to change the CHMOD of ui folder. Firefox wrote:

Code: Select all

550 Could not change perms on ui: Permission denied
Strange, I don't have problem to change permissions of other files/folders.

User avatar
moviehive
Registered User
Posts: 190
Joined: Mon Oct 20, 2014 2:08 am
Name: Aaron T

Re: [DEV] Upload Image

Post by moviehive » Tue Oct 28, 2014 9:01 pm

Fixed. It was a permissions error with the UL folder.

It was set to 000

leschek
Registered User
Posts: 750
Joined: Tue Jul 18, 2006 12:49 pm
Contact:

Re: [DEV] Upload Image

Post by leschek » Tue Oct 28, 2014 9:13 pm

leschek wrote:or some reason I'm not able to change the CHMOD of ui folder.
OK. I fixed it. I had to change permission via cPanel.

Holger
Registered User
Posts: 1565
Joined: Tue Mar 12, 2002 3:54 pm
Location: Hannover

Re: [DEV] Upload Image

Post by Holger » Thu Oct 30, 2014 3:35 pm

Is this uploader available for all users or only for the admin via ACP?
Are you looking for a phpBB Expert? Find a phpBB Expert!
Are you a phpBB Expert? Post your resume!
http://www.phpbbexperts.com

User avatar
Mauron
Registered User
Posts: 340
Joined: Wed Jul 16, 2014 11:25 am

Re: [DEV] Upload Image

Post by Mauron » Thu Oct 30, 2014 6:10 pm

It's an ACP add-on; users can upload images as attachments already.

Tecwar
Registered User
Posts: 42
Joined: Mon Jun 25, 2007 4:45 pm

Re: [DEV] Upload Image

Post by Tecwar » Fri Oct 31, 2014 2:58 pm

The images are not loaded in the acp.

want to preview from the path http://localhost/images/ui/test.jpg download,

but the path is http://localhost/phpbb3/images/ui/test.jpg

User avatar
John P
Registered User
Posts: 1232
Joined: Mon Jan 21, 2008 3:55 pm
Location: Netherlands
Name: John
Contact:

Re: [DEV] Upload Image

Post by John P » Fri Oct 31, 2014 9:56 pm

It should now work with a relative path.
Image
Webhosting, Custom MODs, Technical management, MOD installation and Webdesign

BianCionaa
Registered User
Posts: 10
Joined: Wed May 08, 2013 4:03 pm

Re: [DEV] Upload Image

Post by BianCionaa » Mon Nov 03, 2014 7:22 pm

Last edited by BianCionaa on Tue Nov 04, 2014 6:17 pm, edited 1 time in total.
Need Dutch translation for phpBB or extensions?

User avatar
John P
Registered User
Posts: 1232
Joined: Mon Jan 21, 2008 3:55 pm
Location: Netherlands
Name: John
Contact:

Re: [DEV] Upload Image

Post by John P » Mon Nov 03, 2014 8:08 pm

Thanks I will add it to the extension
Image
Webhosting, Custom MODs, Technical management, MOD installation and Webdesign

Anonymous_et_EE
Registered User
Posts: 138
Joined: Sun Jul 07, 2013 2:27 pm

Re: [DEV] Upload Image

Post by Anonymous_et_EE » Sat Nov 29, 2014 12:59 pm

Estonian translation available (11/29/2014).

PR send it.

Locked

Return to “Abandoned Extensions”

Who is online

Users browsing this forum: No registered users and 5 guests

cron