[CDB] Upload Extensions 3.1.2

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!
Scam Warning
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
PayBas
Former Team Member
Posts: 930
Joined: Thu May 25, 2006 12:37 am

Re: [RC] Upload Extensions

Post by PayBas »

You can assume that the composer.json is always in the correct position in relation to the other files.

So if you can find the composer.json on github, you can pull the appropriate files... in theory ;).
Paul
Infrastructure Team Leader
Infrastructure Team Leader
Posts: 28651
Joined: Sat Dec 04, 2004 3:44 pm
Location: The netherlands.
Name: Paul Sohier
Contact:

Re: [RC] Upload Extensions

Post by Paul »

david63 wrote:
Mess wrote:I guess it depends on how the developers setup their repos?
As the packaging instructions have not been defined yet (or at least not published) then currently a developer can do as they want. Once the packaging instructions are published then there should be some degree of consistency.
The packaging guidelines won't tell how to put the extension on github :)
User avatar
John P
Registered User
Posts: 1237
Joined: Mon Jan 21, 2008 3:55 pm
Location: Netherlands
Name: John
Contact:

Re: [RC] Upload Extensions

Post by John P »

Upload Extension will copy a local zip file or a remote zip file to a tmp folder on your webserver.
It will try to unpack and locate the composer file.

If it succeeds it will read the composer file for folder instructions and create them in your ext folder.
Then it will copy all folders and files from composer location to the new ext folder and delete the tmp folder and if you want the zip file.

After this it will read the filetree and or readme.md and display this from where you can enable the extension.
Image
Webhosting, Custom MODs, Technical management, MOD installation and Webdesign
Holger
Registered User
Posts: 1883
Joined: Tue Mar 12, 2002 3:54 pm
Location: Hannover

Re: [RC] Upload Extensions

Post by Holger »

I dont know if you understand what I mean, because I am not used to github. But it would be very convenient to just input the github-link into this mod and get the extension ready for install.
User avatar
RMcGirr83
Former Team Member
Posts: 22016
Joined: Wed Jun 22, 2005 4:33 pm
Location: Your display
Name: Rich McGirr

Re: [RC] Upload Extensions

Post by RMcGirr83 »

The same could also be said for those extensions that are going to be in the customization database on this site.
Former Modifications/Extensions Team Member | My extensions | github | All requests for support via PM will be ignored
Appreciate the extensions/mods/support then buy me a beer Image
User avatar
John P
Registered User
Posts: 1237
Joined: Mon Jan 21, 2008 3:55 pm
Location: Netherlands
Name: John
Contact:

Re: [RC] Upload Extensions

Post by John P »

The extension can upload from a url but what we don't know yet is whether github is serving wrong metadata or phpbb is not able to read the metadata from github.
Image
Webhosting, Custom MODs, Technical management, MOD installation and Webdesign
LavIgor
Registered User
Posts: 545
Joined: Mon Apr 28, 2014 1:47 pm

Re: [RC] Upload Extensions

Post by LavIgor »

Holger wrote:Maybe a stupid question, but: many authors provide github-links to theire work. Would it be possible to include a possibility to directly transfer extensions from github?
Have you read the instructions inside the extension?
NOTE: Some servers (for example, github.com) don't support remote uploads.
I've tried to let the script to pull files from GitHub, but it is impossible with sockets.
I think that GitHub is blocking automatic requests so you need to download zip files from GitHub elsewhere (on local PC or on a remote server that doesn't block sockets) to be able to upload and install an extension.

I haven't tested zips from phpbb.com, but I think that it should be possible to upload extensions from this site by using a direct link. ;)
Holger
Registered User
Posts: 1883
Joined: Tue Mar 12, 2002 3:54 pm
Location: Hannover

Re: [RC] Upload Extensions

Post by Holger »

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

Re: [RC] Upload Extensions

Post by Anonymous_et_EE »

LavIgor
Registered User
Posts: 545
Joined: Mon Apr 28, 2014 1:47 pm

Re: [RC] Upload Extensions

Post by LavIgor »

Anonymous_et_EE wrote:Estonian translation:

https://github.com/phpBBeesti/phpBB-3.1 ... oad-master
OK, thank you.
User avatar
Meis2M
Translator
Posts: 1009
Joined: Wed Mar 03, 2010 11:32 am
Location: IR.Damghan
Name: میثم نوبری
Contact:

Re: [RC] Upload Extensions

Post by Meis2M »

phpBB persian international support
Follow us in Instagram
Free upgrade and install extensions on your forum - drop me PM
Ultimate phpBB SEO Friendly URL extension
LavIgor
Registered User
Posts: 545
Joined: Mon Apr 28, 2014 1:47 pm

Re: [RC] Upload Extensions

Post by LavIgor »

Meis2M wrote:Persian language here:
https://github.com/php-bb/upload/tree/m ... anguage/fa
Thank you!
Your PR is merged. ;)
michel_61
Registered User
Posts: 22
Joined: Sat Sep 20, 2008 10:40 am

Re: [RC] Upload Extensions

Post by michel_61 »

Hello,

phpbb RC5 , why is displayed after new installed Board installing only the English language variables ?

The Board setting is German , the German language pack is uploaded , the extension of the latest Github .


--> Sorry for my bad english, its with google translate.

reg. Mike
LavIgor
Registered User
Posts: 545
Joined: Mon Apr 28, 2014 1:47 pm

Re: [RC] Upload Extensions

Post by LavIgor »

michel_61 wrote:phpbb RC5 , why is displayed after new installed Board installing only the English language variables ?

The Board setting is German , the German language pack is uploaded , the extension of the latest Github .
Hello!

Could you please give some more information or attach screenshots?

Have you downloaded the latest version of this extension from https://github.com/BoardTools/upload?

I have Russian language installed and it works fine.
michel_61
Registered User
Posts: 22
Joined: Sat Sep 20, 2008 10:40 am

Re: [RC] Upload Extensions

Post by michel_61 »

Hi,

i installed on yesterday a fresh Board with phpbb RC5, downloaded on yesterday too from area51-board.
Today i download your latest zip from github, your link, and i install this.
My Board is in German language as default, for other extensions to install, i call your extension and its all in english. Cache is clear.

I make a screenshot and post it later.

reg. Mike
Locked

Return to “Extensions in Development”