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.
Options

Delicious Bookmarks

edited July 2006 in Vanilla 1.0 Help
http://lussumo.com/addons/?PostBackAction=AddOn&Success=1&AddOnID=110

I basically took the code from the digg.com add-on, made a slight modification, added some styles, and bam!

props to iambigred for the original extension.

enjoy.

Comments

  • Options
    snap dog
  • Options
    edited July 2006
    Well isn't that handy :)
  • Options
    edited July 2006
    i know it, before i install it:

    the extension brokes the RSS/Atom feed!

    i wait so long for this extension, please fix it!

    FeedURL: http://www.coolr.de/discussions/?Feed=Atom
    Look at this: http://lussumo.com/community/discussion/2911/
  • Options
    Let me try to solve thi, seems like a quick fix.
  • Options
    OK, I've made the changes, let me know if it works.
  • Options
    THX! I LOVE YOU ;)
  • Options
    outbreakoutbreak New
    edited July 2006
    major error!

    Fatal error: Cannot redeclare class lastrss1 in /hometemp/public_html/vanilla/extensions/DeliciousBookmarks/lastRSS.php on line 34
  • Options
    outbreak, do you have the Audioscrobbler/digg extension also enabled by any chance?
  • Options
    yes i have both enabled actually.
  • Options
    Both those extensions add a lastrss class, so PHP gets confused. The right thing to do would be to only define the class if(class_exists('lastrss1')) or do something like lastrss_delicious.
  • Options
    Nice work, the extension looks good. I tried renaming all instances of lastRSS1 in this extension to make it play nice with the digg.com extension, and then I got this error when viewing the account:

    Notice: Undefined offset: 1 in /home/bcdynam/public_html/as0oun3dnz/extensions/digg.com/default.php on line 241

    If I change all instances of lastRSS1 in the digg.com extension instead, I get pretty much the same thing:

    Notice: Undefined offset: 1 in /home/bcdynam/public_html/as0oun3dnz/extensions/DeliciousBookmarks/default.php on line 241
  • Options

    Just change the name of the class declaration in both lastRSS.php and default.php from lastRSS1 to lastRSS2 (or whatever you would like to call it). I've made up one that has this changed for y'all to consume.
    Here is the file: http://nybble.org/files/Delicious_Bookmarks-2006-07-26_0.zip
    (and if you have a moment: My post about it)

    Enjoy,

    John

  • Options
    edited July 2006
    Thanks, I appreciate it.

    Turns out the error above was caused by the digg.com extension when the username is incorrect. I couldn't think of any easy fixes for this, so I just set error_reporting to 0 in the digg.com extension code. A little hackish, but it works.

    If anyone wants to see the deliciousBookmarks extension running alongside the digg.com (I changed the look to match the delicious section) extension, here it is.
This discussion has been closed.