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 employs 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]). The message board system interprets the bbcode into a markup language that web browsers understand—usually HTML or XHTML.BBcodes are supported by many popular applications (e.g., phpBB, vBulletin, Invision, SMF, UBB). They are easy to install and configure by the board administrator.
Code
The following code block is to be implemented via your forum software's BBcode manager interface.CODE: ==
ENDCODE: ==
<!-- 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 -->
Boards that do not support UTF-8 character sets may want to try the following variation:
CODE: ==
ENDCODE: ==
<!-- 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 -->
Variables
{param} this 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.{option} if your bbcode engine supports additional variables, you can use this position to specify a particular bible. Supported bible versions include:
drb = Douay Rheims BibleIf your bbcode engine does not support a second variable, just substitute the 3-letter code into the bbcode block above (in place of the {option} variable) for the bible you wish to support.
lvb = Latin Vulgate Bible.
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]
If your forum software supports the second {option} variable, you would use the BBcode as follows:
[bible=drb]Matthew 16:18[/bible]
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: ==
ENDCODE: ==
<!-- 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 -->
Example Using Above code block
| Bible Search |
