1. NOTE: If you have trouble logging in, please try updating your password here.

Scan Linker on Forums

Discussion in 'SixPrizes Stuff' started by Adam, Dec 22, 2011.

  1. Adam Dude.

    Hey everyone, I need your feedback!!

    You know how card names are automatically linked within articles with a dashed underline? I'm trying to set that up here on the forums as well, but the issue is I can't style the links with the dashed underline. I like the dashed underline. It's fairly unobtrusive, yet it lets you know you can click it.

    Anyway, these are the only options we have:

    Cobalion NVI vs Cobalion NVI

    Either the default link styling, or I can make it black with a black underline. Hovering over the black underline doesn't change the color.

    Let me know which you prefer. In the meantime, I'll try to find some way to get my beloved dashed underline working.
  2. Adam Dude.

    Nevermind!

    I got it figured out. All scans should be linked now automagically with the dashed underline. If you notice any oddities, please let me know and I'll try to fix them. I tried to be more lenient with the search/replace with this plugin than on the normal site, so you don't have to use proper capitalization to get the card to link.

    So for example, pikachu blw should link right now.
  3. Tamoo Not a girl

    just testing

    smoochum hs

    Smoochum

    That's pretty cool :) GJ
  4. baby_mario baby_mod

    Behold the prettyfulness of

    Lilligant EPO
  5. Tamoo Not a girl

  6. baby_mario baby_mod

    Behold the prettyfullness of . . .

    Lilligant EPO

    Wait . . . what?

    Disgraceful.

    I am beyond angry right now.
  7. Adam Dude.

    LOL

    I'll have to fix that. Gimme a couple hours to get to it.
  8. Innocent_Shine Front Page Contributor

    So if I say Lanturn UL i get.... How does it work if there are two or more Pokemon in a set? Or if there's a Prime/LEGEND? If I say Lanturn Prime is it linking maybe? *test of curious*

    Edit: Lanturn Prime is a link. Lanturn UL leads to nowhere? Man I know that's the right set abbreviation. lanturn lm? Lanturn HL?

    Edit again: The Lanturn are broken ;_;
  9. Adam Dude.

    Ok I just fixed Lilligant. I think it was literally the only dead link out of the 1000 or so cards I had inputted, haha.

    The regular Lanturn from Unleashed would be Lanturn UL 18. I linked it like that just since both Lanturns technically have the same name, though I guess most people don't call Lanturn Prime "Lanturn UL."

    EDIT: Still not quite right though - I just realized it's linking cards multiple times. I only wanted it to link the card name the first time it's mentioned. Lanturn Prime - Lanturn Prime - Lanturn Prime

    EDIT 2: Ok fixed that bug. I'm getting so pro at this stuff.
  10. baby_mario baby_mod

    Lilligant

    Lilligant EP

    Lilligant EPO

    Just checking.

    :(
  11. Adam Dude.

    Yarg. I hate technology. Not sure what happened but I'm on it...
  12. Jade New Member

    Mew TM

    Mew Prime

    Snivy BW1

    Snivy BW2

    ... I refuse to say BLW, EPO, etc. Just only want to go with 2 letter ones like good ol days.

    No effect!!! Argh the goggles do nothing!!!! Fffffuuuuuuuuu............
  13. Adam Dude.

    pikachu blw pikachu blw pikachu blw
    lanturn prime lanturn prime lanturn prime
  14. Adam Dude.

    beetlejuice beetlejuice beetlejuice
  15. baby_mario baby_mod

    Lilligant EP now works!

    Thank you for the best Christmas ever, Adam!
  16. Adam Dude.

    Rock on. Sure thing dude. :p
  17. galladeava Disapproving Clown/Mod

  18. Innocent_Shine Front Page Contributor

    Lanturn UL, Lanturn UL 18, Tynamo NVI 38. Hmm....trying different things. Lanturn UL 86 (the Prime), Raikou CL SL9, Raikou HGSS19, Promo Raikou? Luxray GL, Luxray GL Lvl X? Or is it just gonna be Luxray RR 9 and Luxray RR 109? Lugia LEGEND, Entei & Raikou LEGEND? RSL?

    Edit: Wait, Luxray GL didn't work, but the Level X did? I totally expected that to work the other way around.
  19. Adam Dude.

    luxray gl rr is needed. Otherwise luxray gl lv.x would be matched first w/lo the lv.x being linked. It's all done via search/replace, so it looks for terms then replaces them. I constructed it as simply as possible so it doesn't have the ability to discern something like the lv.x after luxray gl, and skip that term.
  20. Innocent_Shine Front Page Contributor

    Okay, that's why I thought that the Level X wouldn't work, because I figured it would find the Luxray GL and ignore the second half of it. Think I saw Fliptini link somewhere, that's pretty neat. I will probably think of another type of Pokemon later to nag on this thread about to see if it works or not, ha ha.

Share This Page