FlickrRSS not working

14 views
Skip to first unread message

John

unread,
Mar 4, 2009, 3:38:51 AM3/4/09
to flickrRSS
Hi, I've setup FlickRSS in a custom page and on the sidebar but
somehow its not working. I've waited almost 8 hours but still no go.

My site is http://csabasketball.com
Sidebar shows the Widget's title "Random Photos" but no photo comes
out

And then the custom page isn't showing anything, too.
http://csabasketball.com/season-3/gallery/

I'm trying to show photos from a group pool that's visible to everyone
(but invitation only).
<?php get_flickrRSS(array('type' => 'group','id'=>'996988@N25')); ?>

I'm using Elegent Grunge as my theme.

Any help would be appreciated.

eightface

unread,
Mar 4, 2009, 2:07:35 PM3/4/09
to flickrRSS
If you're using WordPress "Pages", they don't let you execute PHP. So,
you either need to create a template file for your page, and put it in
there, or use a plugin that lets you execute php in "Pages", like PHP-
Exec.

On Mar 4, 3:38 am, John <j...@squidball.com> wrote:
> Hi, I've setup FlickRSS in a custom page and on the sidebar but
> somehow its not working. I've waited almost 8 hours but still no go.
>
> My site ishttp://csabasketball.com
> Sidebar shows the Widget's title "Random Photos" but no photo comes
> out
>
> And then the custom page isn't showing anything, too.http://csabasketball.com/season-3/gallery/

chaosmaker

unread,
Mar 4, 2009, 7:22:07 PM3/4/09
to flickrRSS
I think the problem is with the Flickr rss that have changed, because
I have 4 sites using your plugin and all have stopped in the same
time.
With different versions of wordpress and flickrss and all with the
same behaviour.
I have done some debug and looks like the regular expression to match
the img src in rss description is not working because flickr have
changed their rss output.

I will try to fix this and send you a patch.

John

unread,
Mar 4, 2009, 10:03:25 PM3/4/09
to flickrRSS
I'm using a custom template page. Don't think that's the problem.

chaosmaker

unread,
Mar 4, 2009, 10:25:48 PM3/4/09
to flickrRSS
I have changed the code in flickrrss.php begining in the line 266 to
this:

# builds html from array
foreach ( $items as $item ) {
if(!preg_match('/src=["]?(http:\/\/.*\/.*)_m\.jpg["]?/', $item
['description'], $imgUrlMatches)) {
continue;
}
//$baseurl = str_replace("_m.jpg", "", $imgUrlMatches[1]);
$baseurl = $imgUrlMatches[1];
$thumbnails = array(
'small' => $baseurl . "_m.jpg",
'square' => $baseurl . "_s.jpg",
'thumbnail' => $baseurl . "_t.jpg",
'medium' => $baseurl . ".jpg",
'large' => $baseurl . "_b.jpg"
);

And this solved the problem at least for me.

chaosmaker

unread,
Mar 4, 2009, 10:29:41 PM3/4/09
to flickrRSS
Someone can try this to check if this solves the problem?

John

unread,
Mar 5, 2009, 1:38:37 AM3/5/09
to flickrRSS
I edited mine, still no go. Although I edited beginning with line 142.
My flickrrss.php ends at line 265.

John

unread,
Mar 5, 2009, 5:28:08 AM3/5/09
to flickrRSS
Ok, so I managed to make it work with photo sets. This means the
problem is isolated with displaying groups. That's too bad because I
really need to get the group pool display working. Hope to get a fix
soon. Great job on the plugin, eightface!

Thanks,
John

chaosmaker

unread,
Mar 5, 2009, 7:12:43 AM3/5/09
to flickrRSS
I'm sorry, my mistake, this code starts on the line 142.

John

unread,
Mar 6, 2009, 1:39:59 PM3/6/09
to flickrRSS
The issue is still there. Can't show photos from a group.

gbur...@gmail.com

unread,
Mar 9, 2009, 12:03:04 AM3/9/09
to flickrRSS
Worked for me, thank you very much!

2tonew...@gmail.com

unread,
Mar 9, 2009, 7:22:26 AM3/9/09
to flickrRSS
You rock chaosmaker. It works for me ^^

Boem

unread,
Mar 11, 2009, 11:06:12 AM3/11/09
to flickrRSS
I put <?php get_flickrRSS(); ?> in my header. It used to work and
stopped as with everyone else. I changed the code according to
chaosmaker. It did work but only with certain tags. Tads "Phuket",
"Paris" work but "Thailand", "Bangkok" work only once, and won't work
with page relaod or page change.
> > > > > Any help would be appreciated.- Hide quoted text -
>
> - Show quoted text -
Message has been deleted

Boem

unread,
Mar 11, 2009, 11:59:50 AM3/11/09
to flickrRSS
I think it's working now. The reason it didn't work for some tags
might be something to do with cache.
See this in the working at http://thaiphile.com.
> > - Show quoted text -- Hide quoted text -

marc.b...@gmail.com

unread,
Mar 12, 2009, 7:40:17 PM3/12/09
to flickrRSS
@ CHAOSMAKER, i had it working on my local copy of the site but not on
the remote webserver. After editing the code. IT WORKS... THANKS!

Matthias Vandermaesen

unread,
Mar 16, 2009, 3:23:14 PM3/16/09
to flickrRSS

Hi,

After moving my wordpress to another host, FlickrRSS didn't work for
me either. I did these two things:

1. I reset the cache to a new folder
2. I changed the code using Chaosmaker's

Fixed the issue it seems. Now the pictures are fetched.

Thanks!!

john...@gmail.com

unread,
Mar 21, 2009, 4:10:53 PM3/21/09
to flickrRSS
I'm getting a T_STRING error when I use that code...any ideas?

On Mar 16, 3:23 pm, Matthias Vandermaesen

Trav

unread,
Mar 31, 2009, 7:35:43 PM3/31/09
to flickrRSS
I had an issue where the thumbnails would sometimes show up, sometimes
not. Using chaosmaker's code seems to have fixed this issue too.
Thanks!

m.jo...@gmail.com

unread,
Apr 12, 2009, 8:49:52 AM4/12/09
to flickrRSS
It solved the problem for me! Thank you very much!

Matt Soar

unread,
Apr 14, 2009, 4:38:19 PM4/14/09
to flickrRSS
I have been trying to get FlickrRSS to work for several days without
luck. I'm using WP 2.7.1 with the Thesis theme v1.5 (which is
admittedly in beta mode right now). Anyway, my plugin panel is here
<http://www.farinefiveroses.ca/tempflickrrss/Picture%204.png>. The
site is <www.farinefiveroses.ca>. I'm just using FlickrRSS as a widget
at the bottom of the first sidebar ('From Memory (Flickr Pool)') so I
didn't use the line of code described in the installation
instructions. I have made both the coding changes suggested in the FAQ
and Forum (ie by chaosmaker and kennywickstrom. Any thoughts?

Thanks in advance,

Matt

Elmine Wijnia

unread,
Apr 15, 2009, 7:05:57 AM4/15/09
to flickrRSS
I'm using WP 2.7.1 just as Matt and using chaosmaker's code, i now
got it to work within the widget. It still won't show at the place
where my theme calls get_flickrRSS in the sidebar-menu. I'm a little
confused :-)

Elmine

eightface

unread,
Apr 24, 2009, 12:25:11 PM4/24/09
to flickrRSS
Sorry I missed your posts. If you got the plugin to work with the
widget, than it should work elsewhere in the theme. I'm not really
sure what problem you're having with relation to your theme. Does it
use widgets, or have you tried to place the code manually in the
sidebar?


On Apr 15, 7:05 am, Elmine Wijnia <elm...@gmail.com> wrote:
>  I'm using WP 2.7.1 just asMattand using chaosmaker's code, i now
> got it to work within the widget. It still won't show at the place
> where my theme calls get_flickrRSS in the sidebar-menu. I'm a little
> confused :-)
>
> Elmine
>

practical...@gmail.com

unread,
May 4, 2009, 3:04:07 AM5/4/09
to flickrRSS
I've replaced the code online 142 in the flickrrss.php file, however
the photo's are still not displaying.
Does it take some time to "update"?
I'm not caching the photo's on my server and have not changed anything
else with my flickrRSS setup.
I should have images displayed in my sidebar (see http://www.sacarfan.co.za
- "professional car photography")
Is there something else I could check?

eightface

unread,
May 4, 2009, 10:36:16 AM5/4/09
to flickrRSS
If the original plugin and the modified one failed to work, it's hard
to say what's wrong.

Did you try using the original plugin and just pulling in the public/
community feed? Are there various news items and such on your
WordPress Dashboard? If there aren't your server may have some issues
retrieving RSS feeds.

On May 4, 3:04 am, practicalrelati...@gmail.com wrote:
> I've replaced the code online 142 in the flickrrss.php file, however
> the photo's are still not displaying.
> Does it take some time to "update"?
> I'm not caching the photo's on my server and have not changed anything
> else with my flickrRSS setup.
> I should have images displayed in my sidebar (seehttp://www.sacarfan.co.za

emailsc...@gmail.com

unread,
May 4, 2009, 12:09:24 PM5/4/09
to flickrRSS
Hi, thanks for getting back to me. I tried re-installing the plug-in
and re-doing the code in line 142 but it didn't work. I then tried a
feed for a different flickr group and the photo's are being displayed!
Strange that "Find your id" option in the settings page retrieves the
id for the group I was using but then the group doesn't display. Has
something changed on Flickr's side - how can a group feed suddenly not
work and others do?

eightface

unread,
May 4, 2009, 4:36:21 PM5/4/09
to flickrRSS
I've run into that before when some groups just don't show up. Make
sure that the photos in the group are all visible to the public,
otherwise, they won't show up in the RSS feed. You could try
subscribing to the group photo feed in your RSS reader to see if there
are any problems there.
Reply all
Reply to author
Forward
0 new messages