Forum

Please consider registering
guest

Log In Register

Register | Lost password?
Advanced Search:

— Forum Scope —



— Match —



— Forum Options —




Wildcard usage:
*  matches any number of characters    %  matches exactly one character

Minimum search word length is 3 characters - maximum search word length is 84 characters

Topic RSS
No Sermons Found when clicking on individual links
4 January, 2011
12:55 am
pfeilmail
Member
Forum Posts: 9
Member Since:
1 June, 2010
Offline

I've been using the plugin for a few months now and have a separate main sermon page and a Bible class audio file page. When clicking on individual audio file links, it says No Sermons Found. Why does this occur and how can I fix it? I am not technical at all and pretty much just work through web-site development by trial & error so your help is greatly appreciated.

http://lockportalliance.org/la…..rmon_id=29

4 January, 2011
5:37 am
Ben Miller
Appleton, WI, USA
Moderator
Forum Posts: 387
Member Since:
18 June, 2009
Offline

It looks like a few people have reported this problem over the last several months, but I haven't seen an answer for this yet. I'd like you to check a few things:

First, look at your WordPress Page with the title "Sermons". (It's parent Page is Media Resources.) Does it contain the shortcode with no options inside it?

Second, in the WordPress control panel, go to Sermons, Options. What do you have in the "Upload folder" box?

Finally, go to Sermons, Templates, and look at the "Sermon page" template. Please copy everything in that template and paste it into http://pastebin.com/ , then post the link here so we can take a look at it.

Ben Miller
Pathways Church, Appleton, WI, USA
4 January, 2011
11:18 am
pfeilmail
Member
Forum Posts: 9
Member Since:
1 June, 2010
Offline

First, yes the sermons page only has

Second, the upload folder box has: /home/users/web/b1613/ipw.lockport/public_html/lacmedia/wp-content/uploads/sermons/

Third, not sure if this is the link to the post:
http://pastebin.com/UYWRtgfu

thank you so much for your help

4 January, 2011
3:51 pm
Ben Miller
Appleton, WI, USA
Moderator
Forum Posts: 387
Member Since:
18 June, 2009
Offline

pfeilmail,
Try changing your Upload folder option to:
/lacmedia/wp-content/uploads/sermons/

If that doesn't work, try this:
/wp-content/uploads/sermons/

If neither of those work right away, then pick one, let it sit for a day, and check it again.

Ben Miller
Pathways Church, Appleton, WI, USA
5 January, 2011
2:12 am
pfeilmail
Member
Forum Posts: 9
Member Since:
1 June, 2010
Offline

Neither option worked right away so I will wait a day and see if that fixed it. I noticed when I click on the sermon link it says

http://lockportalliance.org/la…..rmon_id=25 which would be a different path than what the upload folder actually is. Does this have anything to do with it?

Also, I usually FTP the sermon media files to the upload folder because it's quicker. Could that be the problem?

thanks again for your help.

5 January, 2011
5:39 am
Ben Miller
Appleton, WI, USA
Moderator
Forum Posts: 387
Member Since:
18 June, 2009
Offline

On our church's website, we always upload the audio file via FTP, so I don't think that is the problem.

Our upload folder box is set to:
/wp-content/uploads/sermons/

I know your WordPress installation is in the /lacmedia/ subfolder, so that's why I had you try the other setting also. I don't know if waiting a day will help or not, but we've seen problems similar to this go away by themselves after a few hours.

The URL for the sermon link on your site is correct. On a site that is working properly, this address will display a page containing just the one sermon and any Bible verses attached. For example:
http://www.pathwayschurch.us/p…..rmon_id=25

Ben Miller
Pathways Church, Appleton, WI, USA
5 January, 2011
11:46 am
pfeilmail
Member
Forum Posts: 9
Member Since:
1 June, 2010
Offline

If, for some reason, the problem doesn't fix itself, is there a way I can simply remove the link? Since the audio file plays right from the main sermon page, there's really no reason to click to a different page. If I could remove the underline hyperlink and not give people the opportunity to click it, that would be fine with me. It looks like the filters work fine and people are still able to listen to the audio file by just clicking the player so I'm thinking they don't need to click a link to the actual sermon. But how would I do this?
thanks again for your help. I really appreciate it.

8 January, 2011
2:07 am
Ben Miller
Appleton, WI, USA
Moderator
Forum Posts: 387
Member Since:
18 June, 2009
Offline

pfeilmail said:

is there a way I can simply remove the link? Since the audio file plays right from the main sermon page, there's really no reason to click to a different page. If I could remove the underline hyperlink and not give people the opportunity to click it, that would be fine with me. It looks like the filters work fine and people are still able to listen to the audio file by just clicking the player so I'm thinking they don't need to click a link to the actual sermon. But how would I do this?

This, I can help you with.

Before we begin, though, the typical warnings: I think the changes below are pretty basic, but still it's a good idea to make regular backups of your WordPress installation, both the files and the database. If you haven't done so recently, it would be a good idea to make a backup before you make these changes.

Now take a look at your Search results page template, which can be found by clicking on Sermons, Templates. Somewhere in there, you'll see the template tag [sermon_title]. This tag gets replaced by the Sermon title with a link. We'll create a new template tag without a link. Let's call it [sermon_title_no_link].

To do this, we need to edit the dictionary.php file in the Sermon Browser plugin. This file contains all the definitions for all the template tags. If you are familiar with PHP editing and want to get right to it, skip the next paragraph.

If you are not used to editing PHP files, the easiest way to edit the file is to edit it right from the WordPress control panel. The downside to editing this way is that you can't make a backup easily before you begin. However, this is a simple edit, so you should be okay. See below for what to do in the event of catastrophic failure. To begin, deactivate Sermon Browser. Then access the plugin editor by going to Plugins, Editor. Choose Sermon Browser from the drop-down box and click Select. Next, on the right side of the screen you'll see a list of files in the plugin. Click on "sermon-browser/sb-includes/dictionary.php"

The dictionary.php file contains two functions. Function sb_search_results_dictionary contains the template tags for the Search results template. This is the one we are concerned with. Look for the line that contains the [sermon_title] tag (it should be around line number 11). It should look like this:

Just below that line, add the following line:

'[sermon_title_no_link]' => '<?php echo stripslashes($sermon->title) ?>',

If you are using the WordPress plugin editor, click Update file. Otherwise, save the file you are editing and upload it to your web server. If you deactivated Sermon Browser, Activate it again.

Next, you need to edit your Search results page template to use the new template tag. Go to Sermons, Templates. In the Search results page template box, find the tag [sermon_title]. Replace it with [sermon_title_no_link]. Click the "Save" button at the bottom of the page. That should do it.

Note: Edit dictionary.php first, then edit the template, in that order.

If something catastrophic happens as a result of your editing the php file, you can reinstall Sermon Browser. To do this, access your web server via FTP and rename the sermon-browser folder (found in wp-content/plugins) to something else. This will automatically deactivate Sermon Browser and bring your site back up (minus Sermon Browser, of course). Then you can install Sermon Browser again and Activate it. You shouldn't lose any sermons, and you'll be back to where you were before you made any changes.

I hope that helps. Let me know if you have any questions.

Ben Miller
Pathways Church, Appleton, WI, USA
10 January, 2011
1:27 am
pfeilmail
Member
Forum Posts: 9
Member Since:
1 June, 2010
Offline

Thanks so much for the clear instructions. I really appreciate your help and this program.

31 March, 2011
6:08 am
marcosfigueroa
Elephant Butte, NM
New Member
Forum Posts: 2
Member Since:
31 March, 2011
Offline
10

I am having this same problem. Also, I have the shortcode in a widget that has the formatting that I want. Then when the sermon is clicked…it goes to the sermon content page, but I'm not sure how to format it like the original page.

http://www.lighthousechapeleb.com click media at the bottom. ….then click on a sermon.

This is all brand new for me! laugh

Thanks so much!!

Marcos

1 May, 2011
8:24 am
Mark Barnes
Admin
Forum Posts: 425
Member Since:
14 December, 2005
Offline
11

pfeilmail said:

I've been using the plugin for a few months now and have a separate main sermon page and a Bible class audio file page. When clicking on individual audio file links, it says No Sermons Found. Why does this occur and how can I fix it? I am not technical at all and pretty much just work through web-site development by trial & error so your help is greatly appreciated.

http://lockportalliance.org/la…..rmon_id=29

Can anyone confirm whether this problem still exists in version 0.44?

Forum Timezone: Europe/London

Most Users Ever Online: 40

Currently Online:
16 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

malpan: 2453

jogen: 2440

VanWatterson: 652

GeraldSebring: 364

LucasWoltman: 362

RandellFeenstra: 362

Member Stats:

Guest Posters: 7

Members: 2066

Moderators: 1

Admins: 1

Forum Stats:

Groups: 1

Forums: 2

Topics: 1071

Posts: 4045

Newest Members: Nixon Designs, zolaperry, tanec69, lbakyl, richdorm, Aaron Velasquez

Moderators: Ben Miller (387)

Administrators: Mark Barnes (425)

Comments are closed.