![]() |
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 |
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:
'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)" |
It wouldn't have a use on my forum, but your hack is very resourceful! Great intuitive work. :)
|
Cool! Thanks!
|
Quote:
Quote:
|
Awesome thanks!
|
Quote:
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. :) |
Fantastic hack! Installing!
|
thanks for this mate
|
I like it.
|
Guys, I added a small How-To in the second post if you want to change the version the Filter links to.
|
I also added a small tutorial on how to link to a different translation from the post screen, too. Easy stuff!
You can find it in the second post. |
Thank you very much! Installed flawlessly and works perfectly!
|
Hey No Problem!
If anyone has this installed and wants to post a link to their page here, I'll put them up in the first thread as demo links. |
Great thank you. What about opening a new window?
|
Awesome! I have this installed on my forum. I actually wrote my own php bible software years ago, but haven't kept up with it. I would like a plugin that would allow people to search and paste from the bible in an ajax box on the post reply screen! That would be perfect!
http://www.predestinarian.net |
I didn't understand Bible!!!
|
Quote:
1) Open vbBible_text.xml 2) Replace Line 101 with: PHP Code:
PHP Code:
PHP Code:
Tell me if that works! :) Quote:
|
Quote:
|
Your kidding right?
"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" |
The Bible is the Christian Holy Book. Where is Syro?
|
Quote:
http://www.christiandiscussionforums.org/v/index.php But, is there a way to have the bible window open in a different (pop up)window and not the same one? Great mod, though. |
Quote:
|
Matt, try my solution here:
https://vborg.vbsupport.ru/showpost....3&postcount=18 Let me know if that works! :) |
Question: I installed it, and even did UltraVR's changes. However, I do not see how it works. I see nothing int he ACP for any mode of configuration. I also do not see any new options in my forum message creation pages.
ideas? Screenshots would be nice |
KJV should be the 1st and the only on the list ;)
|
Quote:
This plugin will convert Bible verses in your threads into links to that specific Bible verse. Try typing: "Genesis 2:7" in a test thread. Does it become a link? Quote:
|
I have no use for it and am not religious - but you've done a great job here UltraVR - well done. :)
|
Thanks, buddy!
|
Love this hack! Just one thing, tried the modification to open in a new window (great idea) and now it is linking the entire post from the verse on. Is it just me? When I change back to original hack it resolves it again.
|
I just tried it, and my code works for me. Is anyone else having this problem?
Make sure you copy the replacement exactly, and that target="_blank" has both the quotes. |
Hey I went through my file again and noticed one difference...
I revised my code on line 114 to as follows and it works perfect now. (Bold is inserted, not coming through correctly should include brackets). $link = sprintf('<a href="%s%s" title="%s"target="_blank">%s</a>',$link,htmlentities(urlencode(trim("$volume $book $verse"))),$title,trim($reference)); BTW, great hack, thanks a lot! :) Verlin |
Oh yes, thank you. I'll add that fix to 1.0. Glad you like the plugin!
|
Really appreciate vrBible Filter! Great work! :)
|
WOW! That will be a useful resource. Thanks UltraVR. :)
BB Mike |
Great hack! It'll get a lot of use on my forum.
*Clicks install |
I seem to be having a problem uploading the file from my Desktop as an *.xml file
Quote:
|
Did you unzip the files and upload the XML file in the archive?
|
Quote:
|
Perhaps try re-downloading it and then unzip it?
You get that error message if no XML file is uploaded. Are you importing it as a plugin, and not a product? |
All times are GMT. The time now is 05:49 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|