I made a version that works with "darbybib.zip" in that URL. It works with bbe.zip and av.zip as well, as long as you rename the extension to ".DBY".
Instructions: download the darbybib.zip file, and upload all its files to cgi-bin/bible dir.
open ubb_lib.cgi.
Find:
code:
$match++ if $_[0] =~ s/()(s|n|r)*/ </font><blockquote><font size="1" face="$vars_style{FontFace}">$vars_wordlets{ubbcode_quote}:</font><hr /><font size="$vars_style{TextSize}" face="$vars_style{FontFace}">$2</font><hr /></blockquote><font size="$vars_style{TextSize}" face="$vars_style{FontFace}">/isg;
Add below:
code:
[qb] $match++ if $_[0] =~ s/[BIBLE=([A-Za-z0-9s]+)](d+):(d+)[/BIBLE]/&bible($1,$2,$3)/eisg;
[/qb]
Find:
code:
Add below:
code:
[qb]sub bible {
my ($a, $b, $c) = @_;
$a =~ s/^(.*?)$/U$1E/;
if (&FileExists("$vars_config{CGIPath}/bible/$a.DBY")) {
my $file = &OpenFileAsString("$vars_config{CGIPath}/bible/$a.DBY");
if ($file =~ m/$b:$c /) {
$file =~ s/(.*?)$b:$c//isg;
$d = $b+1; $e = $c+1;
$file =~ s/$d:1(.*?)$//isg; $file =~ s/$b:$e(.*?)$//isg;
return &ConvertReturns($file);
}
}
return "[BIBLE=$a] $b:$c [/BIBLE]";
}
[/qb]
Then use
code:
Result:
code:
[qb]do not cease giving thanks for you, making mention [of you]
at my prayers,
[/qb]
Note: if you give me a list of all long names (like John) with their short form (like JOH) I can make it so you can type [bible=John] instead of [bible=joh]...
After we get it to work like that, I'll make it like you want it to be if you wish - like [quote] but with "Bible Quote" and make the name more emphasized
Edit: now it works with darbybib.zip instead of bbe.zip cause I think it's better.. Note: I haven't tested it since I modified it to read .dby, so lemme know if it doesn't work