Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
pastebin.com BBCode Details »
pastebin.com BBCode
Mod Version: 1.00, by mikey1991 (Member) mikey1991 is offline
Developer Last Online: Nov 2014 I like it Show Printable Version Email this Page

vB Version: 3.8.4 Rating: (2 votes - 5.00 average) Installs: 13
Released: 18 Mar 2010 Last Update: Never Downloads: 68
Not Supported Re-usable Code  

Title: paste
BB Code Tag Name: paste
Replacement:
Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Example: [paste]q7Hx7EAZ[/paste]
Description: A code to embed pastebin.com code...
Use {option}: No
Remove Tag If Empty: Yes
Disable BB Code Within This BB Code: Yes
Disable Smilies Within This BB Code: Yes
Disable Word Wrapping Within This BB Code: No

Download Now

Only licensed members can download files, Click Here for more information.

Screenshots

Click image for larger version

Name:	paste.PNG
Views:	711
Size:	68.4 KB
ID:	114329  

Show Your Support

  • To receive notifications regarding updates -> Click to Mark as Installed.
  • If you like this modification support the author by donating.
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Comments
  #2  
Old 19 Mar 2010, 00:10
djbaxter djbaxter is offline
 
Join Date: Aug 2006
Location: Ottawa, Canada


What exactly does this do?
Reply With Quote
  #3  
Old 19 Mar 2010, 02:34
mandingo's Avatar
mandingo mandingo is offline
 
Join Date: Jun 2008
Originally Posted by djbaxter View Post


What exactly does this do?
Pastebin is a text and code hosting site,this code allows the embedding of the raw formatted code using bbcode.
Reply With Quote
  #4  
Old 19 Mar 2010, 02:55
djbaxter djbaxter is offline
 
Join Date: Aug 2006
Location: Ottawa, Canada
How is that different from the existing code, html, and php tags?
Reply With Quote
  #5  
Old 19 Mar 2010, 03:06
mandingo's Avatar
mandingo mandingo is offline
 
Join Date: Jun 2008
This embeds from pastebin, when you "upload" code there it gives you a code,say Xm3Lrdjc. When you put your code between the [paste]Xm3Lrdjc[/paste] it displays your formatted code for you. It formats WAY more than just php or html.
Reply With Quote
  #6  
Old 19 Mar 2010, 03:16
djbaxter djbaxter is offline
 
Join Date: Aug 2006
Location: Ottawa, Canada
Oh, okay. Thanks. It's only useful for pastebin.com members then.
Reply With Quote
  #7  
Old 19 Mar 2010, 03:26
mandingo's Avatar
mandingo mandingo is offline
 
Join Date: Jun 2008
You don't have to be a member to use the service.
Reply With Quote
  #8  
Old 19 Mar 2010, 13:48
mikey1991's Avatar
mikey1991 mikey1991 is offline
 
Join Date: Nov 2008
Real name: Mikey
As mandingo has said, its free, no membership, and formats many more than php/html thx for answering questions mandingo.
__________________

Last edited by mikey1991; 19 Mar 2010 at 13:54.
Reply With Quote
  #9  
Old 20 Mar 2010, 01:32
Floris Floris is offline
 
Join Date: Jan 2002
Great addition.

Can't wait for possible?? future version where user pastes a link in a post to pastebin, and saves post, it returns with the pastebin being parsed (embedded).
__________________
My community; http://wetalknation.net
Reply With Quote
  #10  
Old 22 Mar 2010, 03:16
mikey1991's Avatar
mikey1991 mikey1991 is offline
 
Join Date: Nov 2008
Real name: Mikey
Originally Posted by Floris View Post
Great addition.

Can't wait for possible?? future version where user pastes a link in a post to pastebin, and saves post, it returns with the pastebin being parsed (embedded).
great suggestion, currently this is just using what pastebin.com provide with thier api, I just thought of this use for it. I suppose if pastebin.com make this iframe code syntax highlight (I think they do if i chose html it will highlight in html? not sure, would need to test) - then that would work..

EDIT: It already does syntax highlighting, see attached example of the "PHP" language.
Attached Images
File Type: png syntax.png (22.5 KB, 48 views)
__________________
Reply With Quote
  #11  
Old 23 Mar 2010, 21:59
as7apcool's Avatar
as7apcool as7apcool is offline
 
Join Date: Feb 2009
mmmmm.. thanks ..but this 4 members
Reply With Quote
  #12  
Old 28 Mar 2010, 13:13
MichaelDance MichaelDance is offline
 
Join Date: Dec 2009
Real name: Michael Dance
Thanks mate been looking for this one for ages x
Reply With Quote
  #13  
Old 15 Sep 2010, 22:56
need2fart need2fart is offline
 
Join Date: Aug 2009
Does this still work? It's not working for me.
Reply With Quote
  #14  
Old 17 Sep 2010, 02:14
mikey1991's Avatar
mikey1991 mikey1991 is offline
 
Join Date: Nov 2008
Real name: Mikey
Works here; http://pastebin.com/embed_iframe.php?i=q7Hx7EAZ <- example url which is being iframed by the code.

May need to rebuild counters or such. Sorry for the delayed response, I'm quite busy these days so my mods go unsupported til I have time.
__________________
Reply With Quote
  #15  
Old 17 Sep 2010, 18:43
need2fart need2fart is offline
 
Join Date: Aug 2009
Originally Posted by mikey1991 View Post
Works here; http://pastebin.com/embed_iframe.php?i=q7Hx7EAZ <- example url which is being iframed by the code.

May need to rebuild counters or such. Sorry for the delayed response, I'm quite busy these days so my mods go unsupported til I have time.
What counters?

And when I try this:

[paste]/**
* @Author: Kyle
* @Date: 08-31-2010
* @Description: Quadriatic Formula
*
*/

#include <stdio.h>
#include <math.h>
#include <windows.h>

main()
{
float a, b, c, answer1, answer2;
printf("Enter your equation Ax^2+Bx+C\n\n");
printf("Enter A: ");
scanf("%f", &a);
printf("Enter B: ");
scanf("%f", &b);
printf("Enter C: ");
scanf("%f", &c);
answer1=(-b+(sqrt(b*b-(4*a*c))))/(2*a);
answer2=(-b-(sqrt(b*b-(4*a*c))))/(2*a);

if (answer1 < 0 || answer2 < 0)
{
printf("The roots are: %f and %f\n",answer1,answer2);
}
else
{
printf("The values are imaginary...\n");
}
system("PAUSE");
return 0;

}[/paste]

It tells me this...

"Data provided by Pastebin.com - Download Raw
ERROR, PASTE ID IS INVALID, OR PASTE HAS BEEN REMOVED!"

When I hover over raw code it displays this:

"http://pastebin.com/raw.php?i=/**%20br%20/%3E*%20@Author:%20Kyle%20br%20/%3E*%20@Date:%2008-31-2010%20br%20/%3E*%20@Description:%20Quadriatic%20Formula%20br%20/%3E*%20br%20/%3E*/%20br%20/%3E%20br%20/%3E"
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Mod Options

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


New To Site? Need Help?

All times are GMT. The time now is 23:27.

Layout Options | Width: Wide Color: