Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.5 > vBulletin 3.5 Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
vrBible Filter -- 0.8 Details »»
vrBible Filter -- 0.8
Version: 0.8, by UltraVR UltraVR is offline
Developer Last Online: Mar 2011 Show Printable Version Email this Page

Version: 3.5.3 Rating:
Released: 02-08-2006 Last Update: 02-08-2006 Installs: 11
Uses Plugins
Is in Beta Stage  
No support by the author.

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! aranoid:

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

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #12  
Old 02-09-2006, 07:19 PM
UltraVR's Avatar
UltraVR UltraVR is offline
 
Join Date: Feb 2005
Posts: 82
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Guys, I added a small How-To in the second post if you want to change the version the Filter links to.
Reply With Quote
  #13  
Old 02-09-2006, 07:33 PM
UltraVR's Avatar
UltraVR UltraVR is offline
 
Join Date: Feb 2005
Posts: 82
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #14  
Old 02-10-2006, 10:10 AM
BeatificFaith's Avatar
BeatificFaith BeatificFaith is offline
 
Join Date: May 2004
Posts: 41
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thank you very much! Installed flawlessly and works perfectly!
Reply With Quote
  #15  
Old 02-10-2006, 04:16 PM
UltraVR's Avatar
UltraVR UltraVR is offline
 
Join Date: Feb 2005
Posts: 82
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #16  
Old 02-10-2006, 09:53 PM
Chadi's Avatar
Chadi Chadi is offline
 
Join Date: May 2004
Location: USA
Posts: 2,043
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Great thank you. What about opening a new window?
Reply With Quote
  #17  
Old 02-10-2006, 11:14 PM
Darth Gill Darth Gill is offline
 
Join Date: Jul 2005
Location: St. Louis, MO
Posts: 76
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #18  
Old 02-11-2006, 12:48 AM
Milad's Avatar
Milad Milad is offline
 
Join Date: Apr 2005
Location: Syro
Posts: 663
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I didn't understand Bible!!!
Reply With Quote
  #19  
Old 02-11-2006, 03:34 AM
UltraVR's Avatar
UltraVR UltraVR is offline
 
Join Date: Feb 2005
Posts: 82
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Great thank you. What about opening a new window?
Try this:

1) Open vbBible_text.xml
2) Replace Line 101 with:

PHP Code:
$link sprintf('<a href="%s%s" title="%s" target="_blank">%s</a>',$link,htmlentities(urlencode(trim("$volume $book $verse"))),$title,trim($reference)); 
3) Replace Line 109 with:

PHP Code:
$link sprintf('<a href="%s&book=%s&chapter=%s&verse=%s" title="%s" target="_blank">%s</a>',$link,htmlentities(urlencode($book)),$chapter,$verses,$title,trim($reference)); 
4) Replace Line 114 with:

PHP Code:
$link sprintf('<a href="%s%s" title="%s" target="_blank">%s</a>',$link,htmlentities(urlencode(trim("$volume $book $verse"))),$title,trim($reference)); 
5) Re-Upload and replace the product xml file.

Tell me if that works!

Quote:
I didn't understand Bible!!!
A lot of people don't understand the Bible, don't feel bad. :laugh:
Reply With Quote
  #20  
Old 02-11-2006, 02:49 PM
Milad's Avatar
Milad Milad is offline
 
Join Date: Apr 2005
Location: Syro
Posts: 663
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by UltraVR
A lot of people don't understand the Bible, don't feel bad. :laugh:
What does this hack do?
Reply With Quote
  #21  
Old 02-11-2006, 02:51 PM
Chadi's Avatar
Chadi Chadi is offline
 
Join Date: May 2004
Location: USA
Posts: 2,043
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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"
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 02:34 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.05410 seconds
  • Memory Usage 2,316KB
  • Queries Executed 25 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (3)bbcode_php
  • (3)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete