View Full Version : vbAdvanced Bible Search
Been awhile since I posted anything so figured I would share this.
This is a mod of phpBible to work with vbAdvanced. I made many changes to the original but not the SQL files under GNU General Public License per original authors guidelines.
This hack will allow you to add a Searchable bible to your site. The AV KJV is the Bible SQL included.
In the config.php you need to be sure to leave the 'MySql:' comment in place.
Read the instructions included carefully.
As with all hacks the responsibly to your site is yours.
You can see it at http://www.maysvillekybbs.com/index.php?maysbbs=bible
Login as
user 'test'
password 'test'
I will support this add on since I made some changes to the php and how the Database connects.
FOR PEOPLE WITHOUT vbAdvanced down load both files and follow the instructions in Bible to add the tables and data. Then follow instruction in the NON_vbAdvanced file.
This hack will work without vbAdvanced installed.
Bolas
11-26-2004, 11:49 PM
wooops... the sshot is too small! :(
lol, I can't be good at everything.
Try the new image I just uploaded.
Holidazed
11-27-2004, 03:12 AM
Do you have a version of this for those of us not using vbadvanced?
Do you have a version of this for those of us not using vbadvanced?
Thanks
rex_b
11-27-2004, 03:00 PM
Thanks
Yes they do. It's called phpbible which is awesome. I use it here:
http://www.religiousforums.com/bible/
Holidazed
11-27-2004, 04:14 PM
Well, I want a hack that allows me to embed the phpBible into my vbb without having to have vbadvanced. How do I do that?
Added a quick update for people without vbAdvanced. Just for you bitg, lol
Hope you enjoy and get good use with it.
This is phpBible just modified to work with vBulletin and vbAdvanced.
Holidazed
11-28-2004, 05:34 PM
Added a quick update for people without vbAdvanced. Just for you bitg, lol
Hope you enjoy and get good use with it.
This is phpBible just modified to work with vBulletin and vbAdvanced.
Thank you.
~clicks install
The Markus
11-28-2004, 05:38 PM
subscribing so I can install after I finish this other hack....
Holidazed
11-28-2004, 06:27 PM
tcs, I installed the original bible addon just as your instructions state and then followed the instructions in the non-vbadvanced addon. However, when I goto http://www.hidingplace.com/forums/bible.php the following error:
Fatal error: Cannot instantiate non-existent class: adodb_hidingplace_com in /path/to/my/bible/adodb/adodb.inc.php on line 424
That section of the adodb.inc.php file says:
423: $cls = 'ADODB_'.$ADODB_Database;
424: $obj = new $cls();
425: if ($errorfn) {
426: $obj->raiseErrorFn = $errorfn;
427: }
428: return $obj;
429: }
Ideas?
Posting to let you know I am looking into what it might be.
make sure you have all the database uploaded.
make sure that the config.php om the bible folder points to (mysql:"Your DB Here")
It is important that the 'mysql:' be inserted before the database name is typed.
Holidazed
11-28-2004, 06:48 PM
That was exactly it. My line did not have the mysql:
Thank you
Your welcome bro.
It's amazing that I have no less than 30 different people ask me to send them this hack.
So rather than send it out I choose to post it here and no one is installing it. Strange.
Holidazed
11-30-2004, 12:35 AM
I installed it.
boo.3
12-10-2004, 12:35 AM
nice!
mikehawk
12-16-2004, 02:08 AM
I'm a hardcore noob.
Installation Instructions
=========================
1) Load the database tables. Use a tool like phpMyAdmin to load the sql scripts.
This will install the tables 'bible' and 'books' into your DB by default.
The configuration assumes a DB name of 'bible', but you can use a different
DB name and update the configuration accordingly below.
I put the table in my my main DB for my forums and it works fine.
phpMyAdmin? I made a folder "bible" in my forum directory and uploaded the files. Now how do I do this?
thx
You can do a search here on phpmyadmin and you will find instructions on how to do this. I have seen it here before.
mikehawk
12-16-2004, 08:22 PM
You can do a search here on phpmyadmin and you will find instructions on how to do this. I have seen it here before.
Holy crap... I'm way too much of a noob... I downloaded phpmyadmin and have no clue how to set it up... I tried editing it and its jibberish to me. :disappointed:
Is there anyway I could make the database without PHPmyadmin?
Does this work with vb3.07 w/ vbadvanced?
Thanks a bunches!
This is what I have it set up on. Should work fine.
smacklan
05-15-2005, 02:46 AM
Thanks...works great! You can see it in action at my site as well.
Clicked - Installed
mcncyo
05-17-2005, 10:45 AM
I am getting an error in my page
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '-1' at line 1
Marco van Herwaarden
05-17-2005, 10:45 AM
Please Copy&Paste the full error message.
suryoyena
05-19-2005, 11:44 AM
Cool mod!
Where can I find the avkjv.sql in other translations? I need a german one.
boo.3
05-19-2005, 11:59 AM
you from Maysville KY?
i'm from Lex going to ride ATV's at Big Rock maybe this Sat
Maysville Ky. Proud. Nice to see a fellow ky'ian.
I will see if I can find a different translation Suryoyena
Holidazed
07-06-2005, 04:40 PM
Is this mod going to be re-written for vBB v3.5? I love this addition and would hate to lose it.
It doen't reqiure any VB Autthentication so should work fine. I will update it for vbAdvance CPMS.
Thanks for reminding me.
davidw
10-07-2005, 07:47 PM
I am getting an error in my page
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '-1' at line 1
Same here.
You can see it in action here:
http://www.christianboards.org/index.php?page=bible
I will be upgrading to 3.5 this weekend and will check it out.
Mastar
10-17-2005, 03:47 PM
I did what the instructions said as I understand it (it wasn't that clear) I entered the avkjv.sql manually because its too big to upload in phpadmin, I created the templateand I ran the link http://www.*****.com/bible.php and came back with a blank page.
Any suggestions?? vb3.09
This is what the edited portion of the config.php looks like -->>
$MM_bible_HOSTNAME = "localhost"; //Replace with mySQL host name
$MM_bible_USERNAME = "my mysql is here"; //Replace with your mySQL user
$MM_bible_PASSWORD = "my pass here"; //Replace with your mySQL password
$MM_bible_DATABASE = "mysql:bible"; //Name of bible db - Be Sure to LEAVE 'mysql: IN PLACE'
$MM_bible_tab_pre = ""; //Prefix for tables (optional e.g. 'bib_')
$MM_bible_DBTYPE = preg_replace("/:.*$/", "", $MM_bible_DATABASE);
$MM_bible_DATABASE = preg_replace("/^.*?:/", "", $MM_bible_DATABASE);
I upload all files in a folder that I created named 'bible' Then I used the non vbadvance instructions....
I installed vb 3.5 and could not find any errors with the bible system. I will be updating some issues to make it easier to install in the next few weeks,
Holidazed
11-07-2005, 08:20 PM
Is this mod going to be re-written for vBB v3.5? I love this addition and would hate to lose it.
Any idea on my earlier comment?
It works great as is for vb 3.5.1 which is what I am on. It does not really integrate with VB so should change a thing. It is an add on to VB.
davidw
11-14-2005, 07:21 PM
I am still having issues with it - I uninstalled it and in regards to the last post I decided to reinstall it - yet I think its issue is related to the $MM_bible_DATABASE = "mysql:"; part. I can't think for the life of me why nothing I've put in there works (I've tried several variants of what it could be) - still same error message.
I'll play around with it a bit to see if I can get it to work. :)
I am still having issues with it - I uninstalled it and in regards to the last post I decided to reinstall it - yet I think its issue is related to the $MM_bible_DATABASE = "mysql:"; part. I can't think for the life of me why nothing I've put in there works (I've tried several variants of what it could be) - still same error message.
I'll play around with it a bit to see if I can get it to work. :)
It is, You need to add you database login information in there. The same that is in your /includes/config.php
I can help you if you want to pm me an email address.
davidw
11-14-2005, 08:44 PM
You have a pm with my email - I won't be on but maybe a half-hour later (as I usually do my site work during the day).
imported_pmay68
09-03-2006, 05:02 PM
Works perfectly on Gatheringchristians.com THANKYOU!!!!!
PGAmerica
05-20-2008, 08:31 PM
Is there a 3.7.0 version of this?
This version still works great even on 3.7.0
PGAmerica
05-20-2008, 09:25 PM
Maybe you should post it in those forums as it is misleading to only have it here.
PGAmerica
05-20-2008, 10:03 PM
I installed the module exactly as your instructions said and when I activate the module on my vba home page, I get the following error.
_____________________________
on line Fatal error: Cannot instantiate non-existent class: adodb_hidingplace in /pathtomyforums/bible/adodb/adodb.inc.php424
_____________________________
Ideas?
In addition, when I do the non-vba mod addition, the bible.php file displays a blank page.
PGAmerica
05-21-2008, 10:40 PM
Well, it is a moot point now. I went to www.biblesupersearch.com and downloaded their free bible search program. A little bit of modification and it works perfectly in my forum.
See for yourself.
http://www.hidingplace.com/forums/Bible_SuperSearch_vb.php
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.