Git Product home page Git Product logo

credit-tracker's People

Contributors

autarch avatar codelingobot avatar dmchale avatar idea--list avatar jaace avatar lilianricaud avatar mannski avatar mjh1709muc avatar r-brown avatar thybag avatar v-rudkovskiy avatar wpamitkumar avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

credit-tracker's Issues

Settings help

Hi
I am not very technical so I am having some issues understanding exactly how this works ( the FAQs) are not that clear for me.
I added a URL to the 'link' section in the image uploader but it doesn't show.Can you advise?

Thanks

Photo caption table for attachments to current post

How would I construct the shortcode so it displays the photo credit table for all photos attached to the current post? currently, i'm implementing the shortcode in a sidebar on all blog pages.

remove_shortcode( 'credit_tracker_table' );
    add_shortcode( 'credit_tracker_table', 'my_credit_tracker_table_shortcode' ) );

    function my_credit_tracker_table_shortcode( $atts ) {
        extract( shortcode_atts( array(
             'attachments' => false
        ), $atts ) );
        if ( $attachments ) {
            global $post;
            $attachments    = get_attached_media( 'image' );
            $attachment_ids = array();
            foreach ( $attachments as $attachment ) {
                $attachment_ids[] = $attachment->ID;
            } //$attachments as $attachment
            $attachment_ids = implode( ',', $attachment_ids );
            $atts[ 'id' ]   = $attachment_ids;

        } //$attachments
        return ( credit_tracker_table_shortcode( $atts ) );
    }

Source: https://wordpress.org/support/topic/photo-caption-table-for-attachments-to-current-post

Show the caption as text and not the copyright place-holder for specific images

Hello,

Any chance to show normal captions as text and not the copyright place-holder for some specific images?

We have some Images which have a caption entered in wordpress. When switching the plugin on, all captions will be replaced with the place holder out of the credit tracker settings. Are we able to show the caption text (only) as set in the settings of an in an article used image for specific images?

With other words:
Any solution to show the normal image caption, without effects of this plugin, same as the caption are entered in wordpress as without the plugin.

best regards
Manni

Credit Tracker shortcode, display images by tag?

I am using Credit Tracker – love the plugin! – to track the CC licensing for images that we are using on our pages.

Here is an example – https://tellibrary.org/lessons/understanding-mass-communication/
at the bottom under License and Citations.

I am also using a plugin called Enhanced Media Library which allows me to use the word press taxonomy (Categories and Tags) in the Media Library – so every image has a Categories and Tags.

Would it be possible to pull the citations that I need through the shortcode by Tag instead of having to list each library item number?


Source: https://wordpress.org/support/topic/credit-tracker-shortcode-display-images-by-tag/

No thumbs request when size="hidden"

@@ -62,7 +62,9 @@ function credit_tracker_table_shortcode($atts)
    $images = credittracker_get_images($request);

    $ret = '<table id="credit-tracker-table" class="credit-tracker-' . $style . '"><thead>';
    $ret .= '<th>' . '&nbsp;' . '</th>';
    if ($size != 'hidden') {
        $ret .= '<th>' . '&nbsp;' . '</th>';
    }

    foreach ($columns as $column) {
        if (!empty($column)) {
@@ -86,7 +88,9 @@ function credit_tracker_table_shortcode($atts)
                $ct_copyright_format = credittracker_get_single_option('ct_copyright_format');
            }
            $ret .= '<tr>';
            $ret .= '<td>' . '<img width="' . $image['width'] . '" height="' . $image['height'] . '" src="' . $image['url'] . '" class="attachment-thumbnail" alt="' . $image['alt'] . '">' . '</td>';
            if ($size != 'hidden') {
              $ret .= '<td>' . '<img width="' . $image['width'] . '" height="' . $image['height'] . '" src="' . $image['url'] . '" class="attachment-thumbnail" alt="' . $image['alt'] . '">' . '</td>';
            }
            foreach ($columns as $column) {
                if (!empty($column)) {
                    if ($column == 'copyright') {

HTML in “Copyright format” field

I am trying to add links to my “Copyright format” field by using a tags so I can display source links under the post thumbnail (e.g. © %author% source). The description of the field states “HTML allowed” however the tags are being escaped.

Removing the esc_html( ) call on line 242 of credit-tracker-shortcodes.php seems to give me the behavior I am looking for. I was wondering what the best approach to this would be?


Source: https://wordpress.org/support/topic/html-in-copyright-format-field/

Filled fields are not visible in backend

Hi!
I have following problem: all completed fields (author, publisher) for each image are shown as empty in the backend. However, these fields are already read out correctly in the imprint.
For example, if I enter the data again for an image (which is displayed as empty in the backend), this image is also output twice. Once with "old" data and once with the new data, although this file only exists once.

What could be the problem?

Multiple image authors for collages

This is indeed an essential plugin and I’m glad to found this one. Thanks for sharing!
But it’s made with only one author per image which isn’t sufficient when dealing with images. We have a bunch of illustration that are composed out of several images from different sources. This use case isn’t that exotic. You often see collages all around the web.
So it’ll be wonderful to be able to list all the authors. Is there a chance you would extend this pluggy to offer this functionality too?


Source: https://wordpress.org/support/topic/multiple-image-authors-for-collages/

Trying to add Caption

I have added %caption% to the copyright format on the ct settings page. But I get everything except the caption. There is just a blank there. Have can I get the wp caption there? Many thanks for your great plugin, it’s a lifesaver. Adding the caption would be amazing…

Syntax error in latest version

I'm getting this:

PHP Parse error:  syntax error, unexpected '[' in /var/www/admin.exploreveg.org/wp-content/plugins/credit-tracker/options.php on line 97

Line 97 for me is:

if (in_array($screen->id, [$plugin_screen_hook_suffix, 'attachment', 'upload'])) {
    wp_enqueue_script(CT_SLUG . '-admin-script', plugins_url('js/ct-admin.js', __FILE__), array('jquery'), CT_VERSION);
}

Credit is not enough.

In the description of your product you state "However, the inclusion of images which are not in the public domain means that you must provide proper attribution credits to the photographers and image creators."

This should be revised to ensure that your users understand that in addition to providing attribution, it is necessary to contact the rights holder in advance and obtain a license to display an image. Attribution alone is not sufficient unless a CC license is attached to the image, permitting usage of the image without contacting the rights holder.

Add credit to the thumbnail

Add the credit to the image from thumbnail (the featured image) that reappears at the top of the actual post.

Validation status stays 'OFF' after settings saving

From coreyalderin on 2014-10-31
Source: https://wordpress.org/support/topic/not-working-for-me-74

This is exactly what I have been looking for but I can;t seem to get it to work for me.

I got a Flickr key and entered it. I then click the "validate button" and it turns to "on". But it turns to "off" when I save changes.

Is there something else I need to do?

I tried following the instructions you have here: #4

I do not get 'GET MEDIA DATA' or :activate" button that you show in step 3.

Thanks

https://wordpress.org/plugins/credit-tracker/

Credit Tracker Information Not showing Up

I Installed Credit Tracker on my site. The information (author/link) is not showing up under the photo. Not sure what is interfering or keeping the information from displaying.
credit tracker issue

Wordpress 'caption' shortcode rendering problem

Hi,

I'd like to second this question please: "What shortcode do I need to paste under my images in the WP editor when I need individual credit information for every image? I activated "override shortcodes" but still there is no credit information below my images."

I have also activated "override short codes". Can you please explain to me, what is the next step to get the credit info to show below my images? I didn't understand the reply above about Copyright format.

Thanks!

Jen

Support URL: https://wordpress.org/support/topic/how-correctly-use-this-plugin

Conflict with "Anti-spam by CleanTalk"

CleanTalk is another plugin that has the the initials CT. It is quite likely to have a conflict in function naming, therefore with common functions. This is exactly what happened when I tried to activate credit tracker. I got this error:
Fatal error: Cannot redeclare ct_get_options() (previously declared in /...[path edited for post].../wp-content/plugins/cleantalk-spam-protect/cleantalk-common.php:353) in /...[path edited for post].../wp-content/plugins/credit-tracker/options.php on line 466

I resolved the issue by simply renaming ct_get_all_options() to ct_get_all_options() where it is declared and in the two locations just below where it is referenced: the functions ct_get_single_option() and ct_set_single_option(). Still, it would be nice to have a more elegant solution so I don't have to do this every time the plugin is updated.

URL: https://wordpress.org/support/topic/conflict-with-anti-spam-by-cleantalk

Active Link

Hi there, i love this plugin very much. It's made life so much easier. Many thanks!
I wanted to ask if there is any way to make the link category in the credits table active ?
Since I have gotten permission from many sources to add their content on my site, they have required active links to their pages.

Feature Request: Pagenating for [credit_tracker_table]

Hi,
it would be nice if the [credit_tracker_table] would support pagenation by means of an attribute "numitems" which specfiies the number of items displayed on one page. Also, the [credit_tracker_table] should then add pagenation controls, e.g. First, 1, 2, ..., Last
Thanks

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.