Forum

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

Please consider registering
guest
sp_LogInOut Log In sp_Registration Register
Register | Lost password?
Advanced Search
Forum Scope


Match



Forum Options



Minimum search word length is 3 characters - maximum search word length is 84 characters
sp_Feed Topic RSS sp_TopicIcon
Fix installation into folder other than sermon-browser
29 December, 2011
6:32 am
binki
Member
Members
Forum Posts: 9
Member Since:
29 December, 2011
sp_UserOfflineSmall Offline

I encountered a few errors when I checked out the SVN repository to wp-content/plugins/sermon-browser.new instead of wp-content/plugins/sermon-browser. Here's a patch addressing the errors I encountered:

* Attempts to include wp-content/plugins/sermon-browser/sb-includes/<filename> instead of wp-content/plugins/sermon-browser.new/sb-includes/<filename>

* Inconsistent referral to wp-admin/admin.php?page=sermon-browser/sermon.php and wp-admin/admin.php?page=sermon-browser.new/sermon.php in the code. When my browser got directed to ?page=sermon-browser/sermon.php wordpress gave me a `permission denied' message which was fixed by inserting `.new' into the proper place in the URL (and fixed by removing a __FILE__ in the attached patch).

 

OK, not quite attached as I couldn't find a way to attach something: http://ohnopub.net/~ohnobinki/.....able.patch

29 December, 2011
6:40 pm
binki
Member
Members
Forum Posts: 9
Member Since:
29 December, 2011
sp_UserOfflineSmall Offline

I realized that this caused two different submenu items labeled `Sermon' to show up in WP, so more __FILE__s needed to be replaced: http://ohnopub.net/~ohnobinki/.....e-r1.patch

29 December, 2011
8:56 pm
binki
Member
Members
Forum Posts: 9
Member Since:
29 December, 2011
sp_UserOfflineSmall Offline

Also fixed:

* CSS for podcast background images pointed to plugins/sermon-browser instead of SB_PLUGIN_URL

* load_plugin_textdomain() passed wrong relative path

http://ohnopub.net/~ohnobinki/.....e-r2.patch

22 March, 2012
9:20 pm
binki
Member
Members
Forum Posts: 9
Member Since:
29 December, 2011
sp_UserOfflineSmall Offline

Also fixed:

  • For the default CSS style code, the URI to the sermon-browser folder on the server was plugged in once -- when sb-install.php was first run. Now the CSS style is processed using templates, the[sermon_browser_uri] template expands to the plugin's URI, and the default CSS template uses this for its url() expressions. This allows the sermon-browser plugin folder to be renamed after the initial installation without having to manually update the CSS code.
  • As a side-effect, I couldn't help also adding [theme_root_uri] (get_theme_root_uri()) and [site_url] (site_url()) templates.
  • Rebased against 0.46_pre20120322 trunk

sermon-browser-renamable-r3.patch

Forum Timezone: Europe/London
Most Users Ever Online: 381
Currently Online:
Guest(s) 2
Currently Browsing this Page:
1 Guest(s)
Top Posters:
Rich Brown: 358
Matt Schlueter: 93
Mindy: 72
Don Johnson: 65
anointed: 57
0be1: 55
Member Stats:
Guest Posters: 7
Members: 3188
Moderators: 1
Admins: 1
Forum Stats:
Groups: 1
Forums: 2
Topics: 1713
Posts: 7499
Newest Members:
marktest, deatles50, ValeriaGoodriz, dapedPup, oapedPup, Margarettoimb
Moderators: Ben Miller: 1628
Administrators: Mark Barnes: 435