1. DLP Flash Christmas Competition + Writing Marathon 2024!

    Competition topic: Magical New Year!

    Marathon goal? Crank out words!

    Check the marathon thread or competition thread for details.

    Dismiss Notice
  2. Hi there, Guest

    Only registered users can really experience what DLP has to offer. Many forums are only accessible if you have an account. Why don't you register?
    Dismiss Notice
  3. Introducing for your Perusing Pleasure

    New Thread Thursday
    +
    Shit Post Sunday

    READ ME
    Dismiss Notice

Introducing the Fanfiction Bookmarks Engine

Discussion in 'Fanfic Discussion' started by Militis, Feb 3, 2011.

  1. Militis

    Militis Supreme Mugwump

    Joined:
    Jun 24, 2008
    Messages:
    1,683
    Location:
    Online
    As I said here, I was tempted to program my own version of FanFiction.net's bookmark system. Well...Temptation got the better of me.

    This is somewhere between an alpha and a beta release. I'm not that good at Unit Testing (yet...), and what testing I've done is pretty much useless because I know what results I wanted (and expected) to see.

    So pick it apart, DLP. Tell me what you like, what you dislike...What you'd like to see added.

    http://www.fanfictionbookmarks.co.cc/

    Next update I do will have an RSS feed and any urgent bugfixes you guys find. Eventually I'll want to make the design prettier and/or allow the user to change color schemes.

    Features:

    • Automatic "discovery" of story's title and author (after inputing story id and hitting tab or clicking the next input box).
    • Ability to select your timezone and date/time display format.
    • Ability to change which chapter of the story you have bookmarked.
     
  2. Sauce Bauss

    Sauce Bauss Second Year ~ Prestige ~ DLP Supporter

    Joined:
    Apr 4, 2008
    Messages:
    61
    High Score:
    1411
    [​IMG][​IMG]

    Maybe some form of account control. Anyone could put in your FFN User ID and delete/vandalize your bookmarks.
     
  3. Militis

    Militis Supreme Mugwump

    Joined:
    Jun 24, 2008
    Messages:
    1,683
    Location:
    Online
    I've been thinking about it...How many people would feel uncomfortable using a password on something like this though? Even if it is a throw away...

    Maybe I could implement something like OpenID.

    Edit: Looks like my jQuery stopped working...FML.

    Edit2: Aha...Crossovers have a different page layout than single-category fics. I'll see if I can figure this out.

    Edit3: Fixed. I'd like you guys to test with as many different categories as you can. Thanks. o/
     
    Last edited: Feb 4, 2011
  4. JordanL

    JordanL Third Year

    Joined:
    Jan 17, 2009
    Messages:
    98
    Any chance that you'd be willing to work together on converging my rec engine and your bookmark engine?
     
  5. Militis

    Militis Supreme Mugwump

    Joined:
    Jun 24, 2008
    Messages:
    1,683
    Location:
    Online
    Sure. I bet it would probably get more use too. ;)

    Let me know how to contact you, and we can get started.
     
  6. silverlasso

    silverlasso Minister of Magic DLP Supporter

    Joined:
    Dec 7, 2007
    Messages:
    1,302
    Location:
    San Francisco
    With your powers combined...
     
  7. Militis

    Militis Supreme Mugwump

    Joined:
    Jun 24, 2008
    Messages:
    1,683
    Location:
    Online
    We are Oz! Oh...wait...
     
    Oz
  8. Nae

    Nae The Violent

    Joined:
    Dec 16, 2010
    Messages:
    802
    Location:
    East India Company HQ
    [​IMG]

    So, PHP errors. Also, when I tried to manually enter the author's name (as opposed to your automatic update through story id), it took me to an FF page saying author no longer exists. Spelling was accurate.

    Anyways, what I wanna ask is, what do I wanna go through the trouble of copy-pasting a story id to some other site to store my bookmarks there, when I can simply click 'Add to Bookmarks'.

    Meaning, what problems do you see in FF's bookmarks system. Seems fine to me.

    EDIT: Nevermind, checked out the thread. Bookmarks seem to work fine for me on FF
     
    Last edited: Feb 8, 2011
  9. Militis

    Militis Supreme Mugwump

    Joined:
    Jun 24, 2008
    Messages:
    1,683
    Location:
    Online
    Do you have Javascript turned off? The PHP errors are because your Timezone isn't set (I see a couple people that have a 0 for timezone, when it should be something like Europe/London or America/Chicago). You can manually set it by going to the settings page (http://www.fanfictionbookmarks.co.cc/d/settings).

    I have a hidden field that carries the Author's ID, and that's what I use to create the author's link. The Author's name is just there to let the user see a name and not an ID; I don't use it to pull up author information.

    Both problems come back to Javascript...If you've got it disabled, pretty much nothing works right. :S I guess I'll have to do some checks to change the hidden field to a visible one if the user doesn't have Javascript enabled.
     
  10. Nae

    Nae The Violent

    Joined:
    Dec 16, 2010
    Messages:
    802
    Location:
    East India Company HQ
    My Javascript was enabled.

    Setting the timezone removed the PHP error. My bad for not seeing what was in front of my face.

    And yeah, you should make that hidden field visible.
     
  11. Militis

    Militis Supreme Mugwump

    Joined:
    Jun 24, 2008
    Messages:
    1,683
    Location:
    Online
    I don't understand why you got these errors if you had Javascript enabled...D:

    So far as I can tell, I don't have any syntax errors...

    Maybe the request to FanFiction.net timed out? I do send four requests to one page within a couple seconds...maybe they don't like that?

    Ugh.

    Edit: I (sort of) understand why your Timezone didn't set itself correctly. (Or to the nearest best guess.) Translating half-hour timezones from Javascript to PHP is extremely buggy at the moment. I'll see if I can fix it, or at least set a default timezone (to GMT) if this translation fails.

    Edit2: Nevermind, it works just fine. I set my system timezone to GMT +05:30 and it detected it right away. Those of you having issues, if you wouldn't mind following the directions here: http://www.fanfictionbookmarks.co.cc/timezonetest.php
     
    Last edited: Feb 10, 2011
Loading...