[3.2.9-3.3.x][RC] Glossary 3.0.20

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
pierredu
Registered User
Posts: 1274
Joined: Thu Nov 01, 2012 8:04 am
Location: Paris (France)

Re: [3.2][RC] Glossary 3.0.8

Post by pierredu »

Check in the store folder. Do you have an .htaccess file with deny from all ?
Delete it.
User avatar
motte
Registered User
Posts: 73
Joined: Wed Jan 30, 2013 10:15 pm
Name: Ralph

Re: [3.2][RC] Glossary 3.0.8

Post by motte »

i delete the .htaccaess and know it worked perfect. But do i need the .htaccess for something in the Folder /store?
Renault Scenic Forum ๐Ÿš˜ since 2003 ...

... lover of Modeltrains ๐Ÿš‚๐Ÿšƒ๐Ÿšƒ
User avatar
3Di
I've Been Banned!
Posts: 17538
Joined: Mon Apr 04, 2005 11:09 pm
Location: I'm with Ukraine 🇺🇦
Name: Marco

Re: [3.2][RC] Glossary 3.0.8

Post by 3Di »

Sure, the store folder can contain important data like database backup.

Pictures should be stored in the ROOT/images folder from where those can be read.
๐Ÿ†“ Free support for our extensions also provided here: phpBB Studio
๐Ÿš€ Looking for a specific feature or alternative option? We will rock you!
Please PM me only to request paid works. Thx. Buy me a coffee -> Image
My development's activity ยบ PhpStorm's proud user ยบ Extensions, Scripts, MOD porting, Update/Upgrades
User avatar
motte
Registered User
Posts: 73
Joined: Wed Jan 30, 2013 10:15 pm
Name: Ralph

Re: [3.2][RC] Glossary 3.0.8

Post by motte »

OK, so the EXT must be change to these imagedirectory .... /images/lmdi right??
Renault Scenic Forum ๐Ÿš˜ since 2003 ...

... lover of Modeltrains ๐Ÿš‚๐Ÿšƒ๐Ÿšƒ
User avatar
pierredu
Registered User
Posts: 1274
Joined: Thu Nov 01, 2012 8:04 am
Location: Paris (France)

Re: [3.2][RC] Glossary 3.0.8

Post by pierredu »

Hi Marco,

I was told in the validation process of this extension that all uploads of an extension should go in the store/vendor/ext folder.

If there is another rule, I'll change my code.

On the other hand, the backup files stored in the store folder are there (and not automatically downloaded) to protect the board against rogue admins who gain access the ACP (been there, done that) and try to backup the database to access the data (they normally would need a FTP access, with another security layer, which doesn't crash at the same time as the ACP access).

I'm really curious about this point.
User avatar
3Di
I've Been Banned!
Posts: 17538
Joined: Mon Apr 04, 2005 11:09 pm
Location: I'm with Ukraine 🇺🇦
Name: Marco

Re: [3.2][RC] Glossary 3.0.8

Post by 3Di »

I do not know the extension but surely in 'images/lmdi/gloss/'.

@Pier
you can't read images from store since the .htaccess has to be kept there, it is like removing the htaccess from the files folder, that's a no-no.

I am quite sure the images folder can be used for images uploads if are not copies of attachments, just ask the Team and you will know.
๐Ÿ†“ Free support for our extensions also provided here: phpBB Studio
๐Ÿš€ Looking for a specific feature or alternative option? We will rock you!
Please PM me only to request paid works. Thx. Buy me a coffee -> Image
My development's activity ยบ PhpStorm's proud user ยบ Extensions, Scripts, MOD porting, Update/Upgrades
User avatar
pierredu
Registered User
Posts: 1274
Joined: Thu Nov 01, 2012 8:04 am
Location: Paris (France)

Re: [3.2][RC] Glossary 3.0.8

Post by pierredu »

I just did it in the CDB validation thread.
We'll know.
User avatar
pierredu
Registered User
Posts: 1274
Joined: Thu Nov 01, 2012 8:04 am
Location: Paris (France)

Re: [3.2][RC] Glossary 3.0.8

Post by pierredu »

Paul told me that I should use the images folder, the same way, to avoid deleting the .htaccesss file in the store folder.
I'll code the change and update the repo.
User avatar
eunaumtenhoid
Registered User
Posts: 1039
Joined: Wed Jun 03, 2009 12:46 am
Location: ????

Re: [3.2][RC] Glossary 3.0.8

Post by eunaumtenhoid »

In this new version is it possible to create more than one glossary at a time?
My translations of the extensions for Brazilian Portuguese
https://github.com/phpBBTraducoes
User avatar
pierredu
Registered User
Posts: 1274
Joined: Thu Nov 01, 2012 8:04 am
Location: Paris (France)

Re: [3.2][RC] Glossary 3.0.8

Post by pierredu »

I didn't work on this aspect.
This would suppose a whole reorganisation of the code and I don't have the time to begin such a project.
User avatar
motte
Registered User
Posts: 73
Joined: Wed Jan 30, 2013 10:15 pm
Name: Ralph

Re: [3.2][RC] Glossary 3.0.8

Post by motte »

@pierredu fpr phpBB3.3 the /config/tables.yml Chage to:

Code: Select all

parameters:
    lmdi.gloss.tables.glossary: '%core.table_prefix%glossary'
Renault Scenic Forum ๐Ÿš˜ since 2003 ...

... lover of Modeltrains ๐Ÿš‚๐Ÿšƒ๐Ÿšƒ
User avatar
pierredu
Registered User
Posts: 1274
Joined: Thu Nov 01, 2012 8:04 am
Location: Paris (France)

Re: [3.2][RC] Glossary 3.0.8

Post by pierredu »

It seems that the checking of yml files is not very strict for tables.yml. I'll do it in next version.
Thanks anyway for the pointer.
User avatar
pierredu
Registered User
Posts: 1274
Joined: Thu Nov 01, 2012 8:04 am
Location: Paris (France)

Re: [3.2][RC] Glossary 3.0.9

Post by pierredu »

pierredu wrote: Mon Jan 13, 2020 9:26 am I'll code the change and update the repo.
The extension now uploads the picture files into the folder images/lmdi/gloss.
If you used a former version with store/lmdi/gloss, move the files with a FTP client into the new folder and delete the former one.
Version 3.0.9 is available on github.
Checked under 3.3.0-RC1 (not yet 3.3.0 but I don't expect surprises) and under 3.2.8.
Brender
Registered User
Posts: 38
Joined: Tue Nov 03, 2015 7:25 pm

Re: [3.2][RC] Glossary 3.0.8

Post by Brender »

Hi,

i have installed this Extension. I have activated it. But on the extension tab for general settings i have a "White Page".

PHP-Version: 7.2.29
Version des Boards: 3.2.4
User avatar
pierredu
Registered User
Posts: 1274
Joined: Thu Nov 01, 2012 8:04 am
Location: Paris (France)

Re: [3.2.9-3.3.x][RC] Glossary 3.0.10

Post by pierredu »

Do you have access to the server error log?
This would help us to pinpoint this issue.

P.S.: In the mean time, I reinstalled a version 3.2.4 of the board and my extension doesn't work with it (after doing the twig conversion and adding the lang class). You'll have to upgrade to 3.2.9 or 3.3.0.

Return to โ€œExtensions in Developmentโ€