vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=113)
-   -   vrBible Filter -- 0.8 (https://vborg.vbsupport.ru/showthread.php?t=107513)

UltraVR 02-08-2006 10:00 PM

vrBible Filter -- 0.8
 
vrBible Filter -- 0.8
Ported for your pleasure by: UltraVR

*Attention, this product is no longer supported.* You can find a new, updated product here*

Introduction

I run a Bible History forum, and I wanted a convenient way to automatically convert Bible verses into links. I came across a module for Drupal that did this, and it was very helpful. The Drupal modification is free to alter and distribute, so I ported it to vBulletin as a plug-in.

What does it do?

Well kids, it will turn a Bible verse like this: Ezekiel 1:5
...into a link to Bible Gateway like this: Ezekiel 1:5

Known Issues

None at the moment, but as this is my first plugin, I'm sure there will be many! :paranoid:

Installation

AdminCP -> Plugin System -> Manage Products -> Add/Import Product

1) Import the XML File from your computer.
2) If you are upgrading select "Yes" to allow overwrite.
3) Dance, and behold your magical Bible auto-linkage.

Change Log

2.09.06 - Primary Release

UltraVR 02-09-2006 06:49 AM

How To

Change the default translation

If you would like to change the default translation that the Filter links to, follow these steps: (Currently it defaults to NIV)

1) AdminCP -> Plugin System -> Plugin Manager -> Edit "Convert to Bible Link" (Found in global_start section)

2) FIND on Line 1:

PHP Code:

define('DEFAULT_BIBLE_TRANSLATION','NIV'); 

3) REPLACE 'NIV' with the translation you want. The options are:

'NIV' - New International Version
'NASB' - New American Standard Version
'AMP' - Amplified Paraphrase
'NLT' - New Literal Translation
'KJV' - King James Version
'ESV' - English Standard Version
'CEV' - Contemporary English Version
'NET' - New English Translation
'NKJV' - New King James Version
'KJ21' - I don't know
'ASV' - American Standard Version
'WE' - I don't know
'YLT' - Young's Literal Translation
'DARBY' - Darby Translation
'WYC' - I don't know
'NIV-UK' - New International Standard Version - UK
'MSG' - Message Bible Paraphrase
'NIRV' - New International Revised Version

(Note: Replace 'NIV' with 'ESV', for example...the full name is in the list for your information, not for you to copy)

Link to a different version than the default

When posting, simply add the translation AFTER the reference.

For example:

"Genesis 2:7 KJV" will result in "Genesis 2:7 KJV"

Also, you can add parenthesis and it will still work. For example:

"Genesis 2:7 (ESV)" will result in "Genesis 2:7 (ESV)"

FleaBag 02-09-2006 09:58 AM

It wouldn't have a use on my forum, but your hack is very resourceful! Great intuitive work. :)

ChurchMedia 02-09-2006 02:29 PM

Cool! Thanks!

UltraVR 02-09-2006 03:31 PM

Quote:

It wouldn't have a use on my forum, but your hack is very resourceful! Great intuitive work.
Thanks! It's good to have kind words on your first plugin!

Quote:

Originally Posted by ChurchMedia
Cool! Thanks!

You are very welcome!

Snake 02-09-2006 03:38 PM

Awesome thanks!

UltraVR 02-09-2006 04:38 PM

Quote:

Awesome thanks!
Certainly!

If anyone notices any bugs, be sure to let me know.

I haven't run across any so far, so if nobody else does, I'll bump this up to 1.0 eventually. :)

inspiration100 02-09-2006 04:54 PM

Fantastic hack! Installing!

AshokForums.com 02-09-2006 06:38 PM

thanks for this mate

PennylessZ28 02-09-2006 06:55 PM

I like it.


All times are GMT. The time now is 02:26 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.01206 seconds
  • Memory Usage 1,739KB
  • 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
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete