FYI, I use the videojs plugin, and when I enable sharethis 1.01, my video display pages lose all of their formatting. I have to disable sharethis to make videojs work properly.
When I firebug-ged the page, there was nothing in the <head> tag and none of the stuff I would normally expect to see prior to the <body>
Thought you should know. This did not happen with v1.00
Thanks!
Gray
Offline
gmccord wrote:
FYI, I use the videojs plugin, and when I enable sharethis 1.01, my video display pages lose all of their formatting. I have to disable sharethis to make videojs work properly.
Fixed in 1.0.2 - image derivative information is empty/missing. Post to Facebook would be made without image reference
Will post tonight
Offline
version 1.0.2
+ Corrected PayPal link for "Donate" link in admin area
- Fixed issue with VideoJS plugin when image derivative information is empty/missing. Post to Facebook would be made without image reference
Offline
version 1.0.3
+ ALL: Added better reference for OG: metadata
+ ALL: Photo description extended to include Gallery title and author (if provided)
+ Pinterest: Added Description. Fixed image reference. Improved Pinterest widget integration
+ Tumblr: New option. Experimental
Offline
Hi,
Can you add en_UK description on language folder for Can I add translation
Offline
Can do
since it is first time I would be doing so, any suggestions on best practices of creating/maintaining language folders?
if it is in the docs somewhere, please share the link
For example: I have created the folder as you requested with description.txt and empty plugin.lang.php. Now what?
Offline
There is not doc for that :(
You might look at how other plugins work (or https://github.com/mistic100/Piwigo-Skeleton)
plugin.lang.php file contains all strings you use in l10n (PHP) and translate (Smarty)
I recommend you do not use cryptic keys like "button_label" but the english term, this way partial languages naturally fall back to Engligh
description.txt just contain the plugin description you put in main.inc.php
Offline
well I already did it for GreyDragon isn't it ?
Offline
mistic100 wrote:
well I already did it for GreyDragon isn't it ?
not sure what you mean beside that I just used Elegant's language folder
this does not really translates it.
Offline
mistic100 wrote:
There is not doc for that :(
You might look at how other plugins work (or https://github.com/mistic100/Piwigo-Skeleton)
plugin.lang.php file contains all strings you use in l10n (PHP) and translate (Smarty)
I recommend you do not use cryptic keys like "button_label" but the english term, this way partial languages naturally fall back to Engligh
description.txt just contain the plugin description you put in main.inc.php
this is starting point, but considering sheer size of parsing and aggregating all the values, I was looking for a way to "scrap" theme or plugin files in some programmatic way
Coming back to WP example, there are things like https://wpml.org/ which allow you do that from within the system.
Considering that translation is done by PWG code, it would be great if there was a hook/UI allowing to do that
Offline
[extension by mistic100] Language Analysis
it does not generate files but it lists which translations are needed
Offline
mistic100 wrote:
[extension by mistic100] Language Analysis
it does not generate files but it lists which translations are needed
That's cool!
Few things to report:
* drop down does not work in IE - I cannot click any items, have to use KB only
* works with Plugins but not themes
* Warning: file_put_contents(_data/plugin_lang_analysis/GDThumb.php): failed to open stream: Permission denied in .../plugins/plugin_lang_analysis/admin.php on line 72
Offline
* I don't care about IE
* hence the name of the menu item :-)
* well that's your config, "permission denied", clear enough
Offline
mistic100 wrote:
* I don't care about IE
Still widely used browser, and just shows that proprietary code is used somewhere or there is something in templates cached and causing error. Drop down with search is very simple component. BTW, it is IE11, so it is working fine with all normal JS/CSS
BTW, it seems to be "first time use" issue as error no longer appear, hence coding as I did not change anything on my end
mistic100 wrote:
* hence the name of the menu item :-)
But it is great tool, Sir! Please forgive my ignorance, but could it be easy to provide coverage for themes too, could it not?
mistic100 wrote:
* well that's your config, "permission denied", clear enough
It just happened to be my plugin as I did pick it first
Error is at
.../admin.php?page=plugin-plugin_lang_analysis&plugin_id=GDThumb&analyze
But when you do create _data/plugin_lang_analysis folder, you do not set any permissions, causing it not to be accessible from your code
After further review of admin.php
@mkdir(PLA_DATA, true, 0755);
This is wrong syntax, per http://php.net/manual/en/function.mkdir.php, it should be @mkdir(PLA_DATA, 0755, true);
Soo, your cooking, Sir :)
Last edited by Serge D (2015-05-01 01:46:29)
Offline
Hello all,
New to Piwigo. Seems to be pretty cool!
So I got started on my hosting site no problem. Then I installed and enabled "Share This" plug in and started getting this:
Notice: Undefined index: tumblr in /hermes/walnaweb02a/b1592/hy.jbauctionhouse/album/plugins/ShareThis/main.inc.php on line 49 Warning: Cannot modify header information - headers already sent by (output started at /hermes/walnaweb02a/b1592/hy.jbauctionhouse/album/plugins/ShareThis/main.inc.php:49) in /hermes/walnaweb02a/b1592/hy.jbauctionhouse/album/include/page_header.php on line 101
It stayed at the top of the page in admin and in my gallery. I noticed something funny right away when I installed it, I didnt see it with the rest of my plugins, however I did see it listed on the left hand column. So I had to deactivate it and then all was back to normal.
Any ideas what Im doing wrong or what the problem is?
Thanks,
Jeff