Go Back   vb.org Archive > vBulletin Modifications > vBulletin 3.8 Modifications > vBulletin 3.8 Template Modifications
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
pastebin.com BBCode Details »»
pastebin.com BBCode
Version: 1.00, by mikey1991 mikey1991 is offline
Developer Last Online: Jul 2021 Show Printable Version Email this Page

Category: BB Code Enhancements - Version: 3.8.4 Rating:
Released: 03-17-2010 Last Update: Never Installs: 14
Re-useable Code  
No support by the author.

Title: paste
BB Code Tag Name: paste
Replacement:
HTML Code:
<iframe src="http://pastebin.com/embed_iframe.php?i={param}" style="border:none;width:100%"></iframe>
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

File Type: txt bbcode.txt (417 Bytes, 75 views)

Screenshots

File Type: png paste.PNG (68.4 KB, 0 views)

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #12  
Old 03-23-2010, 07:59 PM
as7apcool as7apcool is offline
 
Join Date: Feb 2009
Posts: 194
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

mmmmm.. thanks ..but this 4 members
Reply With Quote
  #13  
Old 03-28-2010, 11:13 AM
MichaelDance MichaelDance is offline
 
Join Date: Dec 2009
Location: Warwickshire, UK
Posts: 156
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks mate been looking for this one for ages x
Reply With Quote
  #14  
Old 09-15-2010, 08:56 PM
need2fart need2fart is offline
 
Join Date: Aug 2009
Posts: 152
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Does this still work? It's not working for me.
Reply With Quote
  #15  
Old 09-17-2010, 12:14 AM
mikey1991's Avatar
mikey1991 mikey1991 is offline
 
Join Date: Oct 2008
Location: United Kingdom
Posts: 654
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
  #16  
Old 09-17-2010, 04:43 PM
need2fart need2fart is offline
 
Join Date: Aug 2009
Posts: 152
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
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%2 0/%3E*%20br%20/%3E*/%20br%20/%3E%20br%20/%3E"
Reply With Quote
  #17  
Old 09-20-2010, 12:50 AM
BirdOPrey5's Avatar
BirdOPrey5 BirdOPrey5 is offline
Senior Member
 
Join Date: Jun 2008
Location: New York
Posts: 10,610
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by need2fart View Post
What counters?

And when I try this:
...
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%2 0/%3E*%20br%20/%3E*/%20br%20/%3E%20br%20/%3E"
You don't put the code between the [paste] tags... you put the code on pastebin.com and then you get an id code from the URL they give you and out that between the tags, like:
[paste]q7Hx7EAZ[/paste]
Reply With Quote
  #18  
Old 09-20-2010, 04:08 AM
need2fart need2fart is offline
 
Join Date: Aug 2009
Posts: 152
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by BirdOPrey5 View Post
You don't put the code between the [paste] tags... you put the code on pastebin.com and then you get an id code from the URL they give you and out that between the tags, like:
[paste]q7Hx7EAZ[/paste]
Oh.... I am so blonde.

Thanks dude lol.
Reply With Quote
  #19  
Old 09-01-2013, 01:01 AM
xtragic xtragic is offline
 
Join Date: Feb 2012
Posts: 20
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'm getting this error.

Quote:
The following BB Code replacement may not be properly formed. All HTML attributes should be enclosed within double quotes.

<iframe src="http://pastebin.com/embed_iframe.php?i={param}" style="border:none;width:100%"></iframe>
Reply With Quote
  #20  
Old 09-01-2013, 09:21 AM
BirdOPrey5's Avatar
BirdOPrey5 BirdOPrey5 is offline
Senior Member
 
Join Date: Jun 2008
Location: New York
Posts: 10,610
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

That's not a error, it is a warning. The subtle difference is you have the option to ignore a warning.

In this case it looks safe to me, but it is up to you.
Reply With Quote
Reply


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

Forum Jump


All times are GMT. The time now is 02:32 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.11807 seconds
  • Memory Usage 2,315KB
  • Queries Executed 25 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)bbcode_html
  • (4)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (9)postbit
  • (2)postbit_attachment
  • (10)postbit_onlinestatus
  • (10)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete