labs64 / credit-tracker Goto Github PK
View Code? Open in Web Editor NEWCredit Tracker WordPress plugin
Home Page: https://wordpress.org/plugins/credit-tracker/
License: GNU General Public License v2.0
Credit Tracker WordPress plugin
Home Page: https://wordpress.org/plugins/credit-tracker/
License: GNU General Public License v2.0
Hi,
Post thumbnail credits are not properly displayed. Instead of the text entered in the media author field, the plugin displays “© %author%”. This problem occurs with WordPress 4.9 whatever the theme used (Twenty Seventeen, Integral).
Is there any problem with WordPress 4.9 or did I miss something in the customization?
Best regards
Source: https://wordpress.org/support/topic/incorrect-thumbnail-credit/
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
It would be fantastic if we could fetch media data automatically from Depositphotos as well: http://api.depositphotos.com/doc/
Thanks so much for this wonderful plugin!
Could Credit Tracker be made to assemble and insert a title into the img tag?
I’d like, for example, an img title of
Flikr photo ’Sunrise’ by PhotographerJoe
This would then appear as a hover.
Even better would be if Credit Tracker also automatically wrapped the image in a hyperlink whose source is %link%.
Source: https://wordpress.org/support/topic/can-credit-tracker-insert-a-title-to-the-img-tag
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
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
Hey guys,
I want to say that this is a great plugin and I've been using it with success for a project of my own.
To return the favor, here are the romanian translation files I created.
Thanks!
Is there a way to sort the entries in the table by latest images first. So newest images entries at the top?
Source: https://wordpress.org/support/topic/sort-attribute-credit_tracker_table/#post-13469312
Can [credit_tracker_table] somehow be used in or as a widget? I tried that but the code is not interpreted unfortunately.
Our goal was to show the copyright table in the footer area instead of below the article.
Source: https://wordpress.org/support/topic/credit-tracker-table-in-widget
Retrieve Media information from an additional stock agency ~ UnSplash [https://unsplash.com/]
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/
@@ -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>' . ' ' . '</th>';
if ($size != 'hidden') {
$ret .= '<th>' . ' ' . '</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') {
From lfdesign on 2015-05-27
Source: https://wordpress.org/support/topic/remove-ident-nr
Is it possible with to remove this column? Ident-Nr.
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/
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?
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/
I only want the credit to be shown below post preview image if necessary.
There could be different solutions:
I'd appreciate to hear your feelings about this idea.
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…
Allow sortby=”column_name” (incl. asc/desc)
where column_name
is one of the columns visible
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);
}
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 the credit to the image from thumbnail (the featured image) that reappears at the top of the actual post.
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
When I create a Gallery collection of images using the WordPress "Add Media" function, the Credit Tracker information is not outputted via the image caption.
Is this expected behavior and, if so, is there a function/filter which could add the Credit Tracker metadata to captions of Gallery images?
Source: https://wordpress.org/support/topic/credit-metadata-on-gallery-captions
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
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
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.
From Mercadoc on 2014-07-28
Source: http://wordpress.org/support/topic/how-to-use-flickr-api
Hi
I got a key from Flickr. One that seems to be public another one which name is secret.
I filled the Flickr api_key with the public part but when I am on my image I can't get media data for the image. The link to activate the Image data retriever is always "OFF"
Thank you for your help
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
Add parser for fetching the data automatically Shutterstock.com.
Source: https://wordpress.org/support/topic/shutterstock-fetch-data
Append credits to the featured image as description or in a shortcode
iStockphoto
freeimages
Button 'GET MEDIA DATA' should be available also in:
Currently this option is disabled since WP4.x release.
Are you planning to add any additional sources, we use a lot of Pixabay and Pexels images.
Hello,
I got this to work for my featured images for individual posts but I realize that in one of my posts boxes on my main page, it shows it under the featured image thumbnails as well.
Is there a way to have the credit captions ONLY show on individual post pages?
URL: https://wordpress.org/support/topic/add-featured-image-credit-but-not-on-main-page/
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.