Help VeritasBible reach more people

Help

Plugins

Display Bible verses with BBcodes

Resources for Users and Webmasters

The following techniques will provide you with the power of VeritasBible.com on your personal web pages, blogs, and web sites.

Enjoy!

Bible BBcodes

A simple citation will display accurate bible verses on your forum site

Purpose

The following technique provides forum users with an easy way to display bible verses and supporting material with just a simple verse citation.

How it Works

This method works with Bulletin Board Code (BBCode), a lightweight and safe markup language used to format posts on many message boards.

BBCode tags are usually indicated by square brackets surrounding a keyword (e.g.: [keyword]user text[/keyword]). A common BBcode tag is for bold text:
[b]Bold Text[/b] which yields: Bold Text
The message board software reinterprets the bbcode into a markup language that web browsers understand—usually HTML or XHTML.

BBcodes are supported by many popular forum applications (e.g., phpBB, vBulletin, Invision, SMF, UBB). They are easy to install and configure by the forum administrator.

Code

The following code block is to be implemented via your forum software's BBcode manager interface.

CODE: ==

<!-- Begin VeritasBible BBCODE -->
<script type="text/javascript" src="http://www.veritasbible.com/embed/passage/{option}/{param}"></script>
<div style="font-family: 'Times New Roman', serif; line-height: 120%; border: 1px solid #D0D0D0;background-color: #eeeeee;">
<h2><script type="text/javascript">document.write(bcv);</script></h2>
<script type="text/javascript">document.write(v);</script>
<noscript>View bible passage at <a href="http://www.veritasbible.com" title="Catholic Bibles, Catholic Commentary, Catholic Resources">veritasbible.com</a></noscript>
</div>
<!-- End VeritasBible BBCODE -->

ENDCODE: ==


Boards that do not support UTF-8 character sets may want to try the following variation:

CODE: ==

<!-- Begin VeritasBible BBCODE -->
<script type="text/javascript" src="http://www.veritasbible.com/embed/passage/{option}/{param}"></script>
<div style="font-family: 'Times New Roman', serif; line-height: 120%; border: 1px solid #D0D0D0;background-color: #eeeeee;">
<h2><script type="text/javascript">document.write(bcv);</script></h2>
<script type="text/javascript">document.write(decodeURIComponent(escape(v)));</script>
<noscript>View bible passage at <a href="http://www.veritasbible.com" title="Catholic Bibles, Catholic Commentary, Catholic Resources">veritasbible.com</a></noscript>
</div>
<!-- End VeritasBible BBCODE -->

ENDCODE: ==

Variables

If you look in the plug-in code above, you will see a couple placeholders in curly brackets.

The first: {param}, is the placeholder for the bible verse. VeritasBible support a wide range of commonly used book names and abbreviations. For example: Matthew 16:16-18, Matt 16:16-18, Mt 16:16-18 will all work identically.

The second: {option}, can be used if your forum's bbcode engine supports additional variables. You can use this position to specify a particular bible. Supported bible versions include:
Letter code Description
drb =Douay Rheims Bible (our 1914 Kenedy imprint)
rkb2011 =Ronald Knox Bible (Modern English Update)
ccb_ed48=Christian Community Bible (48th Edition)
njb =New Jerusalem Bible
lvb =Latin Vulgate Bible (Clementine; 1914 Hetzenauer)
bsv2005 =Bibla Sacra Vulgatam (Clementine; 2005 Tweedale)
If your bbcode engine does not support a second variable, just substitute the bible's letter code into the bbcode block above (in place of the {option} variable) for the bible you wish to support. If you wish to support more than one bible, just create additional bbcodes for each bible you wish to support.

Board Usage

Once the above code is integrated into your forum software, your forum users can use the BBcode as follows:
[bible]Matthew 16:18[/bible]
or
[bibledrb]Matthew 16:18[/bibledrb]
If your forum software supports the second {option} variable, you could use the BBcode as follows:
[bible=drb]Matthew 16:18[/bible]
Use of the second {option} variable also allows your forum to automatically support new bibles as we add them here at veritasbible.

If your forum software doesn't support multiple variables within a bbcode, you can still support multiple bible bbcodes by setting up new ones for each bible you wish to support. For example:
[bibledrb]Matthew 16:18[/bibledrb]
[biblelvb]Matthew 16:18[/biblelvb]
etc.

Search the Bible from Anywhere

Bible Search Plug-in

Add a high-quality bible search form to your web pages

Purpose

You can search VeritasBible.com content remotely using our Bible Search plug-in. Search bible verses, commentary, and articles all at once.

How it Works


This plug-in will pass your search terms to the VeritasBible search engine and provide you with a list of matching results sorted by sourcetype and relevancy.

Example Code

The following code block provides a simple layout in a table that would fit inside most side columns. Just add it to your web page(s) or web templates. The "look-and-feel" can be customized within the code or via css.

CODE: ==

<!-- Begin VeritasBible SEARCH -->
<!-- #s is the search input box, #x is the submit button -->
<style> #s {width:90px} #x {width:28px} </style>
<table border="0" cellpadding="5" cellspacing="1" width="200">
<tr>
<td>Bible Search</td>
</tr>
<tr>
<td>
<script type="text/javascript" src="http://www.veritasbible.com/embed/search/simple"></script> <form action="http://www.veritasbible.com/embed/search/dosimple" method="post">
<script type="text/javascript">document.write(b);</script> <a href="http://www.veritasbible.com" title="Catholic Bibles, Catholic Commentary, Catholic Resources">VeritasBible.com</a>
</form>
</td>
</tr>
</table>
<!-- End VeritasBible SEARCH -->

ENDCODE: ==


Example Using Above code block

Bible Search
VeritasBible.com

Look-and-Feel

You can change the look and feel of the search field with css.