Announcement

  •  » Extensions
  •  » Thumbnail management (creating new, deleting orphans)

#16 2017-06-10 18:58:02

windracer
Member
St. Pete, FL
2014-12-28
455

Re: Thumbnail management (creating new, deleting orphans)

Ok, got that working. Looks like I need to do the l10n messages as well so once I finish that I'll upload a new release.

Offline

 

#17 2017-06-10 19:42:12

ddtddt
Piwigo Team
Quetigny - France
2007-07-27
7207

Re: Thumbnail management (creating new, deleting orphans)

windracer wrote:

Ok, got that working. Looks like I need to do the l10n messages as well so once I finish that I'll upload a new release.

After, you must autorise Piwigo-TranslationTeam in github ;-)


You love Piwigo so don't hesitate to participate, learn more on the "Contribute to Piwigo" page. If you don't have much time for contribution, you can also help the project with a donation.

Offline

 

#18 2017-06-11 00:57:10

windracer
Member
St. Pete, FL
2014-12-28
455

Re: Thumbnail management (creating new, deleting orphans)

After, you must autorise Piwigo-TranslationTeam in github ;-)

So many steps! ;) Ok, I'll do that too.

What's the best practice for translating l10n strings? I have a a few that append in variables so it looks like I'll have to build the string first. In other words this:

Code:

$debug_line_1 = l10n('DBG_SRC_ALBUM').$source_cat_name.' (id: '.$storage_cat_id.')';
array_push(
  $page['messages'],
  l10n($debug_line_1)
  );

instead of this:

Code:

array_push(
  $page['messages'],
  l10n('source album: '.$source_cat_name.' (id: '.$storage_cat_id.')')
  );

Rather than calling l10n the second time (in array_push) should I just use sprintf (since there's no need to re-translate since that was done beforehand)?

Last edited by windracer (2017-06-11 01:15:28)

Offline

 

#19 2017-06-13 22:29:54

windracer
Member
St. Pete, FL
2014-12-28
455

Re: Thumbnail management (creating new, deleting orphans)

eliz82 wrote:

great plugin, if you make it work with batch manager i will use it

I've added Batch Manager support in v1.0.

Offline

 

#20 2018-03-16 15:42:24

vynz
Member
2018-03-16
4

Re: Thumbnail management (creating new, deleting orphans)

Hi, getting an error when activating the Physical Photo Move plugin


Parse error: syntax error, unexpected '[' in /home/***/public_html/***.com/piwigo/plugins/physical_photo_move/include/functions.inc.php on line 102

Any ideas?

Offline

 

#21 2018-03-16 15:58:05

windracer
Member
St. Pete, FL
2014-12-28
455

Re: Thumbnail management (creating new, deleting orphans)

vynz wrote:

Hi, getting an error when activating the Physical Photo Move plugin


Parse error: syntax error, unexpected '[' in /home/***/public_html/***.com/piwigo/plugins/physical_photo_move/include/functions.inc.php on line 102

What version of PHP are you using? I had a user report a similar issue with 5.3.x and upgrading to 5.6.x resolved the issue:

[Github] Piwigo-physical_photo_move issue #6

I use 7.x myself.

Offline

 

#22 2018-03-16 16:08:48

vynz
Member
2018-03-16
4

Re: Thumbnail management (creating new, deleting orphans)

windracer wrote:

What version of PHP are you using? I had a user report a similar issue with 5.3.x and upgrading to 5.6.x resolved the issue:

[Github] Piwigo-physical_photo_move issue #6

I use 7.x myself.

Using PHP 5.6.30

Offline

 

#23 2018-03-16 16:11:22

vynz
Member
2018-03-16
4

Re: Thumbnail management (creating new, deleting orphans)

vynz wrote:

windracer wrote:

What version of PHP are you using? I had a user report a similar issue with 5.3.x and upgrading to 5.6.x resolved the issue:

[Github] Piwigo-physical_photo_move issue #6

I use 7.x myself.

Using PHP 5.6.30

Wait. It may be 5.3
Not sure if I am reading the right version being used.

Offline

 

#24 2018-03-16 16:15:16

flop25
Piwigo Team
2006-07-06
7037

Re: Thumbnail management (creating new, deleting orphans)

it's in admin.php?page=maintenance


To get a better help : Politeness like Hello-A link-Your past actions precisely described
Check my extensions : more than 30 available
who I am and what I do : http://fr.gravatar.com/flop25
My gallery : an illustration of how to integrate Piwigo in your website

Offline

 

#25 2018-03-16 16:16:05

vynz
Member
2018-03-16
4

Re: Thumbnail management (creating new, deleting orphans)

vynz wrote:

vynz wrote:

windracer wrote:

What version of PHP are you using? I had a user report a similar issue with 5.3.x and upgrading to 5.6.x resolved the issue:

[Github] Piwigo-physical_photo_move issue #6

I use 7.x myself.

Using PHP 5.6.30

Wait. It may be 5.3
Not sure if I am reading the right version being used.

Hey. It activates after switching to PHP v5.60
Thanks. Going to try it out.

Offline

 

#26 2018-03-17 03:45:36

windracer
Member
St. Pete, FL
2014-12-28
455

Re: Thumbnail management (creating new, deleting orphans)

vynz wrote:

Hey. It activates after switching to PHP v5.60 Thanks. Going to try it out.

No problem! Guess I need to add that to the release notes. :)

Offline

 
  •  » Extensions
  •  » Thumbnail management (creating new, deleting orphans)

Board footer

Powered by FluxBB

github twitter newsletter Donate Piwigo.org © 2002-2024 · Contact