GithubHelp home page GithubHelp logo

joomla-bible-study / proclaim Goto Github PK

View Code? Open in Web Editor NEW
10.0 7.0 9.0 588.66 MB

Joomla Proclaim Component - Christian Web Ministries

Home Page: https://www.christianwebministries.org/

License: GNU General Public License v3.0

PHP 93.84% CSS 0.40% JavaScript 4.15% Shell 0.02% HTML 0.83% Less 0.77%
bible-study php joomla church joomla-component joomla-package composer language

proclaim's Introduction

CWM Proclaim

Status

Code Branch Version Release Date Joomla Version
Build Status Development 10.0.0 August 2023 4+
Build Status Master 9.2.8 April 6, 2021 3.x

NOTE: The master branch will always reflect the current, released stable version. Only bug fixes and minor updates should be applied to the master branch. New features are to be introduced into the development branch only.

Overview

Proclaim is a Joomla!® component written by a team of web servants to further the teaching of God's Word. The component displays information about your church's Bible Studies or sermons in a wide variety of ways. Proclaim is flexible, customizable, and powerful. Easy to configure templates give you the maximum amount of choices. Show only what you want in whatever way you want.

Embed YouTube videos, play audio, show study notes - even create your own html display pages. You can have multiple locations, series, podcasting, and sharing with social media sites. Please see the example pages for just some of what Bible Study can do for your church - and the best part is the component is completely free. Support is top-notch, and also free. Bottom line: we want to help you spread the gospel.

Contributing

We appreciate contributions in various capacities, below are some ways that you can contribute to this project

Setup

  1. Fork this repository.
  2. Load dev dependencies with Composer: php composer.phar install --dev
  3. Set up your dev environment

Development

  1. Create a topic branch.
  2. Implement your feature or bug fix.
  3. If you implemented a new feature or added an extra functionality, create/update unit tests for that feature
  4. Run bin/phing build
  5. If not building successfully, go back to step 1
  6. Add your files to repository: git add .
  7. Commit your files: git commit -m "Implemented feature [x]"
  8. Push your changes: git push
  9. Submit a pull request

Please make sure to make specific contributions when submitting pull requests. For example, if fixing bugs across multiple features of the component, create a branch for each fix, and submit a separate pull request for each fix separately, instead of fixing everything in main, and then just trying to pull your main branch into Joomla-Bible-Study:main.

Translation

The language files periodically need to be updated as the component matures. To submit changes ot add new languages, follow the same procedures as above in order to submit a pull request.

Testing

For every major release, we prefer to have an approximate 2-week testing window. If you would like to help in testing and giving us feedback on the most recent versions of the component, let us know

Reporting Issues and requesting features

Use the Issues section for reporting bugs, or requesting features. Please make sure that when bugs are reported, you include steps to reproduce them.

proclaim's People

Contributors

bcordis avatar dependabot[bot] avatar genu avatar mheiniger avatar st-anton avatar tomfuller2 avatar yipeng-wang avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

proclaim's Issues

div imbalance in sermon view

URL : http://www.joomlabiblestudy.org/forum/25-Bug-Reports/3511-div-imbalance-in-sermon-view/3595.html

Message :

A div is opened in com_biblestudy/site/views/sermon/tmpl/default_header.php but does not appear to be closed in default_footer.php as the comment suggests.

Not sure having the open and close of the div in two files is a good idea. Maybe they should both be in default.php?

I put the div and close in the default.php file and removed the header and footer files.

Show/Hide does not work on Landing Page

Somehow the js wasn't working - ele was null.

I copied old script from version 6 and added it to biblestudy.js and renamed to ReverseDisplay2

It works.

Also changed the way the scripts were accessed.

81f5852

Problem with 700 upgrade file

I'm not sure why this problem occurs but in upgrading someone's 6.22 db the migration failed at the query in update700.php on line 508

$query = "UPDATE #__bsms_templates SET params = '$params2' WHERE id = $result->id LIMIT 1";

The error was as follows:

You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'load', function(){\n\t\t\t\tif($('module-status')!=null && $('module-status').g' at line 1 SQL=UPDATE jos_bsms_templates SET params = (and it goes on from there)

When I commented out the query the migration was successful.

New contact link feature retrieves wrong contact

Posted by : Matt Slingsby

URL : http://www.joomlabiblestudy.org/forum/25-Bug-Reports/3504-new-contact-link-feature-retrieves-wrong-contact/3579.html

Message :

The code to retrieve the Joomla contact details for a teacher uses the JBS teacher ID rather than the Joomla contact ID stored in the teacher table.

$this->contact = $contactmodel->getItem($pk = $item->id);

should be

$this->contact = $contactmodel->getItem($pk = $item->contact);

in site/views/teacher/view.html.php

Landing page - SEF seems to be escaping the single quotes in the language part of the url.

This is continued from the forum.

I have now installed a new vanilla install of Joomla 2.5.7 with zero configuration changes and default template.
http://erhop.org/j25dev2/

Added menu item to landing page

Installed Joomlabiblestudy 7.04
Using phpMyAdmin, exported production 7.04 database content into sql formated file.
Then imported file (with db renamed) into new vanilla joomla database

Tested landing page. Worked fine.

Upgraded to JoomlaBibleStudy 7.1.1
Test landing page. Still getting the / escape characters around the single quotes.

Tested with both Chrome Version 22.0.1229.94 m and IE

Mediafile Frontend edit: Always empty fields

Edit of a mediafile is not possible, because all of the fields are cleared. Only new mediafile can be entered (but save is missing - see other issue)
Note: This does not appear to studies edit.
Needed for 7.1.x

Topics on admin message view do not work

There seems to be a problem with JQuery. I added a declaration to the message/view.html.php to lead JQuery and changed the way the scripts are loaded but still doesn't work.

Error is: ReferenceError: jQuery is not defined
[Break On This Error]

$j(document).ready( function() {

in media/biblestudy/js/biblestudy.js line 1

Date picker returns user to Cpanel

In the admin/message edit view click on the date picker for studydate. Returns user to the JBS Control panel. You can enter a date manually.

Attempt to include com_contacts via url

Matt Slingsby:
In site/views/teacher/view.html.php the com_contacts contact.php file is loaded via a url but my webserver config does not permit this (presumably for security reasons). The following works instead:

require_once (JPATH_ROOT . DIRECTORY_SEPARATOR . 'components' . DIRECTORY_SEPARATOR . 'com_contact' . DIRECTORY_SEPARATOR . 'models' . DIRECTORY_SEPARATOR . 'contact.php');

When upgrading from 7.0.4 to 7.1.0 template does not have new css

I noticed that the css styles weren't showing up when I upgraded the JBS site component. I went into the template and saw that no css had been selected. So the default of going to the backup css didn't kicks in, and the template wasn't upgraded to any css file.

Custom teacher template file not loaded

RL : http://www.joomlabiblestudy.org/forum/25-Bug-Reports/3510-custom-teacher-template-file-not-loaded/3594.html

Message :

In com_biblestudy/site/views/teacher/tmpl/default.php line 15 the get('teachertemplate') is tested with > 0. The > 0 is not required, as we're just testing whether the parameter is set, not its value. My custom file does not load and main is used instead.

Changed line to: } elseif ($this->params->get('teachertemplate') != 0) {

Not Tested

Migration: Access level of series is not set correctly

During migration, the series get the access = 0, but this is not a valid value. Result is, that a study is not displayed, if it is part of a serie. (see models/sermon.php line 189). This may or may not happen because I defined a new access leven (like members of our church and friends of our church), so I have more access levels than the predefined levels.
Suggested solution:

  • Define the default access level to public or registered, like as it is done during migration of studies.
  • Additionally, the admin must be given a hint / forum entry, that something like this may happen, if more than the standard access levels are defined.

Single Teacher Menu item gives error

After making sure the view.html.php file was updated appropriately, I still get this:

Warning: require_once(/components/com_contact/models/contact.php) [function.require-once]: failed to open stream: No such file or directory in /home/tmm/public_html/study/components/com_biblestudy/views/teacher/view.html.php on line 104

Fatal error: require_once() [function.require]: Failed opening required '/components/com_contact/models/contact.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/tmm/public_html/study/components/com_biblestudy/views/teacher/view.html.php on line 104

Filter for language of the study crashes

set up a study with 'all languages', one study for e.g. german language and one study for english language. Enable the filter for language in the template. Have a look at studies list with the filter on.
Result:
Warning: mysqli_num_rows() expects parameter 1 to be mysqli_result, boolean given in ...\libraries\joomla\database\database\mysqli.php on line 263
Notice: Trying to get property of non-object in ...\components\com_biblestudy\views\sermons\view.html.php on line 89
Warning: Invalid argument supplied for foreach() in ...\components\com_biblestudy\views\sermons\view.html.php on line 106
Warning: Invalid argument supplied for foreach() in ...\components\com_biblestudy\views\sermons\view.html.php on line 127
Warning: Invalid argument supplied for foreach() in...\components\com_biblestudy\views\sermons\tmpl\default_main.php on line 141

Responsive Design - All Site Views

Comment from David Roy Slentz:

Would this be a possibility with JBS? More and more people I am working with would like to have the Bible studies quickly accessible in their iPhones...

Internal Media Player doesnt work

  1. What were you trying to do when the bug occurred
    -> Trying to listen to a sermon with internal player.
  2. Site or Admin
    -> Site
  3. What view
    -> sermon detail view
  4. What happened
    -> download link icon appeared, but no player
  5. What did you expect to happen
    -> player shows up
  6. Any ideas on how to fix it!
    in components/com_biblestudy/lib/biblestudy.media.class.php line 485 the template does access height an with variables which does not exist, and there are no proper quotes around the values in html:

$playercode = "

should be

$playercode = "<video height='" . $player->playerheight . "' poster='" . $params->get('popupimage', 'media/com_biblestudy/images/speaker24.png') . "'
width='" . $player->playerwidth . "' id='placeholder'> " . JText::('Get flash') . " " . JText::('to see this player') . "

Single study view: </div> is missing

BS 7.1.2:

In
\components\com_biblestudy\views\sermon\tmpl\default_header.php
an opening < d i v > is present, in
\components\com_biblestudy\views\sermon\tmpl\default_footer.php
there should be a closing < / d i v >

This makes the footer of my template look ugly.

crash of studies list with compatibility_mode on

chrashes with: Notice: Trying to get property of non-object in ...\components\com_biblestudy\lib\biblestudy.pagebuilder.class.php on line 164

Reason is line 152: $download_tmp = $images->getMediaImage($d_image, $media = NULL);
This sets $media to uninitialized, so the object variables cannot be found in line 164

Upgrade for upcoming changes to the MVC

Due to upcoming changes to the MVC implementation in the platform, JModel, JView, and JController are re-used as the names of the new interfaces. For now, use JModelLegacy, JViewLegacy and JControllerLegacy instead.

Alternate and main podcast images not display correctly in sermon view

Reproduce: have a main and alternate podcast, choose to show both main and alternate. Only main shows up - but twice. And the link shown if you choose to show only the alternate podcast is the main podcast link. Also - outside div covers entire screen width but images are flush left, leaving a lot of room.

Undefined property

Undefined property: BiblestudyViewAdmin::$tmp_dest in C:\wamp\www\j25-1\administrator\components\com_biblestudy\views\admin\tmpl\form_backup.php on line 66

This happens in the control panel of 7.1.2

Auto import of duration to media files?

Comment from David Roy Slentz:

Would it be possible to import the duration of the file just like I do with the size of the file? Also add back in the filesize like in JBS 6 - with lookup of filesize

Media compatibility mode give errors

Notice: Trying to get property of non-object in D:\FeG_Internetauftritt\Joomla\Work\xampp\htdocs\joomla25_feg_versuch\components\com_biblestudy\lib\biblestudy.pagebuilder.class.php on line 164

All $media->* variables are invalid in this line.

Topic form will not save

Since the topic edit view is built very differently from the norm, there is probably some strangeness going on.

When trying to save, I get this error in the FireBug error console:

TypeError: form is null
[Break On This Error]

var elements = form.getElements('fieldset').concat(Array.from(form.elements));

Process all content plugins

In prior version of JBS we have only processed content plugins for the OnContentPrepare trigger. Some content plugins use the other triggers like OnBeforeDisplay. So we have refactored the component to process all parts of content plugins for the following lists:

Sermons
Sermon
Teachers
Teacher
Series List
Individual Series

Items that are entered with the editor will have plugins processed as well as scripture references.

Check database assets jumps to another tab

If i click the administrator -> check database assets -> check for the first time, then the next page jumps to another tab - in my case: System player tools. This happens, if I used this other tab before. It seems that there is a 'memory' to remember the last tab.
Reproduce:
administrator -> System Player Tools -> do some change here
change over to -> check database -> check
The former tab ist opened instead of the check results

Podcast with custom episodes format crashes

Notice: Undefined variable: admin_params in ...\components\com_biblestudy\lib\biblestudy.podcast.class.php on line 154

In line 17 an admin_params apears, but as $this->admin_params

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.