I thought I would have a scan for better Bible module again..... saw what gestroud had done recently..... and was going to ask...... then relized it still had errors!!!
So I went about making my own.....
wham bamm.... wiz... and... a... 2 hours later!
I slapped phpbible into XOOPS code and it worked!!!
Yeh
I was shocked, I love xoops, now I am stuck...
What i need is to define it's MySQL information, as at the moment, yes you can install it in mysql, and it asks you for the information which it then stores in a file.
Now I think you can point at XOOPS to do this can't you??
If so could you lot help me finnish this code, that exsist with in the file, to make it config it self automaticly to XOOPS mainfile instructions.
This would be safer as well, wont it?
As that is already chmod and protected?
So here is the code,
$site_name='Wizanda';
$main_url='http://localhost/wizanda.com/modules/phpbible';
$script_name='index.php';
$db_name='xoops';
$table_prefix='phpbible_';
$host='localhost';
$user='xoops';
$password='';
$page_very_dark='#400000';
$page_dark='#800000';
$page_medium='#c08080';
$page_light='#f0e0e0';
$results_side='right';
$domain='http://localhost/wizanda.com/modules/phpbible/';
$path='/';
?>
That is the whole of the config, so could someone add it so it gets its $user being the XOOPS database and password.
Also that admin is $xoops user, it can be inserted in this and should work I think as the rest of the module seeks its information from here.
As yes I am good at copy and paste, yet don't know where to start, with the rest other then learning from you lot.
So can some please help and finnish these bits in this, so tomorrow i can tell the author and we can have a better functioning bible module for xoops.
Much thanxz in advance
Night everyone