CiviCRM Community Forums (archive)

*

News:

Have a question about CiviCRM?
Get it answered quickly at the new
CiviCRM Stack Exchange Q+A site

This forum was archived on 25 November 2017. Learn more.
How to get involved.
What to do if you think you've found a bug.



  • CiviCRM Community Forums (archive) »
  • Discussion »
  • Extensions »
  • CiviVolunteer (Moderators: GinkgoFJG, Michael Z Daryabeygi) »
  • Why am I having problems with CiviVolunteer on Joomla?
Pages: [1]

Author Topic: Why am I having problems with CiviVolunteer on Joomla?  (Read 2837 times)

GinkgoFJG

  • Moderator
  • I post frequently
  • *****
  • Posts: 135
  • Karma: 4
    • Ginkgo Street Labs
Why am I having problems with CiviVolunteer on Joomla?
July 02, 2014, 12:01:03 pm
This question comes up a lot, so I thought it worth putting this at the top of the CiviVolunteer forum.

CiviVolunteer implements a CiviCRM hook (namely, hook_civicrm_permissions) which allows extensions to define new permissions. To allow site admins to determine which classes of users should be allowed to sign up to volunteer, CiviVolunteer defines a new permission called "CiviVolunteer: register to volunteer."

Unfortunately, the Joomla integration with CiviCRM is broken with regard to this hook. Until this is resolved, users who install CiviVolunteer in Joomla environments will receive a warning with text like: Some modules define permissions, but the CMS cannot store them. Additionally, permission to access the volunteer sign-up forms will be denied to all users.

Correcting this problem is outside the scope of CiviVolunteer. I don't spend enough time with Joomla to fix this myself, but if folks were willing to put up a bounty for it, perhaps we could get the attention of a developer with enough of a Joomla background to resolve the issue.
Are you a CiviVolunteer user? Join the CiviVolunteer 2.0 Matching Grant effort to help the project win $15,000 in grant funding.

GinkgoFJG

  • Moderator
  • I post frequently
  • *****
  • Posts: 135
  • Karma: 4
    • Ginkgo Street Labs
Re: Why am I having problems with CiviVolunteer on Joomla?
August 22, 2014, 07:18:37 pm
As this problem has continued to come up, I've decided to do something about it.

It occurred to me that the "register to volunteer" permission that CiviVolunteer adds to CiviCRM is really a bonus feature, not a must-have feature. When the CMS doesn't support it, we should fail gracefully.

Here's a development version of CiviVolunteer that works around the Joomla permissions issue. I tested it on Joomla 3.3.3 with CiviCRM 4.4.6 -- it'd be great to get some Joomla users to test it out, but please don't try this out on your production websites just yet. If it checks out, I'll go ahead and merge it into the project and it'll ship with CiviVolunteer v1.3.2.

The new code (see pull request #201 if you'd like to view the code changes) doesn't solve the problem in the Joomla/CiviCRM integration, but it is a workaround (see VOL-71). The result of these changes is that, on Joomla, admins won't enjoy the same level of permissions granularity as installations on other frameworks, and the public sign-up form will be accessible to everyone. These changes shouldn't affect Drupal and WordPress sites.
Are you a CiviVolunteer user? Join the CiviVolunteer 2.0 Matching Grant effort to help the project win $15,000 in grant funding.

GinkgoFJG

  • Moderator
  • I post frequently
  • *****
  • Posts: 135
  • Karma: 4
    • Ginkgo Street Labs
Re: Why am I having problems with CiviVolunteer on Joomla?
September 18, 2014, 01:16:12 am
This fix went into CiviVolunteer v1.3.2. Read more about the release.
Are you a CiviVolunteer user? Join the CiviVolunteer 2.0 Matching Grant effort to help the project win $15,000 in grant funding.

paco

  • I’m new here
  • *
  • Posts: 21
  • Karma: 0
  • CiviCRM version: 4.4.5
  • CMS version: Joomla 3.3.6
  • MySQL version: 5.5.40-36.1-log
  • PHP version: 5.4.34
Re: Why am I having problems with CiviVolunteer on Joomla?
November 24, 2014, 03:53:03 am
I got this error when I upgraded to new version of Civi volunteer.


GinkgoFJG

  • Moderator
  • I post frequently
  • *****
  • Posts: 135
  • Karma: 4
    • Ginkgo Street Labs
Re: Why am I having problems with CiviVolunteer on Joomla?
November 24, 2014, 06:29:46 am
Paco, please supply your CiviCRM version, the CiviVolunteer version you had prior to upgrading, the CiviVolunteer version you upgraded to, and the Joomla version, and I'll take a look at this when I get a chance. If you need immediate help, please get in touch about paid support.

Thanks,
-Frank
Are you a CiviVolunteer user? Join the CiviVolunteer 2.0 Matching Grant effort to help the project win $15,000 in grant funding.

paco

  • I’m new here
  • *
  • Posts: 21
  • Karma: 0
  • CiviCRM version: 4.4.5
  • CMS version: Joomla 3.3.6
  • MySQL version: 5.5.40-36.1-log
  • PHP version: 5.4.34
Re: Why am I having problems with CiviVolunteer on Joomla?
November 24, 2014, 11:13:23 am
I was upgrading from civivolunteer 1.2? to 1.3.2

Joomla 3.3.6
Civi 4.4.5

When I upgraded to new version is when I got this error message.


irebout

  • I’m new here
  • *
  • Posts: 13
  • Karma: 0
  • CiviCRM version: 4.1.0
  • CMS version: Drupal 7
  • MySQL version: 5.1
  • PHP version: 5.3
Re: Why am I having problems with CiviVolunteer on Joomla?
June 28, 2015, 06:29:36 pm
Is this still having this issue?  I tried it in Joomla 3.4.2 and am running into the same issues yet.

GinkgoFJG

  • Moderator
  • I post frequently
  • *****
  • Posts: 135
  • Karma: 4
    • Ginkgo Street Labs
Re: Why am I having problems with CiviVolunteer on Joomla?
June 29, 2015, 09:42:28 am
Quote from: irebout on June 28, 2015, 06:29:36 pm
Is this still having this issue?  I tried it in Joomla 3.4.2 and am running into the same issues yet.

I'm not sure what you're referring to. Can you please supply more detail?
Are you a CiviVolunteer user? Join the CiviVolunteer 2.0 Matching Grant effort to help the project win $15,000 in grant funding.

enda

  • I’m new here
  • *
  • Posts: 10
  • Karma: 0
    • Chamber of commerce
  • CiviCRM version: 4.6.5
  • CMS version: Joomla 3.4.3
  • MySQL version: 5.6
  • PHP version: 5.5
Re: Why am I having problems with CiviVolunteer on Joomla?
August 03, 2015, 08:38:39 pm
Hi,

I have same problem, I'm using joomla  3.4.3  civicrm 4.6.5. I just Upgrade this morning and failed

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Discussion »
  • Extensions »
  • CiviVolunteer (Moderators: GinkgoFJG, Michael Z Daryabeygi) »
  • Why am I having problems with CiviVolunteer on Joomla?

This forum was archived on 2017-11-26.