Pastebin Integration -- For Coder Folks

Pastebin Integration

We have a pastebin: http://www.hbgames.tk/paste

You can now include pastebin scripts in your posts in a snazzily formatted block.

To do this, use the new pastebin bbcode: [pastebin]x[/pastebin]

...where x is the number of a script in the pastebin. For example: http://www.hbgames.tk/paste/15

Will become [pastebin]15[/pastebin]

Which will become:

http://hbgames.tk/paste/index.php?show=15&hideall=true


Advantages: well, it has a few more features, such as being able to download as a file, or viewing with syntax highlighting, etc.

Basically it's another cool feature nobody is going to use by yours truly.

~
Any more suggestions for inane shit let me know.
After testing, the max lines is 4096.

I am not sure how much of a hinderance this will be, however I'll look into changing it.

http://hbgames.tk/paste/index.php?show=19&hideall=true
I am thinking of working on this further by allowing submissions from the posting page, like the "Add an image/file" form on posts. Thoughts?

Original thread: https://www.hbgames.org/forums/viewtopic.php?t=70856