vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   BB Code Enhancements - Scrippets - Screenplay Formatting for vBulletin (https://vborg.vbsupport.ru/showthread.php?t=238538)

clmazin 03-17-2010 10:00 PM

Scrippets - Screenplay Formatting for vBulletin
 
1 Attachment(s)
Scrippets

Scrippets is a text format designed by screenwriter John August to allow writers to input part of a screenplay in easy-to-write plain text and have it converted to properly styled HTML.

This mod will convert any Scrippets BB Code blocks into formatted HTML, and will automatically append John August's Scrippets CSS code to the board's HTML header.

For more info on Scrippets please see the following:

1. http://johnaugust.com/archives/2008/...call-to-coders
2. http://scrippets.org

What's New In This Version

This is an update of the Scrippets plugin for vBulletin 3 (see https://vborg.vbsupport.ru/showthread.php?t=191734). This version is tested and functioning up to vBulletin 4.0.2

Installation

1. Install the attached product XML via the Product Manager.
2. Use.

Usage

Scrippets raw are entered as such:

[scrippet]
INT. HOUSE - DAY

MARY yells across the hall to FRANK.

MARY
Anything you want to tell me?

FRANK (O.S.)
I swear, honey, I don't know how mayonnaise got in the piano.

CUT TO:

FRANK

running out of the bathroom.

FRANK
(terrified)
There are bees in the toliet!
[/scrippet]

Please note that proper line spacing is needed for the parser to function correctly.

Enjoy!

Credits

Scrippets concept and design by John August (http://johnaugust.com).
Product coded by Nima Yousefi (http://equinox-of-insanity.com).
vBulletin technical support provided by Craig Mazin (http://artfulwriter.com).

No animals were harmed in the making of this plugin. :)

Dr.osamA 03-18-2010 08:15 PM

who can i add button in editor ??

installed

thanxxx

Reeve of shinra 05-12-2010 06:08 AM

This is pretty cool ... I had to share the wordpress version with one of my movie friends.

Pro-eSports.com 10-10-2010 02:29 AM

Can you provide a button image please? I don't know what to use.

RobbieZ 10-10-2010 05:23 AM

Quote:

Originally Posted by Pro-eSports.com (Post 2108588)
Can you provide a button image please? I don't know what to use.

Im not sure what kind of content you are using it for.

This any good?

https://vborg.vbsupport.ru/external/2010/10/27.jpg

Pro-eSports.com 10-10-2010 10:35 AM

That's alright. Anyways, how can I add the button for this code? The thing is this adds a BBcode via XML upload and not by adding it to the custom BBcodes via ACP. :S

Edit: I guess in the XML file but I can't find where.

RobbieZ 10-10-2010 02:01 PM

Quote:

Originally Posted by Pro-eSports.com (Post 2108673)
That's alright. Anyways, how can I add the button for this code? The thing is this adds a BBcode via XML upload and not by adding it to the custom BBcodes via ACP. :S

Edit: I guess in the XML file but I can't find where.

The designer of this mod has not created a button call from their XML

You will probably need to PM and ask them to add something along the lines of this:

PHP Code:

<div id="vB_Editor_001_cmd_wrap0_scrippets" class="imagebutton" style="background: none repeat scroll 0% 0% rgb(225, 225, 226); color: rgb(0, 0, 0); padding: 1px; border: medium none;"><img width="20" height="20" border="0" alt="Wrap [SCRIPPETS] tags around selected text" src="images/editor/scrippets.gif" title="Wrap [SCRIPPETS] tags around selected text"></div



All times are GMT. The time now is 09:12 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01074 seconds
  • Memory Usage 1,732KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_php_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (7)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete