texts: How can I help review/test a Webform CiviCRM PR

texts: Please describe the exact steps and requirements - of what I can do if I see a PR in https://github.com/colemanw/webform_civicrm/pulls - that I think would be useful to our organization.


texts: I would like to be able to set email reminders for individual actions to be completed on a set date/time.  Can I set these via customer records so that I receive an email reminder on the date I specify?


texts: I am receiving a "Network Error: Unable to reach the server" error when I try to edit a contact via "edit address" button

texts:
When I use the "Show Javascript" console, the following error line has appeared: "Failed to load resource: the server responded with a status of 403 (Forbidden)" followed by this url: "http://www.domainname.org/wp-admin/admin.php?page=CiviCRM&q=civicrm%2Fajax%2Finline"

Running CiviCRM 5.17.3 via Wordpress

ConfigAndLog reveals nothing.


texts: Best practice for finishing a CiviCRM session? Close browser window? log out? does it matter?

texts: When finished working in CiviCRM, is there a practical difference in terms of the health of my database between simply closing my Civi browser window vs explicitly logging out? We run on drupal...


texts: Why does outbound email stop working after enabling the PHP Mcrypt extension?

texts:
On a CiviCRM 4.6.30 / Drupal 7 installation using the com.cividesk.email.sparkpost extension, outbound email stopped working after enabling the PHP Mcrypt extension on the server. This affected both CiviMail and transactional emails.

Why would this occur and how can it be resolved?


texts: mysql_dsn error on amp config - why am I getting "access denied"?

texts:
I'm trying to install buildkit on my Ubuntu 19.04 laptop, per the instructions at https://docs.civicrm.org/dev/en/latest/tools/buildkit/#config

I've used curl to run the script, successfully - civicbuild -h works - and am now on the amp config step.

When trying to create a mysql_dsn using either

mysql://joe:randompass@127.0.0.1:3306 or mysql://joe:pass@localhost:3306

I get this error:

SQLSTATE[HY000] [1045] Access denied for user 'joe'@'localhost' (using password: YES)

Running amp config:get does not show an existing mysql_type , which I think means there is not an existing mysql database that I can't log in to.

Running amp cleanup shows Destroyed 0 instance(s)

Running amp show returns an empty list

Running amp test shows this error:

PHP Fatal error:  Uncaught Error: Call to a member function getDriver() on null in phar:///home/joe/buildkit/bin/amp/src/Amp/Database/MySQL.php:59
Stack trace:
#0 phar:///home/joe/buildkit/bin/amp/src/Amp/InstanceRepository.php(56): Amp\Database\MySQL->createDatasource('canary')
#1 phar:///home/joe/buildkit/bin/amp/src/Amp/Command/CreateCommand.php(107): Amp\InstanceRepository->create(Object(Amp\Instance), true, true, 'admin')
#2 phar:///home/joe/buildkit/bin/amp/vendor/symfony/console/Symfony/Component/Console/Command/Command.php(252): Amp\Command\CreateCommand->execute(Object(Symfony\Component\Console\Input\ArrayInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#3 phar:///home/joe/buildkit/bin/amp/src/Amp/Command/ContainerAwareCommand.php(26): Symfony\Component\Console\Command\Command->run(Object(Symfony\Component\Console\Input\ArrayInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#4 phar:///home/joe/buildkit/bin/amp/src/Amp/Command/TestCommand.php(65): Amp\Command\ContainerAwareCommand->doComman in phar:///home/joe/buildkit/bin/amp/src/Amp/Database/MySQL.php on line 59

I'm trying to figure out the error message, Googling that.


texts: What's the purpose of adding a campaign when enrolling a membership

texts: When you enrol a contact into a membership, you can add a campaign for them so that there's a link between their membership and a campaign. But that seems to be it - any donations they make not automatically linked to the campaign and the same goes for member dues.  So what's the point of this link? My use case would have been a good fit for this linking of membership to a campaign, where people have one membership type but are linked to different campaigns depending on how much they give.


texts: Why do links in system PCP welcome emails fail?

texts:
I am using 4.6.3 on D7. I have set up PCP campaign associated with a contribution page. Contribution page is active (no end date). The user creates a page successfully, but they do not create a password in process of creating the PCP, even though the profile I am using in the PCP tab requires a user login.

So, they can't log back in after successfully creating the page.

When the user gets their system-generated PCP Welcome email, they are provided links to "login to your account" and "Click this link and follow the prompts". These fail (get page not available message in Chrome).

I looked at the system template for the email. Looks good.

Any thoughts about the problem would be helpful! Thanks!


texts: Custom fields do not appear in profiles for anonymous users

texts:
I am running 4.5.2 Civicrm on a Drupal 7 installation and I have the following issue:

I have created a couple of donnor's pages with Civicrm contribute pages.
In this pages I have included a couple of customized fields but these fields are not being shown to users that are not logged in (as an admin I can see them, but not as an anonymus user). Can you give a clue as to where the problem may be?

This have been my steps:

First, add the custom fields to the contacts tab using the Admin > Screen and Custom Fields > Custom Fields. (Fields added to Contacts tab)
Then, added to the profile that is going to be used on the Contribution Page
Then create and make public the contribution page.

I know that there can be a number of setup problems at any of these steps, but since it is quite hard to give all the specs, I'd like to get suggestions as to where start looking and I will update the question with more info. Thanks in advance


texts: Event contribution summarized by price set

texts:
We use price sets for all of our events, and make extensive use of the price set header to display a "call to action" asking people to give generously/consciously/etc.  We have a variety of wording for these, and we would like to do some A/B testing and measure results.

What I would like to do is use database queries or the Pivot Report extension or even Google Data Studio to create a view showing how effective a particular price set is.  (The price set is a proxy for the call to action.)

I'm having a hard time getting contribution amount per event or per price set.

I can get total contributions, but I don't seem to have a way to link contributions to individual events.
I can't figure out how to get the price set from event data.

Can anyone help me figure out what fields I need to link together in order to be able to get something like "sum of contributions for events by event price set"?

Thank you

Edit:
A few more details on our use case:

All of our events are by donation.
We use the header portion (pre-help text) of price sets to provide a call to action, encouraging the user to make a donation or to make a larger donation.
We have a variety of call to action text samples, and we are developing more.
What we are looking to analyze is how effective our different call to action text samples.  Which ones drive donations up?  Which ones are less effective?  Which ones turn people off?

Definitely open to learning about other ways to manage and measure this rather than using price set help text.


texts: Contact Summary Layout based on relationship

texts:
There is an extension called "Contact Summary Editor" by colemanmw which enables users to see specific parts of contact based on the group the user belongs to. During editing you can enable which ACL group is able to see which Contact Summary Layout.

I am wondering if there is a way to overwrite this extension to be able to choose which relationship enables certain Contact Summary Layout. For example, if the user is the relationship with the "Contact A" and this relationship is called "Owner of", then the user can see the most informations regarding "Contact A" and so on.

Have any one stumbled upon Contact views based on relationships?


texts: database connection fails, but only in cron

texts:
I moved a site - actually copied a production site to a development region.

The site is working in the development region, including CiviCRM, but the CiviCRM cron job fails:

Jun 29 16:33:02  [info] $Fatal Error Details = Array
(
    [callback] => Array
        (
            [0] => CRM_Core_Error
            [1] => handle
        )

    [code] => -24
    [message] => DB Error: connect failed
    [mode] => 16
    [debug_info] =>  [nativecode=mysql_connect(): Access denied for user 'hostuser_drupal'@'localhost' (using password: YES)]
    [type] => DB_Error
    [user_info] =>  [nativecode=mysql_connect(): Access denied for user 'hostuser_drupal'@'localhost' (using password: YES)]
    [to_string] => [db_error: message="DB Error: connect failed" code=-24 mode=callback callback=CRM_Core_Error::handle prefix="" info=" [nativecode=mysql_connect(): Access denied for user 'hostuser_drupal'@'localhost' (using password: YES)]"]
)

I can log into the site as the same user that the cron job is using, and everything works. But the cron job fails, saying that the Drupal database user is denied.

There is a Drupal database and a CiviCRM database. There is a MySQL user for each database. At this point, both users have access to both databases.

Obviously the credentials in the config files are correct, since Drupal and CiviCRM work as normal in the browser. But the cron task fails as described above, whether called by cron or by using the cron URL in the browser.

Here is the cron job:

wget -O - -q -t 1 'http://somedevsite.com/sites/all/modules/civicrm/bin/cron.php?name=admin&pass=33333333333333&key=44444444444444444444444444444444'

What could be going on?

EDIT
I switched the cron task to call /civicrm/bin/cli.php directly (via php) and it fails in exactly the same way.


texts: Detect price group term period on CRM_Member_Form_MembershipRenewal or CRM_Member_Form_Membership

texts:
I have a price set which has the same membership with different terms i.e. 1 year, 2 year, etc.

When using the x_civicrm_postProcess($formName, &$form) hook, I can't find the term selected in the $form dump data. I need this term for a custom calculation. How do I retrieve this value from this $form when using this hook?


texts: I understand from other posts that the new Search Builder is included in 5.29 but is hidden.  I'd like to give it a try - how can I access it?


texts: Why does CiviCRM keep logging me out of the website admin?

texts:
When I am doing various things in CiviCRM and want to save the changes, I keep getting logged out of the admin panel. As an example, but not the only scenario, I was trying to set up a custom profile for an event form. Set up the profile name and other data, hit save....went straight to the WP login screen! Anyone got any ideas? Most other functions working OK, but this is really annoying! Also happens when editing an event details, and select 'save and done' - 'save' works OK! HELP!

Using latest CIVICRM build 4.6.10 and Google Chrome on Windows 10.


texts: packages/Net/UserAgent/Detect/APC.php flagged as malicious by Wordfence Firewall

texts:
Our Wordpress firewall Wordfence has flagged packages/Net/UserAgent/Detect/APC.php as possibly a malicious file.  Based on past experience, I assume this is a false positive.  However, I posted it here in case it is a real problem.

Filename: wp-content/civicrm 5.18.3/civicrm/packages/Net/UserAgent/Detect/APC.php

File Type: Not a core, theme, or plugin file from wordpress.org.

Details: This file appears to be installed or modified by a hacker to perform malicious activity. If you know about this file you can choose to ignore it to exclude it from future scans. The matched text in this file is:

The issue type is: Suspicious:PHP/antibotInclude.C.7882

Description: Inclusion of an antibot file, often used in phishing kits


texts:
I use our CiviCRM database to send out mailings to members.
The mailings contain links to articles on our website.
It has worked well for years but now when I press 'Send' the links in the email corrupt and reference a CiviCRM link instead of the website link so recipients can't access it. For a while I didn't notice because of course when I click the link myself in the copy I receive, it opens, and CiviCRM doesn't give an alert or warning.

Any idea what's happening and how I can fix it? (Remember I'm not an expert!)


texts: email activity - any solution to being able to preview like print/merge document?

texts:
When using the single email activity (not civimail) is there a way of previewing the email - with the tokens replaced - like in print/merge document?

I had a quick fiddle with coding a button for it, but the handling of the email activity seems to be quite a bit different to the regular forms.  Doesn't seem to use the post form hook for example.

I have the same issue on both contact and case email activities


texts:
I am using CiviCRM for 6 months now and suddenly, since a couple of weeks when I try to enter or change an address I get a pop up saying "Netwerkfout
Geen verbinding met de server. Ververs deze pagina in uw webbrowser en probeer het opnieuw." The web-console reports "Unchecked lastError value: Error: Could not establish connection. Receiving end does not exist. background-index.js:1 createSyncMiddleware moz-extension://51240b76-34de-491a-a81e-3e49bd7d7805/background-index.js:1:623946".
I can change other member fields, though.

I followed all instructions on https://docs.civicrm.org/dev/en/latest/tools/debugging/ , and also tried different browsers, with plug-ins switched off.

I am still running CiviCRM 4.6.38, and I notice that my provider is still running MySQL v5.0.95 (and not very willing to upgrade). Latest WordPress version.

Any hints on how I could solve this problem?


texts: Missing total amount in receipt after civicrm upgrade 4.5 to 4.6

texts:
I have upgrade civicrm 4.5 to 4.6. After that token {$formValues.total_amount|crmMoney:$currency} is not printing the total amount in emails.
The template used is one of the System workflow messages called Memberships - Receipt (on-line).

Any ideas on why this could be happening ?

Thanks in advance!


texts:
I'm getting this status message:

  The Following Option Values contain value fields that do not match the Data Type of the Option Group

It references an Option Group and a option value of "No". The actual option value is 0 (zero) and the label is "No". The table looks ok. The field is defined as an int(11) and all of the records have values of 0, 1, 2, or Null. This option group is shared by another custom field, but no warning about that one. I haven't had any issues entering or displaying data.


texts:
I'm working on a new install.

The Events/Dashboard menu choice generates a screen with the following error:

Sorry, due to an error, we are unable to fulfill your request at the moment. You may want to contact your administrator or service provider with more details about what action you were performing when this occurred.
DB Error: unknown error
Return to home page.

There's nothing in the DB log.

I tried the Settings/Cleanup Caches and Update Paths/ panel doing both Cleanup Caches and Reset Paths, but to no avail.

I'm stumped.


texts: If I exclude an address from a bulk email is it rational to assume that the mailing won't go to that address?

texts:
It seems rational to me to assume that if a mailing is set up where a group (or past mailing) is excluded, then any records that share the same email address as an excluded record, should also be excluded.

Indeed, to my mind this is totally aligned with the principle behind the "Dedupe by email" option in CiviMail, that stops multiple copies of an email going to the same address, where multiple records share that address.

However in practice this appears not to be the case, which I found out to my disappointment: a mailing was sent to a group (group A) in error, when it should have gone to a different group (group B). As soon as we spotted the error we sent out an apology message as the mailing was leading to some confusion amongst recipients. However, as we were aware that some contacts were in both group A and group B, we decided to send the apology message to group A, but excluded group B from the mailing, because for those people the mailing was not erroneous. Unbeknown to us at that time there were a handful of additional contact records in group A that shared the email address of records in group B. The result was that although we assumed that no email address in group B would be sent the apology, in fact a small number did get the apology leading to further confusion.

What's the opinion of others on this? I understand that things can get tricky when trying to handle the nuances of scenarios where multiple records share the same email address, but in this situation where we were deliberately excluding a set of addresses, it does seem sensible to ensure that those addresses get removed from the mailing, even where that involves records that share the address.


texts: Membership duration depending on conditions?

texts:
Is it possible to configure memberships in CiviCRM as follows?
The basic subscription duration is 6 months AND it gives members the possibility to attend 10 lessons/events. After having "used" the included lessons OR after 6 months the subscription expires and has to be renewed.
I could easily configure the membership expiration after 6 months.
As I'm completely new to CiviCRM: Where can I define the/a second condition (expiration after 10 lessons/events)?
Thanks in advance for your help!
Regards


texts: Contact name Tokens for multiple relationships

texts:
I have a contact (individual) owner of several organization. He will pay the membership for all organizations. I need to send a contribution receipt showing that

  John Doe

  paid 100€

  for

  Super cool organization 1

  Top organization 2

I've installed the Related tokens extension but as written and read afterwards it needs an improvement for multiple relationships

  Provide more control or better defaults for what happens when a contact has more than one relationship of a given type. For example, many contacts may have more than one "Parent/Child", and the Related (Child)::First Name token obviously falls short here; at present it will use the relationship with the highest internal ID (typically the one most recently created), but it could be more desirable in various situations to use the one with the newest start date, or to concatenate them all into a comma-separated string, or any number of other things.

So my question is: how to find these fusion fields? Is it possible without coding?

Any clues?


texts: How can I send an invoice to a participant, manually, without double sending

texts:
workflow:
I would like to use event registration with option "pay later". After a check I would like to change the participant status and send an invoice. I dont' find a way to do this automatically, but it is also ok do to this manually. The participant registration and also the invoices should be happen over a year, so I need to know if the participants have already received an invoice, to prevent someone getting the invoice twice.
question:

is there a way to send an invoice after changing the participant status?
how to filter out participants which have already received an invoice?

thanks for your help David


texts: How do I remove the time from the token {contribution.receive_date}

texts:
It seems that after updating to CiviCRM 5.36.1 the token {contribution.receive_date} is now showing the time along with the date so that the format looks like this: February 8th, 2021 3:58 PM
Is there a way to make the token just display the date without the time?


texts: DB Error: constraint violation on anonymous user event registration after 5.8.2 -> 5.9.0 update

texts:
After updating from 5.8.2 to 5.9.0, anonymous users suddenly get the above error when trying to register for an event.

Anyone a good hint how to resolve that? Thanks

Debug log shows

Datenbank-Errorcode: Cannot add or update a child row: a foreign key constraint fails (db_local.civicrm_acl_contact_cache, CONSTRAINT FK_civicrm_acl_contact_cache_user_id FOREIGN KEY (user_id) REFERENCES civicrm_contact (id) ON DELETE CASCADE), 1452
Zusätzliche Details:

Array
(
    [callback] => Array
        (
            [0] => CRM_Core_Error
            [1] => handle
        )

[code] => -3
[message] => DB Error: constraint violation
[mode] => 16
[debug_info] => INSERT INTO civicrm_acl_contact_cache ( user_id, contact_id, operation ) VALUES(0, 0, 'View') [nativecode=1452 ** Cannot add or update a child row: a foreign key constraint fails (`db_local`.`civicrm_acl_contact_cache`, CONSTRAINT `FK_civicrm_acl_contact_cache_user_id` FOREIGN KEY (`user_id`) REFERENCES `civicrm_contact` (`id`) ON DELETE CASCADE)]
[type] => DB_Error
[user_info] => INSERT INTO civicrm_acl_contact_cache ( user_id, contact_id, operation ) VALUES(0, 0, 'View') [nativecode=1452 ** Cannot add or update a child row: a foreign key constraint fails (`db_local`.`civicrm_acl_contact_cache`, CONSTRAINT `FK_civicrm_acl_contact_cache_user_id` FOREIGN KEY (`user_id`) REFERENCES `civicrm_contact` (`id`) ON DELETE CASCADE)]
[to_string] => [db_error: message="DB Error: constraint violation" code=-3 mode=callback callback=CRM_Core_Error::handle prefix="" info="INSERT INTO civicrm_acl_contact_cache ( user_id, contact_id, operation ) VALUES(0, 0, 'View') [nativecode=1452 ** Cannot add or update a child row: a foreign key constraint fails (`db_local`.`civicrm_acl_contact_cache`, CONSTRAINT `FK_civicrm_acl_contact_cache_user_id` FOREIGN KEY (`user_id`) REFERENCES `civicrm_contact` (`id`) ON DELETE CASCADE)]"]

)


texts: Credit Card swiping from mobile devices for event registrations and contributions

texts: Is there a solution to allow credit card swiping from mobile devices for event and contribution pages?


texts: How can I add Option Group for custom data field in CiviCRM

texts:
I'm trying to create an option group for a custom data field.  It needs to be a multi-select dropdown. How can I build in CiviCRM

Eg

<select>
  <optgroup label="Accommodations">
    <option value="Bed & Breakfasts">Bed &amp; Breakfasts</option>
    <option value="Camping">Camping</option>
  </optgroup>
  <optgroup label="Arts & Crafts">
    <option value="Artisans">Artisans</option>
    <option value="Artists">Artists</option>
  </optgroup>
</select>


texts:
I am having issues trying to setup Clickatell SMS provider, I am running Civi 4.6.26 on wordpress 4.7.5 using the clickatell extension 3.0 and have a Clickatell Platform account.

I keep getting "ERR: 001, Authentication failed" I am not sure why I have checked the username and password, and I can log into the Clickatell portal using those details.

I have tried putting in the "api_id=" in front of the api key but then it says it is invalid.

any help would be appreciated


texts: Unable to create new memberships after upgrade

texts:
I get the following message after I upgraded my local civicrm on wordpress install to 5.32
"Error
You do not have all the permissions needed for this page."
I was able to update the database, but I think something in one of the local folders may be off.  The "New Membership" link is the only link that throws this error.


texts: Contacts incorrectly sent multiple scheduled reminders

texts:
This sounds like #11603 but is not about the end date, as was the answer there. Also reported on Civi Gitlab.

Does anyone have thoughts on this issue or what it may take to fix it?

Overview

We're seeing scheduled reminders occurring more than once. In our case we have reminders set up before expiry of memberships (e.g. 7 days before). In some cases when we look at the activities for a contact, there are multiple entries for a reminder (all with status "completed"). For a given contact these show up once per cron run, for multiple subsequent cron intervals (i.e. 1 activity each hour for multiple hours in a row).

These occurrences coincide with failures of the send_reminder scheduled job. Looking at the job log shows this result:

Entity: Job Action: send_reminder

Summary
Finished execution of Scheduled reminders sender with result: Failure, Error message: SQLSTATE[HY000]: General error: 2006 MySQL server has gone away

Details

Parameters parsed (and passed to API method):
a:1:{s:7:"version";i:3;}

Full message:
Finished execution of Scheduled reminders sender with result: Failure, Error message: SQLSTATE[HY000]: General error: 2006 MySQL server has gone away

It appears when this failure happens for the scheduled job, the contact still get an activity for their scheduled reminder, and they continue to do so each cron run (in our case this scheduled job is set to be hourly), until the job shows a success (at this point is the last activity they get).

Looking at the code in CRM_Core_BAO_ActionSchedule it appears that the email is sent (sendReminderEmail) before the activity is created (createMailingActivity), so I expect the contact has in fact received multiple emails, NOT that multiple activities were created without emails being sent.

Without digging further, I'm guessing maybe civi considers ALL reminders have failed in the batch if the scheduled job fails, even if some were sent out and the job failed partway through.

Reproduction steps

In our case the "MySQL server has gone away" db error appears to be causing this, which of course is a problem unto itself, but would be preferable if Civi could handle this situation better.

Current behavior

Contact receives multiple emails and activity entries when only 1 should occur. They are getting n+1 of these, where n is the number of times the scheduled job fails.

Expected behavior

It would be preferable for only 1 email to be sent to each contact, and that if the job fails, only the unsent emails are then sent later.

Contacts should only get 1 email reminder, and 1 "completed" activity. Maybe they should also get other activities for the failed cron runs with another status such as "failed" or "cancelled", but that probably doesn't matter much either way.

Environment information

CiviCRM: 5.23.0
PHP: 7.2.29
CMS: Drupal 7.69
Database: MySQL 5.7.29


texts:
We have a membership type that auto-renews every month. People pay via Authorize.net, Paypal, or they give us their info from their check and an automated draft is created over via Authorize.net.

However, I can't find a way to tell people how to go about ending their own membership other than contacting the organization and having them do it for the person.

How do people go about ending their membership on their own?


texts: I deleted a bunch of contacts because I imported the wrong data pertaining to them. I then imported it again, with the right data and it wouldn't let me because of "duplicate" contacts. However I searched for these duplicates and they do not exist. I am at a lost with what to do. Changing their ID isn't an option here. ALSO do note that when I do an advanced search, I do not have the option to search in trash.


texts: Upgrade CiviCRM 3.3.2 to the latest on Drupal 6

texts:
I've been trying to upgrade CiviCRM to the latest. This is what I've been planning to do:

Update to the latest availale on drupal 6, then upgrade drupal 6 to 7, update CiviCRM on the latest available on Drupal 7, then upgrade to Drupal 8 and update CiviCRM to the latest version available, then migrate to WordPress.

I wanted to update progessively within all the versions and this is what I did to update to 3.3.3:

1) Login as admin.
2) Set define('CIVICRM_UF','Drupal'); to define( 'CIVICRM_UF','Drupal6');
3) Delete the old Civi files on site/all/modules and put the 3.3.3 files.
4) Delete the files on template_c
5) Try to access to /update

In the last step I get an error that don't let my continue with my activities:

Any idea of what's happening?
Is there a better way to approach my goal?

Thanks!


texts: Error Event registration - When registering for an event

texts:
This is all that is on the page after you click "Continue"

Sorry but we are not able to provide this at the moment.
Could not find valid value for id
Return to home page.

Using civicrm 4.7.8 with Wordpress


texts: Customizing foreign language event confirmation email

texts:
I have been looking around for a long time, here is what I want to do:
I am using Civi on Wordpress in German language. Now also the confirmation emails for event registrations are in German - great so far.

However, the German texts in the confirmation mails for the "send to a friend" are just way to formal and I would like to customize them. However, I can nowhere find the German texts. I have looked at the message templates, but there is nothing in foreign languages there. Where do I find it?

Thank you for your support in advance
Dennis


texts:
I have unsuccessfully been trying to get the cron facility to work and would like someone to help me please.

I am working on a Joomla 3 site.  The CP provides a facility to create a cron job which needs the timing codes (no problem there) and the command line.  OK, so I insert a command line which points to the cron.php file and passes the three parameters in the URL i.e. http://www.zoolake.co.za/administrator/components/com_civicrm/civicrm/bin/cron.php?name=username&pass=password&key=site-key&task=who_knows_what (I used the correct username, password and site-key)

As the parameter names given in the documentation are not correct (I examined the cron.php file to establish the correct names) I changed them to the ones shown above.  However, I don't know what to put into the job parameter and the documentation is silent on that.  I have tried "job.execute" but that produces an error.  I have copied the link from the manual link on the schedule jobs page, but that too doesn't work.  Please can someone help?


texts:
I want to modify the  Smarty template sites/all/modules/civicrm/templates/CRM/Case/Audit/Report.tpl. I want to complement an existing foreach expression with comparing the incoming variable $group.title to an array of titles, and execute the following code only if the current $group.title is found in that array.

{assign var=visible-fields value=['value1, value2']}

 Visible fields var: {$visible-fields}

{if $group.title|in_array:$visible-fields}

{$group.title}

  {foreach from=$group.values item=row}

      {$row.label}
      {$row.value}

  {/foreach}

{/if}

Now, I'm getting stuck on a rather simple task: The array visible-fields is not created. I have found some forum threads from the 2000s suggesting some expressions. I have tried the following, none of which seems to work:

{assign var=visible-fields value=['value1, value2']}
{assign var=visible-fields value=['value1', 'value2']}
{assign var='visible-fields' value=['value1, value2']}
and the same with "" instead of ''
{assign var="visible-fields" value=","|explode:['value1, value2']}

Printing the variable with
 Visible fields var: {$visible-fields}
  results in a 0.
I also tried solving the problem with a {php}...{/php} block, but then the web app throws an error. Maybe I have to enable the support for these inline php blocks somewhere, but before trying that, I want to try solving it with the Smarty expression, because creating an array shouldn't be so difficult, right?
Can somebody tell me how to do it, or post a link?


texts: After duplicating event, creating a new location updates the parent event location

texts: I duplicated an event, and then, on that new event, clicked "Create New Location." The location saved successfully, but the old event and all events created from it had their locations updated as well. Why?


texts:
I am running CiviCRM 5.20.1 with WordPress 5.3.2. We have decided to redefine a membership type (actually an annual recertification) and I needed to delete the current members before I upload a sanitized version of the data (error free and more complete data).

I originally posted this question believing the memberships had not be deleted. They were. It would still be nice to fix this appearance of a problem.

Anyway, I am getting the following error when I delete the current members:

 Notice: Undefined offset: 1260 in
 **/home/websiteweb/public_html/wp-content/plugins/civicrm/civicrm/CRM/Member/BAO/Membership.php** on line **632**

 **Fatal error:** Uncaught Error: Call to a member function delete() on
 null in /home/websiteweb/public_html/wp-content/plugins/civicrm/civicrm/CRM/Member/BAO/Membership.php:664

Stack trace:
#0 /home/websiteweb/public_html/wp-content/plugins/civicrm/civicrm/CRM/Member/BAO/Membership.php(613): CRM_Member_BAO_Membership::deleteMembership('1260', false)
#1 /home/websiteweb/public_html/wp-content/plugins/civicrm/civicrm/CRM/Member/Form/Task/Delete.php(83): CRM_Member_BAO_Membership::del('1260')
#2 /home/websiteweb/public_html/wp-content/plugins/civicrm/civicrm/CRM/Core/Form.php(495): CRM_Member_Form_Task_Delete->postProcess()
#3 /home/websiteweb/public_html/wp-content/plugins/civicrm/civicrm/CRM/Core/QuickForm/Action/Done.php(75): CRM_Core_Form->mainProcess()
#4 /home/websiteweb/public_html/wp-content/plugins/civicrm/civicrm/packages/HTML/QuickForm/Controller.php(203): CRM_Core_QuickForm_Action_Done->perform(Object(CRM_Member_Form_Task_Delete), 'done')
#5 /home/websiteweb/public_html/wp-content/plugins/civicrm/civicrm/packages/HTML/QuickForm/Pa

in **/home/websiteweb/public_html/wp-content/plugins/civicrm/civicrm/CRM/Member/BAO/Membership.php** on line **664** There has been a critical error on your website. Please check your site admin email inbox for instructions.

 Learn more about debugging in WordPress.

I've looked at the lines in question, but I don't see (or understand) the problem. Any suggestions to move this project forward?


texts: How do I search for CiviDiscount code redeemed (to allow an action on those contacts)

texts: We've got CiviDiscount working to apply the appropriate discounts for memberships and events, but would like to be able to add all contacts that have used a discount to a report (for our sponsors) or smart group.  When I go to the CiviDiscount page, I can see the list of contacts who've redeemed each code, but would like to be able to search and act on that information.  So I guess my question is how can I add a Custom search for codes redeemed?


texts: Contribution custom field not appearing in New Contribution window

texts:
We are planning on migrating from our current membership database to CiviCRM. I am starting to experiment with the system to see how to implement things.
I am using version 4.7.17 on WordPress.
We want to specify whether a mailed donation came to the station or to our PO Box. I set up a custom data field for contributions (alphanumeric text).
It's active and searchable but when I go to the New Contribution window, it doesn't appear.
Have I missed something ?

(I know alphanumeric text may not be the best choice, but for now I simply want to figure out why it is not appearing)


texts: Is CiviCRM going to ever change to be more like CiviCRM Webform?

texts:
I am sorry if this is a terrible way to ask this, or I asked it the wrong way, or its in the works. But after my experience working with Civi it seems like I should be able to make a synthesis of a form that uses CiviContribute, CiviEvent, and CiviMember, Profile Fields, CiviRules- but in a more flexible way. I know that CiviCRM Webform for Drupal kind of does it, but there are so many places it doesn't solve all the needs we have.

I was imagining it would go like this.

Form Builder.

And then I could add in the kinds of features I want on the form, and stack them, kind of like how you add profiles to a contribution page.

Membership
Event
Contributions
Profiles
Civi Rules

Then the form would let me configure the components. Or, at the bare minimum, I could include them but configure them elsewhere. Even better, there would be a very rudimentary layout tool for ordering them.

It seems like everything I build is trying to achieve some part of this solution, but gets 90% of the way there.

Does CiviCRM have any intention of being more "loosely coupled" I suppose? I really love the features it does have and what it has done for the orgs I've work with. No complaints, just wondering if someone can give me an answer as to if this is being worked on, will it be done, is it a valid idea, etc.

Thanks!


texts: How to Clone a Price Set Field and Its Options

texts:
Currently one can Clone an entire Price Set, however it is not possible AFAIK to clone Price Fields with their Price Options.

Does anyone have a clever way to do this, front end or backend?

My situation: I am creating a large amount of fields, but many are just copies. Such as Person 1 Data, Person 2 Data, Person 3 Data. I need to clone everything EXCEPT the Price Field Title.

Thanks! (and take pity on my wrists and mouse)


texts: Let participants confirm registration with one click?

texts:
We frequently have trouble with participants not finishing the confirmation process (after being allowed to participate --> pending from approval), because offering them all data input fields again is confusing them.

So I'd like to make the link sent within the "Please confirm your registration" mail directly confirm the registration without having to go through all registration pages again (directly link to the Thank you-page).

Is that possible? (Very limited php/html skills available...)

Thank you in advance!

Drupal 7.43 with CiviCRM 4.6.4


texts: Best practice for dealing with electoral district / constituency?

texts:
I'm new to the forum, so let me know if I should ask elsewhere.
We are a campaigning organisation and much of our campaigning is based on electoral consituency, but I'm not sure how best to capture this info.

How many members we can mobilise in that area, who is the current political representative (MP here in the UK), contacts for the local political parties etc?

I've been playing with the They Work for You API so I can get the constituency based on postcode, but I'm not sure what best to do with it. I'd considered setting the constituency as like an organisation level and the relavent relationships but there are a number of disadvantages to this.

It occurred to me that many other organisations must be in the same boat and wondered if anyone had any experience to share? I'm using latest 4.7 Civi with Latest wordpress.
Many thanks,


texts: Disabling Scheduled Jobs, Transactions, etc (from command line)?

texts:
I'm working on migrating our site to a different server. I need to do some testing on the new server while keeping the production site live. The problem is that the test server continues to run all the scheduled jobs and recurring contributions. I read about changing the environment (https://docs.civicrm.org/sysadmin/en/latest/misc/staging-production/#changing-your-environment), but that doesn't clearly state what actually gets disabled (besides mail jobs).

What is the best way to ensure that my test server has all that stuff disabled? I have several sites running on the server and need to do this from the command line.

Thanks!


texts: Is there a fix for more summary fields related contributions not populating on the related page if the related has no contributions

texts:
I know probably a convoluted question.

I love the related contributions in Joinery's More Summary Fields.  It solves the I want one combined contribution number for the HH and all it's members.  (This weakness with households and their related individuals in civicrm is driving my users to say let's dump civicrm.  Well, the whole manage households and their individuals is very painful to my users.)

The only problem is the related the related contact contribution and the Combined contact & related contact contributions is missing on some households and individuals which is horrible.  Incomplete data is a death knell.

It's missing where there are no contributions that the related contact has made.  So if you have a household that has never contributed anything and a household member that has, all the summary fields are missing on the household.


texts: CiviCRM CSS doesn't appear to be used when viewing live pages

texts:
I'm evaluating CiviCRM in Wordpress. When I view test pages, the layout looks fine. But when I view live pages, it often looks quite different and worse than the test. In some cases, it's completely unusable.

I thought that CiviCRM wrapped its elements in CiviCRM specific DIVs to preserve the CSS...

Not sure what's going wrong, but glad to be pointed in likely directions.

Thanks,
Norman


texts: Signing up for an event returns 500 error

texts:
I am using CiviCRM version 5.13.4 on Drupal 7. PHP version is 7.1.

When trying to sign up for an event, once the continue button is clicked to confirm the registration, the page loads for a minute or two and then returns a 500 Internal Server Error.

The person does get signed up for the event but they don't receive a confirmation email which is causing issues as they try and register multiple times which creates duplicate bookings.

Before clicking the continue button, this warning appears:

Warning: A non-numeric value encountered in CRM_Event_Form_Registration_Confirm->buildQuickForm() (line 264 of /public_html/sites/all/modules/civicrm/CRM/Event/Form/Registration/Confirm.php)

We are also getting this notice a lot although I'm not certain it's related:

Notice: Undefined offset: 0 in CRM_Grant_BAO_Query::where() (line 116 of /public_html/sites/all/modules/civicrm/CRM/Grant/BAO/Query.php).

My guess is the first warning is the one to take notice of so I've put a little bit of the code below that may be of use which includes line 264 for reference (the middle line in the snippet):

/*CRM-16320 */
      $individual[$k]['totalAmtWithTax'] = $this->_amount[$k]['amount'];
      $individual[$k]['totalTaxAmt'] = $individualTaxAmount + $v['tax_amount'];
      $this->_totalAmount = $this->_totalAmount + $this->_amount[$k]['amount'];
      if (!empty($v['is_primary'])) {
        $this->set('primaryParticipantAmount', $this->_amount[$k]['amount']);

Any advice would be greatly appreciated, feel free to ask any follow up questions for clarification!


texts: Simple, consistent N. Am. phone validation/reformatting everywhere?

texts: If we want to put in some validation and reformatting for phone numbers to make sure they conform to N. Am. standard for 10 digit numbers, is there a simple way to catch this for everywhere a phone number is entered or edited (including edit in place), rather than having to search and deal with each form separately?


texts: No contact names in activity emails but only name_{contact_id}. Why?

texts:
The emails that are sent by civicrm 5.5.3 (but had same problem with 5.4.1) to a an assigne of a case activity don't have the names of the client, assigne, etc but only a signpost made up of name_{contact_id}.
Why?

Example from an e-mail:

> Client    name_74294
> Activity type Incontro Individuale
> Subject Incontro Test 2
> Created by name_74294
> Riportato Da  name_74294
> Assegnato a   name_28453

Any idea, advice?
Johan


texts: Bug in the scheduled update of Membership Statuses?

texts:
There seems to be a bug in the scheduled task 'Update Membership Statuses' in 4.4.3.
We have just changed the rule for status 'Grace' to allow an extra month for the grace period. If I re-save a membership manually it changes the recently-expired membership back to a status of Grace. So far so good and it proves that the rules are in the correct order.
But I would now expect the scheduled task to change the others that have recently Expired back to Grace. It doesn't. It reports "Finished execution of Update Membership Statuses with result: Success (Processed 878 membership records. Updated 0 records.)"

Scheduled status updates have worked in the past.

I've looked at 'membership statuses not being updated' and 'Update membership status automatically' and even the very old 'Membership status not updating from pending' but these are all simpler cases.

Clearing the Civi caches didn't help.
Is the scheduled task logic different to the immediate logic?
CiviCRM is so damn fragile!
David


texts: Updating a custom field set for case entity Civi API

texts:
I have defined a custom field for a particular case type ("adhesion") it's a yes or no field that I need to update when I finish the processing. So I use the Case API to update it passing the id and the new value for the custom field. But this doesn't update the value I get this as a return in the API explorer. I was able to update custom fields in others entities and update case predifined fields using the API.

Is there any explantion for this problem? Any hint on how i can achieve this update action.

Down below is a screenshot from the API explorer


texts: Smart group url parameter to search contributes

texts:
I'm using CiviCRM 5.27 on Wordpress and I'd like to save Civicrm page URL of contributes with smart group filter.
I tried this:
http://mysite.com/wp-admin/admin.php?page=CiviCRM&q=civicrm%2Fcontribute%2Fsearch&reset=1&force=1&group[]=47&contribution_status_id[]=1

but I didn't get any filters.


texts: Hide wordpress menu items based on civicrm contact fields?

texts: Is there a way to hide a wordpress menu item based on custom fields in the civicrm contact record?


texts: How would one go about creating a workflow for activities?

texts:
I'm thinking something like the following:

Employee enters an activity entitled Check Request and submits it.
It is automatically submitted to his/her supervisor(based on preconfigured rule).
Supervisor either approves request whereby it automatically goes to appropriate person to cut the check. If denied then it is assigned back to the employee.

I can deal with it not doing the assigning automatically but it does need some way to show that each level signed off on/approved the request. Just having each person put a comment in the Description section of the activity is not enough because it could easily be "cheated" by the employee just putting in comments. What's the best suggestion on having some sort of "approval history" for an activity?

Just a note: CiviCase is wayyy overkill for this.


texts: Hello my search builder is out of action and I’m trying to use advanced search to give me everyone in group A and group B - in the section above (search settings)  the ‘and’ radio button is selected. But the search results are an “or” set not an “and” set. Is it possible to do this in advanced search?


texts: Can I set up PayPal integration so all purchases and donor information are automatically recorded on CiviCRM?

texts: Can we integrate CiviCRM with PayPal so that any purchases through our website are recorded on the CiviCRM donor info?


texts: Unable to create a contribution from back-office (Civi 5.21.2)

texts:
Configuration:
- Civi 5.21.2
- Wordpress

What am I trying to do : Create a contribution manualy trhough the back-office :http://localhost/wp-admin/admin.php?page=CiviCRM&q=civicrm%2Fcontribute%2Fadd&reset=1&action=add&context=standalone

here is my filled form:

When submitting the form I get this error:

CRM_Core_Exception: One of parameters (value: ) is not of the type Integer in /var/www/html/wp-content/plugins/civicrm/civicrm/CRM/Core/DAO.php on line 1524

Exception trace:

#   Function    Location
0   CRM_Utils_Type::validate('', 'Integer') /var/www/html/wp-content/plugins/civicrm/civicrm/CRM/Core/DAO.php:1524
1   CRM_Core_DAO::composeQuery('SELECT id,name,l…', Array, true)    /var/www/html/wp-content/plugins/civicrm/civicrm/CRM/Core/DAO.php:1402
2   CRM_Core_DAO::executeQuery('SELECT id,name,l…', Array)  /var/www/html/wp-content/plugins/civicrm/civicrm/CRM/Price/BAO/PriceSet.php:475
3   CRM_Price_BAO_PriceSet::getSetDetail(null)  /var/www/html/wp-content/plugins/civicrm/civicrm/CRM/Contribute/Form/Contribution.php:1371
4   CRM_Contribute_Form_Contribution->submit(Array, 1, null)    /var/www/html/wp-content/plugins/civicrm/civicrm/CRM/Contribute/Form/Contribution.php:944
5   CRM_Contribute_Form_Contribution->postProcess() /var/www/html/wp-content/plugins/civicrm/civicrm/CRM/Core/Form.php:479
6   CRM_Core_Form->mainProcess()    /var/www/html/wp-content/plugins/civicrm/civicrm/CRM/Core/QuickForm/Action/Upload.php:153
7   CRM_Core_QuickForm_Action_Upload->realPerform(Object(CRM_Contribute_Form_Contribution), 'upload')   /var/www/html/wp-content/plugins/civicrm/civicrm/CRM/Core/QuickForm/Action/Upload.php:120
8   CRM_Core_QuickForm_Action_Upload->perform(Object(CRM_Contribute_Form_Contribution), 'upload')   /var/www/html/wp-content/plugins/civicrm/civicrm/packages/HTML/QuickForm/Controller.php:203
9   HTML_QuickForm_Controller->handle(Object(CRM_Contribute_Form_Contribution), 'upload')   /var/www/html/wp-content/plugins/civicrm/civicrm/packages/HTML/QuickForm/Page.php:103
10  HTML_QuickForm_Page->handle('upload')   /var/www/html/wp-content/plugins/civicrm/civicrm/CRM/Core/Controller.php:335
11  CRM_Core_Controller->run()  /var/www/html/wp-content/plugins/civicrm/civicrm/CRM/Contribute/Page/Tab.php:316
12  CRM_Contribute_Page_Tab->edit() /var/www/html/wp-content/plugins/civicrm/civicrm/CRM/Contribute/Page/Tab.php:372
13  CRM_Contribute_Page_Tab->run(Array, null)   /var/www/html/wp-content/plugins/civicrm/civicrm/CRM/Core/Invoke.php:268
14  CRM_Core_Invoke::runItem(Array) /var/www/html/wp-content/plugins/civicrm/civicrm/CRM/Core/Invoke.php:68
15  CRM_Core_Invoke::_invoke(Array) /var/www/html/wp-content/plugins/civicrm/civicrm/CRM/Core/Invoke.php:36
16  CRM_Core_Invoke::invoke(Array)  /var/www/html/wp-content/plugins/civicrm/civicrm.php:1449
17  CiviCRM_For_WordPress->invoke('')   /var/www/html/wp-includes/class-wp-hook.php:288
18  WP_Hook->apply_filters('', Array)   /var/www/html/wp-includes/class-wp-hook.php:312
19  WP_Hook->do_action(Array)   /var/www/html/wp-includes/plugin.php:478
20  do_action('toplevel_page_Ci…')  /var/www/html/wp-admin/admin.php:254
21  {main}

I'm sure this issue is due to some misconfiguration of some kind.
Could someone help with that?
What Am I missing.

I also have a 500 error when viewing an existing contribution.

Any help appreciated, we are stuck in this situation.


texts: Can a user log in to Drupal, fill out a contribution form to renew their  membership, and change their Email address when contributing? Looking for an optimal workflow here. If the email address on the contribution page auto fills with their CiviCRM primary email, and they change it on the form, will that change the address in CiviCRM and/or their linked Drupal account? If not, how could I make this easiest. What happens in my org is that members sometimes have old AOL emails and want to change it with something new when renewing.


texts: Is there CiviContribute API documentation?

texts:
I'm wondering which CiviContribute API calls are required to make a donation happen. For example, I'm assuming that I don't need to make any calls to PayPal or Stripe, because the CiviContribute API will do this under the hood.

I'm using the REST api, but probably general CiviContribute API documentation would suffice.

Is there any documentation of the process for making a donation with the API, and which calls are needed in a typical scenario?


texts:
I'm trying to integrate CiviCRM with a payment gateway. I'm using the method notify where user will have to key in credit card detail in payment gateway website.

I have followed CiviCRM guide at

CiviCRM Wiki: Example of creating a payment processor extension
CiviCRM Wiki: Create a payment processor extension

However i'm not clear on the return URL. In the payment gateway configuration I can enter the URL so that after the payment is made, it will redirect the user back to my CiviCRM website. However i'm clueless on the value that I should enter.

Update

The payment gateway is senangPay.my (specific to Malaysia, accept visa/mastercard and bank account transfer). The guide for integration is available at http://guide.senangpay.my/manual-integration-api/

The still in progress plugin is available at:

https://github.com/zulazri/senangPay_CiviCRM

Update 2 (implemented answer from Chris Burgess)
Added handlePaymentNotification() but it does not seems to work. It does not execute the function. Refer to GitHub I just added redirect URL to thank you page. However when I tried it just return to main page. FYI when payment gateway redirect the user back to CiviCrm page it will redirect to http://civicrm.secretgroup.my/civicrm/payment/ipn?processor_name=senangpay&status_id=0&order_id=144283261515&transaction_id=14428326334290&msg=Your_payment_was_declined._Please_check_with_your_bank._Thank_you.&hash=07a5b4aa22b086bfe583f97474ca3401&component=event&contactID=39&contributionID=31&contributionTypeID=4&eventID=1&invoiceID=f237d39119b5c7f358127bbf8287e49f&membershipID=&participantID=13&qfKey=2f9e11313ad9d55bec78f759dfdad420_9895

Thanks!


texts: Mail and event drafts old version get loaded (caching issue?)

texts:
I can create an new mass email and schedule it.

If I change the field 'mailing name' and save it, the changes show in the "Drafts and unscheduled Mailing' - list. But when I click on it the mailing name has reverted back. I confirmed that the changed get saved by looking directly in the mysql DB.

So the saving function seems to work, but latest changes in record does not get loaded in the detailed view.

Reloading the browser does not help. Safari displays a blank page. Reload a second time will display the correct record.

Some users experience a blank page at the second page when registering for an event.

Safari debugger says when showing a blank page: "An error occurred trying to load the resource" with no resources shown.

Please advice.


texts: Added scheduled reminder not showing in admin

texts:
I have been battling for 48 hours trying to figure out why schedule reminders I added are not showing up in admin.

Here's the screenshot: https://www.screencast.com/t/AZ1CoyMqDbH

Also, there are couple of errors in console, perhaps you guys have an idea when you spotted them.

The same error on "Setting - Schedule Jobs" admin https://www.screencast.com/t/JxHWb8MSlE57

Any thoughts would be greatly appreciated. Thanks


texts: How long should a CiviCRM / Drupal upgrade take?

texts:
We are running an outdated version of Civicrm (4.2.7) on Drupal 7 and working on upgrading to the newest version of Civi, 4.6x. We have been quoted a full forty hours by a consulting company for the completion of the project, but as the database is designed to be upgraded, this seems excessive.

If you have experience in upgrades and could offer thoughts on how long it should take as well as likelihood of errors, it will greatly help our planning. We have some custom fields, including some forms directly linked with our website, but not an excessive amount.

Thanks!


texts: Is CiviEngage available with Backdrop CMS?

texts: CiviEngage is a Drupal module. Since Backdrop CMS is a fork of Drupal, porting modules is rather straightforward, from what I understand. Is CiviEngage available for Backdrop CMS yet?


texts: CiviMail/KCFinder becoming nearly unusable

texts:
Following up on two earlier posts regarding the similar issues on Drupal - intolerable performance and changing the KCFinder folder. In our case we are running WordPress 5.1.1, CiviCRM 5.10.3, so it is clear that this issue is neither Drupal related nor has it been sufficiently addressed since the earlier posts. In our case, our VPS sits behind a cloud proxy and the delays cause a timeout due to stalling, sending a warning message that simply scares people trying to use CiviMail who have no idea what's going on under the hood (see the photo below that pops up when this happens from Sucuri who provides the cloud proxy)

Any chance that KCFinder could parse out the images into folders that are date-dependent? For example the WordPress Media Library stores all the uploads into monthly folders, aka images/yyyy/mm. Also the WordPress Media Library seems to have much snappier search and load capabilities of thumbnails to choose from. For us, and presumably other Wordpress-Civi sites, we would prefer that CiviMail just integrate directly with the WordPress Media Library, not only because it seems much more robust, snappier and searchable, but it puts all our media for our work in just ONE place (staff was uploading images BOTH into WordPress and into CiviCRM, wasting resources).

In the meantime, this workaround suffices: open up 2 browser tabs, one on the WordPress Media Library (WPM) and one on CiviMail, the mailer that is being edited. In order to insert an image into the mailer: (1) simply focus on WPM, grab the URL from an existing image or upload a new image and grab it's URL; (2) switch focus to CiviMail and insert the image into the mailer pasting the URL into Source and ignore the  KCFinder icon altogether.

Although the workaround works, it is a bit geeky and for someone who just wants to simply upload or select an existing uploaded image without either a long wait or a firewall connection timeout thru our cloud proxy (no other functions in Civi or WordPress do that), it would be better if KCFinder either stored the data for efficient browsing or allowed a hook into the host CMS Media Library (WordPress, Joomla, or Drupal ... if there is one).


texts:
Wordpress 5.0 Civi 5.14

UPDATE
I am now convinced that the resource URL error is a real issue and not just a false positive.  I just tried to add some component to the CKeditor.  I saved it, I cleaned up the cache. The new components are not showing up on the ckeditor in the contribution pages.  This is not an issue on my other clients civi installs, just this one.

Hello,
I just finished a fresh install of Civi on a new site for a client.
I am getting the Alert that the Resource URL is incorrect.  As far as I can tell, it is correct.

Also the contribution page url is showing incorrectly in the configurations. It is showing as: subdomain.mysite.org/?page=CiviCRM&q=civicrm%2Fcontribute%2Ftransact&reset=1&id=1

It should be: subdomain.mysite.org/civicrm?page=CiviCRM&q=civicrm%2Fcontribute%2Ftransact&reset=1&id=1

I think that might be a clue to the resource url problem, but I have been digging for hours and I can't find where to fix it.

See screenshots below.

****UPDATE TO SHOW civicrm.settings.php *****


texts: Authorize.net does not allow query strings for silent post URL?

texts:
We are unable to get authorize.net talking back to CiviCRM in regards to recurring payments.

In talking with authorize.net folks and they pointed out that query strings are not allowed to be used in the Silent Post URL: https://support.authorize.net/s/article/Why-Are-My-SIM-Relay-Response-Transactions-Timing-out-After-Submitting-the-Request

However, CiviCRM docs say for Wordpress you need to use a query string? https://docs.civicrm.org/sysadmin/en/latest/setup/payment-processors/authorize-net/

We've checked the logs and see that authorize.net is not communicating back to CiviCRM. The transaction ID's for recurring payments are missing.

So who is right here and are people successfully using WP and Civi with authorize.net?

We have checked that are servers support connections via TLS 1.2.

On WP 4.9.4 and Civi 4.7.30


texts: How to create a seach view that displays selected columns

texts:
I have never managed to get this function to work properly so here goes.

I have created  profile with some custom fields (individual) and selected the option Search Views, Standalone Form or Directory

I then go to advanced search and select the group I want to view; I also select views for display contacts and select the profile I want.

When I press search I get the correct list of people but not the fields that I want to see. I just get display name.

I am on 5.3.2 although i've never been able to get it to work tbh

Any tips!?
Thanks
Caroline


texts:
I'm struggling for custom fields to appear in my Drupal views. They just aren't. I've populated my CiviCRM tables into the Drupal settings table, but they just aren't appearing.

Standard fields appear fine. It's just custom ones.

Please can anyone tell me a) if they've experienced the same thing lately? and b) where I should start debugging?

Should I be using CiviCRM Entity for this? Never needed to before.

Thanks,

John


texts: Searching by check number after upgrading to 5.5.0

texts:
I recently upgraded to 5.5.0 and now when you edit a pending pay later contribution, add a check number, change status to complete and then i go to search contributions, enter the payment method and search by check number i get no result.

I


texts: APIv3 Rest URL ... Could not load the settings file

texts:
I have a test instance started  a day ago of CiviCRM running on Amazon EC2 using the bitnami version (https://bitnami.com/stack/civicrm/cloud) which uses Drupal 7.72 and runs CiviCRM 5.27.4
I added an api_key through MySQL for the correct user id and read the CIVICRM_SITE_KEY from civicrm.settings.php which I found at /bitnami/drupal/sites/default/civicrm.settings.php
Running APIv3 through the CiviCRM console (http://mysite/civicrm/api3#explorer) works and generates an example query url to use for REST. However, when I substitute in the keys and put the query in my browser address bar I get:
"Could not load the settings file at: /bitnami/drupal/modules/contrib/civicrm/../..//default/civicrm.settings.php"
What can I change to make sure that the civicrm.settings.php file is found?


texts: How can I add/rearrange custom fields in the default contact view template?

texts:
We would like to rearrange the output of custom fields on the basic contact view page (in Drupal, /civicrm/contact/view?cid=NNNN&reset=1) in CiviCRM 4.5 on Drupal 7. Specifically, since this is a university student organization, we have a custom field called "Class Year" (simple text, field id 31, in custom data group 1 "Enrollment information") that we would like to display in the main title, after the display name. Thus, the page headline would say Joan Smith 2017 instead of the default Joan Smith.

The template to override we found easily enough in /sites/all/modules/civicrm/templates/CRM/Contact/Page/Inline/ContactName.tpl. The question is then what is the template variable for this custom field?

We could not locate this in the documentation, and all the forum threads that come up seem to be about customizing event or contribution pages, not the contact page itself.

With debugging on, adding the &smartydebug=1 parameter to the query string on the record returns this value for {$viewCustomData}:

Array (3)
1 => Array (1)
  1421 => Array (7)
    title => "Enrollment information"
    name => "enrollment_information"
    help_pre => ""
    help_post => ""
    collapse_display => "0"
    collapse_adv_display => null
    fields => Array (11)
      31 => Array (5)
        field_title => "Class Year"
        field_type => "Text"
        field_data_type => "Int"
        field_value => "2017"
        options_per_line => null
      2 => Array (5) [snipped]

Based on this and examples of template overrides elsewhere, we have made a number guesses, among them

  {$custom_value_31}
  {$profileFields_1.custom_31}
  {$viewCustomData.1.fields.31}
  {$viewCustomData.1.1421.fields.31}

but they have all been fruitless.

Google finds very few forum threads at all that even mention {$viewCustomData}, so any enlightenment is greatly appreciated.


texts:
After having filled in all setting for outgoing SMTP (using gmail) I fail to send email. The error from GMail says that the settings are incorrect (most likely). And indeed, even when I set my GMail account name in "Outgoing SMTP Username" upon clicking save and test it seems to revert to my Joomla logged in account name.

That is:

I enter foo@bar.com in the textbox, click save. (and all other
settings ... duh!)
I leave that page.
I return to outgoing server settings.
Now I see foo@bar.com in Outgoing SMTP Username for a split  second,
then it reverts to my user account so that when I attempt to send
and test the settings it has MYLOGGEDINUSERNAME as the Outgoing SMTP Username

The specific error message is: Failed to connect to smtp.gmail.com:465 [SMTP: Invalid response code received from SMTP server while sending email. This is often caused by a misconfiguration in Outbound Email settings. Please verify the settings at Administer CiviCRM >> Global Settings >> Outbound Email (SMTP). (code: -1, response: )]

How do I fix this?

Joomla 3.7.5
Latest CiviCRM


texts: Best way to integrate two sites with different security levels

texts:
We have a civi install that contains some sensitive data. We also have a public facing website. We would like to integrate them so that you can sign up for events, give donations etc on the website. The first though was to have a single site, but we would rather not have sensitive data sitting behind a public site.

EDIT: Also the less custom code the better. A solution that depends on crafting our own forms and interactions between sites is probably going to take too long both to develop and to fix when it goes wrong

Two ideas that come to mind are:

Do a remote integration - is that possible? - so that the public website pulls the data it needs via https or something
Have them on same server but different directories (and different Linux users) but both civi installs point to the same database, but as different mysql users. So the website cannot access certain tables.

I am inclined towards 2. Can you see anything that might go wrong with it?


texts: Completing an abandoned PayPal contribution

texts:
I have PayPal standard set up as a payment processor for membership subscription payments.

If a user does not successfully complete the process then they get set up as a contact, an account is created in WordPress but the membership payment contribution gets stuck at "Pending (Incomplete Transaction)".

Is there any way to allow the user to complete the transaction?

Thanks in advance


texts: Should I use Civi::settings()->get and set or

texts:
In this post on StackExchange How do I add a new settings page for my extension? the way to create settings in CiviCRM is stated as : Create a settings dir in your extension's base directory, and within that create a whateveryouwant.setting.php.

I always use Civi::settings()->set and Civi::settings()->get. What is the recommended way?


texts:
I have created a new profile in CiviCRM that I want to use for searches of services offered by associate members. When I test the profile from CiviCRM it behaves as expected. If I embed the profile in a WordPress page, I get no results. When I submit the form, I just return to my profile search form.

When I open the console on the page, I get the following error:
{}ExtensionContent.jsm
Error: Incorrectcontentsfetched,
pleasereload.


texts: `Failed opening required 'Log.php'` trying to install

texts:
I'm attempting to install CiviCRM 4.6.19 in order to perform a migration and am completely stumped on something.  This is going into a Drupal 7 site and the entire thing is being put together with Drush make.

I am attempting to load the installer at /sites/all/modules/civicrm/install/index.php, which throws an error back at me - Fatal error: require_once(): Failed opening required 'Log.php' from path/to/civicrm/CRM/Core/Config.php on line 39, which brings me to here - https://github.com/civicrm/civicrm-core/blob/4.6/CRM/Core/Config.php#L39

As you can see from the rest of that directory there is no Log.php or Mail.php.  I have been trying to figure out for the last two days is something is wrong with an autoloader somewhere, and those files should already have been loaded somehow, but I am wondering if anyone knows what the heck is going on.

Many thanks in advance.


texts:
Has anyone run CiviCRM on MariaDB instead of mySQL

https://mariadb.org/

Running CiviCRM on MariaDB could provide significant speed improvements.


texts:
We have a custom field - 80% of our contacts have this custom field in their profile - the rest are blank.

We setup a rule - if 7 characters or more of the custom filed are a match - it meets the threshold - however - contacts with blank custom fields are coming up as possible duplicates. Why is that?

Latest Civi - Drupal 7.


texts: Update custom field from other custom data

texts:
I'm trying to use a php hook to automatically create a relationship between two contacts. Let me set the stage for you.

Meeting Extender: a custom data set that extends the meeting activity(activity entity). It basically records a few custom fields, two of which are contact references(think pitcher and pitchee). These two fields would be two integers referring to contact A and contact B. Basically, I want to write a hook that creates a relationship, called Pitched to (A to B) and been Pitched(B to A).

The pipeline

A meeting is created, in the custom field set Google is saved as contact A and Apple is saved as contact B. The hook should realize a new activity has been created, check if the Pitched relationship exists between Google --> Apple and if not create it.

This was my attempt so far(in an extension)

function checkActivityMakeRelationship_civicrm_post($op, $objectName, $objectId, &$objectRef) {
/* This file checks if an activity was created and if so
 */

    if(($op == 'create' || $op == 'edit') && $objectName == 'Activity') {
        $result = civicrm_api3('Relationship', 'create', array(
        'sequential' => 1,
        'contact_id_a' => **integer-referring-to-contact-a**,
        'contact_id_b' => **integer-referring-to-contact-b**,
        'relationship_type_id' => 11,//this is the relationship type for pitched
    ));
    }
}

Ignoring the 'relationship-already-exists' check for now, how to I find the correct integers for the contact A and contact B i just entered in to my custom data set. I imagine it is a part of $op but I'm not sure how to access it. Any help is appreciated, thanks.
V

PS: I'm running wordpress 4.2.4 and civicrm 4.6.6


texts:
We have recently upgraded from 4.4 to 4.7.3 and are now experiencing an issue with one of our profiles. It seems that the civi will no longer use the postURL we are passing to it in an html form. I don't see any release notes saying this was removed and I am kind of at a loss of what could be causing this.

Any suggestions?

Thanks

David


texts: How to select a default event in webform where event is repeating

texts: Using webform I have created event registration for a nightshelter that runs continuously for 4 months at various different churches. I have set this up as a repeating event so each day is a different event - there are good arguments for doing it this way. I would like to have the 'current' event - which is today's nightshelter - as the default event. Is that possible or is there a hook I can use?  Having a default event each day is the problem, otherwise the user is going to have to choose from 122 events!


texts:
In several posts on this CiviCRM StackExchange site, I see references to people getting help via 'Mattermost'.

What is it and how do I use it?


texts:
Having a few issues with Civievent forms.

Potential registrants are seeing these error messages.

1)Sorry but we are not able to provide this at the moment
XML data could not be loaded. Make sure you specified the correct path.

2)When is does work and they click process. They see processing in the button and that screen never changes. They never know if it went through or not.

3) Confirmation emails are not being sent.

Any ideas with any of these ?


texts: angularjs: example from docs.civicrm.org does not work

texts:
I did the exact steps listed in https://docs.civicrm.org/dev/en/latest/framework/angular/quickstart/ on my drupal7-civicrm4.6 installation.
Calling the url my_site.com/?q=civicrm/a/#/about/me displays nothing.

Any ideas what the problem could be? It should not be about caching, as I executed drush cc all and cleared the cache from the CiviCRM GUI.


texts:
I'm cleaning up membership data that was imported and need to make changes in the "member since" field. Some people have been members since the 80's. When I try to add pre-1995 dates, I get the following error:

Please enter a date between 01/01/1995 and 12/31/2025

How can I increase the date range so that I can add correct historical membership data?
Thanks,
Kate


texts: I installed the extension "Related Permissions Module", and now how do to configure the acl for single organization?


texts: How to build a profile using Activity data

texts:
I need a logged in user to be able to add an activity but Civi keeps telling me "Profile search, view and edit are not supported for Profiles which include fields for more than one record type."
Here's what I did:
1.  Created a new activity type called "CEU"(Continuing Education Unit)
2.  Created a new Custom Data set called "CEU data" used for "Activities" and Type "CEU"
3.  Created a new Profile with Activity Date and the 6 CEU custom fields and it is used for "Standalone Form"

Civi does not give me the "Use Profile-Create Mode" like normal.
I also tried to add First Name, Last Name, and Email to the Profile but still got the same results.


texts:
We are having an issue where the /bower_components and /packages paths are being rendered differently than other paths. This is causing the JQuery and other components to not load correctly. I've tried setting this in civicrm.settings.php, but can not see to get them to use the correct URL
CiviCRM 5.25.0, Drupal 7.72, Panheon is the host (thus the path weirdness)
<link type="text/css" rel="stylesheet" href="https://carolinaclimbers.org//srv/bindings/e138c004c7534c17a7b6a73b59bc743dsites/all/modules/civicrm/bower_components/select2/select2.min.css" media="all" />
<link type="text/css" rel="stylesheet" href="https://carolinaclimbers.org/sites/default/files/css/css_QSUBb92PTdLEfkMP9h64X2An1s-ea4NW9lWznW1IB3U.css" media="all" />
<link type="text/css" rel="stylesheet" href="https://carolinaclimbers.org/sites/default/files/css/css_k0Qak2KC5ckGFoWNds-UCkJ19u5TyvmyprcB27dAxHw.css" media="all" />
<link type="text/css" rel="stylesheet" href="https://carolinaclimbers.org/sites/default/files/css/css_KLevn940KsaVS6iNiCt9sY13XTqU54F_5IOxYTblXpA.css" media="all" />
    <script type="text/javascript" src="https://carolinaclimbers.org/sites/default/files/js/js_h8Od-FAGkhR_7A30HaaMaTrO_5Hale-5uw8QHV7ogq0.js"></script>
<script type="text/javascript" src="https://carolinaclimbers.org//srv/bindings/e138c004c7534c17a7b6a73b59bc743dsites/all/modules/civicrm/bower_components/jquery/dist/jquery.min.js"></script>
<script type="text/javascript" src="https://carolinaclimbers.org//srv/bindings/e138c004c7534c17a7b6a73b59bc743dsites/all/modules/civicrm/bower_components/jquery-ui/jquery-ui.min.js"></script>
<script type="text/javascript" src="https://carolinaclimbers.org//srv/bindings/e138c004c7534c17a7b6a73b59bc743dsites/all/modules/civicrm/bower_components/lodash-compat/lodash.min.js"></script>
<script type="text/javascript" src="https://carolinaclimbers.org//srv/bindings/e138c004c7534c17a7b6a73b59bc743dsites/all/modules/civicrm/packages/jquery/plugins/jquery.mousewheel.min.js"></script>

the l-10n-js script has these lines:

CRM.config.resourceBase = "https:\/\/carolinaclimbers.org\/sites\/all\/modules\/civicrm\/"; CRM.config.packagesBase = "https:\/\/carolinaclimbers.org\/\/srv\/bindings\/e138c004c7534c17a7b6a73b59bc743dsites\/all\/modules\/civicrm\/packages\/"; – Brian Payst 1 min ago     Edit


texts: Report with access "everyone (includes anonymous)" not displaying correctly

texts:
Civicrm 5.2.2 Wordpress 4.9

I have created a report and given access to "everyone (includes anonymous)" and also given view reports permission to anonymous user.
This is the URL https://leep.ngo/civicrm/?page=CiviCRM&q=civicrm/report/instance/170&reset=1

Only part of the report appears - image below
I have tried reverting to standard twenty sixteen theme with same result.


texts:
I am getting this error during installation.  Has anyone else seen this?

You don't have permission to access this page
The installer can only be run by a user with the permission to administer site configuration.
Refer to the online documentation for more information: Installation Guide


texts: Uncaught ReferenceError: CRM is not defined whilst open the "directories" page on the admin page

texts:
I moved my civicrm installation from Drupal to Joomla (well testing the migration). So far all seems to be ok.. However when I open the "directories" page via the admin page I get a unstyled page that is throwing the following error: Uncaught ReferenceError: CRM is not defined

Remove already the cache and cleaned some known directories but still the issue persists.


texts: Creating a custom payment method with conditional field

texts:
So I understand that you can assign a payment processor any payment method - however - I am trying to create payment methods that replicate the behavior of Credit Card and Check.  For example - when manually adding Check or Credit Card contributions - you will then get a field for check number or last 4 digits of the card respectively.

If I make a payment method called credit card - other, I would want those credit card fields to also populate.

Is this hard coded?


texts: Hide contacts from search results ,added to specific group

texts: I am looking for hiding contacts in CiviCRM from search results,added to specific group and also Drupal user should be blocked in automatically soon after adding them to a group.Soft delete using civirules is one option.But I don't want the user to get trashed.Any help?


texts: Custom Fields not importing into contacts database

texts:
Having an issue where I'm trying to import a series of CSV files into the Civi Contact Database. There were new custom fields created to do the import, but when I do the import with all the fields, I get an 'DB Error: constraint violation' error. If I just import the fields that were originally there, I successfully import the CSV into the DB.

So I must have done something wrong with the custom fields I created yesterday. But what? What should I look for to make sure the import is successful?


texts: How to display smart group search results to unauthenticated users?

texts:
I created a smart group and want to display its result in a public page, ie visible even to a non logged in user. I followed the steps here: Public listings but still receiving:

The requested Profile (gid=17) is disabled OR
it is not configured to be used for 'Profile' listings in its Settings
OR there is no Profile with that ID
OR you do not have permission to access this profile.
Please contact the site administrator if you need assistance.

How can I display the results of a smart group on a public page?

I am using Civicrm 4.6.2


texts: Installing Civicrm session_start(): error fatal

texts:
I installed Civicrm on Wordpress on the plugin folder and I can't active it.

I have this error :

  Warning: session_start(): user session functions not defined in
  /srv/bindings/code/wp-content/plugins/civicrm/civicrm.php on line 282
  Fatal error: session_start(): Failed to initialize storage module:
  user (path: ) in /srv/code/wp-content/plugins/civicrm/civicrm.php on
  line 282

Can you help me?
Thanks


texts:
I am using civix to create a scheduled task with

civix generate:api --schedule Daily chiroContact assignAnimatorCourseResponsibleLabel

The files get created correctly, and the new api possibility is shown in the api explorer, however when I try and test it the result is

    {

"error_code": "not-found",
"entity": "ChiroContact",
"action": "assignanimatorcourseresponsiblelabel",
"is_error": 1,
"error_message": "API (ChiroContact, assignanimatorcourseresponsiblelabel) does not exist (join the API team and implement it!)"

}

The sheduled task also doesn appear in the list of sheduled tasks in the system settings. Am I doing something wrong in creating this task?


texts: Add Donations to Event Registration Form

texts:
I'm trying to give people an option to add donations to special projects when they register for a particular event. We could just point folks to the contributions pages, but it would be more effective/convenient to just roll the donations into the event registration form.

Any advice on a strategy to accomplish this?

What I've tried so far:

A developer friend suggested adding custom profile fields to the
Register.tpl template and then saving the donation amounts to the
custom fields using an ajax call. I've got that working.
I'm not sure how to add my custom donation field values to the event
amounts, which would be needed in order to actually charge people for
their donations during the event confirmation and payment pages.
(I've tried using the postProcess and buildForm hooks, but don't see
how/where to change the "amounts" values.)

(CiviCRM 4.1.6; Drupal 6)


texts: In civivolunteer, is it possible to allow multiple users for 1 email?

texts:
Quick info:

Wordpress: 4.7.1
CiviCrm: 4.7.15
CiviVolunteer 4.6-2.2.1

We are working with a group of often older volunteers that may only have one email address for two or more people.  Is there a way to allow them to register under this same address?  Currently, the system automatically replaces the name for anyone that has the same email address, making it difficult to sort the volunteers out.


texts: How do I update the text seen on a membership payment page when the autorenwal option is provided?

texts:
Running on Drupal 7.69 and Civi 5.18.x.

We would like to update the text that gets displayed when the auto-renewal option is active for membership types. Is there a way of doing using the admin interface or does it have to be done with code?

Image of current text is below:


texts: Multiple Participants data entry on event not working

texts:
I have an event setup to allow registration of multiple participants but the participant number drop down does not show

The following html is within the page so ought to show
<select onchange="allowParticipant()" name="additional_participants" id="additional_participants" class="crm-form-select">
    <option value="">1</option>
    <option value="1">2</option>
    <option value="2">3</option>
</select>

I have tried on multiple themes
Php 7.3.27
Civicrm 5.36.0
Drupal 7.78


texts:
I'm new here and looking forward to meeting Civi users.

My query is this: I have set up a series of memberships, bronze, silver and gold. For Gold I want to offer an automated discount for other services.

I added a discount code and set the discount option to be automatic. However, when I 'view' the discount, I can't see that it will be automatic and when I test it there is no discount code for 'Gold Members' on the other services I offer.

I have checked the contribute set up page and I can't see anyplace that I should be ticking 'discount' so the discount option automatically shows on the contribution pages.

Am I missing something?

Thank you in advance for your help.
Regards
Paula


texts: Civicrm report:Bar chart and Pie chart support for different modules

texts: Does civicrm support bar & pie chart report for all modules?? and if not then can we do it with custom templates?


texts: CiviVolunteer Not Working After CiviCRM 5.5.2 Upgrade

texts:
I just updated CiviCRM from 5.4 to 5.5.2, and now when I click on Volunteer -> Manage Volunteer Projects, or Volunteers -> New Volunteer Project, it just dumps me back to the dashboard, and I don't see any errors in the logs. It was working fine on CiviCRM 5.4.

Is CiviVolunteer not compatible with CiviCRM 5.5.2? This is on WordPress, and the version of CiviVolunteer I have installed is 4.7.31-2.3.1.

Any ideas would be greatly appreciated. Thanks.


texts: I want to run a report of events only. I want to be able to export the list of events to excel and share with my team. I don't care about fees or participants.


texts: How to set up CiviCRM on separate Drupal from primary site?

texts:
At wit's end trying to combine Civi and Open Social on the same D8 server, and wondering if I'm going about this all wrong.

How about if I have D8 running Open Social in one html directory, and Civi on D7 in another? Can I set up programmatic hooks so changes in D8 update the Civi database? I figure that way I can get up and running on Open Social for my deadline staging, get D7 glued in before going live, and maybe merge the two into D8 when Civi doesn't require elephant analgesics to work there.

I'm finding docs on multisite, but that's not it. I'm thinking two different Drupals on virtual hosts or separate server instances.


texts: How to get CiviCRM Views to work in Drupal 8 with separate CiviCRM database

texts:
When setting up a Drupal 8 with separate CiviCRM database, the Drupal views cannot read the CiviCRM database:

  SQLSTATE[42S02]: Base table or view not found: 1146 Table
  'xxx.civicrm_contact' doesn't exist: SELECT civicrm_contact.id AS id,
  civicrm_contact.organization_name AS civicrm_contact_organization_name
  FROM {civicrm_contact} civicrm_contact LIMIT 11 OFFSET 0; Array ( )

Checking the civicrm_views module I suppose there are some changes needed in the civicrm_views_views_data() function to connect to the right database for the CiviCRM data.

I also tried to create a view based on entities from the CiviCRM Entity module, but have the same error there.

Anybody got this working or has some hints how to do it?


texts: Get actual value instead of ID in Address API for Country and State/Province

texts:
When am getting some entity using API, it's returning id reference only not the actual value.

eg:
$result = civicrm_api3('Address', 'get', array(
      'sequential' => 1,
      'conatct_id' => 10
    ));
Output:

enter preformatted text here
{
   "is_error":0,
   "version":3,
   "count":1,
   "id":6601,
   "values":[{
      "id":"6601",
      "contact_id":"1",
      "location_type_id":"1",
      "is_primary":"1",
      "is_billing":"0",
      "street_address":"#275, xyz",
      "city":"abcd",
      "state_province_id":"9300",
      "postal_code":"560082",
      "country_id":"1101",
      "geo_code_1":"12.7930129",
      "geo_code_2":"77.5051501",
      "manual_geo_code":"0"
   }]
}

In this example, state_province_id,country_id is returned. Is it possible to get state name and country name in the result?

Thanks in advance


texts: Activating CiviCRM in Wordpress returns a fatal error, this is on windows10, all works until activation

texts:
Array and string offset access syntax with curly braces is no longer supported in C:\xampp\htdocs\testsite\wp-content\plugins\civicrm\civicrm\Civi\Core\Paths.php on line 203
CiviCRM Version 5.32.2 and WordPress 5.6


texts: Is Iframe based payment gateway integration with civicrm possible?

texts: Is it possible to integrate a payment gateway which gives an iframe to collect user details.I tried it almost 2 years back and failed for some reason I dont remember now. If it's possible and someone has a sample code please do share, it would be a great help!


texts:
I thought I had seen, and used, this feature in the past, but perhaps it was a different CRM product I was testing.  How do I put a scrolling alert up to inform users of system maintenance, or new feature improvements, or a friendly "replace the used toilet paper rolls" message?  (Ok, if you do the last one, you may need to seek help, but you get the idea.) I can't seem to find it via menu diving or Google-Fu.

(I'm using Wordpress, but I would think it would be a core feature.)


texts: What's the right syntax for the API3 "replace" action for the "WordReplacement" entity?

texts:
I'm trying to call the WordReplacement API v3 with the replace action. The APIv3 Explorer tells me the right PHP syntax is as show below. (I previously called WordReplacement get to get the correct id value.)
$result = civicrm_api3('WordReplacement', 'replace', [
  'id' => 2,
  'find_word' => "Contribute",
  'replace_word' => "Give Now",
  'domain_id' => "my-domain-name-here",
  'match_type' => "exactMatch",
  'is_active' => 1
]);

But executing that in the API Explorer returns the error:
{
    "is_error": 1,
    "error_message": "Mandatory key(s) missing from params array: values"
}

I figured out this is calling the "generic" replace API, and by digging through the API examples (for Email and UFField), it appears the correct syntax is something like:
$result = civicrm_api3('WordReplacement', 'replace', [
  'some_key' => 'some_value',
  'values' => [
    'id' => 2, // maybe this ID isn't needed here?
    'find_word' => "Contribute",
    'replace_word' => "Give Soon",
    'domain_id' => "my-domain-name-here",
    'match_type' => "exactMatch",
    'is_active' => 1
  ]
]);

I tried a few different guesses for some_key and some_value (and also tried omitting those entirely), but always got a new error Type error: Argument 3 passed to civicrm_api() must be of the type array, null given, called in /longpathgoeshere/wordpress/wp-content/plugins/civicrm/civicrm/api/v3/utils.php on line 1813.
I also looked at some of the API definition files like civicrm\civicrm\api\v3\UFField.php, Email.php and WordReplacement.php, as well as the API getfields output, but nothing helped me to infer what the correct syntax should be. So I'd also be interested in hints on how to understand and learn from those as a developer.
I'm running WordPress v.5.4.4 and Civi v.5.35.1.


texts:
I'm using the CiviDiscount extension and it works great - thank you.

Is it possible to combine an auto-discount (e.g. for qualifying logged-in members) and a manually entered discount (e.g. entered on an event registration page) combine? It's not working for me at the moment but am wondering if it's my set up or if this option is not available.


texts: specific confirmation email for an event?

texts:
I would like to send an particular email confirmation for certain events.
Is it possible to select a particular model for these events, or must absolutely change the existing model?


texts: Custom Field: Multiple Contact References

texts: Is it possible to configure custom field of type contact reference to store multiple contacts?


texts: Drupal CiviCRM update account info with CiviCRM profile

texts:
I want to allow my registered Drupal users the ability to update certain information in their CiviCRM contact record. I've created a profile and made enabled the following

Standalone form or directory
Drupal user registration View/Edit
Drupal user account

The profile now shows up on the user's Drupal account page and is prepopulated with any information that is already in their contact record, which is great. I did notice, however, that if I use the link found by 'Use Profile-Create mode' the information is not prepopulated for that same user. Is this to be expected or might I have done something wrong?

I would also like to be able to use the Current Employer field as a select list whereas I can have a group of employers show up. We have employers such as The Nature Conservancy and people put in TNC, Nature Conservancy, etc. and that creates many iterations of the same organization. I was able to use this via Drupal's webform CiviCRM integration module but it does not seem possible with just the CiviCRM profiles. Is this also true?

What I currently have is the CiviCRM profile on the user's account page and then I need to redirect them to the webform to collect their employer information which is not ideal. If I get rid of the CiviCRM profile and put everything in the webform then it no longer is attached to their user account page in Drupal.

Just wondering if others have dealt with this same thing and how they went around solving it.


texts: CiviRules opens strange window after disabling rule

texts:
I'm experiencing strange behavior of CiviRules v1.12 (CiviCRM 4.7.14.)

If I disable a rule, an unrelated window pops-up. In this case, Fundraising call report. Why should it open a report, if I disable a rule? (screenshot added)


texts: Is there a CiviCRM payment processor extension to support Square?

texts: Is anyone developing the interface needed for using Square as a payment processor?


texts: Disabling "Deferred Revenue" on an existing system: bad idea?

texts:
If a CiviCRM installation has been running with Deferred Revenue long enough to have many transactions affected by that configuration, what are the negative impacts of disabling it now?

I'm thinking this would result in some kind of inconsistent state, as there will be new contributions not handled under Deferred Revenue, at the same time there will be various deferred transactions still being "worked down" (e.g., events with future dates, membership values being parceled out over time, etc.). Is this true, and is it problematic?

If there's documentation somewhere explaining why this is not recommended, that would be a useful source.


texts: Using a Mac laptop, when I copy formatted text from Mac Mail into a CiviMail newsletter I'm composing using Firefox, it does what I need. But doing the same using a Mac desktop, the pasted text is plain text, which is what I don't want. I've compared preference settings for Mac Mail and for Firefox on the laptop and desktop and they appear to be the same. But it can't be Civi settings as I'm composing the same newsletter, using the same server on both machines. So I'd be grateful for a solution.


texts: Are there potential problems with per-subdomain installs?

texts:
I'm being forced to break up one CiviCRM (in Drupal) database into several separate ones, and it seems that using subdomains would be the most elegant way to do so. That is to say I would copy website.com to one.website.com, two.website.com, and three.website.com. Then I'd change the base URL and have them exist separately from thereon. They would not share the same Drupal frontends either.

My questions are these: Would I face any unforeseen consequences in doing so? Can these installations exist side-by-side in harmony? Would my SMTP service (CiviSMTP, in my case) throw a fit? Is there a smarter way to go about this?


texts:
Using Civicrm 4.6.5 and the latest master branch of Civizualize at github https://github.com/TechToThePeople/civisualize,
The page /civicrm/dataviz shows the default visualizations list, but when I click on one of them, the vizualization does not render.

SyntaxError: Unexpected token <    http://crm.conscious.life/civicrm/sites/default/files/civicrm/custom_ext/civisualize-master/js/d3.v3.js?nsuhjj:1

SyntaxError: Unexpected token <

http://crm.conscious.life/civicrm/sites/default/files/civicrm/custom_ext/civisualize-master/js/dc/crossfilter.js?nsuhjj:1

SyntaxError: Unexpected token <

http://crm.conscious.life/civicrm/sites/default/files/civicrm/custom_ext/civisualize-master/js/dc/dc.js?nsuhjj:1

ReferenceError: d3 is not defined

http://crm.conscious.life/civicrm/dataviz/contribute:323


texts: how to search for contacts selected in contact reference fields

texts:
Civi 5.15.1, WordPress 5.4.1

Some of our contacts ask us to send our communications to someone else, a "designated contact" or DC. To accommodate them, we created custom Contact Reference fields for email and phone/text, and for mail we use Civi's built-in "Use another contact's address" feature. To mark someone as a DC, we created a Contact Subtype and a Smart Group based on that subtype. However, new DCs don't come around that often, so our back-end data entry staff haven't consistently remembered to use the subtype. Also, we wouldn't otherwise need the subtype because there are no custom contact fields associated with it. We just need the Smart Group.

So I was hoping to get rid of the unnecessary subtype step, and modify the Smart Group to be comprised of contacts who are the selected values for either of our custom Contact Reference fields or Civi's surrogate address field. I've looked at Advance Search, Search Builder, and the Custom Searches, to no avail. Is such a thing possible? Thanks.


texts: Unable to amend membership if it previously was related to an organisation record

texts:
I'm having an issue where by a drupal user has renewed their membership using a different membership type. The original membership was held on an organisation contact record and related to the individual contact record associated with the drupal user, but when it is renewed as a membership that no longer requires a relationship, I cannot amend the membership from the individual record OR the organisation record. In fact, on the organisation record, the membership remains 'expired' in status.

If I try to 'view' the membership, I cannot see anything on the pop up screen.

Has any one experienced this and knows how to amend it?


texts: Drupal 7 Views Not Seeing CiviCRM fields

texts:
I've installed Drupal 7 (7.56) and installed CiviCRM (4.7.27) and the Views Module (with accompanying modules)... however, when I try creating a view... and select "Add a field" the CiviCRM fields are not appearing...

... I have added the variable from sites/all/modules/civicrm/install/index.php e.g. the :

$databases['default']['default']['prefix']= array(
'default' => 'drup_',
'civicrm_acl'   => '`adef_civi_`.',
... all the way to...
);

after the $databases line:

$databases = array('default' => array( 'default' => array(
'driver' => 'mysql',
'database' =>
etc...

In the settings.php file, which resides under /sites/default/

Also, the base url is set in the civicrm.settings.php file e.g.

if (!defined('CIVICRM_UF_BASEURL')) {
     define( 'CIVICRM_UF_BASEURL'      ,
     'https://www.example.com/');
}

Any one have any idea as to why the fields won't show up in Views?


texts: Reports templates not working on new install

texts:
I have installed version 4.7.13 in word press and am trying to get it working.  So far so good except for reports, when I try to use most of the reports I get an html page that I can't do anything with instead of the ones I see on the demo site
see pic.  Some look OK, like the activities detail but all the ones I want to use are messed up.