![]() |
Integrating Bible Super Search with vBulletin
This will add a Bible Super Search to your forums. This is not so much a modification
or hack as it is a tutorial. It does not require you to edit any files or templates. It does require you to create 1 php file and 1 template. If you don't want to create the php file or the template, I have added them to this post. Credits: The Bible Super Search program I used is from biblesupersearch.com and is free for all. I used the instructions by Gary King entitled "How to create your own vBulletin-powered page!" alongside a script at the Dynamic Drive site to make this work. Thanks goes to Digital Jedi for sending me the links for this. ------------------------------ NOTES: This document assumes that you have installed the Bible Super Search program. If you have not, please go to www.biblesupersearch.com, download it and get it running on your site. Once that is done, go to Step 1 in this document. This document also assumes that you have placed the "Bible Super Search" program in the "forums/bible/BibleSuperSearch" folder. If you have not, just change every reference to "bible/BibleSuperSearch/" to the path of your program. Demo INSTALLATION INSTRUCTIONS Step 1: Make a new template named "Bible_SuperSearch" and put the following in it. Note: You can alse cut and paste from the "Bible_SuperSearch_template.txt" file that I have made available in this post. Code:
$stylevar[htmldoctype] Note on above template code: This code is designed the use the "Friendly1" interface. You can use the interface of your choice by replacing "user_friendly1" with any of the interfaces that came with the Bible Super Search program. The current available choices are: advanced, classic, compact_book_browsing, compact_simple, parallel, parallel2, user_friendly1 & user_friendly2. The program even allows you to create your own interface. If you do this, just put in the name of the file (minus the .php) you created. Step 2: Create a file named "Bible_SuperSearch_vb.php" and place the following into it: Note: You can also just use the "Bible_SuperSearch_vb.php" file that I have made available in this post. Code:
<?php Step 4: Upload the newly created file into your forum root folder. Step 5: Edit the "navbar" template Search for: Code:
<td class="vbmenu_control"><a href="calendar.php$session[sessionurl_q]">$vbphrase[calendar]</a></td> Code:
<td class="vbmenu_control"><a href="Bible_SuperSearch_vb.php">Bible Super Search</a></td> -------------------------------------------------- Addon: I have used this exact same code to put html Bibles from ebible.org on my site. Here are some instructions to help you do that.
You can get additional bibles at: gregwolf.com and ebible.org. I am sure there are many other sites as well. Here is just a few free html bibles I found online. Many of these will require you to edit the html code so that they behave and look the way you wish them too. English ASV (American Standard Version) Bible Catholic Douay Rheims Bible 1899 Catholic Douay Rheims Bible 1899 (Large Print) Easton's 1897 Bible Dictionary KJV (King James Version) Bible from edible.org or gregwolf.com KJV (King James Bible: Large Print) Matthew Henry's Complete Commentary WEB (World English Bible) Bible WEB:ME (World English Bible: Messianic Edition) French 1910 Louis Segond Version de la Bible Sacr?e 1910 Louis Segond Version de la Bible Sacr?e (Large Print) Portuguese B?blia Sagrada B?blia Sagrada (Large Print) Spanish LA BIBLIA Versi?n Reina-Valera de 1909 LA BIBLIA Versi?n Reina-Valera de 1909 (Large Print) |
If you used this, I would appreciate it if you would not only click the "Install" link, but also post a message with a link to the site using it.
|
This is something I am definately interested in. Once I can figure out how to get the Bible Supersearch to see the database, I will be adding this.
|
I got the bible software installed, but when I try to access the Bible Super Search from my site, I get the following error:
Warning: require_once(./global.php) [function.require-once]: failed to open stream: No such file or directory in /home/prophecy/public_html/bible/BibleSuperSearch/bible_supersearch.php on line 32 Fatal error: require_once() [function.require]: Failed opening required './global.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/prophecy/public_html/bible/BibleSuperSearch/bible_supersearch.php on line 32 |
Was able to get everything installed and it works beautifully. This is an excellent mod and anyone who has a Christian based web site, I would highly recommend it. :up:
Jeff www.prophecylive.com |
Quote:
|
checking it out now...
|
Wonerful mod :) installing :D:D
Will post back :) God Bless you Rick |
Works well! thanks for the hack... Installed...
Now where can I get more bibles for this? Mike. |
Quote:
|
Quote:
|
Hmmm, the html bibles at ebible.org only require you to upload them to your server in order to work.
What problem are you having? |
Quote:
thanks, Mike. |
I see you found another use for the script combo. Pretty nifty.
|
I am nothing if not adaptable. Thanks for the help.
|
Nifty. I currently have it running on my site.
|
Glad it worked. It looks good on your site too.
|
Not working for me all I get is a blank page:
http://www.pastors-source.com/vb/Bib...rSearch_vb.php Any thoughts? |
Quote:
|
Quote:
Maybe I have done this wrong. I made a new template via vba cmps. How do you make a new template? |
Quote:
Create your template using the Style Manager. Admin CP >>> Styles & Templates >>> Style Manger Click the drop down menu beside one of your styles and select Add New Template and create your template there. You'll need to add that template to each one of your styles, provided you use more then one and you don't use child styles. |
Alright I got that fixed. Now I have a different problem I dont know how to explain it take a look:
http://www.pastors-source.com/vb/Bib...rSearch_vb.php |
It's not finding the bible/BibleSuperSearch/bible_supersearch.php file that came with Bible Super Search. The tutorial presumes you have it in that specific directory, and relative to your forum directory. Which directory did you put Super Search in when you first installed it?
|
http://www.pastors-source.com/bibles...rSearch_vb.php
This creates this error: Quote:
|
It looks like you may have deleted a ' when you edited your PHP file. Can we take a look your PHP and template code?
|
I have attached the php file here is the temp file:
Quote:
|
Woah, something completely garbled your PHP file. I know some HTML editors do that after viewing them and saving. You'll definitly need to download it again and replace it.
|
Quote:
I have downloaded it three (3) times. After I delete all the old files. And I get the same results every time. And I make no changes or even attempt to make no changes to the php file. |
Do you use any download acceleration software?
|
Quote:
No not at all. I do use 7zip to open it. |
Try downloading Zip Genius (http://www.zipgenius.it/eng/index.php) and see if you run into the same problem. It's free and functionally the same as something like WinZip. Maybe we can track down the source of your problem.
|
Quote:
There is no download link on that site |
They do seem to be hiding it for some reason: http://www.download.com/ZipGenius-St...-10179818.html
|
How is this php file?
|
That one looks good to me. Have you implemented it yet?
|
Yes U uploaded it I am not sure what to do from here
|
Redo the steps for install and use that file for the PHP file and see if you get the same problems. I think part of the problem was that your PHP file was getting corrupted somehow.
|
Rev, 2 things
Send me a PM and I will see what I can do. |
Thanks for the mod.
I cannot for the life of me figure out how to adjust the *default* font size/color for the standard text and output (results for searches). I played around with the css but nothing kicked in it seems and the html is outdated, sloppy from the original supersearch tool. I'm using the compact theme and this is the compact_book_browsing.css portion for font size a.f-large{font-size:14pt;} a:hover.f-large{} a:visited.f-large{} a.f-medium{font-size:12pt;} a:hover.f-medium{} a:visited.f-medium{} a.f-small{font-size:10pt;} a:hover.f-small{} a:visited.f-small{} |
edit: sorry my mistake, disregard problem with missing browse by book options.
Would appreciate help on modifying the style of the drop down menus (including font/colors/borders). I cannot figure out what files/css portion to edit for this. |
All times are GMT. The time now is 10:16 AM. |
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:
|