What does this civirule error message mean? Not a valid action, action class is missing

It looks like the Send Email action is not present, did you install the Email API extension (https://civicrm.org/extensions/e-mail-api)? This enables the Send Email action.

If you did, can you check if the action is actually in your database? The table is civirule_action.


use of "Dear you" extension when there is no first/last name only email and custom name field

You can use Smarty in greetings handling.  So first - make sure you're using the "Email Greeting" or "Postal Greeting" token instead of the "First Name" etc. tokens.

Then you can do something like this:

{capture assign=ln}{contact.last_name}{/capture}{if $lm ==""}{contact.custom_1}{else}{contact.last_name}{/if}

See this blog post on greetings handling for more detail.

EDIT: This approach won't work if you need accented characters because of how Smarty works.  See https://www.dxsdata.com/2014/05/php-smarty-empties-strings-with-special-characters/ for details.


Wordpress Clean URLs show "Page Not Found"

Please check that you the base page here: https://example.org/wp-admin/admin.php?page=CiviCRM&q=civicrm/admin/setting/uf&reset=1

The value here

Should be an existing published WP Page.

I would then revisit the permalinks page.

That should 'fix' it.


How to enable profiles in Contribution Pages?

Many thanks to quick replies. You were right- I overlooked a plugin. On my site, it was the Ultimate Addon for Visual Composer.

As long as it's disabled, I can see the Profile selector. Once I'm done, I can enable the plugin and not loose functionality on the front of the site.


Quickbooks Merchant Services Payment Processor extension

I am curious if anyone knows if this extension mentioned here: Is the Intuit processor active/functional? is still working now that Quickbooks changed to the Quickbooks Merchant Services.

Any help thoughts would be appreciated.


How can I modify the displayed discount message?

Documentation isn't complete but is available here.  It specifically mentioned control over the location as something that doesn't exist yet.  If you're JavaScipt-savvy, a single line of jQuery will let you move the box wherever you want; a second line will let you control the wording.  I wish there was an answer for non-coders to do what you're asking for.  If this is important to you and you're not a coder, you might be able to fund someone (either the core team or another CiviCRM developer) to add those features.


Creating your own tokens page content gone

At a minimum, here is some information (and example code) pulled from the blog post.

http://wiki.civicrm.org/confluence/display/CRMDOC/Customized+%28and+Custom%29+Tokens

Update: here is a link to the cached  version of the blog post that has the content: http://webcache.googleusercontent.com/search?q=cache%3Ahttps%3A%2F%2Fcivicrm.org%2Fblogs%2Fcolemanw%2Fcreate-your-own-tokens-fun-and-profit&oq=cache%3Ahttps%3A%2F%2Fcivicrm.org%2Fblogs%2Fcolemanw%2Fcreate-your-own-tokens-fun-and-profit&aqs=chrome..69i57j69i58.7385j0j4&client=ms-android-verizon&sourceid=chrome-mobile&ie=UTF-8


How to convert/import participants with partial payments

In the end, this can't be done with a simple import. We must populate all of the following tables:

civicrm_participant
civicrm_line_item
civicrm_contribution
civicrm_participant_payment
civicrm_financial_item
civicrm_financial_trxn
civicrm_entity_financial_trxn

Given that complexity, I created a staging table and brought it all in via SQL scripts.


How do I proceed to make CiviCRM bilingual

Languages options allow you to limit the preferred language for your contacts. It's not related to multilingual setting.

To enable multilingual, you need to go to :

menu Administer -> Localization -> Language, Currency, Locations
go to the latest section "Multiple Languages Support", check the box "Enable Multiple Languages" (this will change the structure of your database so do a backup first) and Save
go to this page again, and you should see a "Add Language" with a dropdown list : choose one and Save

Now you should be in multilingual mode and should see the green/grey buttons where applicable.

Concerning "email greeting", i think you need to enable smarty in this context. Try to add in your civicrm_settings.php (see also https://wiki.civicrm.org/confluence/display/CRMDOC/Smarty+in+mail+templates) :

define( 'CIVICRM_MAIL_SMARTY', 1 );


There is no {elif} in smarty. Use {elseif}.


Does the email address always have to be in the donation section on a Contribution Form?

For contribution forms yes. For event registration pages, the code has been modified to detect if an email address is being recorded in the profile and if so to remove it.

Might be easiest to take a look at the event registration code and see if you can port the relevant code to the contribution side of things


Could this bug be your issue: https://github.com/JMAConsulting/biz.jmaconsulting.mte/issues/93


How do I set the value of external_id to be the same as a custom field?

The Contact.get API will return custom fields if requested:

<?php

$contacts = civicrm_api3('Contact', 'get', array(
  'sequential' => 1,
  'return' => array('custom_32'),
  'options' => array('limit' => 0),
));

foreach ($contacts['values'] as $contact) {
  $res = civicrm_api3('Contact', 'create', array(
    'id' => $contact['id'],
    'external_identifier' => $contact['custom_32'],
  ));
}

You might want more parameters on the Contact.get (eg 'contact_is_deleted' => 0) and some error checking on the Contact.create.  As noted in previous comments, there are restrictions around external id's which the custom field may not comply with.

If there are many contacts, you may need to change 'limit' and do it in chunks.

You can save the above to a file, and use cv to run it:

cv scr /path/to/file


Yes. CiviCRM provides an "html snippet" for every profile form you create. Simply copy and paste this into your remote website and form submissions will be saved back to your CiviCRM database.

For more information see http://docs.civicrm.org/user/en/stable/organising-your-data/profiles/#standalone-forms-with-profiles


Attach invoice to event registration emails even if transaction is not taxed

This sounds like the following bug:

Event or contribution payment invoices are not being attached in confirmation emails, when the tax amount is 0 or evaluates to false.

Fixed in 4.6.5 .


How to connect your household address to its members in civicrm api v3?

You need to provide same set of values to create address for members of the household with additional parameter master_id as Address foreign key id of household contact.

$addressParams = [
  'sequential' => 1,
  'contact_id' => $householdContact['id'],
  'location_type_id' => "Home",
  'is_primary' => 1,
  'street_address' => $form_state['storage']['contactInfoValues']['address1'],
  'supplemental_address_1' => $form_state['storage']['contactInfoValues']['address2'],
  'city' => $form_state['storage']['contactInfoValues']['city'],
  'state_province_id' =>  $form_state['storage']['contactInfoValues']['state'],
  'country_id' => "US",
];
$result = civicrm_api3('Address', 'create', $addressParams);

$addressParams['master_id'] = $result['id'];
$addressParams['contact_id'] = $primaryContact['id'];
$result = civicrm_api3('Address', 'create', $addressParams);

HTH

Pradeep


Auto-register people for events based on membership

You can already do this (manually) by searching for the contacts with a certain membership (advanced search) and then select the action register participants for an event.


How can I set the end date of a membership to be calculated from birth date?

We created an extension that added this functionality.

Edit:
Unfortunately the extension is not publicly available as it is mixed in with a whole collection of custom stuff we needed to do for this client. Also our requirements changed so we were no longer working off birth date but still setting the end date based on a field completed whilst completing the form.

I am not the coder but as far as I can understand we created a function to set end date to the value we then calculated from the field of interest.


How to set ckeditor text with javascript

Use the CKEditor method setData():
CKEDITOR.instances['custom_162_126'].setData('blub');


Portable Directory Path Variables Real-time List

If you click the help icon in the help text at the top of the page, it shows you the current values.


Database in unexpected version (and we have no backup DB)

Ahh did you upgraded to unstable version of CiviCRM? The last stable release i see is 5.4.1. Try replacing the civicrm code base to 5.4.1 and then update the civicrm_domain.version to 5.4.1 and also truncate all cache tables and anything under template_c folder.


How to get a list contacts that have not donated within a certain amount of time?

I would use the CiviRules extension to achieve this. With this extension you can check if contacts in a certain group have not donated for a period of time for example.

You can find the extension here: https://civicrm.org/extensions/civirules (or in your extension list)

Documentation on using this extension can be found here:https://docs.civicrm.org/civirules/en/latest/


Prevent contact from unsubscribing from a mailing list?

Is there a way to prevent a mailing list from being displayed on the Unsubscribe page?

If the Mailing Group is not set to Public then it should not show I believe.


How do I use the CiviCRM "spinner" in an extension?

You can add the class "crm-loading-element" to the element, and then in your ajax success handler remove the class.

If you want the actual CiviCRM logo, you can add both the classes "blockUI blockOverlay" instead, but depending on the field size it may look off. The other one seems to fit better.

If you want the screen to gray out the way some of the popups do, you can do:

CRM.$.blockUI(CRM.$('div.something').addClass('blockUI').addClass('blockOverlay'));

where div.something is just some larger div surrounding your form, but somewhere within div#crm-container, then your ajax success handler remove it with:

CRM.$.unblockUI(CRM.$('div.something').removeClass('blockUI').removeClass('blockOverlay'));


Actually you'll need to start with a CiviCRM Relationships View.

If you start with a view of CiviCRM Cases, you may get bad data if they have multiple open case types with different case managers.

So create a new view of CiviCRM Relationships, then in the advanced section add the Case ID relationship, then add the Contact A (the client) relationship and finally the Contact B (the case manager) relationship.

Add a Display Name field using relationship Contact A, then add another Display Name field using Contact B.

Here are all of the fields I eventually added:


Custom filed that will auto calculate a position number based on date

Sorry - there is no membership wait list concept in CiviCRM. To achieve what you describe here will require custom code -> a CiviCRM extension.


Enable use of do_shortcode when using CiviCRM and WordPress templates

Personally, I don't think loading CiviCRM on all pages regardless of whether there's a shortcode present is a good idea. What you should be able do, however, is something along the lines of:

add_action( 'get_header', 'force_civi_scripts_to_load' );
function force_civi_scripts_to_load() {
  if ( is_page_template( 'your-template.php' ) ) {
    add_action( 'wp_enqueue_scripts', array( civi_wp(), 'front_end_page_load' ), 100 );
  }
}

This should force CiviCRM to load the appropriate scripts when (and only when) the template that your shortcode is located in is loaded. If, however, your shortcode sits in a template part, then you may have to be less specific about when you force CiviCRM's scripts to load.


Can I batch data enter contributions using contact id instead of name?

Without coding? hmmm.

CSV importing might work.
Contributions -> Import Contributions

The CSV can work with the internal ID

You would not have a nice screen with the batch import but only work with Spreadsheet/CSV's and import those.

But.. person responsible for either importing the CSV or doing the batch entry should be able to check if it makes sense what he did. Otherwise you could end up with very strange data due to a small mistake. So my advise is for you to also check your permission policy. Maybe someone else entering the info or give that permission to the church secretary anyway.


You need to write an extension (https://docs.civicrm.org/dev/en/latest/extensions/civix/#generate-module), and you can use the existing provider extensions as a template and change what you need. You can also look at other third party extensions. I wrote one recently (https://lab.civicrm.org/extensions/ringcentral), which has some maybe nonstandard things, but mostly I copied and pasted the overall structure from twilio and clickatell, e.g. https://github.com/civicrm/org.civicrm.sms.twilio/blob/master/org_civicrm_sms_twilio.php


We know that the SWIPE processor has been working for some time (at least a couple of years), but we don't have as many live installs using 4.7 or Wordpress, so do let us know how it works out. We have no reason to believe it won't work.

The key functionality of a card reader, aside from reading the card number off of the card's stripe, is to encrypt it, so your card reader would have to be compatible with one of the two expected encryption methods, which you can review at the function iatsSetCreditCardNumber in the js/swipe.js file. If you have one that isn't currently listed but works, then do let us know so we can update the documentation.

And finally - an unrelated word of warning that there are still some issues with contributions in the core CiviCRM 4.7 code. In general, most of the payment functionality is working well, but for example there was a regression in the latest release related to line items (it's not specific to iATS Payments).


Tutorial for: "CiviCRM Event OG Config (sample)" Module

I think the better solution is via Drupal Rules as per this pretty ancient blog

https://civicrm.org/blog/eileen/foray-rules-module

I know that since then we have rolled up modules for clients that deliver the various integrations along the lines of

if Event has custom field = X then create an OG
if a person with Event participant role Y is added to Event make then the OG Admin
if a person registers for the event then create user (if not already have one) and add them to the OG.


Issues with the Default Email address for bounces - authentication

CiviMail doesn't concatenate the username to the servername, it just takes whatever you provide and tries to connect using those credentials.

But my guess is that the issue is unrelated to the username, since your error message is:

Failed to connect to the server: mail.mbrainingcentrum.com:993.

I'd guess that you've more likely got a firewall issue, or an SSL issue on your server.

You can test by manually trying to connect to your mail server, using e.g.  the instructions here:
https://technet.microsoft.com/en-us/library/aa995718(v=exchg.65).aspx

[As per comment below - another thing to check is that the server is connecting to the correct machine, e.g. if it has a local dns setting that is wrong.]


The civibuild command is designed to run as a regular shell user (e.g. john) -- without root permissions. The source code should all be owned by the shell-user, and the data files should be owned by a mix of www-data/apache/www/john. No files should should be owned by root.

The exact errors have varied (depending on the revision and the commands used), so I generally run a search to identify files with errant permissions, e.g.

## Searching for files owned by root (or not by john)
find ~/.npm/ ~/.composer/ ~/.drush/ ~/buildkit/ -user root
find ~/.npm/ ~/.composer/ ~/.drush/ ~/buildkit/ ! -user $(whoami)
find ~/.npm/ ~/.composer/ ~/.drush/ ~/buildkit/ ! -user john -a ! -user www-data

## Changing owner from root to john
find ~/.npm/ ~/.composer/ ~/.drush/ ~/buildkit/ -user root -exec chown john {} \;

Note that this search covers several folders, including:

The caches generated by various build tools (eg npm, composer, drush)
The caches generated by buildkit (eg ~/buildkit/app/tmp)
The actual build (eg ~/buildkit/build/mybuild)

Additionally, if I've recently run amp config to change the permission policy, fixing the permissions on existing files can be pretty fiddly. I find easiest to delete the old build (e.g. civibuild destroy mybuild or rm -rf ~/buildkit/build/mybuild) and then recreate it.


Views : Syntax error or access violation: 1142 (???)

Based on your comment, I see that each database only provides privileges to their respective user - and it seems implicit that you're using different users for each database.

That means that your Drupal MySQL user doesn't have access to the CiviCRM database.  For Views to work properly, the Drupal user must have permission to run SELECT statements on the CiviCRM database.  From the documentation you linked: "If you have different database users for your CiviCRM and Drupal databases, then you need to grant SELECT access for the Drupal user to all the CiviCRM tables."

Please try granting this access and try again, you should be good to go!


Welcome to CiviCRM

CiviCRM can do all the above listed features and more

But first you need know more about wordpress and CiviCRM - you can do this by palying around in Civicrm wordpress demo site which will give you more idea regarding your need

Demo Link: https://civicrm.org/sandboxes -
http://wpmaster.demo.civicrm.org/wp-login.php

refer: https://civicrm.org/will-civicrm-meet-your-needs

All the best for your CiviCRM Learning

I guess this helps !!!


No Active Recurring Contributions on civi record but stripe has the data. Is there a way to resend IPN?

Yes.  In Stripe, go to Developers menu » Events.  Items with a pending webhook will have an icon next to them as indicated in the screenshot below:

Scroll to the bottom of the page and click "Retry all webhooks".

I'm not sure how long you can retry for - with PayPal it's 30 days, not sure about Stripe.


CiviCRM 4.6 is not compatible with PHP7.2 - you'll either need to upgrade CiviCRM, or downgrade PHP. (CiviCRM 4.6 is quite an old release to install in 2018.)

CiviCRM runs this check when installing (here's the same check in 4.6).

If the server's PHP does not have the appropriate function (mysqli_connect() in recent CiviCRM, compatible with your PHP7.2, and mysql_connect() in CiviCRM 4.6 - suitable for older PHP releases only as it was deprecated in PHP5.5 and removed in PHP7.0), then the installer will bail out saying that you "lack MySQL support in your PHP".

If you want to use CiviCRM 4.6, you'll need to run it with an older version of PHP.

I recommend using a current and supported version of both CiviCRM and PHP instead.

CiviCRM: What version should I get?
PHP: Supported versions
2016 SE question that's similar
2016 CiviCRM blog post about the switch from mysql to mysqli


Mod_security. If you run into this issue, contact your host and have them look at their logs. For some reason, our live site wasn't throwing a mod_security error, but the dev site is. They're whitelisting the issue so that we shouldn't continue to have the problem.


That's a huge question- but the answer is "yes", it's all there, but you need to do your homework. A combination of rules (check out the civi rules extension) tags and smart groups can automate just about anything you'd find in a donor pipeline.


How to search for contacts not in a group through the Search Builder

You could also use the custom search Include/Exclude, which lets you search for contacts who are not member of a group


I just figured it out:

&received_date[BETWEEN][]=2017-12-01&received_date[BETWEEN][]=2017-12-02


The 'Extension Resource URL' under 'Resource URLs' is the web-accessible URL that points to the extensions directory, not the path to that directory on the server's filesystem. The path on the server belongs in 'CiviCRM Extensions Directory' under 'Directories'.

Edit: for the example shown, the 'Extension Resource URL' is 'https://ffnew/sites/default/extensions' for a 'CiviCRM Extensions Directory' of '/var/www/html/prod/drupal/sites/default/extensions'. This will differ if you're not on Drupal.


Embarrassing Offline Recurring Contributions

Advancing next_scheduled_date is one of the last things that happens in this sequence. So if anything goes wrong - a post_contribution hook eg - then the code can not get to the part where the date is advanced.

So look in your ConfigAndLog for clues as to what interfered with the recording/completion of that Contribution in your database.


MyISAM engine error but the DB is all InnoDB

This issue was fixed in CiviCRM 4.7.12 with this commit: https://github.com/civicrm/civicrm-core/commit/2475b5509e9638fa2e9863256348c5415f362b72

Cheers,
Olivier;


Migration from Lexware Vereinsverwaltung to CiviCRM

You could also check with Systopia, who are CiviCRM partners based in Germany: https://systopia.de/


Importing contributions with soft credits fails with spurious email error

This is a bug, covered here on the civibugtracker:

https://issues.civicrm.org/jira/browse/CRM-17163?jql=text%20~%20%22import%20email%20soft%20credit%22


I fixed it. I opened Administer -> System Settings -> Resource URLs.

I then changed CiviCRM Resource URL from [civicrm.root]/ to administrator/components/com_civicrm/civicrm/

I then removed my hack (the symbolic link), refreshed the contribution page and all is well. I also verfied by looking at the source for the contribution page and it show the correct urls for css and jquery now.


Access denied with viewing group contacts

Ah I found an answer in the old forum here https://forum.civicrm.org/index.php?topic=27010.0


Why have menu links to extensions eg DataViz, CiviDiscount, LogViewer now give the civi home page

We know one quick fix is to resave the Directory page civicrm/admin/setting/path?reset=1

(Note: we tested with making a minor change then saving but it may work with just using Save)

Looking for other broken sites so I can next test
 civicrm/admin/setting/updateConfigBackend?reset=1


Completing an abandoned PayPal contribution

There is currently now way to resubmit a pending contribution either from the front or the back end of Civi - it would be best to cancel the pending contribution and contact the donor to request that they resubmit their membership contribution.

Kind regards,
Tamar


First thought: go into the config for your custom fields and check the box that says 'Searchable'!

That will then make that field available in all reports that pull in custom fields on specific entities.

If you still don't see it in the report you want to see it in - then installl Fuzion's Extended Reports extension!


Generalizing create/update validation on form and api

Monish, I think the problem is that if you use the api to change the total amount & don't pass in other amount values the BAO should assume that net_amount has now changed similarly. I thought we had done something in the BAO - but maybe only on new contributions.

I think at the BAO level adding this logic makes sense

if (contributionTotalAmountHasChanged() && empty($params['net_amount')) {
   $fee_amount = !isset($params['fee_amount'] ?
     getFeeAmountFromDB() : $params['fee_amount'];

  $params['net_amount'] = $params['total_amount'] - $fee_amount;
}

Possibly some argy bargy around whether $params['fee_amount'] = '' vs $params['fee_amount'] = 0;

At the form level - if someone changes the total_amount then probably we should either
1) update the other amounts using js or
2) reset them sensibly on submission (e.g like above) & present them with a notice that this has happened.

It's a bit of a pain having to change net_amount & for most users the field is not relevant


What are the most popular extensions for CiviCRM?

Here's the answer - the most popular extensions for CiviCRM ranking numbers are here: https://stats.civicrm.org/?tab=sites


Save/submit button when profile is set to "view"

This is a very non-coder way - I've got no real programming skills, so hacked around a bit - and maybe there are other ways of doing it better...

[civicrm component="profile" gid="yourvalue" mode="view" hijack="0"]

<form id="Edit" class="CRM_Profile_Form_Edit" action="http://yoururl/?page=CiviCRM&amp;q=civicrm/profile/edit" method="post" name="Edit" data-warn-changes="true">

<input name="entryURL" type="hidden" value="http://yoururl/?page=CiviCRM&amp;amp;q=civicrm/profile/edit&amp;amp;" />
<input name="gid" type="hidden" value="yourvalue" />
<input name="_qf_default" type="hidden" value="Edit:next" />

<input id="_qf_Edit_next" accesskey="S" class="crm-form-submit default validate" name="_qf_Edit_next" type="submit" value="Save and complete registration" />

Gives you->


What is the difference between a grey and blue organisation

Sylvia,

Welcome to CiviCRM stackexchange. CiviCRM allows you to create contact sub types under each contact types. When adding new contact sub type the form allows you to define the image url which is used to display against contact. If you ignore this field at the time of saving or have no values than CiviCRM uses default image to show against the contact i.e Grey building. The blue color building is for Organization contact type i.e Organization contact having no sub type.

Hope this clarifies your question

Pradeep


Sort issue with CiviCRM Entity Reference on a Drupal node

When you install Entityreference, you get a Views Display, 'Entityreference'

You can create a Entityreference view, and use that View to choose what the options are for your entityreference field widget.

In this view you can sort, and get your sort order that way.


Effects of hidden groups and multisite mailing

My test so far following artfulrobot's advice was that deleting a hidden group did not effect the normal mailing functionality (unsubscribe/optout/click/open tracking/reports).


Large Text Fields Not Writing in Database

Did you create a large text field or a memo field? And if so did you inspect the logs?

If it is a text field. I assume that mysql has a limit on the column size so probably it is failing because of that error.


Mailing is saved but does not reach recipients

It's maybe not obvious but send immediately for mass mailings means "schedule it now". You need to set up the scheduled job that sends out mass mailings. See https://docs.civicrm.org/user/en/latest/initial-set-up/scheduled-jobs/#job_process_mailing


Contribution page not displaying when member is logged into site

Have you checked the permissions in CiviCRM?

If, say, profiles are set to be viewable only by Guest and are included on that page, then it would only be viewable if not logged in.


Try the case summary report, which might not be visible by default. Go to Administer - CiviReport - Create New Report From Template. Then pick the Case Summary report. Then on the filters tab set your filters.


Are there other types of labels that can be created other than the mailing labels?

I just tested the same against wordpress and civicrm 4.7 demo

Their is an option called Name Badge - I guess that is what you are looking for

Go To Administer -> Communications -> Label Format

Then Add New Labal and give your setting - Sheet Size to envelope #9 (depends)

Once you have created Label format you should see that you have created an name Badge - Now Find contact - select about 50 records and in the actions you will see "Mailing Label - print"

In the next step select your Name badge format and print to PDF - you should get all the address as excepted else change setting

Also look for http://wpmaster.demo.civicrm.org i have created some Examples check before it gets refreshed

Refer to the link for more details
https://book.civicrm.org/user/current/events/event-badges/

If you have any issues please let me know so i will post some screen shots - I guess this helps !!!


Can you prevent invoices from being sent via Pay Later?

If the invoice generation is linked to specific financial types, then in that the case you could create a new financial type which isn't linked to automatic invoice generation.


Cannot add or update a child row: a foreign key constraint fails

It looks like civicrm is trying to record the change as being done with a different id than the contact that is trying to register (381 vs 374)

Are you sure you are properly anonymous? it might be that your site still think you are "someone else" (eg. the contact you deleted?).

Could you try creating a new account from a "clean" computer, or if you can't, try doing it with your computer, but from an anonymous session (each browser has a different way of doing that, in firefox, it's File->New Private window) and see if you experience the same issue?

and if you do, could you temporarily disable the og_sync, to try to narrow down where the problem comes from?

X+


hook civicrm_post not triggering as expected (Joomla)

OK, it was my stupid fault. The function isn't only called when a contact is created - it's called when any event happens (eg cron job). So the important line is the conditional statement (which should be the first line of the function) which decides whether the function should continue. In my case, this conditional line was:

IF ( ($objectName != 'Individual' && $objectName != 'Organization') || $op != 'create') { return; }


Pass parameter in URL to select Other field on contribution page

Other than the issue of the "Other' radio button not being selected, the answer here should work for Other too: https://civicrm.stackexchange.com/a/12977/96


REST API: Unable to decode supplied JSON

I would recommend you to use post instead of get to communicate with the rest api, both because it would allow you to avoid having the keys "in clear" in the get url (and therefore written in the log an so on), but also because you don't have to deal with url encoding of the parameters.

btw, you don't have to put the param in the json most of the time, so you can directly call

https://foo.com/wp-content/plugins/civicrm/civicrm/extern/rest.php?entity=Contact&action=get&api_key=secret1&key=secret2&sequential=1&email=marcin@akcja.pl&json=1


Event Discount Based on Number of Participants Selecting Price Set Option

To my knowledge you have started in the right path and that would be the best way to process priceset - yes BuildAmount hook is used for handling the priceset amount

Also I guess you should have already known about discount module if not please refer to the link below - If this works in anyway

refer -  https://civicrm.org/extensions/cividiscount

All the best - I guess this helps !!!


Case Manager is not shown for closed cases

There is now a fix submitted on GitHub to handle this issue - https://github.com/civicrm/civicrm-core/pull/13144.

This should be a part of the next release, possibly 5.8.9.


Does Contact Editor Extension work with Version 5.6.1?

This happens when the menu link is not registered properly for all extensions. I always have a habit of performing cleanup cache and some times delete template_c and rebuild menu.

In your case as @Tony said after performing cleanup cache the menu should be registered and the extension should work. You can do this by navigating to CiviCRM >> Administer >> System Settings >> Cleanup Caches and Update Paths >> Cleanup caches.


Edit button and allowing some users to edit subtype

What CMS are you using?

In Drupal, an easy way to do this would be to add a Block, shown conditionally by role, containing your css.


Why have all my custom Civi fields stopped showing up in Drupal view?

In most cases this is fixed by running drush cc all. I don't know what the circumstances are that causes the upgrading 'clear caches' to not suffice but this seems to be the fix.

If 'Clear Caches' does not suffice you could also try Structure > Views > Settings > Advanced, Clear Views' cache but I have never needed to do that.


How would one go about creating a workflow for activities?

Assuming you have server permissions to implement this, I think a binary log is the best approach.  Turn on binary logging at Administer menu > System Settings > Misc by setting "Logging" to "Yes".

At this point, you'll have a complete history of who made what changes in a SQL table calledlog_civicrm_activity.  To add a "visible change log" to the activity is a little trickier - you can probably write a custom report pretty easily, but to add the data directly to the activity page, you'd need to create a small extension that injected the data onto the activity.


It can be done navigating to Administer -> Customize Data and Screens -> Search Preferences, the first option is Automatic Wildcards, disable it.

  If enabled, wildcards are automatically added to the beginning AND end of the search term when users search for contacts by Name. EXAMPLE: Searching for 'ada' will return any contact whose name includes those letters - e.g. 'Adams, Janet', 'Nadal, Jorge', etc. If disabled, a wildcard is added to the end of the search term only. EXAMPLE: Searching for 'ada' will return any contact whose last name begins with those letters - e.g. 'Adams, Janet' but NOT 'Nadal, Jorge'. Disabling this feature will speed up search significantly for larger databases, but users must manually enter wildcards ('%' or '_') to the beginning of the search term if they want to find all records which contain those letters. EXAMPLE: '%ada' will return 'Nadal, Jorge'.

Please note: forgot to mention that changing this option will change the behaviour for all contact search forms, not sure if that's what you want to achieve, if it's not, @petednz comment is a very good and better answer


How do I change the font colour in Front facing Joomla Forms

You can add styling in your theme css file to over-ride the default style.


What jurisdiction are you in? Countries typically have their own requirements for issuing Tax Receipts for Eligible Donations.

In CiviCRM the Financial Type determines whether a Contribution of that Financial Type is deductible for income tax purposes or not. A contribution with multiple financial types can then become partially Tax Receiptable -> e.g. Meal$ (not eligible) + Donation$ (eligible).

The non-deductible amount field (hit Edit Contribution to find it) -> is handy if you need to make manual adjustments.

Of course it still depends on the Code you use to generate the Tax Receipts how exactly it processes the line-items and the non-deductible amount field. We do that in our Canadian CDN Tax Receipts Extension.

Hope that helps you along.


Is CiviCRM a 'master database' / 'master system'?

Yes, CiviCRM would be a great match for what you're describing. CiviCRM is a central 'master' information hub that has quite a bit of reach out of the box:

membership data (What Is CiviMember? and the following sections are a good start)
mass emails (which can be integrated with MailChimp via an
extension)
Paypal integration for membership payments, donations and
event sign ups (using Paypal Standard or Pro)
integration into your Wordpress CMS with tiered permissions determining who can see/do what

Using KashFlow for accounting, there may be a little bit of custom work involved for you (or a developer) to customize the CiviCRM CSV export for accounting information (looks like Kashflow has a good bit of CSV instructions on what is needed for their system; without diving into the particulars, hard to say if custom work would be needed).  The default CSV accounting batch export from CiviCRM has a large number of fields: it would be a matter of making sure your Kashflow-needed fields are in that export and potentially removing the unneeded ones.

Personal testimony: prior to using CiviCRM, our organization had a separate contact management system for each department, and none of the systems talked with each other (and manual comparisons between them often resulted in conflicting information).  We have benefited 100x fold from the time and energy put into learning and customizing CiviCRM.  We have one central place, integrated with our website, that keeps all our information current and accessible for staff. I'm so glad we made the choice to introduce CiviCRM into our administrative process.


Here is how to add new user accounts* in the Spark interface (if you don't want to use the URL that Noah provides above).

Step 1: Click the down arrow icon at the upper right of your screen.

This will expose another menu.

Step 2: Click "Manage Users" on that menu.

This will take you to the the screen where you can add new users.

*It might be helpful to review the difference between CiviCRM contacts and user accounts.


How do you create a new custom table tied to case type?

I found a work around for this issue.

For each case type description field, I entered the node id to the corresponding case activity Webform.  For example, for Case Type A there is a separate Add Activity Webform (node id 1).  So for the view I added the case type description field and rewrote it to Add New Activity and made it a link to http://example.com/node/[description]?cid2=[id1].


Can I expose CiviCRM contacts to Drupal Linkit?

Have you tried the CiviCRM Contact Reference Field module?  It ships with Core but needs to be turned on separately.


The DB error looks to be caused by this clause: (civicrm_email.location_type_id != )

I don't know why that is occurring but check anything related to location types.  Are you using flexmailer/Mosaico?  Do you have any extensions installed that relate to mailing or email address locations?


A Drupal solution we implemented recently was to put the survey/rating fields on the participant record, then set up a Scheduled Reminder to send a checksum link to a Webform that holds the fields.

However, I don't think putting the fields on Participant is probably the best solution for capturing data on people who attend but who were registered via a 'buy 5 tickets' type Price Field as we don't actually have the participant record in those cases.


Can I deactivate my CiviCRM WordPress plugin without losing all my data?

Welcome to SE! If you deactivate the CiviCRM plugin the data will still all be in the database and not changed. However, I'd be surprised if CiviCRM slowed anything down if its not being used, so I think you'll have to look elsewhere for your problem.


Enable location "Name" in CiviEvent location configuration?

If you enable the Address Name field globally, it will become available on the Event Location screen.

From Administer CiviCRM → Localization → Address Settings (or browse directly to /civicrm/admin/setting/preferences/address ), check the box for Address Name under the Address Editing section.


I'm not aware of such a feature.

A (somewhat drastic) workaround would be to remove "access CiviCRM" permission from your users during maintenance.

You could probably customize the "access denied" message that WP gives, to be a bit more friendly.


Why am I receiving an ' Unable to retrieve card details from iATS. Error: Invalid Username or Password' Error?

Two thoughts:

1) you have an iATS admin agent code 01 (and possibly more: 02, 03) and iATS agent codes 80, 81 and up for payment processing. Is it possible that the payment processor agent code/passwd that this particular contribution is linked to did have a password edit?

2) does your passwd for the agent code linked to that particular recurring series perhaps have any non-alphanumeric characters in it? Those are not recommended as we have seen them work in some cases but fail in others.


If this is a one off exercise, you can use the advanced search to select all the contacts are in any group (just keep adding all your groups to the group selection box) and create a new group "in any group". Then use the include/exclude custom search to exclude all the contacts on the "in any group" group. Then you can add them to a "not in any group" group.

Actually you could probably do it straight from include/exclude custom search.


How to grant permissions (ACL) when working with nested groups?

I've encountered the same problem - and solved it by implementing a multi-site configuration and installing the Multisite Permissioning extension.

This may not be appropriate for your setting, it may create more trouble than it solves, but in our case it was very helpful.


Send an Email When Tag is Applied - or When Added Automatically to a Smart Group

You should be able to do what you're describing using CiviRules.  However, to be safe, I would start by testing with an action other than sending email - or at least do it on a test server that redirects emails to the logs rather than sending live emails.

Here's a screenshot that shows how to set up what you're describing.  Note the trigger ("Tag added to entity") and linked condition ("Contact has tag").


A few things may cause issues like this.

Webserver cannot make HTTP(s) requests to itself

If CiviCRM / PHP cannot make a request to the CiviCRM site itself, it will be unable to retrieve the dashboard data. This can happen for multiple reasons:

Webserver is behind a proxy and proxy does not permit requests from internal network
Webserver has DNS which won't deliver request to the webserver
Webserver is not permitted to make HTTP requests
Webserver fails SSL negotiation (PHP5.6 requires a valid certificate chain installed, see note below)

Misconfigured base URL / access URL

CiviCRM requires a single configured canonical base URL, and it might be that if this doesn't match the URL you're using then CiviCRM won't handle the dashboard requests correctly. Check that the value defined for CIVICRM_UF_BASEURL in your civicrm.settings.php corresponds to the URL you're using - including both schema (http:// or https://) and hostname (example.org or www.example.org).

Because this can cause various issues, I recommend setting up an automatic redirect to prevent visitors viewing the site via the "wrong" URL (which will appear to work fine, except when it doesn't). See your webserver's documentation for how to do this - I think both Drupal and WordPress .htaccess files contain example rewrite snippets?

PHP5.6 and SSL sites

A few reports are surfacing of the changed default in PHP v5.6 affecting sites ability to connect to themselves (and to CiviCRM.org). In addition to having your SSL certificate correctly installed, PHP requires a correctly installed certificate chain to connect to SSL sites (including the local site). If your CA chain is outdated on the webserver, this may lead to failed dashboard and other issues when communicating with remote sites using SSL (payment processors, CiviCRM.org, and local requests such as dashboard widgets and API over HTTP).


Submit Credit Card Membership (or Event Registration) Not showing in Admin

Looking at your issue: See CRM-15394

David Greenberg added a comment - 30/Sep/14 12:03 PM
The back-office 'Submit Credit Contribution' feature is only available when the site has at least one configured payment processor of the type that allows credit card data to be entered within CiviCRM forms. This includes Paypal Pro, Auth.net and iATS. The link is hidden on the demo because the configured 'Test Processor' does not support this.


Duplicate additional participant created during online payment(event)

If the payment was successfully then the user has to be redirected to thank you page -

I guess you are speaking about -
user manually clicking the back button or cancel button before successful payment - in that case you need to redirect the page to the event start page or just refresh the page again

This is an cache issue

I guess this helps !!!


Profile - Organisation Details but add employee/voluntter

For WordPress you will need to use Caldera Forms to achieve what you are looking to do. Here is a link to the documentation:

https://docs.civicrm.org/user/en/latest/website-integration/integrating-with-wordpress/#caldera-forms-civicrm

Here is a link to the Caldera Forms CiviCRM integration on Git Hub:

https://github.com/mecachisenros/caldera-forms-civicrm

Hope this helps


Can't seem to access Session values in module's API file

You can try

-- Variable to set in CiviCRM session

CRM_Core_Session::singleton()->set('myVariable', 'Yes, I am in current Session');

-- get value of variable from CiviCRM Session

CRM_Core_Session::singleton()->get('myVariable');

HTH
Pradeep


AngularJS issues with Drupal 7 + CiviCRM

As discussed in CRM-16499, the bug involves processing file relative-paths and absolute-paths on Windows. I reproduced the bug with D7 and XAMPP for Windows. There's a pending fix (.patch).

It might get merged before tomorrow's release (4.6.3); otherwise, it'll go out with 4.6.4.

Note: For general advice on how to interpret/evaluate pending patches, see http://wiki.civicrm.org/confluence/display/CRM/Verify+a+patch


Is there any simple way to replicate sections in CiviMail message templates?

At this year's Denver sprint or con, Veda consulting demoed a working extension. The core stuff is supported by the upstream editor itself, so I don't think any smarty hacks were required. That's the limit of my knowledge though — I wasn't there. Hopefully we'll get to see it for 4.7 if not before.

Here is the code:
https://github.com/veda-consulting/uk.co.vedaconsulting.quickbulkemail

It also seems to simplify bulk mailing, but does not appear to be compatible with 4.6.

In 2016, they developed an extension to integrate mosaico.io into civicrm. See more about it here: https://civicrm.org/blogs/parvez/a-new-beginning-for-civimail%E2%80%A6


Can't see Note type custom field in reports

Have you confirmed that your notes field is searchable?  If it is, then the next step would be to check whether there are any ACLs working on that particular custom data set that might be restricting access.

Hope this helps,
Lesley


report mailing date and time have expired

If your cron is not running then there is nothing to 'tell' the Scheduled Jobs (which starts the mailing job) to run.

As a quick fix you should be able to go to your Scheduled Jobs (Admin > System > Scheduled Jobs, or /civicrm/admin/job?reset=1 in Drupal), find the Mailings scheduler job and use 'Execute Now' under the 'More' option - this should cause any overdue Mailings to be sent out.

To set up a cron so that the Jobs run automatically you need to follow the instructions here: https://docs.civicrm.org/sysadmin/en/latest/setup/jobs/

You also need to set any relevant Scheduled Jobs to be 'enabled' (under More)


Why does API get participants return all custom fields together with the specified return field?

This is almost certainly a bug, but unlikely to be fixed in v3.

As Aidan mentioned - there are non-standard APIs in v3, and the Participant API is one of them, along with Contact and EntityTag.


Want to send Testmail for Mailing, but get Error.

Try upgrading to 4.6.3. Several mailing-related bugs were fixed in that release.


Advice for moving from Access to CiviCRM

Export the records from MS Access into a csv file and than import it into CiviCRM using CiviCRM UI import like Contact, Contribution, Membership etc. You map those contact using external identifier for reference.


Go to administer > system settings > components and enable it.


Do you have this one?
https://github.com/mecachisenros/civicrm-wp-rest
Or the old one?
This is the updated one and you need this one to work.
(also check the ext directory for civimobileapi make sure that it doesn't include master or anything else)


Report: Records that have been updated by owner

There is no such report that filters by logged in user and no integration with views as well AFAIK.

If you want detailed change log than you (system has logging enabled) then you can use Extended logging report. And manipulate report parameter like

/civicrm/report/contact/extendedloggingsummary?reset=1&force=1&display_name_value=abc&display_name_op=has

Inbuild report

/civicrm/report/logging/contact/summary?force=1&reset=1&display_name_value=abc&display_name_id_op=has

If you don't have logging enabled than you can use Database log report and build report parameter

/civicrm/report/contact/log?reset=1&force=1&sort_name_value=abc&sort_name_op=has

If you want to support filtering by logged in user in one of the two above report than you add filter using selectWhereClause or alterReportVar hook.

Support to views won't be difficult by writing an module extending to civicrm entity module. If you can extend views module to support change log than you can filter or retrieve various data of the contact.

Thanks

Pradeep


Pre-header text for mosaico mailings shows twice

Basically,  from what I can see in the code ( see Mosaico github issue for details here  https://github.com/voidlabs/mosaico/issues/582 )  preheader is being conditionally shown depending on "Unsubscribe" link behaviour and display logic in template-versafix-1.html have a flow.
One possible workaround is to set Unsubscribe link value to anything but "None" (both "Unsubscribe" and "Profile" would work) and (optionally) delete Unsubscribe link & text from preheader block


Membership Contribution Page for Cash or Check Payment

I presume you are trying both to simplify things for your Finance Administrators and restrict who has direct access to CiviCRM, but I don't think using a front-facing CiviCRM contribution page will accomplish those aims.

If monetary contributions are involved then a front-facing CiviCRM contribution page will need either to have a payment processor specified or to have the "Pay later option" ticked. Once the pay later option is enabled then the email field will be pre-filled when an existing contact is selected.

However, if the pay later option is ticked then the payment is recorded as "pending (pay later)" so the Finance Aministrators will still need direct access to CiviCRM to record the payment.  You also then have a two-step process rather than a one-step process.

It might be easier to use permissions to restrict what Finance Administrators can do in CiviCRM and train them to use a rear-facing form.

And just for completeness for other people looking at this Q&A, at this time CiviCRM pricesets cannot be used with webforms.


/civicrm/civicrm/CRM/Case/BAO/Query.php Reported to Contain Malware by Wordfence

No, this is a false positive.

The line flagging this is:

  $from .= " $side JOIN civicrm_option_value recent_activity_medium ON
  (case_activity.medium_id = recent_activity_medium.value AND
  option_group_activity_medium.id =
  recent_activity_medium.option_group_id ) ";

Suggested courses of action:
1. Get rid of Wordfence.
2. Tell Wordfence about this false positive and request they fix it.


How to increase limits on activity attachments?

Go to configure it in your settings
/civicrm/admin/setting/misc?reset=1


Quick explanation of 'hidden smart groups' and why they're included in my mailing uninvited?

The search needs to persist through your whole mailing process, so it gets treated as a "hidden smart group".  It's silly of CiviCRM not to explain better, but that's the deal.  No mystery hidden people getting added without your knowledge.


This looks like a fairly comprehensive guide to allowing network access to your Wamp sites over a LAN.


In 4.7 CiviCase, why does reassigning a role not delete the old one?

This is a defect. See issue CRM-18698 for details.


What is the root url needed for extension pages?

The URL formula is different for each CMS. The most accurate approach is to open a CiviCRM page and examine its URL. For example, I logged into the public demo sites for v4.5, navigated to "Contributions => Dashboard", and the URL of each page:

WordPress: http://wp45.demo.civicrm.org/wp-admin/admin.php?page=CiviCRM&q=civicrm/contribute&reset=1
Drupal: http://d45.demo.civicrm.org/civicrm/contribute?reset=1
Joomla: http://joomla.demo.civicrm.org/administrator/?option=com_civicrm&task=civicrm/contribute&reset=1

All of these are displaying the same logical page, which is canonically identified as "civicrm/contribute". However, each CMS requires a slightly different prefix to it. You can construct URLs for other pages by swapping the "civicrm/contribute" part. So csvimporter's page (if it were installed) would be:

WordPress: http://wp45.demo.civicrm.org/wp-admin/admin.php?page=CiviCRM&q=civicrm/csvimporter/import&reset=1
Drupal: http://d45.demo.civicrm.org/civicrm/csvimporter/import?reset=1
Joomla: http://joomla.demo.civicrm.org/administrator/?option=com_civicrm&task=civicrm/csvimporter/import&reset=1

It doesn't seem like a good idea to ask an extension-user to figure out this URL by themselves. Instead, the extension should compute the URL and display it. This can be done with CRM_Utils_System::url() -- e.g. "CRM_Utils_System::url('civicrm/csvimporter/import')".


Remove the "-none-" option in Price Set choices?

If you set the price set field to REQUIRED, the -none- option should be suppressed automatically.


Downloads at civicrm.org/download/list stopped working

I just tested and they seem to work now - please try again?


How to display more than 100 as a search result?

In CiviCRM version 4.5+ you can control exactly how many results are shown per page. At the bottom-right corner of the search results, click the up/down arrows to increment the count by 25, or type in whatever number you wish:


How can I export/import contribution pages and event pages from one site to another

It should be possible (but I've not tried it ...) using the API for Event and ContributionPage:
civicrm_api3('Event', 'get', ...) to get them from one system and
civicrm_api3('Event', 'create', ...) on the other.

Take a look at the API explorer on your system (Support >> Developer >> API explorer).

Unless you have loads of them, it might be just as quick doing it manually!


There was a pending/completed issue recently resolved in  v 4.7.12 - link to JIRA ticket is: https://issues.civicrm.org/jira/browse/CRM-18483

Hope this helps,
Tamar


Is there a customized realtor sales and contact management system in civi

CiviCRM can be customized by developers and implementers to suit a wide variety of needs. It may or may not do what you need out of the box, but one of the CiviCRM Partner companies could help you out.

CiviCRM is the best open source CRM going and when used with a CMS like Drupal can be quite extensible and powerful.


Create contact by external form fails (using contact form in wordpress with plugins, civi runs on drupal)

Have you tried the extension for remote forms?
I use it and it has a very nice and clean look (you can customize the css as well if you'd like)
It's not like cf so you can't add random fields but for a basic profile it would work great. https://github.com/progressivetech/net.ourpowerbase.remoteform


Mailing -> New mail results in blank page

RESOLVED:
Answer is in Problem with CiviMail Menu on Joomla 3.4.1 - CiviCRM 4.6.2

Add to civicrm.settings.php
define('CIVICRM_CIVIMAIL_UI_LEGACY', 1);

That fixed it for now as this apparently won't be an option in 4.7


Is automatic new Drupal user to existing CiviCRM contact linking a possible security vulnterability?

It is but isn't specific to civicrm - the problem in that scenario is allowing anonymous signup without either administrator approval or email verification. Set at least the setting in drupal user settings that sends an email to the email on file and then the owner would have to click a link to verify it.


Why is the list of relationships presented when adding an additional role to a case different from those presented when configuring a case?

There is a JIRA issue CRM-16980 which is listed as fixed in 4.7.


How to display the Event Registration Form for public?

You should look at permissions. It seems anonymous users are not allowed to access these custom fields.

You can do this with the drupal permission
"CiviCRM: access all custom data "

Or, if you do not want to let anonymous people access all custom data, then you can use the CiviCRM permission system ACL, which lets you configure more fine grained access to custom fields.

More info: http://book.civicrm.org/user/initial-set-up/permissions-and-access-control/


Is it possible to send an registration email confirmation to 2 recipients?

Create an Alphanumeric Text custom data field (call it CC Email) in a set of custom fields used for Participants.  Note the name of your set of custom fields.

Add your CC Email field to a Profile. This will allow the registrant to specify a CC email when registering for your event.

Find the table that was created in your database for your custom field set. Assuming your civicrm tables have 'civicrm_' as a prefix, it will be named something like civicrm_value_mycustomfields_#.  This table will have a column for your CC Email field.

Override the sendMail() function in CRM/Event/BAO/Event.php:

Find the section of code in the sendMail() function that deals with adding CC and BCC emails:

$sendTemplateParams['cc'] = CRM_Utils_Array::value('cc_confirm', $values['event']);
$sendTemplateParams['bcc'] = CRM_Utils_Array::value('bcc_confirm', $values['event']);

After this code, query to see if there is value in your custom CC Email field for the current Participant and add/append the CC Email address.

$query = 'SELECT my_cc_email_field FROM civicrm_value_mycustomfields_# where entity_id ='.$participantId;
$dao = CRM_Core_DAO::executeQuery($query);
if($dao->fetch()) {
  $ccEmail = $dao->my_cc_email_field;
  if(is_null($sendTemplateParams['cc'])) $sendTemplateParams['cc'] = $ccEmail;
  else $sendTemplateParams['cc'] .= ', '.$ccEmail;
}


404 Not Found Error when running reports

Most common reason I have run into a 404 error when I've moved accounts? File permission issues. Usually there are some files that are attached to the wrong user/group, typically. Your host should be able to look at the logs for you and pinpoint the file(s), directory(ies), etc where the permission errors are happening. I like it if I can get into a chat with them, as I can then run the process, generate the error, and they can see it in the logs.


How do you print a single envelope for a contact?

Create a new envelope PDF format that corresponds to your printer's settings at Administer CiviCRM » Communications » Print Page (PDF) Formats
Create a new mailing template from Mailings menu » Message Templates.  Fill in the template with the appropriate tokens you'd like - and also a return address if applicable.  Select the envelope PDF Format that you just created.
When viewing a contact, press the "Actions" button below their name and select "New PDF Letter", and select the envelope template and print.

This video tutorial covers a similar workflow, but for sending envelopes to a larger group of folks: https://www.youtube.com/watch?v=i00269Y7pB4


After upgrade to 5.6 status still shows 5.4.0

I suppose, never mind... By the morning it started showing everything correctly. Still curious, where this information is coming from - maybe running cron in CRM changed it. I ran cron in Drupal - but probably not in CiviCRM


Is this the desired/typical setup for directories after 4.7?

Yes it appears to simply be using $civicrm_root (from the civicrm.settings.php) to look for these dirs! So as long as you have them in the usual places - this will work.

If you have a dir in a slightly different place or if you give it a different name - then you have to continue to be more specific [either specify exact path or construct it with the path variables]. I must do that for our projects for which we typically name and put the /extensions dir in a different place.


Cases - Send Copy of an Activity, Add Individual Phone and Email

Fatith, As per your requirement this is not straight forward and needs some custom coding or need good knowledge about using smarty api since the created id is stored as source contact id for an activity and data of source contact id is directly not available in smarty or as a token.

Here is possible solution for this

Create token and token values using CiviCRM hooks, then add tokens in message template
Like @demerit said use smarty to get contact details of the person who created the activity. Below snippet should work in your case. You need to add the below code in desired place in message template.

snippet:

{if $contact.activity_id}
  {crmAPI var='activityResult' entity='Activity' action='getsingle' return="source_contact_id" id=$contact.activity_id}
  {crmAPI var='contactResult' entity='Contact' action='getsingle' return="phone,email" id=$activityResult.source_contact_id}

    Phone Number
    {$contactResult.phone}

    Email
    {$contactResult.email}

{/if}

HTH

Pradeep


Why do links in system PCP welcome emails fail?

I think you may have two different issues here.  I left a comment for one.

As for the lack of account signup - go to www.yoursite.org/admin/config/people/accounts (or, if you have standard Drupal menus, Configuration menu > People > Account Settings.  Under Registration and cancellation, Who can register accounts - ensure that the value is set to "Visitors" or "Visitors, but administrator approval is required".  If it's set to "Administrators Only", the account signup won't appear on the profile.


Declaring multiple maintainers for an extension?

The real answer is no :-(

I just recently added two names between the author tags in the info.xml for a new extension - looks ok on Github!

Not sure if the CiviCRM automated listing will choke on it...


The latest version from https://github.com/civicrm/org.civicrm.shoreditch/releases (1.0.0-beta.2) has the fix included for the above problem. Pls upgrade.


Cannot install CiviCRM 4.7.21 on WordPress/Drupal

This issue is corrected in the 4.7.22 release. I was able to do a clen install on a WordPress site.


Is something wrong with the Schedule Reminder auto renewals for membership? I cannot find "Membership End Date" in list.

Those other 'issues' suggest you need to review your Directories and/or Resource URLs under Admin > System Settings.

IN terms of does Membership End Date get offered as an option after choosing Entity = Membership - yes - and here is screenshot from https://dmaster.demo.civicrm.org/civicrm/admin/scheduleReminders?action=add&reset=1 to show what is happening on a fully functioning site.

Hope the above hints help


I implemented an image editor which you can grab here: https://github.com/lcdservices/biz.lcdservices.mosaicoimageeditor
I built it for a specific client and have not yet tested how portable it is in other installations. But at the very least it should get you started.
Actually -- just reviewing it, and the method for storing the image via API is client specific. At some point I'll generalize it so it's useful for the community. It implements: https://github.com/scaleflex/filerobot-image-editor


Fatal error: Call to undefined method CRM_Contribute_Task::taskTitles()

Sudesh,

I am not sure if you are using right CiviCRM version. As I can see on 4.7.31 the function does exists and the line number you pointed in your question i.e 163 is showing me different code.

Please make sure your code base is using 4.7.31 version and since you are using older version of CiviCRM, I would recommend you to upgrade atleast to 5.3.1 because of security issues.


Anyone noticing trailing spaces in name and address fields submitted via profile, webform, event registration etc?

I checked with Dev and recommendation is to handle trailing spaces in the form layer (rather than in the API) -> so to start here is the fix for D7WFC -> https://github.com/colemanw/webform_civicrm/pull/319
If you see more of these in future -> let me know and we'll track down the next form entry point e.g. profiles.


You can update the profile that is being used for registration by changing the weight of the field or using top/bottom arrows to change the order how they appear.

Navigate to Administer >> Customize Data and screens >> Profiles

Check the profile used for Drupal Registration and then click on the fields link besides it

Use the arrow button to change the order of the field.

You can also change the weight of the field by clicking on edit link of the field and then changing the order.

HTH

Pradeep


Your error message has a path with the word "live" in it (/nas/content/live/etc) which suggests that the civicrm_root value hasn't been changed on the test site.

civicrm.settings.php is the equivalent of wp-config.php - you need a separate version of this file for your live and test sites.  Please review your test site's civicrm.settings.php - not just to fix the civicrm_root but also the database settings, base URL, etc.


Could you replicate on d46.demo.civicrm.org and then file a bug report at issues.civicrm.org? Thanks.


CiviCRM could certainly do this, but out of the box, the "maintain your own private contact/donation records" wouldn't scale well.  You'd either use ACL permissions or you use multi-site, which feels like overkill.  I've used both approaches with a handful of segments (12-14 segments, with 1-2 users able to see each segment).

If you wanted to scale well past that, I would write a custom extension to handle your scenario.  I would probably use a "contact reference" field to link contacts to a group of contact owners, then use a permission hook to limit access to folks who have that user as their contact reference.  You could also use groups instead of contact references, which would let a contact have multiple owners.

As for hooking into an "existing" set, you'd need to import the data.  CiviCRM isn't going to be the right tool if the data exclusively lives elsewhere.


Why can't Smart Groups be assigned the Access Control group type?

According to a 2007 forum post by Donald Lobo (a CiviCRM founder): For efficiency purposes the acl role needs to be assigned to a static group.

Perhaps the CiviRules Extension will allow you to add your users to a static group(?)


Yep, there is a typo in there. Fixed in the latest master : https://github.com/CiviCooP/org.civicoop.emailapi.


It used to be the logged in user but I guess some people didn't want that and it was changed in https://issues.civicrm.org/jira/browse/CRM-20308

So it now uses the order listed there:

The Reported by Contact's email address
System Default From Address
Default Organization Contact email address
Logged in user

Personally I think logged in user makes more sense, and you could have privacy and also antispam problems with the Reported By address if it's not the org's domain.

It looks like there was a setting added to allow the old behavior, but it's not clear how it's supposed to work. It looks like to prevent using the Reported By contact you would uncheck the setting "Allow Mail to be sent from logged in contact's email address" found at Administer->system settings->Outbound Email, except then it would always return the system/org-wide email address.
https://github.com/civicrm/civicrm-core/commit/4c981f371a6602cdfcda525895e0d0c40e9294d9#diff-be8afcc653a18926aabd2b40be8469f9

If you want a quick hack, try changing line 1407 in CRM/Case/BAO/Case.php from:

$receiptFrom = self::getReceiptFrom($activityId);

to

list($receiptUserName, $receiptUserEmail) = CRM_Contact_BAO_Contact_Location::getEmailDetails($userID);
$receiptFrom = "$receiptUserName <$receiptUserEmail>";


Wordfence is blocking you from sending mails with JS and CSS.
Some requests contain data that may match patterns the firewall Wordfence uses to detect attacks.
Go to your Wordfence extension menu in "All Options".
In this page go to the Basic FireWall Options part and activate the "Learning Mode".
Verify in the Advanced FireWall Options that all the rules are activated.
Add your request in Allowlisted Urls.
Don't forget to Save changes when you are done.


CiviCRM needs to be hosted on a webserver that meets the proper hosting specs. See http://book.civicrm.org/user/getting-prepared/hosting/

Technically you could host it on your own computer, this would not be practical for an organization.

I believe that your CiviCRM installation should be hosted where your website is hosted.

Depending on the size of your database (how many contacts) and which features of CiviCRM you would be using (civimail, civicase, civicontribute etc...) the current hosting for you website might not be adequate.  For example, many commodity hosting companies that offer shared hosting cannot really support CiviCRM.

Your best bet for learning about hot to setup civicrm is on the wiki, or in the book http://book.civicrm.org/user/initial-set-up/installation-and-basic-setup/

If you have never installed a web application on a server, though, I would urge you to speak with the vendor who built/supports your website, or the company that hosts it, or find a vendor that specializes in CiviCRM.  Installing CiviCRM is not like installing an app on your phone or computer.


What are all the possible variable fields available in greetings (Email and Postal)?

You can see a list of the tokens when creating a mail message (e.g. with mailings > New Mailings). You will see a drop down for the tokens in the top right of the mail body. If you select one you'll see the full token in the message body which you can then use in the greeting format.


Payment processing error after migrating to a new server

Seems your new hosting environment doesn't have SoapClient enabled in their PHP.

Check phpinfo() output to verify this.

You may be able to enable this yourself or you may need to request it from your new hosting provider - if you have control of your PHP settings you can do this in php.ini, or talk to your provider to have them do it.

See also https://stackoverflow.com/questions/11391442/fatal-error-class-soapclient-not-found


CRM/Core/Config.php line 41 throwing 500 error with new require_once api/api.php

First, let the record show that I am an idiot.

After uploading 4.7.23 (the new version) to /wp-content/plugins, I neglected to copy the pre-existing civicrm.config.php into /wp-content/plugins/civicrm4.7.23/civicrm ... thereby depriving the system of (at very least) a working value for $civicrm_root.

It was suggested to me that my civicrm.config.php was probably off, and I checked it just to make sure the $civicrm_root value made sense. The value was good, but the file I was checking was located outside of the plugins directory -- this was a clue, and I missed it. As I said, I'm an idiot.

Of course, once I copied the old civicrm.config.php into the new /wp-content/plugins/civicrm/civicrm, everything worked perfectly. Except for CRON jobs, of course -- but that's another matter.


Profile disabled/not configured CiviEvent error

Following my comment, you get this error when you don't have necessary permissions of the profiles for anonymous users.

Required Permission -  profile listings and forms

register for events permission is needed if you get Access Denied on Event registration page.

More info on Civi Permissions:

http://wiki.civicrm.org/confluence/display/CRMDOC/Default+Permissions+and+Roles

http://wiki.civicrm.org/confluence/display/CRMDOC/Linking+Profiles#LinkingProfiles-PermissionsforProfiles(DrupalOnly)


How to attach a .pdf certificate to an email?

How about saving yet more steps and make it a self-service: i.e. allowing Members to download their own PDF Certificate? I've detailed all the steps on how to do that with Drupal Views in this post:
How can Members download their own Membership Certificate/Card?


civicrm dashboard menu does not work in Joomla

You are right that it should work out-of-the box. This might not be the full solution, but your error is showing that the URLs are missing /administrator (that is, /joomla/components/com_civicrm/civicrm should be /joomla/administrator/components/com_civicrm/civicrm) so I think you are affected by this issue: https://lab.civicrm.org/dev/joomla/issues/5

Try changing 'CiviCRM Resource URL' (in Administer > System Settings > Resource URLs) from [civicrm.root] to administrator/components/com_civicrm/civicrm/.

I suspect there will still be something else to solve but try that to begin with.


End-user fillout form dropdown instead of checkbox for Group(s)

I found a solution. Not sure if it's the best way, but it works. I use a script and put the checkboxes inside a table with the  using the class called in the script:

<td class="example">
<input type="hidden" name="group[11]" value="" />
<input class="example"  skiplabel="1" id="group_11" name="group[11]" type="checkbox" value="1" />
Utility Advocate
</td>
</tr>
</table>

<script>
jQuery(":checkbox").on('click',function(){if(jQuery(this).is(':checked')){jQuery('td.example :checkbox').prop("checked",false);jQuery(this).prop("checked",true);}});
</script>

If anyone has a more elegant solution, please, I would love it hear it. : )


Set up Contribution page to only accept recurring contributions?

Black Fly Solutions has an extension called ca.civicrm.contribution_recur that enhances recurring contributions.  One option it adds is to force recurring payments, which should meet your first need.

The contribution widget only shows total contributions, not total of recurring contributions.  To show that you'd need a bit of custom work.


What is the installation canary?

The civicrm_install_canary is fundamentally a test to see how well we control/understand the installation process. It's part of a bigger topic, so bear with me in giving the context.

The crux of the CiviCRM installation process has traditionally been two steps:

Copy a config template and edit it (civicrm.settings.php.tpl => civicrm.settings.php).
Load a SQL file into the database (civicrm.mysql and either civicrm_data.mysql or civicrm_generated.mysql).

When you use tools like sites/all/modules/civicrm/install/index.php or the Joomla installer or setup.sh or civibuild or provision_civicrm, these are basically all wrappers which do those two steps (plus random-other-things).

There are several installation-related things which aren't addressed by those two standardized steps, leading to some pain-points, e.g.

System requirements are not enforced or communicated consistently across installers.
If you install from git (instead of .tar.gz or .zip), then you need to run extra commands (GenCode).
You cannot automatically activate CiviCRM extensions during installation.
SQL triggers are generated using PHP logic. (The triggers should be generated during installation... and also when setting up custom-data or extensions...)
If you want to use a different language, then you need to load localized .mysql files. The pre-generation process for this slows down developmental builds and produces slightly stale translations for users.
PHP's MySQL API's have become a bit hostile to pre-generating SQL files.

For a long time, changing this was blocked because we simply didn't have a reliable way to add PHP logic during all installations... until someone proposed that we could do a bit of install logic during the first page-request. Sometime (maybe 4.7.0?) we introduced SystemInstallEvent.

Originally, the only thing SystemInstallEvent did was prove its own validity. The event should fire exactly once. If it fires a second time, then that's an error. Specifically, the SystemInstallEvent triggers the InstallationCanary which creates the table civicrm_install_canary (and failing if it already exists).

Eventually, we added DatabaseInitializer which also listens for SystemInstallEvent. During the first page-request, it runs the System.flush to ensure that triggers, caches, etal are current.

  Does it mean that the installation has been failed irreparable, and that the backup must be restored.

The system is probably OK. If you're getting an error, here are a few things to know:

On a new system (before the first page-view), the expected pre-condition is that the setting installed is untrue/undefined. The table civicrm_install_canary does not exist.
On an active system (after the first page-view), the expected post-condition is that the setting installed is true. The table civicrm_install_canary does exist.
If your system satisfies either pre-condition or post-condition, then it should be fine. You only get an error from a mix.
You might want to do a system flush and enable triggers, e.g.

Using Drupal website: http://mysite.example.com/civicrm/clearcache?triggerRebuild=1
Using drush CLI: drush cvapi system.flush triggers=1
Using cv CLI: cv api system.flush triggers=1


How can I allow an anonymous user to generate an email to themself?

Someone else may have a simpler answer, but here's how I would do it:

Install the extensions "CiviRules" and "Email API".
Create a group called "Requested Data Update Email".
Create an email template with whatever you want, including the checksum.
Create a rule that when someone is added to the new group, they receive the email you just created.
Create a profile (or a Caldera form, if you prefer) that requests email, and any other info you like.  Configure the profile so that submissions add the person to the new group.
Optionally, add a second action to your rule to remove the person from the group, depending on whether you want them to be able to request the email multiple times or not.


Membership contribution page won't load in Chrome browser

I solved this by making the site's home page secure https. There seems to be a glitch when Chrome goes from an http page to https, at least on our site.


How do I set up dev environment with buildkit?

As Kurund pointed out, the general instructions are at https://github.com/civicrm/civicrm-buildkit . Follow those instructions to download the all the tools.

There are a few details that may not be well represented yet in the documentation:

As the main developer behind buildkit, I use it mostly in MAMP (and a bit in Debian and Ubuntu).
Buildkit runs several things on the command-line, so you need to make sure that the command-line is setup with the right version of php. By default, OSX uses its built-in version of php, but MAMP's version is generally better. See: http://wiki.civicrm.org/confluence/display/CRMDOC/Setup+Command-Line+PHP
I suggest putting buildkit in your home directory (e.g., git clone https://github.com/civicrm/civicrm-buildkit.git ~/buildkit). This is where all the tools will go. The source-code for CMS+Civi may go somewhere else (more in a moment).
After downloading buildkit, you'll need to setup a site with Civi. You can choose among two distinct workflows:

gitify: You install CMS+Civi manually and then run gitify to load the bleeding-edge Civi code.

Where: You can put the code anywhere. In MAMP, /Applications/MAMP/htdocs is probably easiest.
Pro: You can use any tools or processes you want to setup Apache, MySQL, CMS, etc.
Pro: Your configuration is custom. You control everything directly.
Con: Your configuration is custom. It's hard for other developers to reproduce, and it doesn't match the official test/demo environments.
Con: If you need to create multiple sites, you have to do all setup work repeatedly.
Con: If you want to work with the automated tests or schema, then you'll need to do several extra configuration steps.
Summary: gitify is generally best for light development with a single build.
Next step: Setup Apache+MySQL as you normally would. Install a CMS (Drupal/WordPress) and CiviCRM using tarballs or zip files. Then, run gitify with no arguments. It will display a help screen with some examples.

civibuild: You run a command like civibuild create d46 --url http://d46.localhost; the command automatically configures Apache+MySQL, downloads Drupal, downloads Civi v4.6, and installs them.

Where: All builds will get placed under  buildkit's folder. For example, the "d46" build might be ~/buildkit/build/d46.
Pro: Setting up new sites is automated. It's easy to create several different sites using a mix of CMS's and versions.
Pro: Your configuration is standardized. It matches the official test/demo environments.
Pro: Each site is automatically configured to run the automated tests.
Con: Your configuration is standardized. Loading things to match your personal preferences requires more work.
Con: The upfront configuration can be difficult/unforgiving - buildkit needs access to the internals of Apache and MySQL. Generally, it's based on a philosophy of "fail early, fail hard".
Summary: civibuild is generally best for heavy development.
Next step: See the detailed tutorials at https://github.com/civicrm/civicrm-buildkit/blob/master/doc/civibuild.md or https://buildkit-ui.civicrm.org/#/welcome .

If you go the civibuild route, then will need to prep the system by running amp config, which will present some questions and instructions for the local system. In a default MAMP configuration, some good values are:

db_type: mysql_dsn
mysql_dsn: mysql://root:root@127.0.0.1:8889 (or sometimes :3306)
perm_type: osxAcl (or none)
perm_user: www
hosts_type: file
httpd_type: apache
httpd_restart_command: /Applications/MAMP/Library/bin/apachectl graceful

In any workflow, buildkit has better support for Drupal- or WordPress-based dev-sites. There's some experimental code to support Joomla-based dev-sites, but the Civi-Joomla installer is difficult to automate, and it probably won't be resolved until http://forum.civicrm.org/index.php/topic,35050.0.html gets some real attention.


Custom fields not displaying properly after 4.7.0 upgrade

PR submitted here resolves the issue encountered https://github.com/civicrm/civicrm-core/pull/7720


Copy old WAMP directory to new installation of WAMP

You need to change the root directory that WAMP is using for the website:

For wamp 2.5 on Windows, use a text editor, e.g. notepad++ to edit c:\wamp\bin\apache\apache2.4.9\conf\httpd.conf

Change DocumentRoot "c:/wamp/www" to DocumentRoot "c:/my/new/path" (Note slash direction). This will change the location where files are served from (~Line 230).
Change  to  (Note slash direction). This applies permissions from the old directory to the new one (~Line 252).
Copy all content from c:\wamp\www to your new directory (c:\my\new\path), including index.php
Edit c:\my\new\path\index.php and change line 40 $server_dir = "../"; to $server_dir = "C:/wamp/"; This changes the location where config files etc. for wamp are read from. Change $suppress_localhost = false; to correct projects links (~Line 30).

I pulled this from this post: https://webmasters.stackexchange.com/questions/43522/how-to-change-the-www-root-directory-on-wampserver


Custom fields in webform membership renewal

Pinto Vasa, Welcome to CiviCRm SE. Yes its possible to include any CiviCRM custom fields on webform which is available under their respective tab of CiviCRM webform config setting. Those fields will be pre-populated on webform based on logged in user details, will be empty if its a anonymous submission or new submission if logged in. The webform can be used to populate details of specific contact by passing contact id (and checksum if the user doesn't have sufficient permission eg anonymous user or minimal permission authenticated user).

eg http://example.org/renewmembership?cid=202&cs=9f4a2e5d4d57567b6ba4468750ac128d_1585225559_168


That hook is intended for overriding the effects of the membership status rules ('Current', 'Grace', 'Expired' etc).
If you want to take action based on membership changes, try CiviRules


Find Contacts who are in one and only one group?

Since sql is probably your best bet, the sql is pretty straight forward.

SELECT c.display_name,
       g.name,
       count(*)
FROM   civicrm_group_contact gc,
       civicrm_contact c,
       civicrm_group g
where  gc.contact_id = c.id
and    gc.group_id = g.id
and    gc.status = 'Added'
group by 1
having count(*) = 1


civirules extension -- send an email, SMS or PDF actions not available

Those come in separate extensions. You'll need to install these:

https://github.com/CiviCooP/org.civicoop.smsapi / https://civicrm.org/extensions/sms-api
https://github.com/CiviCooP/org.civicoop.pdfapi / https://civicrm.org/extensions/pdf-creation-api
https://github.com/CiviCooP/org.civicoop.emailapi / https://civicrm.org/extensions/e-mail-api


How to register participant for all repeating/recurring events - CiviCRM 4.6

At the moment recurring events don't support registering a participant onto all/some occurrences through the registration process. Its a feature thats been requested a few times and we're looking for funding to make it happen. Please get in touch if your interested.


I use Tableau to enhance the reporting possibilities of CiviCRM.

Tableau can connect to many different data sources. I use a SQL connection to this, and this gives me full access to all the data tables in CiviCRM. I can then use Tableau to make interesting connections between different tables in an easy way.

I have not explored API connection, but I think that would be just as possible as SQL connection.


When you create the Custom Field Set for contacts*, you can check the box that says "Does this Custom Field Set allow multiple records?":

From the book:

  Multiple record fieldsets

  By default custom data sets have a 'one-to-one' relationship to the
  entity they are attached to. For example, one field set for a person's
  physical attributes which contains one field for their height and one
  for their eye colour will be attached to one individual record. This
  makes sense because we only ever need to record one eye colour and one
  height for each person.  However, in certain circumstances, we want to
  record multiple custom field sets for a single contact, for example,
  when recording a person's educational history. In this case, a single
  person may have multiple educational degrees, so a custom field set
  about educational history, which contains fields for subject,
  institution, and grade, should allow multiple records, and this is
  what multiple record fieldsets allow.

  You can only add multiple record field sets to contacts - you can't
  add them to other entities. To use this option, select the "Does this
  Custom Field Set allow multiple records?" option. A few things to bear
  in mind when creating mutiple record custom field sets:

  Multiple data applies to the whole field set, not to individual fields.
  Multiple data be can only be added to Contacts. It cannot be added to Activities, or Contributions, etc.
  Mutiple data cannot currently be exported
  Before deciding to model something as a multiple value custom field set, you may wish to consider whether it could or should be modelled
  as an activity. For example, an educational degree could be an
  activity with custom data added.


Unrecognized database version from 4.6.16 to 4.7.7

Error found: I downloaded the correct 4.7.7 to my computer, but then uploaded 4.6.7 to the server by mistake and ran that installation. Thanks @davejenx for noticing this.


Fatal error when accessing Civicrm administrator page

You have two options for troubleshooting:

Debug and backtrace info should also be in your CiviCRM logs, stored in the ConfigAndLog directory.
You can enable debug and backtrace by adding these three lines to civicrm.settings.php:

global $civicrm_settings;
$civicrm_setting['Developer Preferences']['debug_enabled'] = TRUE;
$civicrm_setting['Developer Preferences']['backtrace'] = TRUE;


How to get rid of past events in the Event field lising (Select Box) on New Event Registration page Page

Don't think there is a setting in the UI to do this. The event is basically added to the input widget using the getlist api of Event entity. Adding the following param to the same should be able to list only upcoming events in the input field.

'params' => array('start_date' => array('>' => "now")),

You should be able to do this via an extension. Or if you want to see the param buildup in core, it is present in Event/Form/Participant.php

Extending the above array to include our param should remove the past events.

$eventFieldParams['api']['params']['start_date'] = array('>' => "now");

Note that changes made to core would be lost after an upgrade, so it is better to override this file in an extension OR see if any hook can help you in attaining this.


How does the Sympa integration deal with unsubscribes

CiviCRM-Sympa Syncronization includes unsubscription pages (it was introduced with this commit). On « sympasync » configuration page (https://example.org/civicrm/a/#/sympa/admin), you’ll find the URL that can be added to your list’s footer. URL will look like https://example.org/civicrm/sympa/unsubscribe?gid=1.

Problem is that you can’t override the default unsubscription mechanism in Sympa, so you’ll need to disable the ability for users to unsubscribe in your list configuration (to force them to use sympasync’s link). If you let Sympa’s default mechanism, people will be able to unsubscribe (and it will be effective), but information won’t be pushed back to CiviCRM.

So by adding the unsubscription link at the end of each mail sent on your Sympa mailing list and by disabling the ability to unsubscribe in your list configuration, you’ll get what you want.


Sharing data betweeen Multiple Databases

Don't think there is any existing solution for this.

Though it should be possible by building an extension on your main site and pushing the data to the child sites everytime an entity is created/updated.

For eg, Create separate groups for each child sites, eg ChildA, ChildB and ChildC.

while creating a contact if Group A is selected, this contact will be pushed to the first child site.

We have done similar implementation for one of our client but it needs some pre-requisite information to be stored in the ext files, eg site key, API key, etc.

If interested to check our ext, get in touch at jitendra@fuzion.co.nz.


State dropdown empty on form with Drupal webform integration

Usually when a javascript element fails to work on your page, it's caused by a general javascript failure on your website. This can be caused by incompatible plugins or themes, etc. So the problem may have nothing to do with the state/province field or webform-civicrm; if Javascript has crashed, then it can't run. To narrow down the problem, open up the console in your webbrowser (F12) and look for any error messages. If the error message contains the name of a plugin, try disabling it. Or take a screenshot of the error and add it to your question.


Membership Renewal from CiviCRM user dashboard error

This extension may sort out part of your problem - Disabled Page Redirect


Welcome to the world of CiviCRM!  A few things to note:

Joomla 3.8 changed the location of some files, breaking CiviCRM on Joomla.  Some of these problems were fixed in CiviCRM 4.7.27, which was released yesterday.  The other bugs were fixed, but not in time to make the testing phase for Civi 4.7.27.  They'll be in Civi 4.7.28, releasing December 6, 2017.  If you feel comfortable applying patches manually, see CRM-21203 and CRM-21208.  Otherwise, you need to wait for the new release.
Like Joomla, CiviCRM doesn't set up cron on its own - you must set it up yourself.  However, scheduled jobs tend to be more important in CiviCRM (e.g. you can't send out a mass mailing without cron, or auto-update membership statuses). Instructions to set up cron vary widely depending on your host - if you have direct access to cron, you can use the instructions on this page: https://docs.civicrm.org/sysadmin/en/latest/setup/jobs/.  If you use CPanel, WHM, AlternC, etc., you can set up cron through the control panel.

Note that the cron instructions are a bit messy, and have been rewritten, but the rewrite hasn't been fully edited yet.


iCal feed doesn't work: lots of public events, but "None found"

First I'd confirm that the functionality works on another site. You can use a demo site for this, or you can check Google for inurl:civicrm/event/ical

OK, so it works for some people! Next check might be to find out if the WordPress path works (inurl:civicrm/?page=CiviCRM&q=civicrm%2Fevent%2Fical perhaps? IDK if Google / other search engines support checking for pages with specific query params though, as CiviCRM uses here.)

The next place I'd look would be what generates the iCal feed. Is it coming from an extension or core CiviCRM? Your question didn't say this for sure, so a search for "civicrm/event/ical" on the Git repo will reveal a menu XML entry if it's a core thing. (If not we'd go looking for the relevant extension.)

By searching the civicrm/civicrm-core repo I found that this is core functionality, because the path you're trying to understand has a menu.xml entry which shows up in the results.

https://github.com/civicrm/civicrm-core/blob/f6a3ccdf71f0127ca41b55c124b29915a0827e59/CRM/Event/xml/Menu/Event.xml

Looking at that we can see:

the permission checked for will be "view event info"
the page callback class is CRM_Event_Page_ICalendar

So you could perhaps add some debug code to that class (start at the run() method), and see if this method gets called when a visitor hits your iCal feed.

https://github.com/civicrm/civicrm-core/blob/8b9a8f4abb25cfa7a498eaaa3e459e4d313e350a/CRM/Event/Page/ICalendar.php

There's also an open issue on CiviCRM's Gitlab, dev/wordpress#25. That's worth subscribing to, even though the description is different to yours ... the fact that both affected sites are WordPress may be significant.

Where you'd go from there depends on what you find so far, but your question was "where do I look next", so here you go! Good luck :)


How to allow online renewals for memberships created in the backend?

You have to modify the contribution so that the system knows which online page needs to be used for renewal. Steps:

Add the membership & payment (must add a payment, $0 works)

Edit the payment - In the Additional details section, choose the appropriate Online contribution page


CiviEvent - if registration date is is in the past, shouldn't be Online registration enabled?

The checkbox that states "online registration is enabled" acts like a switch to enable online registration and allow you to configure the online registration parameters under the tab. If you uncheck this the fields will be hidden and online registration will be disabled.

The date fields set the start and end date that the online registration forms are available to visitors. This allows you to open and close registration at specific times automatically.

This all controls the public registration. nothing on this screen effects back end registrations.

Hope this helps.


I had the same issue.  After updating to 5.34.0, this issue was fixed for me.


how can I filter the list for address > "country" field in "new individual"

Welcome to CiviCRM SE, Could you please tell why you want to add 'is_active' field to country table? Can't you just disable the countries from appearing in drop down(or include only countries that you need in your system) from CiviCRM >> Administer >> Localization >> Languages, Currency, Locations?


It might be worth checking your browser console (right-click, inspect, console in Chrome) to see if the Google Maps API is returning a useful error / message when loading the event page.


Can you send an immediate thank you to a recurring donation?

Alternatively you can use Civirules to send an automated email: https://docs.civicrm.org/civirules/en/latest/


As a client that uses Jmanage, you are entitled to post these types of questions by emailing support@jvillagenetwork.com - I have created a support ticket on your behalf for which you should have received notification to your email. A support rep will respond just as soon as possible.

Kind regards,
Tamar


Unable to configure CiviCRM on Wordpress

Turns out that the hosting service has PHP 5.2.17 installed and this version of CiviCRM requires 5.3


Custom CRM/Mailing/Info.php causes WSOD when installing extensions

There are a few files across the system that cannot be over-ridden via the custom php directory. This is primarily because these files are included during the bootstrap process.

I dont think anyone has documented which files or tried to minimize the number of files that can be overridden. I suspect all component Info.php files fall in  this bucket and hence you get the above error

Curious as to what custom code you are adding to the Info.php file


Sport Association - Listing organization?

As Demerit says, you can configure CiviCRM profiles to make search listings.

People are working on Wordpress Plugins to create views of CiviCRM data
https://civicrm.org/blog/justinfreeman/show-civicrm-content-quickly-easily-in-wordpress-using-content-views

So I guess the short answer is, yes you can. But it takes a little thought/ planning/ configuration.


I'm not running Civi on EC2 but I am running other things on it and I can assure you it behaves just like any Linux server.

Personally I prefer Ubuntu to AWS Linux (it's one of the choices) - but Civi will run on either. I just like to use ubuntu because it's familiar and better documented. I use Apache web server (which you have to install using "apt-get") but you can use other web servers if you prefer.

My instance type seems to be "t2.micro" but I suspect it's the default - I don't know what it means, so I won't have picked it on purpose.

Takeaway message - no specific settings are needed for Civi over and above being a standard Linux server with a sensible web server running on it!


Import participants with fee levels and price sets

Fee level indeed represents the options selected within a price set for a given event (if you look at the "Events" tab on a contact record, you will see a column where fee level selections are concatenated per event registration).

To avoid duplicate participant records, I'm thinking you might need to do this in two passes - first, import the participants without any associated contributions (using the GUI import wizard should suffice), then import contributions. Since you can't use the GUI to import multi-line item contributions, you may wish to make use of an API if one is already available so that all of the relevant financial tables will be updated and all entity tables linked accordingly.

Hope this helps,
Tamar


How can I monitor the progress of a slow upgrade?

The upgrader builds a queue of version-specific upgrade tasks -- then executes them. You can measure progress based on the size of the queue.

If you use the web-based upgrader, it displays a progress-bar based on the queue.

If you use the CLI to upgrade the DB, then it doesn't display a progress-bar. However, it would be patch-welcome to add something. (If I were doing this, I'd write a cv upgrade command which borrows heavily from http://symfony.com/doc/current/components/console/helpers/progressbar.html and https://github.com/civicrm/civicrm-core/blob/master/CRM/Upgrade/Headless.php).

If you're looking for ways to poke under the hood, then you can look at SQL tables civicrm_domain and civicrm_queue_item. I wouldn't recommend building external processes on these, but they could be good for a quick peek. These (untested) queries should be interesting:

select count(*) from civicrm_queue_item where queue_name  = 'CRM_Upgrade' (the queue gets smaller as tasks progress)
select version from civicrm_domain (updates to reflect the most recent incremental update)