![]() |
Addon: Flickr comment
- Show image comments from flickr.
- Need IPTC to store the photo's flickr id. - Need flickr api key. Please read the readme.txt for more detail.. Demo: www.jdleungs.com Please click the comment link right below the image to popup comment list. download here http://www.pixelpost.org/extend/addons/flickr-comment/ |
This is one amazing addon, thx a lot, I was looking for this!
I have one css-related question I hope I can get an answer to, since I am a css/php-n00b: I wanted to change the color of the comment. So not the color of the date and/or name, but just the comment itself. In the PHP the related code looks like this (I changed the order a little bit): Code:
$create_date = strftime ("%d-%m-%Y",$c['datecreate']);Code:
$flickr_comments .= "".$content."";Code:
$flickr_comments .= "<span class=\"comm_msg\">".$content."</span>";Now the hard part. I want to display an image in front of the comment. In other words, I want the lay-out to be similar to the lay-out of the 'normal' PP reactions. This part of code is found in my gravatars_comments.php, since I use gravatars.(addon) Code:
$image_comments .= "Code:
<tr class=\"comm\"> |
@Tiestoo : Can you show us the site running pixelpost?
|
Offcourse! http://www.blauwgestreept.nl/index.php
The first two photos have reactions as I want them to be, they are not yet uploaded to Flickr. The rest of the photos have reactions imported from Flickr. |
the code should be like this:
PHP Code:
Since all your flickr comment use default Gravatar image, why not only edit the template? PHP Code:
|
Thank you so much! Works exellent! Now I can figure out how to get loose of these unwanted spaces around the text ;)
Thx again! |
I found many people go to my site, but it seems that most of them didn't know how to popup the comment list, so it showed no demo.
There is a comment link right below the image, at the right side, just click it to popup the comment list and comment form. Have fun! |
thanks for the great addon
im having a slight issue with <FLICKR_COMMENTS_NUM>, when there are comments, it shows the number, but when there are none it shows a blank any idea why this is? |
it should show "0" where there is no comment, please post your site here..
|
thanks for the reply jdleung, it was an error on my part, its been fixed
thank you again for sharing this addon |
| All times are GMT. The time now is 12:29 PM. |
Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.