Vanilla 1 is no longer supported or maintained. If you need a copy, you can get it here.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.

New Extensions: Flickrizer Beta && HideSuccess

MarkMark Vanilla Staff
edited August 2006 in Vanilla 1.0 Help
Go to my profile to see Flickrizer in action. Go to your profile and edit your personal information to add your own Flickr photostream feed. You'll also notice the HideSuccess extension in action when you save your personal information. Here they are in the addons directory: Flickrizer Beta: http://lussumo.com/addons/index.php?PostBackAction=AddOn&AddOnID=43 Hide Success: http://lussumo.com/addons/index.php?PostBackAction=AddOn&AddOnID=44
«1

Comments

  • nice.... excellenteeee....fun extension.
  • 3stripe3stripe ✭✭
    Ooooooooh tasty tasty tasty. Check out the moo car on my profile.
  • NickENickE New
    edited May 2006
    I hate to bash your extension mark, but I just have a few comments about that flickr feeds addon. Firstly, don't you think it'd be easier if people only had to enter their user id, instead of the entire feed url plus the format GET variable setting the feed type to RSS2? I don't mean to sound condescending, but I'm not sure everyone using it would know what the flickr feed url was, and that it needs to be in rss2 format.

    And secondly, would it perhaps be a good idea if you added a cache system to that (hence why I suggested MagpieRSS)? If this extension becomes more widely-used, there's a good chance numerous people won't update their flickr feed as often as their profile is viewed. If a server-side cache system isn't implemented, such situations could very well lead to longer-than-necessary load times and excess use of flickr's bandwidth.

    And on the topic of caching, perhaps it'd be a good idea to allow caching of your own RSS/Atom feeds. A lot of feed readers check feeds as often as once every five minutes, and without some form of caching you're going to use up a lot of excess bandwidth. This site has some good info on it: http://annevankesteren.nl/2005/05/http-304.
  • MarkMark Vanilla Staff
    edited May 2006
    1. It is beta - I say so on the addon page 2. Magpie rss doesn't support single-tag elements (ie. <tag />) so it won't work (I tried) 3. I know it should cache, and again, I say so on the add-on page. 4. Write your own!
  • MarkMark Vanilla Staff
    I will say that's a good idea about using the flickr username. I didn't realize you could do that. I just copied my flickr rss feed from my main photo page...
  • gigingergiginger New
    edited May 2006
    It fits in there nicely. I have lots of lovely Radiohead gig pictures there now.
  • Just fyi mark, i think sirnot was talking about the RSS feeds *from* this site in #3.
  • MarkMark Vanilla Staff
    thx mini - I realize that it might be a problem that the vanilla rss & atom feeds aren't cached, but they are extensions. If I can get out of contracting work and do Lussumo full time *fingers crossed*, I'll have more time for perfecting add-ons like that...
  • just signed up for flickr so I can use this extension. been meaning to for ages anyway.
  • 3stripe3stripe ✭✭
    What about a global flick page that showed all members icons, and their most recent photo?
  • MarkMark Vanilla Staff
    edited May 2006
    I think we should wait a bit and see if SirNot is so displeased with my extension that he makes a caching version. Then we can hijack his code and make our own versions to do whatever we want :)
  • lol, I wasn't displeased with your extension, I was just pointing out how it could be improved. But if you want I could give it a try :-P
  • CODE FIIIIIIGHT!

    image
  • MarkMark Vanilla Staff
    Give'r, Nick. You're a code mastah.
  • NickENickE New
    edited May 2006
    I'm afraid I wasn't able to fully test this, as my test/server computer isn't connected up to the internet, but it should work: http://sirnot.googlepages.com/FlickrFeed.zip . As long as either a) there's a folder named cache within the FlickrFeed dir that is writable by rss_cache.inc, or b) rss_cache.inc is able to create a writable folder within it's directory, everything should run smoothly. (hope you don't mind mark, but I borrowed your styling) EDIT: Dang, already found a bug. Fixed now.
  • MarkMark Vanilla Staff
    Not at all, dude. You should upload this to the addons site, tho :)
  • Mark - is there any way to limit the number of photos shown in the feed? It shows around 20 at this time, which takes up a bit of room. Thanks.
  • MarkMark Vanilla Staff
    edited July 2006
    Change line 48 in extensions/Flickrizer/default.php from:

    $ImageCount = count($Images);

    to

    $ImageCount = count($Images); $DisplayCount = 10; if ($ImageCount > $DisplayCount) $ImageCount = $DisplayCount;

    That should do it.
  • Odd...Now all the pictures have disappeared. I have uninstalled/reinstalled the extension, but it still not working with that new code. Works fine when I take that bit back out and replace it with the original. But the new hack doesn't work.
  • MarkMark Vanilla Staff
    Well, I never tested it myself. But I don't know why that wouldn't work...
This discussion has been closed.