[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: 1237
Joined: Mon Jan 21, 2008 3:55 pm
Location: Netherlands
Name: John
Contact:

[ABD] Upload Image

Post by John P »

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 6839 times
Image
Webhosting, Custom MODs, Technical management, MOD installation and Webdesign
User avatar
Mess
Registered User
Posts: 985
Joined: Wed Jul 01, 2009 6:37 am
Name: Kim

Re: [DEV] Upload Image

Post by Mess »

Nice extension, great util.


And congratz on the new title. Well deserved. :)
leschek
Registered User
Posts: 791
Joined: Tue Jul 18, 2006 12:49 pm
Contact:

Re: [DEV] Upload Image

Post by leschek »

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 »

When I go to access the page in the admin I get a blank page.
User avatar
John P
Registered User
Posts: 1237
Joined: Mon Jan 21, 2008 3:55 pm
Location: Netherlands
Name: John
Contact:

Re: [DEV] Upload Image

Post by John P »

@ 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: 791
Joined: Tue Jul 18, 2006 12:49 pm
Contact:

Re: [DEV] Upload Image

Post by leschek »

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 »

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

It was set to 000
leschek
Registered User
Posts: 791
Joined: Tue Jul 18, 2006 12:49 pm
Contact:

Re: [DEV] Upload Image

Post by leschek »

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: 1781
Joined: Tue Mar 12, 2002 3:54 pm
Location: Hannover

Re: [DEV] Upload Image

Post by Holger »

Is this uploader available for all users or only for the admin via ACP?
User avatar
Mauron
Registered User
Posts: 342
Joined: Wed Jul 16, 2014 11:25 am

Re: [DEV] Upload Image

Post by Mauron »

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 »

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: 1237
Joined: Mon Jan 21, 2008 3:55 pm
Location: Netherlands
Name: John
Contact:

Re: [DEV] Upload Image

Post by John P »

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 »

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: 1237
Joined: Mon Jan 21, 2008 3:55 pm
Location: Netherlands
Name: John
Contact:

Re: [DEV] Upload Image

Post by John P »

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 »

Estonian translation available (11/29/2014).

PR send it.
Locked

Return to “Abandoned Extensions”