[New BBCode] Pastebin

07/18/2011 12:18 Spirited#1
Hey. I'm about to start a massive guide using a lot of C# code. I think this forum should have a PasteBin BBCode. It can support many types of code and format it for better viewing that way.

Example: (You would type in this: )
[pastebin=#param]

It would write this to the website:
<!-- Add a div tag with page width and wrapper space -->
<iframe src="http://pastebin.com/embed_iframe.php?i=#param" style="border:none;width:100%"></iframe>
<!-- </div> -->

Pretty easy to implement and very very useful!
Please implement it!

PS: Sorry if this is the wrong section. There is no section for this and this seems like the only one that somewhat matches.

EDIT: Update: Here's an example of it in use on my forum.

[Only registered and activated users can see links. Click Here To Register...]
07/18/2011 20:54 Ende!#2
Seems like an easy method to improve the feature to post code in a nice way to me, +vote.
07/18/2011 21:09 MrSm!th#3
/agree

This would also make an universal code box with syntax highlightning unnecessary, because you can just embed pastebin.
07/18/2011 21:29 nico_w#4
I also agree with this, nothing to add to the answers posted above.
07/18/2011 21:50 ms​#5
Agreed, that would be a useful new feature.
07/18/2011 23:15 GotDamned#6
do want :3
would be awesome
07/19/2011 00:47 Spirited#7
Here's a picture of it implemented on my friend's forum.
It's much nicer if you use iframe instead:

[Only registered and activated users can see links. Click Here To Register...]
07/19/2011 13:05 nico_w#8
Quote:
Originally Posted by Fаng View Post
Here's a picture of it implemented on my friend's forum.
It's much nicer if you use iframe instead:

[Only registered and activated users can see links. Click Here To Register...]
Instead of an iframe I would prefer a div with a fixed size and overflow=auto which is also scrollable.
07/19/2011 13:42 Kinu#9
this would be awesome :)
07/19/2011 14:19 Obilee#10
i´m using pastebin a lot, so why not?
07/19/2011 15:01 Korvacs#11
Would definitely be a great addition to the forum and help with code snippets across the board, great suggestion.
07/19/2011 18:37 KraHen#12
+1 yes from me.
07/19/2011 22:06 Bаne#13
I can go for this, it would make posting PhP a lot easyer! :P
07/19/2011 23:58 lanara#14
Would be great and an easier way then an improved codebox. Definitely need this.
08/14/2011 09:30 lanara#15
Still want this, so little push for this thread. ;)