[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
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 »

Thanks Mike,


Add it to github or as a attachment here and I will put it in git.
Image
Webhosting, Custom MODs, Technical management, MOD installation and Webdesign

User avatar
VSE
Extensions Development Coordinator
Extensions Development Coordinator
Posts: 5063
Joined: Sat Jan 17, 2009 9:37 am
Location: Los Angeles, CA
Name: Matt Friedman
Contact:

Re: [RC] Upload Extensions

Post by VSE »

You should not be using the event listener to load your language files. It appears your language file is only needed on the ACP page... so why load your language files for every single page of the forum - that just wastes resources.

You should instead just use $this->user->add_lang_ext('BoardTools/upload', 'upload'); at the top of your ACP module class, and get rid of the event listener file completely.

As for the language vars used in your module's info_upload.php file, just put those couple of vars in a language file named info_acp_upload.php and they will be autoloaded by the ACP.
Official phpBB Extensions ⭐️ My Extensions & MODs 🔔 YES!!! They ALL work with phpBB 3.3.x 🔔
Please do not PM me for support.

michel_61
Registered User
Posts: 22
Joined: Sat Sep 20, 2008 10:40 am

Re: [RC] Upload Extensions

Post by michel_61 »

Here is the Zip.

[The extension zip has been deactivated and can no longer be displayed.]

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:Hello,
nice MOD, its function good.
I have it translate in German. Where can i upload this file?
Sorry for my bad english :oops:
reg. Mike
You can fork our GitHub repository, add you file to language/[LANGUAGE_NAME] folder and create a PR.
Any translations are appreciated.

P.S. This is not a MOD. This is a phpBB 3.1 extension.

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

Re: [RC] Upload Extensions

Post by LavIgor »

michel_61 wrote:Here is the Zip.
de.zip
reg. Mike
Ok, thank you.
VSE wrote:You should instead just use $this->user->add_lang_ext('BoardTools/upload', 'upload'); at the top of your ACP module class, and get rid of the event listener file completely.

As for the language vars used in your module's info_upload.php file, just put those couple of vars in a language file named info_acp_upload.php and they will be autoloaded by the ACP.
Ok, edited.

GitHub repository is updated.

michel_61
Registered User
Posts: 22
Joined: Sat Sep 20, 2008 10:40 am

Re: [RC] Upload Extensions

Post by michel_61 »

Sorry,
it is very difficult for me to understand what is written here. My English is not good enough. Therefore I know not what I have to do like GitHub.

Translate with google-translate.

reg. Mike

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 »

It's not necessary Mike, we added your language pack already.

Thanks for it.
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: [RC] Upload Extensions

Post by leschek »

Nice extension.
I would like to ask if would be possible to upload language files additionally? I mean lets say that I upload extension with your extension to server and than some translator translate this extension, so I would like to upload it too into the already installed extension. I guess there would have to be some rules about packing the language files to make it work... Anyway it's just an idea.

EDIT: I deleted question about updating of extensions (it is mentioned in description of you extension in ACP)

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 »

If you unpack the new extension's zip again it will put the language file(s) in the folder where it belongs or create the folder first. So put the language folder in the extensions zip and unpack again.
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: [RC] Upload Extensions

Post by leschek »

Thank you. I thought it could be possible without repacking the extension.

User avatar
Jessica
Former Team Member
Posts: 4342
Joined: Sun Jul 18, 2010 2:53 pm
Location: Pennsylvania, USA
Name: Jessica
Contact:

Re: [RC] Upload Extensions

Post by Jessica »

Great extension!
Pro-choice, Atheist, Pro-LGBT rights
Everybody is a genius. But if you judge a fish by its ability to climb a tree, it will live its whole life believing that it is stupid. - Albert Einstein

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 »

Thanks
Image
Webhosting, Custom MODs, Technical management, MOD installation and Webdesign

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

Re: [RC] Upload Extensions

Post by Holger »

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?

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

Re: [RC] Upload Extensions

Post by Mess »

I'm guessing that's already possible? I guess it depends on how the developers setup their repos?

User avatar
david63
Registered User
Posts: 17252
Joined: Thu Dec 19, 2002 8:08 am
Location: Lancashire, UK
Name: David Wood
Contact:

Re: [RC] Upload Extensions

Post by david63 »

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.
David
Remember: You only know what you know and - you don't know what you don't know!
My CDB Contributions | How to install an extension
I will not be accepting translations for any of my extensions in Github - please post any translations in the appropriate topic.
No support requests via PM or email as they will be ignored

Locked

Return to “Extensions in Development”