Forum Replies Created

Viewing 15 replies - 16 through 30 (of 1,571 total)
  • Thread Starter George Notaras

    (@gnotaras)

    Looks fantastic! Much better than what I had in mind.

    Plugin Author George Notaras

    (@gnotaras)

    About the first error, you are right. It needs to be fixed. This is about the inline style. I haven’t made any changes to it, because I plan to remove it and use an external style enqueuing it according to the standard WP best practices. And in that case, this will be taken care of by the AMP plugin.

    About the second error, it could be fixed by customizing the outer HTML code. But, I just discovered a small issue with it, so this customization will be possible from 1.8.20.

    George

    Plugin Author George Notaras

    (@gnotaras)

    Hi @houssenmoshine,

    First of all, I’m sorry for the late reply, but I received no email notification about your latest post.

    I’ll take a closer look at these issues and reply back. Your feedback is much appreciated!

    Since this review system is not the right place for support and troubleshooting, can we please move this discussion to the Github issue tracker?

    Some questions:

    – What is the document type of your HTML pages? The HTML output of CC-Configurator is now compatible with HTML 5. Previous versions of the plugin generated HTML code exactly as generated by the online tools of the Creative Commons web site. But, that code did not validate as HTML 5. So, since HTML 5 has become standard practice these days, I decided to move forward and change it.
    – What validator service do you use?

    I’ll need to do some research about the ‘amp-custom’ class.

    Kind Regards,
    George

    Hi again @luciole135

    FYI, the next release of the plugin will have these template tags which can be used to retrieve the user image as set in the AMT section of the user profile page or print an img HTML element for it.

    BTW, in 2.10.12 it will be possible to override the avatar url as returned by the get_avatar_url() WP API function with the url of the image you have set in the user profile page in the WP Admin under the Add-Meta-Tags section by adding the following in the theme’s functions.php:

    add_filter('amt_set_user_image_as_avatar', '__return_true');

    This should also make the AMP plugin use that image as avatar.

    If you need more help, please let me know.

    Kind Regards,
    George

    Hello all,

    @luciole135

    I’m the developer of the Add-Meta-Tags plugin and would be very interested in understanding this problem better, try to replicate it and hopefully fix it.

    Thanks in advance for your feedback!

    Since 2.10.10 it is possible to select an author image from the media library. In that case, only the attachment ID is stored in the form field. The image dimensions are retrieved directly from the attachment.

    However, this image does not integrate with any WordPress functionality, but is solely used in the metadata on the author archive or when constructing the author’s Person Schema.org entity.

    Here is an example about how to retrieve information about this image and use it as you see fit:

    // Assuming that $user is a WordPress user object and that an image
    // has been set in the user's profile page in the 'Add-Meta-Tags ->
    // Image URL' field. This field accepts both an attachment ID
    // (integer) and a special notation for using an external image
    // (URL,WIDTHxHEIGHT)
    //
    // In the following example it is assumed that the field contains
    // an attachment ID.
    //
    // First, retrieve some data about that image using an internal
    // Add-Meta-Tags function.
    
    $attachment_id = absint( amt_get_user_meta_image_url( $user->ID ) );
    
    // Then we get info about the desired size, eg 'medium',
    // using the WP API
    
    $image_info = wp_get_attachment_image_src( $attachment_id, 'medium' );
    
    // $image_info is an array. [0]: image url, [1]: width, [2]: height

    You can use this data in any way you see fit, for example in the AMP page.

    Add-Meta-Tags does not alter the functionality of other plugins or use their hooks to insert its data. This is because I think this decision has to be made by the user. If you need any help with it, please let me know in the plugin support forums or on Github.

    Thank you all again for your feedback.

    George

    Plugin Author George Notaras

    (@gnotaras)

    Hi,

    I’m going to mark this topic as resolved. Since this is actually about Polylang configuration, I’d highly recommend asking in the Polylang support forum.

    Kind Regards,
    George

    Plugin Author George Notaras

    (@gnotaras)

    Hi @houssenmoshine

    Thank you very much for the review! It is much appreciated!

    About the AMP pages, as far as I can tell the plugin adds the licensing information at the end of the article and also the Separate Media License feature seems to add licensing metadata for each media file that is included in the post.

    Am I missing something? I’d be grateful if you provided a little more information in the forums about the interoperability with the WP-AMP plugin. Or if you use another plugin, I’d be very interested in adding support for it.

    Thanks again for the review!

    Kind Regards
    George

    Plugin Author George Notaras

    (@gnotaras)

    Hello Ben,

    I replied on Github, so I’m going to mark this topic as resolved.

    George

    Plugin Author George Notaras

    (@gnotaras)

    Hi Beno?t,

    No there is no security plugin in this list. I’ve confirmed that the problem is most probably due to some security rules for the mod-security module for the Apache web server. I’ll try to reach the authors of those rules and make sure this is resolved.

    If possible, I’d appreciate it if you let your hosting provider know about this issue. Hopefully they’ll make the necessary modifications so that you will not have to manually rename the file again.

    I’ll now mark this topic as resolved. Also, if you ever feel like participating in the translations project for Canadian French, that would be great.

    Thanks for your feedback and feel free to contact me for any issue.

    Best Regards,
    George

    Plugin Author George Notaras

    (@gnotaras)

    I’ve just released 1.8.17 with all the necessary changes regarding the French translations. Please let me know if it works as expected.

    Unfortunately, you will have to manually rename the file again.

    After doing some research about it, I found out that an old ruleset for the mod-security module for Apache is possibly responsible for the initial issue. I would highly recommend filing a bug report to the hosting provider about it.

    Please feel free to contact me for any issue.

    George

    Plugin Author George Notaras

    (@gnotaras)

    I made the change in the translations project on Transifex. I’ve also added the fr_CA translation and copied the fr_FR translation to it.

    Currently, the fr_CA translation has no coordinator. If you would like to join, please sign up with Transifex and please let me know of your username so I can add you to the Canadian French translation team.

    https://www.transifex.com/codetrax/cc-configurator/language/fr_CA/

    Being a coordinator has no special obligations.

    Plugin Author George Notaras

    (@gnotaras)

    That’s great! Now we are getting somewhere. As I see it, this probably indicates that there is a sequence of characters in the directory+file names that trigger a security mechanism in a security plugin.

    It would be great if you could give me some more details about any security plugins you use so as to try to replicate the problem locally.

    any way to show my CC in French?

    From what I see the French translation (fr language code) is 81% complete, but now I notice that the fr code is not included in the language codes that WP understands:

    https://i18n.svn.www.ads-software.com/

    This has to be changed to fr_FR. (I wonder how such an issue has remained unnoticed by the current translators…)

    I’ll reply back soon with more details.

    Could you please let me know if you have set the language to ‘Francais du Canada’ (fr_CA language code)? This language code is missing from the WP i18n list above, but I see it in the list of languages in Settings -> General -> Site Language in the WP settings.

    George

    Plugin Author George Notaras

    (@gnotaras)

    By the way, I’m not using your real domain in the instructions, because these forums have a policy to *not* edit posts and delete URLs if you later ask so. So, to be on the safe side, whenever I use example.com, please consider it as your blog’s domain name.

    George

    Plugin Author George Notaras

    (@gnotaras)

    Hi Beno?t,

    I’m really out of ideas…

    The problem is definitely not filesystem permissions and not a corrupted download.

    May I ask if you use any security related plugin? Sometimes, such plugins perform checks on the requested URL and there is a small possibility that for some reason they would block access to:

    example.com/wp-content/plugins/creative-commons-configurator-1/cc-configurator.php

    If you have FTP or WEBFTP access, can you please perform the following test: rename the plugin directory and main plugin file (/creative-commons-configurator-1/cc-configurator.php) to something like:

    /mylicense/mylicense.php

    So that the directory path would become:

    (YOUR_WORDPRESS_ROOT_DIRECTORY)/wp-content/plugins/mylicense/mylicense.php

    The plugin installation process is just the extraction of the files, so there should be no worries about any problem with the above.

    Alternatively, if a security plugin is used, is it possible to temporarily deactivate it and check if the problem persists?

    I do have access to my error log: it weighs 69Mo though…

    Does the hosting provider’s control panel have any interface where you can see the contents of the error log and copy paste the error message that is recorded when the error happens?

    I’m trying to wild guess what else might be wrong, but I’m out of ideas.

    George

    Plugin Author George Notaras

    (@gnotaras)

    Hi Beno?t,

    I tried to visit the following path on your blog:

    /wp-content/plugins/creative-commons-configurator-1/readme.txt

    And I can see the plugin’s readme.txt file in my web browser. This means that the plugin is still installed and that the directory /wp-content/plugins/creative-commons-configurator-1/ exists in your web space.

    Can you please tell me if you can access your web space using FTP or any webftp interface available in your hosting provider’s control panel? If yes, please try to manually delete the following directory:

    (YOUR_WORDPRESS_ROOT_DIRECTORY)/wp-content/plugins/creative-commons-configurator-1/

    By deleting that directory the plugin will be removed. Then you can try reinstalling it via WordPress’ plugin management interface (Plugins -> Add New). The problem could have happened because of a corrupted plugin download, but that’s a wild guess.

    Also, in a previous message you mentioned other problems you had encountered in the past. Have you seen the same error message before? (“Oups ! Cette page est introuvable.”)

    Moreover, do you have access to your server’s error log? If yes, can you please provide any error message that is recorded there when the error happens?

    I’m afraid that without any extra information about any error messages I won’t be able to find a solution or better understand what might be causing the problem.

    George

Viewing 15 replies - 16 through 30 (of 1,571 total)