New Code for Adding Scripture using a [bible] tag

Status
Not open for further replies.

Semper Fidelis

2 Timothy 2:24-25
Staff member
Added a new bb code that allows you to insert scripture verses by enclosing the verse as follows:
HTML:
[bible]Romans 8:28-39[/bible]

will produce the following:
[bible]Romans 8:28-39[/bible]

Unfortunately, I only know how to do an ESV version. I'll try to add more capability later but something is better than nothing for now.
 
Wow, that's really straightforward, and I look forward to using it in the future with posts. Thanks for all the work you do here on this board - I've been so blessed by this community and the wealth of knowledge shared on this site.
 
Rich,

You may want to look at having the bible tag show up as a popup (or if you can make it multiple options) to aid reading. The current format would really break up text. I don't know how to have both options, but maybe you could. You can see what I mean by looking at the Christ Church blog.
 
Rich,

You may want to look at having the bible tag show up as a popup (or if you can make it multiple options) to aid reading. The current format would really break up text. I don't know how to have both options, but maybe you could. You can see what I mean by looking at the Christ Church blog.

How does it look now? I'm trying to figure out how to add the options that the ESV site includes but can only remove the footnote option. I'd prefer it take the subheadings away and such.
 
I think this look:

[bible]Galatians 4:21-31[/bible]

is better in that it reads smoother. I'm not sure how to get the formatting the way our blog has it (with popup references), but there may be a way. I got that from a Wordpress plugin here.

Maybe this will work:

[bibleblock]Galatians 4:21-31[/bibleblock]
 
Seriously, this links to a Javascript thingy that the makers of the ESV create. It's possible that this might fail occassionally if their servers don't return the verse exactly when you query them.
 
[bible]Romans 10:8-10[/bible]

Cool - working now - I like it lots!

15 seconds later...

oops! I edited this post and it stopped working - the html is still there, though...

10 seconds later...

hmm, did a page refresh and that fixed it - I think it is the ESV servers.
 
Are you getting this off a website? I don't see the link to it. Or do you just add the code and it links?
 
Are you getting this off a website? I don't see the link to it. Or do you just add the code and it links?

I've set it up so you just have to enclose a verse with the bible tag like so:

Let's say you were Chuck Smith and wanted to quote the most important verse in the Bible. You would simply type the below in the editor window
HTML:
[bible]John 3:16[/bible]

This would return:

[bible]John 3:16[/bible]
 
Believe it or not, I was thinking of you and hoping I could find an AV version of this feature. I might even give it a [winzer] tag!

You're too quick Rich. I was hoping to delete before anyone noticed. On a serious note, this page takes a long time to load.
 
You're too quick Rich. I was hoping to delete before anyone noticed. On a serious note, this page takes a long time to load.

That may be a problem with this feature. If it becomes a huge time sink for performance we might have to drop it eventually. Page loading issues are always more pronounced for us that in the States. Because the ESV server is in the US and we're on the other side of the world, nearly a half of a second latency is added to everything to make something that is slow even slower. The PuritanBoard is pretty quick out here but it is really fast in the US.
 
Status
Not open for further replies.
Back
Top