• Member Since 4th May, 2013
  • offline last seen 25 minutes ago

Estee


On the Sliding Scale Of Cynicism Vs. Idealism, I like to think of myself as being idyllically cynical. (Patreon, Ko-Fi.)

More Blog Posts1279

Dec
18th
2017

Seeking coding assistance: can anyone make my Ko-fi button appear? · 9:12pm Dec 18th, 2017

As suggested by Pearl, I've set up a Ko-fi page for those who may not want the commitment of a Patreon pledge, but are comfortable with using something closer to a tip jar. And if you want to look at my laughable effort in constructing said page, you can find it here. I've notified the person whose PayPal account I transfer Patreon through about the new site, I've placed a message, I've set an initial goal to laugh at --

-- and I've already run into my first problem.

I can't get the button to work.

The site provides HTML codes which will link to my personal Ko-fi page. There are three options:

Button: <script type='text/javascript' src='https://ko-fi.com/widgets/widget_2.js'></script><script type='text/javascript'>kofiwidget2.init('Buy Me a Coffee', '#46b798', 'H2H46PPO');kofiwidget2.draw();</script>
Image: <a href='https://ko-fi.com/H2H46PPO' target='_blank'><img height='36' style='border:0px;height:36px;' src='https://az743702.vo.msecnd.net/cdn/kofi5.png?v=0' border='0' alt='Buy Me a Coffee at ko-fi.com' /></a>
Text: <a href='https://ko-fi.com/H2H46PPO'>Buy Me a Coffee</a>

And none of these function on FIMFic, at least as currently constructed. I've tried swapping <> for brackets with no success. I had to do a direct HTML link above.

So if anyone knows how to make this function, I'd appreciate advice. Because if I keep going on my own with this...

...y'know that Minecraft Crashed The Internet story currently playing out in the courts?

Like that. But by accident.

Help.

Report Estee · 585 views ·
Comments ( 16 )

Yeah, HTML to BBCode is not a straight one-to-one. Using "url=" and then the link URL as a bracket should work. The image source (the bit in the second option that comes after "src=" and ends in ".png") can be put in img tags, which can then be put in the aforementioned url tags

Or, put plainly:

[url=https://ko-fi.com/H2H46PPO][img]https://az743702.vo.msecnd.net/cdn/kofi5.png[/img][/url]

What, being put on hold for the No Help Desk was useless? :facehoof: Now there's a shocker

4752342

I pasted that into the story's long description and got -- the code text.

Maybe it doesn't work in the description box?

4752352
Hmm. Do you see one more set of brackets labelled "code" outside of the rest? Fimfic's smart copy-paste can be pretty dumb sometimes.

4752407

No. I'll try it in this window.

[url=https://ko-fi.com/H2H46PPO][img]https://az743702.vo.msecnd.net/cdn/kofi5.png[/img][/url]

And that's what I got from pasting the full set, including Code. Still no button.

I tried and failed - I came to basically the same conclusion you did, Estee, and a couple of other websites showed the exact same solution. So I'll have to defer to Oliver's comment about this not currently being possible.

I've messaged Xaqueseg to see if there's anything else that could be done. I'm sorry I couldn't help.

4752409

  1. 1. If you could, there’s a lot of clever things that could be done, but unfortunately, the list includes hijacking accounts.

    You can’t load a javascript file on Fimfiction, period, so the first option will never work.1

  2. Images, in particular, do not autoload in comments, and making images a link results in a borked button. In a post, or on a profile page, however, the version you just cited should work – if what you see in your edit box is exactly what you see on your screen when you view the comment.
  3. If everything fails, this should work, and it will work in a comment: [url=https://ko-fi.com/H2H46PPO]Buy me a coffee.[/url]

Buy me a coffee.

4752409
Remove the code tags, and it should work on your user page. Or just go with 4752429's method, which will work anywhere up to and including next to the Patreon link in your user description.

Sorry i couldn't have been more helpful. Doing this on a phone makes it tricky to test things.

4752429
4752436

Well, at least it's not reliant on Flash.

I managed to add it to the Patreon box on my userpage using the stated code (thankee), and -- I've already decided I hate the image. Because looking at the words 'Buy Me A' makes me feel sick. I'll give it until the end of the week to see what happens -- but after that, I may just keep it as a straight text link, and that's how it'll have to be in the long story descriptions no matter what I do.

Which means -- *sigh* -- I have to update every long description to get the new text link in.

Bleargh.

(Zero activity on that Ko-fi page so far, but I already have a Patreon and I'm not exactly expecting an insta-flood in the first few hours.)

4752447

Because looking at the words ‘Buy Me A’ makes me feel sick.

I don’t think anyone will complain if you make a different image. :pinkiesmile: You will have to upload it somewhere, but that’s not normally a problem, especially since the redesign this year, because now Fimfiction downloads a copy of every image you use, and shows the readers that copy instead. Which means that the original only gets accessed occasionally, preventing complaints from image hosters.

4752468

you make a different image.

*giggle*
*laugh*
*serious rib pain*

I... can't... code...! At all! I consider myself to be having a good day when I get an italics code to close! And anyone looking at my work can tell you I don't have a lot of good days!

*searching for natural tranquilizers*
Alexa, play smooth jazz.
*coma*

4752472

I… can’t… code…! At all!

Since when is that connected to an inability to draw? Last time I checked, these were completely unrelated disabilities. :raritywink:

Well, I’m sure you can get someone to draw a pony drinking coffee, or something, for you. If you do, I suppose I could make you a nice enough icon out of it with whatever text you please.

4752489

Oh, and also I can't draw.
In fact, my ability to draw is less than my ability to code.
Put it this way. Have you ever heard of a book called Drawing On The Right Side Of The Brain, from which anyone can supposedly learn the basics of sketch art?
I picked it up and it caught fire.

4752490

Let me see if I can get someone more social to find someone who will help with that. :)

4752490
Would this be better? https://i.imgur.com/V5KtNiX.png

[url=https://ko-fi.com/H2H46PPO][img]https://i.imgur.com/V5KtNiX.png[/img][/url]

Edit: Updated URL. Added a tiny bit of blur to the text. The old one looked slightly off without it.

4752490
Ferret asked me if there was anything I can do to make this work. I see you kinda just want a new button. If you wanna pm me or email me (EIP) and tell me what you want it to look like, I've got a copy of illustrator and a working knowledge of decorating text to make it look semi passable.

Login or register to comment