vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=33)
-   -   vbAdvanced Bible Search (https://vborg.vbsupport.ru/showthread.php?t=72228)

tcs 11-26-2004 10:00 PM

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

tcs 11-26-2004 11:49 PM

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?

Remi 11-27-2004 01:15 PM

Quote:

Originally Posted by bitg
Do you have a version of this for those of us not using vbadvanced?

Thanks

rex_b 11-27-2004 03:00 PM

Quote:

Originally Posted by Remi
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?

tcs 11-27-2004 05:08 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.

Holidazed 11-28-2004 05:34 PM

Quote:

Originally Posted by tcs
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:

Code:

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:

Code:

423:                $cls = 'ADODB_'.$ADODB_Database;
424:                $obj = new $cls();
425:                if ($errorfn) {
426:                        $obj->raiseErrorFn = $errorfn;
427:                }
428:                return $obj;
429:        }

Ideas?

tcs 11-28-2004 06:45 PM

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

tcs 11-30-2004 12:34 AM

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.

tcs 12-05-2004 03:39 PM

Cool, and thanks

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

tcs 12-16-2004 10:54 AM

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

Quote:

Originally Posted by tcs
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?

tcs 04-17-2005 12:00 AM

Quote:

Originally Posted by CallieJo2
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

tcs 05-19-2005 08:03 PM

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.

tcs 07-06-2005 10:25 PM

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

Quote:

Originally Posted by mcncyo
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

tcs 10-07-2005 09:00 PM

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....

tcs 11-04-2005 01:32 PM

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

Quote:

Originally Posted by bitg
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?

tcs 11-07-2005 09:35 PM

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. :)

tcs 11-14-2005 07:50 PM

Quote:

Originally Posted by christianb
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?


All times are GMT. The time now is 04:52 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.01225 seconds
  • Memory Usage 1,817KB
  • 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
  • (2)bbcode_code_printable
  • (8)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)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