This forum is now read-only. Support is provided at https://wordpress.org/support/plugin/sermon-browser/


5:20 am
12 May, 2013

Hi
As per your FAQ instructions: How do I get recent sermons to display in my sidebar or elsewhere in my theme?
I placed the following code into my template to display latest sermons on the front page,
< ?php if (function_exists('sb_display_sermons')) sb_display_sermons(array('display_preacher' => 1, 'display_passage' => 1, 'display_date' => 1, 'display_player' => 0, 'preacher' => 0, 'service' => 0, 'series' => 0, 'limit' => 5, 'url_only' => 0)) ? >
All my sermons are posted under http://mysite.com/sermons/, so a working single sermon page url is http://mysite.com/sermons/?sermon_id=1
Now, for some reason, sermon URL on the front page returns only /?sermon_id=1 part without /sermons/ before it like this: http://mysite.com/?sermon_id=1 and if I try to click this link all it does is just reloads the front page, it doesn't go the individual sermon page. How do I fix this?
Thank you,
Dmitry
8:55 pm
Moderators
18 June, 2009

Dmitry, could you post a link to your actual site, so I can take a look?
Ben Miller, Pathways Church, Appleton, Wisconsin, USA
Read the new FAQ, last updated 11/21/2013
Announcing version 0.45.12
3:20 am
12 May, 2013

Hi Ben,
Sure, here's a link: http://dev.rsdasa.com
The recent sermons (or lectures in my case (I renamed them to better suite the site I'm working on)) are in the lower left corner of the page under title Recent Lectures.
Thank you,
D.
6:28 pm
Moderators
18 June, 2009

Dmitry,
Thanks for bringing this bug to my attention. Here is the bug fix to get the "sb_display_sermons" function working again.
In frontend.php, replace the sb_display_sermons function. The old, 0.45.6 function looks like this:
Replace that code with this function:
There is one more function that needs to be changed in frontend.php, which I will detail in the next post.
Ben Miller, Pathways Church, Appleton, Wisconsin, USA
Read the new FAQ, last updated 11/21/2013
Announcing version 0.45.12
6:33 pm
Moderators
18 June, 2009

Also in frontend.php, the function sb_print_sermon_link needs to be replaced.
OLD function:
NEW function:
If you have any questions about this fix, please let me know. I'm going to try to get this fix into a new version, but I don't know exactly when that new version will be released. (Hopefully in about a week.)
Ben Miller, Pathways Church, Appleton, Wisconsin, USA
Read the new FAQ, last updated 11/21/2013
Announcing version 0.45.12
8:00 pm
18 June, 2013

Just FYI: in frontend.php on line 45 if you add a space before the word "by" it outputs correctly. For me it was not putting a space between the verse reference and the word "by."
Not sure if anyone else is having that problem, but theres a fix.
I'm perfectly willing in the context of this forum to be referred to as "Lesser Ben" in favor of Ben Miller.
I made a tutorial for prettying up your sermonbrowser iTunes feed.
Web Geek for Trinity Park Church.
6:04 pm
Moderators
18 June, 2009

Thanks, Ben Meredith. I've added this change to line 45 to the next version of Sermon Browser.
Ben Miller, Pathways Church, Appleton, Wisconsin, USA
Read the new FAQ, last updated 11/21/2013
Announcing version 0.45.12
6:20 pm
18 June, 2013

For what it's worth, I've changed my signature to reflect the hierarchy of Bens.
I'm perfectly willing in the context of this forum to be referred to as "Lesser Ben" in favor of Ben Miller.
I made a tutorial for prettying up your sermonbrowser iTunes feed.
Web Geek for Trinity Park Church.
6:42 pm
Moderators
18 June, 2009

Does that make me "Big Ben"?
Ben Miller, Pathways Church, Appleton, Wisconsin, USA
Read the new FAQ, last updated 11/21/2013
Announcing version 0.45.12
1 Guest(s)
