texts: On a site where an old admin has moved all the menu items around, is there a simple way to reset the menu items to the defaults like you'd see if you installed CiviCRM fresh?


texts: How to update to new SQL database username and password?

texts:
We recently received a site dump from the previous host, inclusive of the Civi CRM SQL database.  When creating a new account, I had to create a new database Username and Password.  Does this need to be added/updated anywhere with the Civi CRM plugin (WordPress) in order to connect properly?  Would like to be sure before repointing the domain.

Thanks,

Steven


texts:
The Disount code is no longer showing up in the front end of a contribution page.
It does show up when trying to add a contribution thourhg the admin the discount code does show up.

I tried uninstalling and reinstalling again,

I recently upgraded to 4.6.10 not sure if that is when it stopped working.

Any ideas, what the problem could be???

Thanks for the input


texts: New membership confirmation e-mail not sent for free memberships?

texts:
I'm experimenting with Memberships for the first time, entering them manually, and it looks like just ticking "Send Confirmation and Receipt?" isn't sufficient for a contact to receive an e-mail confirmation of their membership. The e-mail doesn't arrive unless "Record Membership Payment?" is also ticked. Is that the intended behaviour?

It seems kinda counter intuitive that members won't receive a confirmation e-mail unless I enter a payment of £0 on their record, and send them a receipt for it...


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

texts: After an upgrade from 4.6 to 4.7, I see this.  While it advertises 'variables' in the top right, they aren't used in the boxes below, and any other hardcoded path has been stripped out.  The files seem to be working, is this correct?


texts: How should I copy a site from production to staging?

texts:
I think the procedures on migrating a site at https://wiki.civicrm.org/confluence/display/CRMDOC/Moving+an+Existing+Installation+to+a+New+Server+or+Location are out of date. They certainly don't reflect how we at JMA migrate sites from production to staging in 2016. For example, we don't create a fresh install of CiviCRM, and instead pull the source code from git and copy the dbs. We also use various techniques to prevent staging, dev and local test sites from sending out emails, which are not included the recipe.

So: what is a good recipe for migrating a production site to a staging instance?


texts: My organization receives gifts which are then sometimes matched by an employer. As it stands now, we are entering the original contribution with no indication of a potential or forthcoming match. Then when we receive a match, we enter a second contribution for that individual and we fill in the Matched From and Matched Amount fields. Is this the proper way to enter these transactions? I had thought that entering these fields in the original contribution would add the matched amount to the total for that individual but it doesn't which is why we enter the second contribution with those fields. Assuming that this is the right way to do this, how can I generate a report which lists an individual's contributions and shows which are matching gifts? Related, what report uses the Matching Funds fields?


texts: Will all contacts be delieted with an uninstall?

texts:
I have 1.3 million contacts in CiviCRM 4.6.34, but the contacts are outdated. I want to remove all the contacts completely, but cannot find an easy way to bulk delete all the contacts.
I also want to upgrade to the latest CiviCRM version because 4.6.34 does not support CiviMobile...
Which means I also have to updgrade Joomla from 2.5 to 3.x, which means I also need a new template compatible with 3.x.
Anyway, we don't need the 1.3 million contacts currently housed in CiviCRM.
We have an updated list of voters (also about 1.3 million) which we will do as a clean import into the newest CiviCRM version on the latest Joomla.
I think this makes more sense than overwriting 1.3 million contacts with 1.3 million contacts.
Also, we may very well have to pay to migrate our site from Joomla 2.5 to 3.x, and if we have to migrate 1.3 million contacts, it will probably be a rather expensive migration, moreso than if remove the contacts pre-migration.
Since we are upgrading everything and need to install a newer version of CiviCRM anyway, will all the contacts be permanently deleted when CiviCRM 4.6.34 is uninstalled?
If so, I think that would solve everything. If not, what is the best and cleanest way to eliminate all the contacts?
Very little has been done with the contacts since they were uploaded anyway, so I don't believe there are really many (or any) tables to which they are copied on. They are uploaded as part of a 'group,' but otherwise there has been hardly any extra data added in after the fact.
Thanks for the help.


texts: We want to add some file fields to individual contacts for PDF documents.  Is there a way to store these files so that they can be accessed by a Civicrm user with appropriate permissions but not reachable on the web site otherwise - including by a search bot or similar agent that may ignore a robots.txt instruction?  I realize this question may go beyond Civicrm configuration to web server security in general but hoping someone can point me in the right direction. My civicrm is running on WordPress on Ubuntu.  Thanks.


texts:
CiviCRM 4.7.24 on Drupal

Since updating to 4.7.24, no groups appear in the recipient list


texts: How are civicrm_group and civicrm_uf_group related?

texts:
Running WordPress CiviCRM version 4.7.7

In the log below, where is this gid coming from? I checked all civicrm_uf_* tables and there is no reference gid=14. Is there another relationship with another table I am missing?

The only reference to Profiles I can find in the UI is on Administer/Custom Data and Screens/Profile. There is no gid=14 listed.

In the website I am administering the ids and names in civicrm_uf_group and civicrm_group look almost identical, but civicrm_uf_group is missing gid=14 and civicrm_group is not.

So where do you Administer the civicrm_group in the CiviCRM user interface?

Even knowing which page or menu item is causing this error would be helpful.

See the following CiviCRM log:

  May 29 15:06:44 [info] $Fatal Error Details = Array ( [message] => The requested Profile (gid=14) 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. [code] => )

  May 29 15:06:44 [info] $backTrace = #0 /../wp-content/plugins/civicrm/civicrm/CRM/Core/Error.php(371): CRM_Core_Error::backtrace("backTrace", TRUE)

    /../wp-content/plugins/civicrm/civicrm/CRM/Core/BAO/UFGroup.php(368): CRM_Core_Error::fatal("The requested Profile (gid=14) is disabled OR it is not configured to be used...")
    /../wp-content/plugins/civicrm/civicrm/CRM/Core/BAO/UFGroup.php(217): CRM_Core_BAO_UFGroup::getFields("14", FALSE, 2, 5, FALSE, FALSE, "Profile", 5, NULL, 5)
    /../wp-content/plugins/civicrm/civicrm/CRM/Profile/Page/Listings.php(143): CRM_Core_BAO_UFGroup::getListingFields(2, 5, FALSE, "14", FALSE, "Profile", 5)
    /../wp-content/plugins/civicrm/civicrm/CRM/Profile/Page/Listings.php(288): CRM_Profile_Page_Listings->preProcess()
    /../wp-content/plugins/civicrm/civicrm/CRM/Profile/Page/Router.php(124): CRM_Profile_Page_Listings->run()
    /../wp-content/plugins/civicrm/civicrm/CRM/Core/Invoke.php(312): CRM_Profile_Page_Router->run((Array:2), NULL)
    /../wp-content/plugins/civicrm/civicrm/CRM/Core/Invoke.php(86): CRM_Core_Invoke::runItem((Array:13))
    /../wp-content/plugins/civicrm/civicrm/CRM/Core/Invoke.php(54): CRM_Core_Invoke::_invoke((Array:2))
    /../wp-content/plugins/civicrm/civicrm.php(1227): CRM_Core_Invoke::invoke((Array:2)) 10.internal function: CiviCRM_For_WordPress->invoke(Object(WP))
    /../wp-includes/plugin.php(601): call_user_func_array((Array:2), (Array:1))
    /../wp-includes/class-wp.php(737): do_action_ref_array("wp", (Array:1))
    /../wp-includes/functions.php(952): WP->main("")
    /../wp-blog-header.php(16): wp()
    /../index.php(17): require("/var/www/vhosts/casem-acmse.org/httpdocs/wp-blog-header.php")
    {main}


texts: Is there an easy way to have the summary fields for deductible contributions be based on calendar year?

texts:
I went to generate letters to our contributors telling them how much they donated in 2015 that was deductible for their taxes.  I discovered that total deductible contributions for last year is based upon our FY which is Jul - Jun.

Clearly, that number is worthless to most individuals since most people base their taxes on calendar year.

So is there an easy way to get it to be based upon CY?

As I write this and think about it, I guess the best answer would be to include another summary field for just that or maybe for this year, last year and year before.  Most of year we really don't care about contributions by CY, just for the tax reporting thing.

There are, of course, a couple of other ways, tokens for example, to get the number.  The nice thing about the summary fields is the ability to use them in searches so we can say only get the people who donated more than a certain amount and to only get people who made tax deductible donations.  (Too bad the search form doesn't have a deductible checkbox.  One has to wade through all their financial types and pick the ones that are.)


texts: Batch Data Entry payment_instrument is now required?

texts:
we've been using CiviCRM for several years and we've just recently version 4.7 to 5.8.2, but now we can't use the Batch Data Entry any more. We can create new batches, add entries and save them, but when I press Validate and Process the batch it just displays the batch again.

I guessed that it might be a validation problem and eventually put a log statement to get any errors on form validation. In my test batch there are two entries and this is the error I get:

Form Errors: Array
(
  [field[1][payment_instrument]] => Payment Method is a required field.
  [field[2][payment_instrument]] => Payment Method is a required field.
)

Nothing is displayed on the screen because there isn't a Payment Method--or Payment Instrument--field in the form, so that explains what is going wrong, but not why.

Looking at the DB for past batches, we've never had to specify the Payment Method before, I notice that there is a payment_instrument_id field on civicrm_batch, but it's optional and null for all our past batches.

How can I make it optional so I don't need to add a field to the form?

Thanks!


texts:
Why is a receipt not sent to the email addresses set in the Contribution Page for an offline receipt. For instance, online donations to the "Shoe" contribution page are all cc-ed to "bookkeeping". But when an offline donation is processed and the "Shoe" contribution campaign is chosen, no cc happens. Is this because it doesn't run through these page settings when sending the email?

Based on Ken West's comment here Why is offline contribution sending an online receipt? I'm guessing that's the case??

  "CRM_Contribute_BAO_ContributionPage::sendMail(). So there's an
  assumption that a Contribution Page is involved."

Is there not a way to simply set a CC, even if to say if no contribution page is involved, default the CC to bookkeeping? Even if it can't pick up the info on a page by page basis a default email is a better solution than no email.


texts: How do I change the fields shown for participants on the CiviEvent Dashboard?

texts:
I'd like to add one of the fields of the contacts in the list of participants shown on the CiviEvent Dashboard.

How would I do that? I'm sure it has something to do with the Smarty templating, so maybe I need a gentle introduction to that...

I'm running CiviCRM 4.7.7 but believe this would be the same for most recent versions.


texts: Adding additional admin fee on top of civicontribute membership signup

texts:
I need to create a membership signup price with the following price:

Membership Fee: £500.00 + Vat and Administration fee: £20 + Vat

I manage to add the membership fee and vat but I could not figure out how to set additional admin fee and vat.

Can anyone please help me how I can achieve it.

Thanks in advance.


texts: How do I removed accordions in the advanced search

texts:
My charity needs a custom address field, rather than the address field that comes with civicrm. This is mostly set up, but there is one issue we have.

We have removed the fields from the advanced search, but the accordion for 'address' fields is still  there. I have tried going through the templates, but I have no idea where to find it to remove it...

Here is a screenshot that shows what I mean. How can I remove this 'Address fields' accordian/ where is it located in the files.

(I would also like to rename the custom fields accordion, but I'm hopeful that this would be in the same place )


texts: Bulk mailing to a group has no recipients

texts:
I'm trying to send a mass emailing to a group I have set up.  When I put the group into the mailing, it shows that there are no recipients even though there should be hundreds.  I have found that if I tick the "Bulk mailings?" option next to an individual's email address, they're then part of the recipients.  Is there a way to check this box for everyone, or is there some other thing I can do?
I did try "update civicrm_email set is_bulkmail=1" and although all the records were changed, they're still not included in the mailings.  Now I find that if I "edit" a record, do nothing, then "save", they're suddenly included in the mailing.
Thanks,
Richard


texts: Incorrect results appearing when searching for events by date range

texts:
Has anyone else found the "Search All or by Date Range" option in "Manage Events" to return incorrect results, particularly if you have events that have a start date but no end date recorded?

I've filed a bug (CRM-18250) and I think I know where it is, but I'd be interested to know if others are also observing it.


texts:
I have an error on CivicCRM v 5.11 "Cron Not Running" (WordPress)

The crontab entry reads

  */5 * * * * /usr/local/bin/cv api --user=www-data job.execute

The cron job fails with:

  [Exception]   Failed to locate civicrm.settings.php.

so I told bash

  CIVICRM_SETTINGS="/var/www/html/wp-content/uploads/civicrm/civicrm.settings.php"

this file is owned by linux user www-data, same as who owns apache

variable assignment echoes back correctly, e.g.:

  echo $CIVICRM_SETTINGS
  /var/www/html/wp-content/uploads/civicrm/civicrm.settings.php

and so I run cv by hand like this:

  cv api -vvv Job.execute

and get the same error about not knowing where civicrm.settings.php lives:

  Attempting to set verbose error reporting [BaseCommand::boot] Start
  [BaseCommand::boot] Call standard cv bootstrap [Bootstrap] Options: {
      "dynamicSettingsFile": "phar:///usr/local/bin/cv/settings_location.php",
      "env": "CIVICRM_SETTINGS",
      "prefetch": true,
      "settingsFile": null,
      "search": true,
      "cmsType": null,
      "httpHost": "",
      "output": {} } [Bootstrap] Find settings file

  [Exception]   Failed to locate civicrm.settings.php. By default,
  this tool searches the parent directories for a standard CMS (Drupal,
  WordPress,    etal) and standard civicrm.settings.php. Symlinks and
  multisite configurations may interfere. To customize, set variable
  CIVICRM_S   ETTINGS to point to the preferred civicrm.settings.php.

  Exception trace:  () at phar:///usr/local/bin/cv/src/Bootstrap.php:147
  Civi\Cv\Bootstrap->boot() at
  phar:///usr/local/bin/cv/src/Command/BaseCommand.php:62
  Civi\Cv\Command\BaseCommand->boot() at
  phar:///usr/local/bin/cv/src/Command/ApiCommand.php:48
  Civi\Cv\Command\ApiCommand->execute() at
  phar:///usr/local/bin/cv/vendor/symfony/console/Command/Command.php:257
  Symfony\Component\Console\Command\Command->run() at
  phar:///usr/local/bin/cv/vendor/symfony/console/Application.php:850
  Symfony\Component\Console\Application->doRunCommand() at
  phar:///usr/local/bin/cv/vendor/symfony/console/Application.php:193
  Symfony\Component\Console\Application->doRun() at
  phar:///usr/local/bin/cv/vendor/symfony/console/Application.php:124
  Symfony\Component\Console\Application->run() at
  phar:///usr/local/bin/cv/src/Application.php:17
  Civi\Cv\Application::main() at phar:///usr/local/bin/cv/bin/cv:22
  require() at /usr/local/bin/cv:10

  api [--in IN] [--out OUT] [--level LEVEL] [-t|--test] [-U|--user USER]
  [--]  []...

What could I be doing wrong here?


texts:
I have copied an existing report template for my own use with the intention to use it for my search options.
I don't understand how I can name it as I wish. How to rename a report when copying?
How to delete a copied report?

![Screenprint:
]1


texts: Creating Smart Groups based on multiple relationship types

texts:
Our company is made up of 'societies' which we have added as organisations (we have around 370 societies). Each society has anything from 90-800 'members' which we have added as individuals and given the relationship type 'member' to the specific society they belong to.

Each society also has a committee of around 10-15 individuals, these committee members have the relationship type 'member' as well as a committee relationship type of 'society chairman' or 'society treasurer' or 'society events secretary' etc etc. There are around 30 of these committee relationship types.

What we are trying to create are 'committee smart groups'

I can create smart groups based on one relationship type, so:

Individual
with Relationship - 'Society Chairman'
with Target Contact - 'Example Society 1'

But this gives me one individual, what I want to search is:

Individual
with Relationship - 'Society Chairman' OR 'Society Treasurer' OR 'Society Events Secretary etc.
with Target Contact - 'Example Society 1'

I cannot however, seem to be able to select more than one relationship type at a time, meaning my smart group is only based on one relationship type. I can select multiple contact types or activity types, so wonder why relationship types do not have the same functionality. Does anyone have a solution to this?


texts: hey guys, i need some help to add some features to civicrm locally using phpstorm?

texts:
the question is how to edit something in contact page and how to debug my code.
is there anyway to debug it without install it again to DRUPAL and test my code if its work or not.


texts:
I am missing two contact records. I have done an advanced search in trash and they are not there. I have their information saved elsewhere (a spreadsheet, an email update from a webform) so I can recreate their records.

What concerns me, though, is that they were lost. The only reason they came to my attention is they belong to a particular student group that I needed to contact. This is a pretty small subset of our overall membership, so it was easy to identify that there were missing records. My concern now is that there might be more missing contact records, but I don't know how to look for them or even how they would go missing. Any ideas?


texts: Parsing search shortcodes by Advanced Custom Fields

texts:
When trying to fix this issue Search ajax script "not a valid JavaScript MIME type" by attempting to bypass added editor plugins, I'm using the WordPress plugin Advanced Custom Fields to add another WYSIWYG editor.

I'm using the standard get_field call with do_shortcode in the page template file:

<?php
if( get_field('civicrm_shortcode') ) {
echo do_shortcode(get_field('civicrm_shortcode')); }
?>

I can use a simple shortcode with no parameters in the WYSIWYG editor, i.e. [a_simple_shortcode] and it works; but using the CiviCRM shortcode with parameters, i.e. [civicrm component="profile" gid="14" mode="create" hijack="0"] shows nothing.

Is this a ACF or CiviCRM issue? Is it possible to get ACF or CiviCRM to parse the CiviCRM shortcode?


texts:
For those that are using CiviRules, what has your testing on CiviCRM 4.7.x shown?  Is this something that is showing major issues, minor issues, seems to fine?  Having never used CiviRules, I've got no basis from which to begin test, but may have reason to use the extension now.

(CiviCRM 4.7.2 is the current stable at the time of writing.)


texts: I am working on an extension which requires me to use Civi Contribute.Yet i have not tried anything yet as i don't now the approach, so i wish to obtain the details of a particular contribution transaction such as total_amount, email ... so that i can use it in the extension, I have thought of using an API method but i am not clear of the details and if at all that is what i have to use. Something like the content of $params?


texts: How often does the Status Report expect Cron to run?

texts: I am on CiviCRM 5.33.1.  The system Status Report gives warnings like this, taken about 90 minutes later at 12:26.  Cron is deliberately set to run slowly since this is a development system.  How often does one need to run cron to avoid this message - or is there a bug somewhere?


texts: CiviCRM Log shows error invoking Payment Form

texts:
Periodically I seem to have the following error on my CiviCRM site. I have never actually seen the error and have had a hard time tracking it down. I would be interested if anyone could point me to steps I need to take to reproduce the error (get the civicrm_invoke(payment, form) method to fire so that I might see what is happening. It seems odd that line #2 shows a null value for the name. I only have one processor_id installed (Stripe). Any pointers for tracking down further what is happening here would be appreciated.

May 12 08:19:43  [info] $backTrace = #0 /var/www/isi/sites/all/modules/civicrm/CRM/Core/Error.php(378): CRM_Core_Error::backtrace("backTrace", TRUE)
#1 /var/www/isi/sites/all/modules/civicrm/CRM/Utils/Type.php(476): CRM_Core_Error::fatal("processor_id (value: ) is not of the type Integer")
#2 /var/www/isi/sites/all/modules/civicrm/CRM/Utils/Request.php(110): CRM_Utils_Type::validate("", "Integer", TRUE, "processor_id")
#3 /var/www/isi/sites/all/modules/civicrm/CRM/Financial/Form/Payment.php(55): CRM_Utils_Request::retrieve("processor_id", "Integer", NULL, TRUE)
#4 /var/www/isi/sites/all/modules/civicrm/CRM/Core/Form.php(549): CRM_Financial_Form_Payment->preProcess()
#5 /var/www/isi/sites/all/modules/civicrm/CRM/Core/QuickForm/Action/Display.php(92): CRM_Core_Form->buildForm()
#6 /var/www/isi/sites/all/modules/civicrm/packages/HTML/QuickForm/Controller.php(203): CRM_Core_QuickForm_Action_Display->perform(Object(CRM_Financial_Form_Payment), "display")
#7 /var/www/isi/sites/all/modules/civicrm/packages/HTML/QuickForm/Page.php(103): HTML_QuickForm_Controller->handle(Object(CRM_Financial_Form_Payment), "display")
#8 /var/www/isi/sites/all/modules/civicrm/CRM/Core/Controller.php(351): HTML_QuickForm_Page->handle("display")
#9 /var/www/isi/sites/all/modules/civicrm/CRM/Utils/Wrapper.php(113): CRM_Core_Controller->run()
#10 /var/www/isi/sites/all/modules/civicrm/CRM/Core/Invoke.php(284): CRM_Utils_Wrapper->run("CRM_Financial_Form_Payment", NULL, NULL)
#11 /var/www/isi/sites/all/modules/civicrm/CRM/Core/Invoke.php(84): CRM_Core_Invoke::runItem((Array:14))
#12 /var/www/isi/sites/all/modules/civicrm/CRM/Core/Invoke.php(52): CRM_Core_Invoke::_invoke((Array:3))
#13 /var/www/isi/sites/all/modules/civicrm/drupal/civicrm.module(448): CRM_Core_Invoke::invoke((Array:3))
#14 [internal function](): civicrm_invoke("payment", "form")
#15 /var/www/isi/includes/menu.inc(527): call_user_func_array("civicrm_invoke", (Array:2))
#16 /var/www/isi/index.php(21): menu_execute_active_handler()
#17 {main}


texts: Export full state name - not abbreviation

texts:
In the CiviCRM database the States have a full name and an abbreviation. e.g. New York, NY; Paris, 75; British Columbia, BC.
The contact export on CiviCRM exports the abbreviation for the state field not the full state name. This is fine for US and Canada but doesn't work fore UK and Ireland.
I've used CiviToken which has a token that adds the full name. But this is only good for labels and templates. I need an export to do an offline mail merge for a printer.
I've found this from searching but nothing since
https://forum.civicrm.org/index.php%3Ftopic=21897.0.html
https://forum.civicrm.org/index.php%3Ftopic=28789.0.html
Is there a way to do this?
Could it be added as a core feature. It's a function that anyone in UK and Ireland would need.
I'm on CiviCRM 5.14.1
All the best
James


texts: Translating salutations like "Mr." to Dutch

texts:
We are using civi 4.7.16 on Joomla with a Dutch translation; not all terms are translated.

Our problem is that we cannot change the beginning of a message: "Mr." to the dutch version "Beste {contact.first_name}" of some of our contacts.
Civi says: "sorry, we can not do that..." connection refused.


texts:
Please share the link for civicrm android API for android.
Any git site.
And also send some tutorial regarding to API.


texts: Can't find HTML Snippet in Profiles (Drupal)

texts:
I want to use the HTML snippet.

But i don't find the path to active "Accept profile submissions from external sites to Yes".

i'm using CiviCRM 4.7.29 running with Drupal.

any idea ?


texts: Shared hosting vs VPS with CiviCRM & Wordpress

texts:
I would like to start a new civi installation on WP to keep around 1000 contact records. What is the best option, Shared hosting vs VPS?
Pros & cons?
Any recommended hosting provider?
Thanks


texts:
Given a weekly class that registers students into repeating CiviCRM events as a way to record attendance, is there a way to trigger an email to the teacher if a student is absent a set number of consecutive weeks?

I looked briefly at the new CiviRules extension, but didn't see such functionality.

In addition, something similar could be done manually by searching for contacts who are in the class, but who were not registered, for example, in the last three weekly events.

But, ideally, I'm looking for a automated solution.


texts: Scheduled reminders working for some but not all

texts:
Drupal 7.41, Civi 4.6.9

The scheduled reminders are working except for 1 or 2 per day might not be sent.  It appears random which ones don't get the reminder sent.  The 1 or 2 a day is based on a rather small sample size.  This client doesn't have all that many memberships so it's usually 5 or less reminders for any given day.  Sometimes none are sent.

I have looked at the members/memberships that don't get reminders and I have not been able to find a reason those members didn't get a reminder while others have on that same day.  If anyone has experience with this I would sure appreciate any help you might have.


texts: Help for developing an extension for SMS

texts:
We are trying to create a new extension for an SMS provider and after days of struggling, we're still not successful, even if a great part of the job is probably done.
We followed the documentation and got a lot of information out of the existing extensions (twilio, clickatel, ring central) and this was already really helpful.
The thing is that we are stuck and we would need logs or error message to better understand what's going on with the code.
How do developers usually work on a (new) extension? Should we use cv to try out the functions?


texts: How can I get donation amounts for a Contribute Page or Event via API?

texts:
Is it possible to retrieve amounts on a contribution page via API only?

I can retrieve the details of a CiviCRM Contribution Page via API.

cv api ContributionPage.get id=1

A missing detail I'd like in this result is the amounts which appear on the contribution page / membership form / event registration etc.

I can retrieve PriceSet and PriceField information via API, and this permits me to filter by the type of entity that PriceSet is associated with - but not the specific entity by ID.

cv api PriceSet.get extends=CiviContribute

In the PriceSet results, there's data available which would let me filter the results after retrieval, but I'm looking for a means to get the data by the most direct route.

I see there's a method used internally to retrieve pricesets associated with a specific contribution page entity, ex:

CRM_Price_BAO_PriceSet::getFor('civicrm_contribution_page', 1));


texts:
I have the CiviGroup Roles Sync working fine but realistically i want to link Drupal Roles to the CiviCRM Contact Types.

Is this possible? So if i add a role in Drupal it will be reflected in Civi? Instead of being added into a group.

Thanks,

Moe


texts: Outlook "Failed Fraud Detection" notice--only for some addresses from same domain

texts:
I'm experiencing a curious issue that I've been unable to fully resolve. After Microsoft modified their SPF detection sometime late last year, I discovered that the SPF record for my organization had never been correctly configured on our website and all outgoing messages where failing Fraud Detection for Outlook recipients.

I did some research and configured our SPF Record and this seemed to resolve the issue for the primary general email address for our organization's domain. However, time passed and one of our other users attempted to send an email using their email address (on the same domain) as the From address, and those messages still triggered the Fraud Detection. I've tested with other email addresses on the domain and replicated this issue, while the primary address continues to send without issue.

Any thoughts on how to resolve this situation would be greatly appreciated.


texts:
I'm attempting to run all my jobs using the URL Method. The URL I'm trying (anonymized here of course) is:

https://mysite.org/wp-content/plugins/civicrm/civicrm/bin/cron.php?name=MY_USERNAME&pass=MY_PASS&key=MY_SITE_KEY

Visiting this URL gives me a 404 error.

To test that cron runs at all on my server, I created a simple php script,

<?php
mail ("cron@mysite.org", "Cron is Go", "Hello World from my-cron.php!");
?>

and put it in a file my-cron.php. It sends me an email when visited. I then created a cron job to curl its url every minute. It worked in every directory I moved it too until it got to bin at which point the cron job did nothing and visiting the URL in browser gave me a 404 error.

Changing the permissions on bin from 0775 to 0755 allows the script to run. I thought that the jobs URL would work, but I still get a 404 error.

Update: I changed bin from 0775 to 0755 and cron.php to 0755, and it works now. Is this safe to do?


texts:
Some reports do not support unicode characters in contact names:

Contact reports:

Activity summary
Contact Logging Report (Summary)


texts: CiviContribute/CiviCRM overrides content entered into a custom field each time a donation is made

texts:
Hopefully I can explain this so it makes sense. :)
We have customers that have donation pages (and events) that they use custom fields with, but when someone completes the custom field once, it does show in the contact's profile. If the same person comes back and makes another contribution, but chooses a different option for the custom field, it overrides what they entered previously.
We work with a lot of nonprofits, so they have people making multiple donations at different times throughout the year (and sometimes monthly), but they need to have a record of each designation the donor selects every time they make a donation.
Is there a way to prevent the information in the custom field from being overridden each time someone donates with a different designation?
Any help would be greatly appreciated. :)
Hopefully it makes sense.
Let me know if you need any further information. :)
Thank You!
Nicole


texts: When will MySQL utf8mb4 support be mandatory?

texts:
With recent upgrade, CiviCRM showed me this message

  Future versions of CiviCRM may require MySQL utf8mb4 support. It is
  recommended, though not yet required, to configure your MySQL server
  for utf8mb4 support. You will need the following MySQL server
  configuration: innodb_large_prefix=true innodb_file_format=barracuda
  innodb_file_per_table=true

Since I am on shared hosting plan, it is likely that the host will not update these global MySQL settings. I guess that can mean for me the end of updates or a very tedious task of migrating CiviCRM elsewhere.

Is there any information when these MySQL changes will become mandatory?


texts: How can I customize the "Fatal Error" screen?

texts: I would like to change the language on the "Fatal Error" screen that users occasionally encounter by adding some text specific to my organization. How can I do this?


texts: Can Caldera forms display information for a Contact that isn't logged in?

texts:
I think I see how to submit data to populate CiviCRM records using Caldera forms integration.  However I also need to retrieve data.  As a sample use case (over-simplified and not secure):

Ask the visitor for an email address
Display in the next form the first and last name in the CiviCRM Contact with that email address
If either field is empty, display a paragraph asking that they be filled out

There's a checkbox in the Contact Processor to extract (auto populate) data for a logged in user, but that's not my situation.  If Caldera can't do this, can Webforms+Drupal?


texts: how to keep previous values of custom Membership fields upon renewal

texts:
Civi 5.15.1, WP 5.3.2

My organization provides low-cost farm plots to farmers. We use Civi purely back-end (no website exposure). Each farmer can have multiple plots, which we have implemented in Civi as multiple separate "Farm Plot" Memberships. Farmers usually keep the same plots year after year, so when we renew each Membership, the "Assigned Plot Number" field carries over, which is exactly what we need for that field.

However, we also need to record whether each farmer cleaned up each of their plots at year's end ("Plot Condition"), and we need to keep that information tied to that specific period/plot/farmer. When we renew the Membership, last year's value will carry over to the new year, which is NOT what we want for this field.

We considered switching how we handle Farm Plots from Memberships to Contributions (b/c they're already time-specific). But the plot assignments happen well before plot payments come in, which happens well before we assess Plot Condition. So we'd have to log the Contribution at the start of the year so the plot# is there (no more easy renewal carry-over from last year), set Contribution Status to Pending until we receive payment, and edit the record again at year's end to add Plot Condition. Yuck.

Could anyone suggest any alternatives (other than using Notes)? Many thanks!


texts:
Using CiviCRM 4.7.22.

My customer wants to have internal links in the newsletter template. They could do this in the 'old' CiviMail editor using the flag symbol.

It is not obvious to me if the same functionality is available in Mosaico and if so, how to achieve this?


texts: Email not working after upgrade to PHP 7.0

texts:
WordPress 4.9.2
CiviCRM 4.7.29

I'm trying to upgrade to PHP 7 from 5.5, but CiviCRM mailer stops working. The Send test email results in:

To verify the email settings I used Easy WP SMTP

And it is able to send a test email.

The server does not support SSL or TLS. Any ideas about what to try next?


texts: Event invitations and RSVP functionality

texts:
Part question - part feature/support request.

However, I often get asked by clients how they can invite people to meetings, and enable a richer RSVP functionality, whereby invitees can respond with an 'accept', 'decline', or 'maybe'.

I tell them that Civi doesn't explicitly understand the notion of declining an invitation, it's more that no response to an invitation is assumed to be a declination, and there's no support for the concept of 'maybe'.

At least that's my understanding of the current state of play. I may well be wrong (it wouldn't be the first time :-)).

I guess it would entail a somewhat different approach to events, but wondering if anyone has any thoughts on this issue?

I was looking at the .ics files that Civi makes available from event information pages, and wondering what might be entailed in perhaps attaching that file to an event invitation email via a token and when the recipient double clicks the .ics (or its automagically picked up by their calendar app, they could RSVP simply clicking one of the options, as is now the case with a Google calendar invite, for example.


texts: Is this the correct patch for CiviCRM version 4.6 here CIVI-SA-2016-23?

texts:
After receiving the security announce, i have been trying to apply the patch given here CIVI-SA-2016-23 but had this error message patch -p1 < 9482.diff
patching file CRM/Utils/API/AbstractFieldCoder.php
Hunk #1 succeeded at 123 (offset -5 lines).
patching file js/Common.js
Hunk #1 succeeded at 445 (offset -15 lines).
Hunk #2 FAILED at 639.
Hunk #3 succeeded at 690 (offset -105 lines).
Hunk #4 succeeded at 716 with fuzz 2 (offset -119 lines).
Hunk #5 succeeded at 753 with fuzz 2 (offset -122 lines).
Hunk #6 FAILED at 898.
Hunk #7 FAILED at 1041.
Hunk #8 succeeded at 968 (offset -184 lines).

Can this patch also be used for version 4.6? because the reference Issue CRM-19709 says affected version is 4.7 and affected versions in security annouce are

4.7.13 and earlier
4.6.23 and earlier

Maybe I'm doing something wrong, i am using this procedure to apply the patch.

I'm on Civicrm 4.6.10.


texts: How to fix Bookkeeping Transactions Report so it doesn't show redundant transactions (e.g., for changed Payment Method)?

texts:
If you change the Payment Method on a contribution, e.g., from "Credit Card" to "Check" for a $10 contribution, CiviCRM will leave the existing transaction record in place, and add two more transactions, so the contribution now shows three transactions:

$10.00   Credit Card
-$10.00  Credit Card
$10.00   Check

(This started a few versions ago, I guess as a way to help leave an auditable record of financial changes.)

This works fine in the contributions tab because it just adds up all the amounts, and it's still an amount of $10.00.

But in the Bookkeeping Transactions Report, all of these 3 transactions appear in output, and there's no effective way to filter them out. In reality there's just one $10 transaction, but the report shows two for $10.00 and one for -$10.00.

I want to propose a fix so that only the most recent of those is displayed in the report. But "most recent" isn't enough. Sometimes there is more than one transaction on a contribution, e.g., in the case of multiple partial payments, in which case we do want to show all of those separate transactions.

Question:

Is there any way, strictly by looking at the data tables, to determine which transactions are "changes" and which are "multiple partial payments"?


texts: Where can I find Documentation for Drupal 8 Webform CiviCRM module?

texts: Would love to see official docs/examples with lots of screenshots!


texts: How do I install an extension directly from git?

texts:
Now that I have found my extension directory, is installing an experimental (or developmental) extension as simple as cloning it into there? eg:

# find extension directory
DIR=$(cv ev --out=pretty 'return (new CRM_Extension_System())->getDefaultContainer()->baseDir')
# change to extension directory
cd $DIR
# clone repo
git clone git@github.com:civicrm/api4.git
# flush cache
cv flush
# enable
cv ext:enable api4

(obviously some git remote voodoo required still but just wanting to confirm that this is the basics)


texts: Notice: Undefined index: value in noverwrite_civicrm_buildForm()

texts:
I have the no overwrite extension installed latest version.
Civi 5.2.2
I get the message on bringing up a profile form


texts: Sort issue with CiviCRM Entity Reference on a Drupal node

texts:
I'd like to link a Drupal node (e.g. content type = 'event' with some custom fields in Drupal) to a CiviCRM event via an entity reference field.

The use case is that there are some events that don't require registration, but some that do, but we want them all to show in the same Events list with the same theming options (these will be pulled in various places on the site in various ways, not just in a calendar list). So: we create all the events in Drupal, and for the ones with registration options, we set up a parallel event in CiviCRM which is linked to the Drupal event by the entity reference field I mentioned at the outset, and we would link with a registration button from the Drupal event directly to the CiviCRM event registration page if there was an entity entered.

I've installed CiviCRM Entity and managed to add a field of type 'entity reference' to the Drupal event node.

I can tell it that this is a CiviCRM event, and asked it to sort on the event's start date in descending order, so that new events would be at the top.

When trying to edit the field (or create an event node if I just leave the field untouched), I get this:

PDOException: SQLSTATE[42S22]: Column not found: 1054 Unknown column 'civicrm_event.event_start_date' in 'order clause': SELECT civicrm_event.id AS entity_id, :entity_type AS entity_type, NULL AS revision_id, :bundle AS bundle FROM {civicrm_event} civicrm_event ORDER BY civicrm_event.event_start_date DESC; Array ( [:entity_type] => civicrm_event [:bundle] => civicrm_event ) in EntityFieldQuery->execute() (line 1192 of /home/public_html/includes/entity.inc).

It looks like the column name in the database should actually be 'civicrm_event.start_date' -- am I right? I grepped in the civicrm_entity folder and didn't see any references to 'event_start_date' in the code, so where should I look next?

UPDATE: As a temporary fix, if I disable sorting it works as expected.


texts:
might there still (or again) be an issue with 4.7.27 on wordpress like this?

How to use Smart Groups with relative dates?

i'd need to create a dynamic group based on the 'register date' for any event in the date range 'last week' - but it never seems to get updated, the from/to dates look like they're set statically after saving the dynamic group.


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

texts:
As I write, our iCal feed page loads "None found" instead of the numerous current and future public events that are in active status on our Civi 5.13 (WordPress 5.1.1, PHP 7.2.13) site.

I don't see any WordPress Permissions settings that could hide our public events, especially not while I'm logged in as Admin.

I've disabled all WP plugins (except CiviCRM) and there was no change.

For what it may be worth, the Calendar (com.agiliway.civicalendar) extension works fine. But none of the feed buttons on the Events Dashboard deliver any current or future public events.

Also (thanks Aidan!), these buttons probably never worked on our site. If you're curious, the history of (and reason for now ditching) the workaround is detailed below in the Comments.

ALSO ... this from the Civi Log Viewer, and it coincides with loading the Events Dashboard in the Civi Admin. There are no log entries corresponding with loading the HTML listing of current and future public events.

  [warning] Deprecated function CRM_Event_BAO_Event::checkPermission,
  use CRM_Event_BAO_Event::getAllPermissions. Array (
      [civi.tag] => deprecated )

Nothing from the WordPress PHP error log. Where should I look next?


texts: Online Application with a small processing fee required on submission

texts:
Using WordPress and iATS Payments

I need to setup up an online application for our school.  We charge a $25 processing fee. In reading the threads here, it appears I will need to use CiviPetition to do the Online Application. Or I was thinking about trying CiviGrants with the Grant Application Extension.  Does anyone know if we can require a fee payment with submission using either of these methods?


texts: Config file issue / civicrm 4.6.8 / could not load the settings file

texts:
when I try to add external links in mailouts i get the following link:
https://MYDOMAIN.COM/modules/civicrm/extern/url.php?u=300&qid=8370

when I click on it, there is an error:
Could not load the settings file at: /usr/share/drupal7/modules/civicrm/../..//default/civicrm.settings.php

Civicrm is part of Drupal 7 in my installation. my php version is PHP 5.4.45-0+deb7u1 (cli) (built: Sep 10 2015 08:34:47)
the install runs on debian wheezy

please help..

edit: the problem seems to be in this function: function civicrm_conf_init() {

in the civicrm.config.php which is located here:
/usr/share/drupal7/modules/civicrm/civicrm.config.php


texts:
I have multiple updates to perform
modules, civicrm and drupal.
In what order should I do these updates?
Views (for Drupal 7) (Security update)  7.x-3.20    to 7.x-3.24
CKEditor - WYSIWYG HTML editor (Security update)    to 7.x-1.18 7.x-1.19
Drupal core (Security update)   7.63    7.72
CiviCRM 5.9.1 to 5.28.2


texts: WordPress Contribution Page Submission Not Working

texts:
I have a web site hosted on IIS (6.2) with PHP 7.1.3 with WP 5.2.3 and Civicrm 5.17.4. My contribution forms are not submitting (it does not proceed to the confirmation page or get actually submitted). To clear off that it is not My Theme or the Other plugins that are playing up, I have installed a fresh copy of WP / Civicrm and used the WP 2019 default theme and created a sample contribution form to test.

The test form does not work either. Already tried resetting cache and paths and providing more rights to the web folder. Anyone else facing the same issue or if able to help will highly appreciate!


texts: Can custom fields be used in Filters for summary level reports?

texts:
I established a custom field (Anonymous) on the contribution object, which works well with the Contribution Detail report. I can use it to exclude anonymous contributions from that report, or to include only anonymous contributions. But when I try to use the field to exclude anonymous contributions from the Top Donors report, I get a DB error message:

Background:

We just upgraded to CiviCRM 4.6.6 under Joomla! 3.4.3 (PHP Version 5.4.44 MySQL 5.6.23).

We enter contributions offline, some of which the donor wants to keep anonymous.  I saw a Best Practices post on the CiviCRM community forum where Lobo recommended establishing a custom field on the contribution object for this, and have done so.  I defined it as "searchable" so it shows up on the CiviReports Columns, Sorting, and Filters selection screens. But it seems trying to use it for any type of summary report (Contribution Summary, Top Donors, LYBUNT, etc.) results in the DB error message.

Is there some parameter within the Administrator that I can change to enable custom fields to be used as filters on summary reports?  (The same error occurs if I try to use a different custom field defined on the contact object in a filter for a summary level report.)  I don't know if this is specific to Joomla! installations.  (I'm a newbie and not a techie.)

Thanks for any advice!


texts: How to configure Membership Status Rules so expired members can renew?

texts:
My dilemma is not being sure I have set the membership status rules correctly. One enigma is the Start/End event adjustments. An example of explanatory text goes:

  Optional adjustment period added or subtracted from the End Event.

Using the plus [+] or minus [-] sign does not get retained when saved, so how is an integer interpreted without a sign, in those adjustments?

The primary problem I've been alerted to is difficulty with renewing any expired memberships. Despite this helpful prompt . . .

  Renewing will add the normal membership period to the End Date of the
  previous period for members whose status is Current or Grace. For
  Expired memberships, renewing will create a membership period
  commencing from the 'Date Renewal Entered'. This date can be adjusted
  including being set to the day after the previous End Date - if
  continuous membership is required.

. . . it seems that I have set something up incorrectly, as, when folks try to process an expired (after-grace-period-has-ended) member's renewal, the response is:

  Sorry but we are not able to provide this at the moment. Oops, it
  looks like there is no valid membership status corresponding to the
  membership start and end dates for this membership. Contact the site
  administrator for assistance.

It seems they can't get to the point where the dates can be changed to effect continuous membership for tardy payers. I.e:

  For Expired memberships, renewing will create a membership period
  commencing from the 'Date Renewal Entered'. This date can be adjusted
  including being set to the day after the previous End Date - if
  continuous membership is required.

What have I done wrong and how do I fix it, please?

v4.4 running on WordPress

EDIT (as requested)

The organisation only asked for three types: current, grace and expired.
The present rules are:

Status......Start Event......End Event......Member

Current.....start date.......end date...........Yes....(weight 1)

Grace.......end date.........end date..........Yes....(end event adj 12 months, weight 2)

Expired.....end date..................................No....(end event adj 13 months, weight 3)

Not sure how my attempt as columnar layout will fare, so I apologise if it's hard to read/follow.

The requested grace period was one month. I recently changed that to 12 months, in an effort to get over the problem described in my first posting. Despite heeding the advice and looking at the WP demo, (during which nothing bit me in the eye), I do think I have a mental block with this conundrum. (aka user incompetence)


texts:
I'm not sure where/how to offer user-level bug reports and feedback on my experience using the civiCRM.org web site itself to evaluate and learn civi.

I am aware of  https://civicrm.org/bug-reporting and the github site for reporting faults in civi itself, but I have a couple of UX feedback points and bug reports to offer, arising from just signing up to newsletters etc.

Thanks, and be gentle, I'm a newbie, hope this is not an uber-daft question!


texts: Clicking Membership on View Contact Throws Error won't display page

texts:
Recently upgraded to civicrm 4.7.11
On joomla 3.6.2  php 5.6.23  mysql 5.6.29

I have just noticed when I click memberships Civicrm throws a unable to reach the server. Please refresh this page in your browser and try again.

I am able to click on contributions activities and events.

When I turn on logging and look at the log I'm getting in CRM_Core_Error::handleUnhandledException(Object(CiviCRM_API3_Exception))

["error_message"]=>
      string(41) "Expected one PaymentProcessor but found 0"
      ["error_code"]=>

I have two payment processors setup. One that I have had for some time and another I just created after this issue. They each have a row for the production and test. Only think I can think of is the payment processor id field starts at 7.

I haven't seen anything else on this.  Must be something specific on my site.
We have been running civicrm joomla 5 years now.


texts: Network Error - Unable To Reach The Server - Change Payment Details on Recurring Contributions

texts:
I am having a problem on CiviCRM 4.6.7 - I get Network Error - Unable to Reach the Server when attempting to "Change Payment Details". Additionally the email sent out, "Recurring Contribution Notification" contains a link,

https://www.mydomain.com/index.php?q=civicrm/contribute/unsubscribe&reset=1&crid=35&cs=2cca06426fd09762c341ef901c4c54d0_1440702135_inf

And it goes to a blank page

After enabling back-trace/debugging and I right-click and open Change Payment Details in a New Tab, a blank page loads, the error on console says

Failed to load resource: the server responded with a status of 500 (Internal Server Error)

Using Paypal Website Payment Pro.

Could this be a permissions issue? Or what?

The links in the email sent out to update / cancel contribution work fine.

Update:

Apache error log entry

[Thu Aug 27 15:25:35 2015] [error] [client 67.189.24.160] PHP Fatal error:  Cannot use object of type CRM_Core_Payment_PayPalImpl as array in /srv/www/www.mysite.com/public_html/sites/all/modules/civicrm/CRM/Core/Payment/Form.php on line 220, referer: https://www.mysite.com/civicrm/contact/view?reset=1&cid=4687

Code referenced:

  /**
   * @param array $paymentProcessor
   * @todo it will be necessary to set details that affect it - mostly likely take Country as a param. Should we add generic
   * setParams on processor class or just setCountry which we know we need?
   *
   * @return array
   */
  public static function getPaymentFields($paymentProcessor) {
    $paymentProcessorObject = CRM_Core_Payment::singleton(($paymentProcessor['is_test'] ? 'test' : 'live'), $paymentProcessor);
    return $paymentProcessorObject->getPaymentFormFields();
  }

Update two: this is related issue it looks like: Error when updating billing details for admins and contributers

I haven't re-created on demo, because its not set up for recurring contributions AFAIK.


texts: Inbound Email - Formatting? (emails with HTLM code are ignored)

texts:
Can emails with HTML code (images, tables, etc.) be brought into CiviCRM with the inbound email job?  Any emails I have with images or tables get ignored by the Process Inbound Emails job.

In addition, can the inbound emails be formatted for better readability?  The email text is one long string in the "inbound email" activity detail.


texts: How do I set up CiviMail to automatically remove duplicate email addresses?

texts:
According to book.civicrm.org:

  Remove duplicate emails: CiviCRM will always dedupe your mailing based on unique contact records. For example, if a contact is in three
  of the groups you are including in your mailing, they will only be
  sent one copy of the email. However, if the same email is used by
  multiple contacts, that email address will receive multiple copies of
  the email—one for each contact using that address. Checking this box
  will ensure only one email is sent to each address

We do have some different contacts that use the same email address.

We would like to set up CiviMail so that it always removes duplicate email addresses and take it out of folk's hands.

I see the check box on the create a new mailing page but would always like this behavior.  In fact, I can't see why you wouldn't want it to always remove them.

Is anyone aware of a way to set this as a default?


texts:
We've faced duplicate records  batch merge issue while moving big data set (around 140K Individuals as Organisation members and cca. 400 Organisations accordingly) from proprietary CRM to CiviCRM and would appreciate any advice of how to move forward. We've successfully started from importing small records amount both via Import GUI and API calls; however after bigger import we've found that a large amount of nested Organisations have been created via Relationships, so, we have one "main" Organisation with properly filled address, etc, and several members and, say, 400 "phantom" organisations with just name and one member visible at Relationships tab.

We have tried "Find and Merge Duplicate Contacts" Individual Rules  via GUI, however, after leaving it works for a night we ended up with same total Individuals number and an url like this: civicrm/contact/dedupefind?reset=1&action=map&rgid=7&skipped=XYZ&merged=0 (where XYZ was 8175 just before it was stopped); since no status report has been received, guess "merged=0" part of an url shows number of successfully merges.
api/explorer (Contacts -> Merge) has almost no parameters to work with, just "$result = civicrm_api3('Contact', 'merge');" and "Other" as choose parameter option, so it's not quite clear how to use it.
What really works for us is a multi-step GUI workaround, like:

Find all instances of Organisation with same name
Assign search results set to a new group
Apply one of the Find and Merge Organization Rules
Wait (cca. half of an hour, thanks to fine tuned MySQL with 13G innodb_buffer_pool_size and tons of other improvements)
Manually merge several remained records

It works almost great, however it is quite time-consuming since we will have to repeat a process around 400 times. Hope there is alternative/faster way(s), we've no clue where to start from. Please help!

UPD: Thank you all for a valuable responses, it gives us some inspiration of how to attack an issue from an another angle(s).
I'd accept both replies, however Xavier's approach sounds more easy for us at this stage: we've got some positive experience using api/scripting before, even if this method did not work 100% for us previously, we're going to try it again.


texts: I have a contribution page set up for a flood recovery fund and some people want to give but not be recognized for their gift.


texts: Use Case Difference between CiviCRM and Croudfunding Sites?

texts:
Several people (who know little about CiviCRM) when looking at CiviCRM claim that it's no different than a Crowdfunding site, but I look at it as you don't own a Crowdfunding site, and thus they can impose rules on you, while charging you, and non of that will apply if you own the platform you're running it on.  Of course your host can do that as well, but not to the extent that a business that works to specifically do crowdfunding can.

I've never actually tried a crowdfunding site, and so I was wondering what the differences are...I would imagine that the data on the crowdfunding site is what they give you, and that there's no way to add additional information or query it in different ways.  The project still exists, and is still active, so there must be some advantage to it over a crowdfunding site.


texts: Duplicate Entry UI_External_Identifier MySQL Error

texts:
Everytime I try to import a backup of my CiviCRM sql database, I always get an error: #1062 - Duplicate entry '' for key 'UI_external_identifier' in phpmyadmin (4.7.0, PHP version: 7.1.4, mysql 5).

I noticed that this has to do with the UI_external_identifier in civicrm_contact, it's reading any records with a blank has having a duplicate entry. What would be the best way to handle this?

The options I am thinking of are:

Option 1: Is there a way to change myphpadmin settings to NOT read blanks as duplicate entries? My other server does not have this problem when the external ID is NULL.
Option 2: Set every ui_external_identifier to equal id value. This will ensure there is a value for every record, but I guess this would mean that I would have to use SQL to do it manually?


texts: "Access denied" after IP address change (WAMP; Drupal)

texts:
I wasted hours of searching Google back and forth, and found no solution:
CiviCRM is set up as an internal only CRM system for an organisation (i.e. IP address 192.168.178.36) - so far, so good. Now I took the server with me to work on CiviCRM, so I changed the IP address to 192.168.2.36 accordingly.

I've changed Apaches httpd.conf, and Apache runs without issues. Drupal seems to come up fine, but whenever I want to access CiviCRM via
http://192.168.2.36/q=civicrm/dashboard
the website answers with

a) the former IP address (192.168.178.36) in the header of the result page,

b) "Access denied - you are not authorized to access this page."

I deleted the content of all drupal cache tables, I deleted the content of the "templates_c" directory - no success :-(

Please, can someone point me into the right direction?

Regards

Bernhard


texts: CiviCRM admin menu not visible in Wordpress

texts:
Hi I am running CiviCRM 5.29.0 on Wordpress 5.5.1. Recently the admin menu for CiviCRM has disappeared which prevents me from managing the CiviCRM database. Any suggestions how to fix it.
I am running CiviCRM Admin Utilities v .0.7.3.
I tired clearing caches, rebuilding menu, clearing URL's but nothing appears to work.
Any ideas greatly appreciated.


texts: Using beta version of SearchKit. Buttons for Add, Compose Search and AND,OR,Not options are not working/unresponsive.


texts: Expanding View Contact Dashboard or Showing Contact Record to Non-Admin User

texts:
I was curious to know if anyone had expanded on the Contact Dashboard or found a way to show the contact record to a non-admin user. The Contact Dashboard doesn't give all the details that some people (like check numbers or transactions IDs) want, so I was thinking about exposing the contact record. Can this be done at all?

Thanks! Matthew

EDIT 2017 JANUARY 22 -------------------
Included are the images most relevant to this discussion. The first image is the user profile, and as you can see, with my profile (the administrator's profile that is) you can see two links at the bottom: "View contact record" and "View Contact Dashboard". "View Contact Dashboard" is already visible to my site's members, but not "View contact record", which holds a greater trove of information for members.

The second image is what I show when "View contact record" is clicked. The URL it can be found at:

/civicrm/contact/view?reset=1&cid=2


texts: Mailing list member received unexpected opt-out message

texts: Using CiviCRM 4.3.4 (update necessary, I know) one of our mailing list members has received an opt-out message, that he was unsubscribed from all mailing lists. In fact this is not true. He is still member of all those groups and has never been removed. Now I'm wondering why he received this e-mail. Any ideas?


texts: civicrm dashboard menu does not work in Joomla

texts:
I have installed Joomla on CentOS 7, and then CiviCRM 5.9 on top of that. If I install a CRM dashboard menu I get an error message "Requested page can't be found". (I tried logging on to Joomla as the administrator, but the error still occurs. Do I need to create / log in as a different user?)

Additional error message text is as follows: '  @import url(/joomla/components/com_civicrm/civicrm/css/civicrm.css); @import url(/joomla/components/com_civicrm/civicrm/css/crm-i.css); @import url(/joomla/components/com_civicrm/civicrm/bower_components/font-awesome/css/font-awesome.min.css);    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. You do not have permission to access this page. Return to home page.    function toggle( element ) { var parent = element.parentNode; var className = parent.className; if ( className == 'crm-accordion-wrapper collapsed crm-fatal-error-details-block') { parent.className = 'crm-accordion-wrapper crm-fatal-error-details-block'; } else { parent.className = 'crm-accordion-wrapper collapsed crm-fatal-error-details-block'; } } '

From what I can see, the addition of the CRM dashboard menu should have worked straight out of the box. Am I missing something here?

Any advice would be most appreciated.


texts: Emails sent to an outlook email address are returned with failed fraud detection

texts:
for some reason recently all emails we send that go to an outlook email will have

  This sender failed our fraud detection checks and may not be who they appear to be. Learn about spoofing

What am I able to do about this?


texts: I want to have a newsletter signup form that has a dropdown field that a non-signed in user can select from. I want their selection to assign them to a smart group for later use in bulk mailings. What's the best way to accomplish this?


texts: We can't load the requested web page on event registration page

texts:
Getting 'We can't load the requested web page' error when some one first accessing event registration page if language parameter(lcMessages) included in the URL.
I checked the session values, qfPrivateKey and qfSessionID not set to the session,so key validate failed on page submit, Also $_SESSION['CiviCRM'] having only lcMessages no other values.
Added print statement in set() function in CRM\Core\Session.php to print $_SESSION but added value not there in session.

  $session[$name] = $value;
         print_r($_SESSION);

CiviCRM: 4.6.2, Drupal: 7.44


texts: Checking across all email addresses for contact registration

texts:
We use Drupal and have a lot of users with more than one email address (but not within the Drupal accounts) - they forget they registered with one email and try to use another to login and failing that, use this other address to create another account.  We thus get duplicate accounts.

To add better account information etc to Drupal, i.e. to store proper address details and more than one email address, I thought I would try out CiviCRM.

Last week I set up a local dev environment (Ubuntu 14.04, CiviCRM 5.5.2, Drupal 7.59, PHP5.6.37, MySQL  5.5.61) and synced users.  I amended the Name and Address profile to customise it to our requirements and so that users could amend their address details.

I am 100% sure that when I tested someone trying to register through the (now amended) Drupal registration form, it would reject the registration if the email address was already in another field, like 'Other' or 'Home'.  I could also login to Drupal with any other the email addresses a CiviCRM user had in their record.

I have rebuilt my environment (to prepare for a pilot) and the duplicate checking and login behaviour has now stopped...  I did a demo to a colleague and so I was not dreaming this!  I do not remember specifically 'enabling' duplicate checking etc, but it was working exactly as we needed and I was really pleased.  It also made logical sense that, as CiviCRM hooks into to the registration screen etc, that somewhere in the background there would be a check on existing email addresses etc.

The other thing I notice is that I am unable to add other email addresses to the Name and Address profile - they just do not display.  They do in the user profile (from Drupal) so I am assuming that this is a permissions thing somewhere.

Rebuilding has clearly reset something - does anyone anyone have any ideas as to why this behaviour has changed?

Many thanks

Martin


texts: installation canary Error Message upon installation

texts:
Can someone help me figure out what is going wrong?  thanks]1

update:  this is what it says inside the php file manager: public_html/democratizetheentperprise/wp-content/plugins/civicrm/civicrm/civi/core/installationcanary.php

what do I do with it?

http://civicrm.org/licensing        |
 +--------------------------------------------------------------------+
 */

namespace Civi\Core;

use Civi\Core\Event\SystemInstallEvent;

/**
 * Class InstallationCanary
 * @package Civi\Core
 */
class InstallationCanary {

/**
   * Check whether the install has run before.
   *
   * Circa v4.7.betaX, we introduced a new mechanism for tracking installation
   * and firing a post-install event. However, it's fairly difficult to test the
   * edge-cases directly, so this canary should fire if there are any problems
   * in the design/implementation of the installation-tracker.
   *
   * This should not exist. It should be removed in a future version.
   *
   * @param \Civi\Core\Event\SystemInstallEvent $event
   * @throws \CRM_Core_Exception
   */
  public static function check(SystemInstallEvent $event) {
    if (\CRM_Core_DAO::checkTableExists('civicrm_install_canary')) {
      throw new \CRM_Core_Exception("Found installation canary. This suggests that something went wrong with tracking installation process. Please post to forum or JIRA.");
    }
    \Civi::log()->info('Creating canary table');
    \CRM_Core_DAO::executeQuery('CREATE TABLE civicrm_install_canary (id int(10) unsigned NOT NULL) ENGINE=InnoDB');
  }

}


texts: Issue with CK editor  tag appearing in Token

texts:
In the CK editor, when I add a token and look at the source code, the wbr/> tags appear in the token breaking the token. I have a feeling this crept in after I enabled Smarty for email. Does anyone know what might be causing this and how it can be fixed?

Thanks


texts: "could not find valid value for id" on wordpress 4.8.1

texts: On my civievent, people get the error message " could not find valid value for id" on wordpress 4.8.1


texts: How can I lookup US county from latitude/longitude?

texts:
Does there exist an easy way to look up U.S. counties from latitude/longitude?  I know about Mathieu's excellent Region Lookup extension, but since one postal code can encompass multiple counties, I'd like something more definitive.

I know that Google Maps lookups can give you county names - has anyone tried pulling that into CiviCRM on geocode lookup?


texts: Membership -Turn Renewal Reminders Off (only for certain contacts)

texts:
We are having a handful of members who we don't want to send auto renewal reminders to. Our board or other other staff are in regular contact with them and auto generated renewal reminders are adding confusion.

Has anyone been in the same situation or does know a work around to disable auto renewal reminders, but only for a few contacts (organizations)?


texts: Deleted flag missing from activities returned from API when getting by contact id

texts:
I would like to fetch activities by contact_id and only return non-deleted activities (or, failing that, return them all but filter them afterwards by is_deleted). But I find that passing is is_deleted=0 does not make any difference and the is_deleted flag is not present on the returned data.

I guess this is a bug in the API? Is it known? I searched Jira but couldn't see it. If not I will file it and look at submitting a patch.

I can think of one workaround which is to fetch all the activity ids for the contact and then loop through them fetching each activity (since in does not seem to work with activity) by activity_id and is_deleted. But that could be a lot of api calls and means dealing with more async stuff if using JS. Anyone know of a cleaner workaround?


texts: Contribution page profile not displaying at top of page, above billing section, despite configuration

texts:
Newbie question. CiviCRM v 4.7.18. WordPress 4.7.3 running GeneratePress theme.

I have created a new contribution page and embedded it with shortcode in my Wordpress site (sorry, not public yet so no link). I'm using Paypal Express for payment processor.

In configuring the contribution page, I added a profile to appear at the TOP of the page. However, it displays BELOW the billing section. I tried moving the profile to the bottom position, and then to the top again. It always displays at the bottom, no matter which position I choose (only 1 profile chosen). I also tried selected a different profile, and that makes no difference. This is my first contribution page on this site.

Is there some other setting in CiviCRM that also controls the position that I need to change?  Thank you.


texts:
I am working on an extension that is going to use a custom token from Drupal content. I found the great example blog post from CiviCRM 4.1 but it appears that in CiviCRM 4.7 tokens switched to using Civi\Token\TokenProcessor. I have looked at a few extensions that do not appear to be using this model. Is there a good example (other than the documentation) of the new model.

Thanks,
Josh


texts: Enable Volunteer Opportunity Listing with Wordpress

texts: I am using CiviVolunteer with wordpress and I am trying to enable the volunteer Opportunity Listing. I tried the following link the http://address-to-your-site/civicrm/vol/#/volunteer/opportunities link with my domain and I am not able to see it. I have angular profiles enabled, and I granted access to AJAX API and CiviVolunteer: register to volunteer to anonymous users, but I am still not able to see this list publicly. Is there something else wordpress users need to do to view the volunteer opportunity listing?


texts: Is there an update to AuthorizeNet.php with SHA-512 to replace MD5 check?

texts: Is there an SHA-512 replacement for the AuthorizeNet.php module yet? If not I can work on it


texts: Best way to initiate a pay per month membership scheme

texts: I’d like to offer a membership scheme whereby you can pay a yearly payment or monthly recurring payments. Is it possible to do this via the membership options or will I have to set up a recurring contribution?


texts: Newsletter sign up form on WordPress with GDPR plugin

texts:
I've read the following before posting this:

Newsletter sign up form on wordpress
How do I expose CiviCRM forms in WordPress?
https://docs.civicrm.org/sysadmin/en/latest/integration/wordpress/forms/

but I'm still unclear on how we produce exactly we what we want as we are also using the Veda GDPR plugin to track opt ins.

We are planning to add a module to our custom page template asking for email addresses. An example of this page is this - https://vitiligosociety.org/what-causes-vitiligo/ (module will just before the footer)

The custom module we are having designed looks similar to this:

The only difference is the call to action will be to add an email address rather than be redirected to the membership sign up page.

What's the correct way to add the civi forms to this module and also expose the appropriate settings from the Veda GDPR plugin.

Any suggestions much appreciated! Thanks.

PS - We are using the Guttenberg editor.


texts: Drupal Webform for Activities - CiviCRM Permissions

texts:
I have created a Webform that will be used to create CiviCRM activities for a particular (existing) client. The form is structured in such a way that the client must exist in CiviCRM first, and the person creating the Activity must select the existing client:

When I'm logged in as an administrator, and submit the form, the data correctly populates the CiviCRM database. However, when I'm logged in as a different role ("Volunteer") with much more limited permissions, the data does not get entered into the database (the webform gets submitted, and I can see the webform results when logged in as an administrator, but the data doesn't get entered into the related CiviCRM fields).

Ideally, the Volunteer role should not be able to create new clients, and should not be able to edit any client data. The Volunteer should ONLY be able to create new activities (Client Needs).

So in the Drupal permissions, I have things like the following turned OFF for the "Volunteer" role:

CiviCRM: add contacts
CiviCRM: edit all contacts
CiviCRM: delete contacts
CiviCRM: Delete activities
CiviCRM: access CiviCRM backend and API

... and I have things like the following permissions turned ON for the Volunteer Role:

CiviCRM: view all contacts
CiviCRM: view all activities
CiviCRM: access Contact Dashboard
CiviCRM: add contact notes
CiviCRM: access AJAX API

Clearly, I'm missing some sort of permission that the volunteer needs in order to create a new activity for a client. Can anyone point me in the right direction?


texts: Email is not CC'd when a membership on behalf of organisation contribution is made

texts:
When an individual joins on behalf of an organisation, the receipt/invoice is not CC'd to the individual. It goes to the organisation email.

On the email, it says it is CC'd to the individual but it does not arrive.

Any ideas? I'm basically trying to email the individual who completed the contribution page, not the organisation.


texts: How do I test Online Contribution Receipts?

texts: How do I test the edits I make to online contribution receipts? Is making a test contribution using the online form the only way, or recommended way?


texts: Why are CiviCRM fields not displaying from a view in a panel in Drupal?

texts:
I feel like I am missing something fairly basic, but here goes.

I am trying to display CiviCRM Contact fields from a view that will be displayed in a content pane of a panel, but they just don't appear.

My view has a mix of Drupal and CiviCRM fields.  The Drupal fields appear in the panel, but the CiviCRM fields don't.  When I display the view as a standalone page, the CiviCRM fields appear along with the Drupal fields.

It would seem, then, that the problem is passing the CiviCRM data to the panel.

Is there a context or relationship that is required in the panel?

I have added CiviCRM fields directly from the 'CiviCRM Contact' tab of the 'add content' wizard in Panels, but they exhibit the same behaviour.  The fields don't appear on the front end of the site (or in previews).

I am working with Drupal 7.50 and CiviCRM 4.7.6.

Thanks for your help,
Lewis


texts: CiviCRM menu not displayed below website menu

texts:
If I set the Menu bar position to Below website menu, the Civi menu is still displayed at the top. All other options work properly.
I am using Pixture Reloaded as default website theme, Shoreditch as CiviCRM theme. I have tested this with the Automatic setting as well.
The css class still shows menubar over cms:

Does anyone have an idea how to solve this?


texts: CiviEvent sends an invoice copy to every guest

texts:
For a paid event set up in Civi 5.10.3 to allow 'Register multiple participants?', every person registered gets a PDF copy of the invoice with their registration confirmation if an email address is supplied.

I can't think of any good reason for this, particularly as the default, as it usually leads to confusion.

Is there any way to suppress this behaviour?


texts: How do I add CiviCRM fields to a layout box / container in a form created using webform-civicrm?

texts: I'm on Civi 4.6.17 and Drupal 7. I've created a webform using the Drupal webform-civicrm module. I also have the Drupal webform layout module installed. I've added a new layout box (which seems to mean the same thing as 'layout container' as referred to at the Drupal webform layout module page). How do I now add fields to my new layout box? Do I need to have the Drupal Form Builder module installed as well to add fields to the layout box?


texts: Filter Mailing List report for unsent mails

texts:
I have a mailing list with 788 recipients. When run, the hosting server choked at 520 records because of server limitations. When I run the sent/scheduled mailings report I can generate the delivery summary and can get a .csv of both the intended recipients and the successful deliveries. The list of "intended recipient" contacts has one of two entries in the Delivery Status field: Successful and Unknown.

What I need to do is  filter the original recipients list for delivery status=Unknown, but that I can't find a method to accomplish that.

I've solved the host resource limitations issue by using Mailchimp and the Joomla Mailchimp extension. Now I want to resend the email only to the 228 people the server never got to.  Is there any way? I have tried custom searches, filters, various reports, but no luck.

Any help would be appreciated.
Thanks.


texts: Mosaico - ImagickDraw unable to load any image on templates

texts:
After enabling the latest Mosaico on one site, we found the icons are not loaded after adding a new template. After dragging the image from the left to place on the template the image is displayed as below -

On opening the ajax url in a new window, it says -

  The Image <258*150_url> cannot be displayed because it contains errors`


texts: Is there a branch of CiviBooking compatible for 5.2x and PHP 7.3?

texts: I am looking for a version of civibooking that works for 5.x since I was unable to get current version from official repo to work on civi 5.28 and Php 7.3. Please comment if you have one. Thanks


texts: Extra blank lines in email saved in activities

texts:
When an email is sent with the non-bulk method, the copy of the email saved in the activity has extra blank lines at each paragraph end. Whilst not a big issue, it makes reading less easy because you have to scroll more and if you want to re-use the text you have to delete them all. With the bulk mail there is no problem. Is it something in my set up, a bug or a feature?
I'm on CiviCRM 5.26.2 and WordPress 5.6.1 but I think its a general thing and certainly not new.


texts: How to hide the "If you have a coupon code, enter it here" option, in an online registration form to an event?


texts: Hiking Club Membership and Hike Recording

texts:
We're a small hiking club in South Africa, around 150 members.  Our old software is no longer adequate and we're looking for something that will handle our membership as well as our portfolio of hikes.  Our current software generates reports that re what hikes members have done, distance covered etc.

Is CiviCRM the right solution or a bit of overkill?


texts: Sending scheduled email to participants before/after event

texts:
Maybe I'm missing something but I can't seem to find a way to send a scheduled email to participants of an event (f.i. 1 hour before or 1 hour after an event) using CiviRules.
Or maybe that's not possibile with CiviRules?
(the reason why I would like to use CiviRules for this is because i can use a specific emailaddress (location type) to send the email to the participant which is not possibile with the standard scheduled reminders)


texts: Smart group cache not updating with timeout of 0

texts:
We are on 4.6.18 and Drupal. The code in CRM\Contact\BAO\GroupContactCache.php has updated since 4.6.17.

We have users joining our public site to get a Drupal username and a CiviCRM membership (having paid a contribution). They then have a link to view and update their profile. When new users click to view their profile, they see "Permission Denied You do not have permission to view this contact record. Contact the site administrator if you need assistance."

From looking at the code, this message appears if the contact is not in the profile's group. The CiviCRM profile does indeed Limit listing to a specific group, which is a smart group with contacts with the relevant membership types.  Our smart group timeout is zero so it should update immediately. However this seems not now to be happening. If I "Cleanup Caches" then the contact is put in the group and it works fine.

I haven't got detailed evidence but it seemed like our smart group cache was never updating.

I could set the cache timeout and set up a scheduled task to rebuild the smart group cache. However this would not be ideal.

I haven't looked at GroupContactCache.php
Has the above behaviour changed in recently?
How can I fix this?
Or any other suggestions on how to avoid this problem?

Thanks, Chris


texts: Needing to change the email address emails are coming from

texts:
I am looking for some help on two issues:

When Mailing contacts who have booked for an event, the email is coming from an email address I don't want to use. How do I remove the preferred email address and add a new one?

Likewise, when manually registering an event participant, the default email address that the booking confirmation would come from is also wrong, and I wish to remove this completely and add a new one/

Thanks in advance


texts: I'm representing an NGO based organisation in India. We have decided to move from paper based process to paperless process or at lease "less-paper".  We need an expert to implement CiviCRM in our organization. I couldn't find any Indian contacts in civicrm website , Can someone suggest an alternative solution to find an expert?


texts: Why doesn't the Grapical display of contributions display correctly?

texts: On the CiviContribute Dashboard you can display the contributions over a time period as a bar chart, and the display is split between the monthly data and a separate block for the total received. However, if the total is more than £10,000 the block is not wide enough to properly display the axis numbers beyond 4 digits plus the currency. I have looked at the code for the page and this block is set to 150px wide by 250px height, but I don't know the code well enough to find out where to change this value. Can anyone help me with this, so I can edit it myself, and/or can you change the core code to give a width of at least 180px so the axis is displayed correctly?


texts: If contact has multiple cases, how do I filter a view to show only case roles associated to that case type

texts:
We have contacts that may have multiple cases, each with a case coordinator.

I have created a view for each case type that shows the associated case coordinator along with last activity date, links to add activities, etc.

Everything works great except if a contact has multiple cases, the case coordinator from a different case type may be listed instead of this particular case type's case coordinator.

I have a case type filter set to the specific type, but that doesn't seem to be enough.

Here are the relationships:

Here are the filters:


texts:
I'm setting up a petition and would like everything to be in my country's  language (Dutch). I already figured out how to change the wordings in the form itself (first name, last name, e-mail address) but three things remain in English:

The 'Sign now' button
The social media sharing option
The automated thankyou-mail

Any advice on how to change this? It's much appreciated!

Kind thanks!
Pablo


texts: CiviCase Users Unable to Edit & Add Activities on Cases They've Been Assigned

texts:
We have assigned the Wordpress Access Control permission “CiviCase: access my cases and activities” to a variety of users who we want to assign case roles to.  The description of “CiviCase: access my cases and activities” permission indicates that users with this permission should be able to view and edit case activities with cases they are associated with.

Users with this permission can view the cases that they've been assigned to, but they are unable to edit case activities and add case activities on cases that they’ve been assigned a role to. A popup box that says "Sorry, an error occured. You are not authorized to view this page" appears. The only way users assigned to a case are able to edit and add new activities to a case they've been assigned to is to enable the permission "CiviCase: access all cases and activities", which is something we prefer to not enable.

Another Civicrm user brought this issue a couple of weeks ago, so it appears to be an issue experienced by other users. It's a significant issue for organizations that will rely on Civicase. Is there a bug?

Users with Case roles cannot edit activities assigned to them: is this a bug?

We are using Civicrm Wordpress version 4.7.2.


texts:
we might have got our sequence / settings wrong, I'm not certain.

Currently  ( and likely in teh future ) we collect membership subs manually, with an annual membership.

We set it up such that memberships expire ( 1 Jan ) and when they expire they go into grace instantly for 2 years.

Then we manually collect sub in the spring and then batch load these based.

The membership contributions get recorded, but the status remains 'grace'.

Have we got this wrong? Should the membership be let expire not go to grace? Logically I guess the sequence should be member - end of year it becomes pending payment and only if payment not received it goes to grace?

Alan


texts: CiviCRM exports displayed in browser – no download / header missing

texts:
We're facing an issue with contact exports. They become displayed in the browsers as raw text.
We recently updated to php 7.1 and CiviCRM 5.25.0 but unfortunately and due to infrequent use of the export functionality we can't say if any of these changes directly led to the problem.
Does anybody has the slightest idea what could be causing this?
-- Update 2020-11-03 --
I'm stuck with this til today. I tried literally any detection method.
And exporting reports works.
When stracing apache for setting the header while exporting contacts or participants:
strace -fyp $(pgrep apache2|sed ':a;N;$!ba;s/\n/,/g') -s 30000 |& grep -i 'Content-Disposition:'

I get no results.
It would be too nice if anybody may shed some more light on this.
-- /Update --
Thx in advance


texts: Registering for Event without Email Validation

texts:
How do I allow people to register without verifying their email address. CiviCRM seems to give 'permission denied' and even 'you don't have permission to view this event' until the email address is validated.

The setup is:

LoginToboggan is used to enable the user to set a password.
Immediate login is used.
The user is given a 'registered' role.
User signs up and receives 'you do not have permission to view this event'.
Follows the email validation process and then can view the event.

An anonymous user can 'view the event'.

I want people to register for the event immediately as many people don't see their email and going offline means a lot forget where they are at.


texts: CiviCRM 4.7.27 upgrade undefined method CRM_Price_BAO_PriceField::getVisibilityOptionID()

texts:
After upgrading to CiviCRM 4.7.27 on WordPress 4.9.1 the civi contribute pages for donations are only rendering for users who are logged into the WordPress backend. Enabling PHP error reporting gives this error: Fatal error: Call to undefined method CRM_Price_BAO_PriceField::getVisibilityOptionID() in /var/www/wp-content/plugins/civicrm/civicrm/CRM/Price/BAO/PriceSet.php on line 1062.

Any suggestions for resolution? I checked the documentation for CRM_Price_BAO_PriceField and could not find the referenced method (edit: I was able to find the method in the github files and on my server (PriceSet.php and PriceField.php), it just doesn't appear on the doc.symbiotic.coop core file information pages)

The current error doesn't seem to be generating a backtrace, you can go to www.parksandtrails.org and click on the 'Donate Now' or 'Join or Renew Now' links to see the error as listed above, but no backtrace when that happens.


texts: Count Changes after Clicking on Custom Tab (tabset hook)

texts:
I have the following civicrm_tabset hook call, and it works great on initial page load. If a contact has 5 resumes, it shows the 5 next to the tab's title, like so: "Resumes 5". All good there.
However, when I click on the tab title and it opens my custom page, the tab title changes from 5 to 0. It refreshes that count back to 0. I'm not sure why. Is there something I need to be passing at the page level to make sure that count remains at 5?
 $url = CRM_Utils_System::url( 'civicrm/contact/talent-resume', "reset=1&force=1&cid=$contact_id" );
    $tabs[] = array(
      'id'    => 'resumes',
      'url'   => $url,
      'title' => "Resumes",
      'weight' => 300,
      'count' => $resumes,
      'class' => "livePage",
      'icon' => 'crm-i fa-file',
    );

The html of the tab looks fine, it shows the crm-count-5 in the class, so I'm not sure what is wrong here:
<li id="tab_resumes" class="crm-tab-button ui-corner-all crm-count-5 livePage ui-tabs-tab ui-corner-top ui-state-default ui-tab" role="tab" tabindex="-1" aria-controls="ui-id-31" aria-labelledby="ui-id-30" aria-selected="false" aria-expanded="false">


texts:
**UPDATE #5: See new answer at bottom. It's a fix!

**UPDATE #4: Decided do a clean install of 4.7.1 and see if I can point it to a working 4.7.1 backup database. I suppose I need to follow Kurund's wisdom on this, eh? https://wiki.civicrm.org/confluence/display/CRMDOC/Moving+the+database+using+phpMyAdmin

~~~~~

**UPDATE #3: Well, it's been a nasty Mercury in retrograde these past couple of weeks. Or Murphy's Law has been acting like a troll. Had a power outage last night that exceeded the UPS runtime and this sandbox didn't gracefully shutdown. Ugh! Got it back up except...

4.7.1 gave me a blank screen again. Cleared the cache, checked all settings. All was intact except now missing a few files and folders. Ugh! Tried to reinstall it from Joomla Install-from-Folder function but that now gives me a blank page (500 error). I then decided to uninstall 4.7.1 and reinstall a fresh package but same results. It stopping after 30% of the folder/files are being installed.

I checked the database again, too. Noticed that in table

  civicrm_domain
  config_backend

field is gone

Any ideas?

~~~~~~~

**UPDATE #2: I was finally able to upgrade after starting with a good 4.6.10 database backup. Then again in table

  civicrm_domain.config_backend

marked that field column to NULL, and made sure the version number was set back to 4.6.10.

Then reading through the documentation again, deleted

  ~/media/civicrm/ConfigAndLogs/Config.IDS.ini

and

  ~/media/civicrm/templates_c/en_US

I then performed the 4.7.1 install again and it worked.

~~~~~~

**UPDATE #1: Seems there is an error of corrupted table creation in the log files. http://pastebin.com/KajmZuC1

There is an old bug by core developers on this supposedly fixed but here it is again. https://issues.civicrm.org/jira/browse/CRM-9493**

I actually have a dead upgrade now from 4.6.10 to 4.7.1 on Joomla 3.4.8. I am still running PHP 5.4 if that makes a difference considering the warnings during the upgrade.

After initial upgrade, I got a system error message on pop-up and where the notice is at the bottom of the container next to the CiviCRM version number. The error was that no Crons were recorded. I opened Scheduled Events and it showed all active Crons having just been run.

Next, I Cleared Caches but on this settings page the paths were missing from the HTML. I decided to hit the Reset Paths button and then everything went blank.

Front and backends are completely blank now. All paths in civicrm.settings.php and civicrm.config.php are correct including MySQL settings.

Here is the latest entries in the ConfigAndLogs log file.
http://pastebin.com/KajmZuC1

Also, "No mailboxes have been configured for Email to Activity Processing" but this shouldn't break the upgrade.

Please advise.


texts: Webform (Contact Create API) doesn't set Communication Style

texts:
I have a webform set up as a Contact page that creates a civi contact and activity and assigns it. I have a scheduled reminder send out a "Thanks for contacting us...we'll get back to you asap..." email after the activity is created. There's an issue where Webform doesn't allow the Communication Format to be set and we use that in how we format our Email Greeting. We have Formal communication preference set as default option in Civi but when Webform creates the contact for some reason that default doesn't get set and so when the contact record is viewed there's no communication format at all.

What are the options to fix this? Can Webform be updated to be able to set the communication format?


texts: How can I prevent deduping from killing my server?

texts:
On a reasonably big data set (e.g. one with 70,000 individual contacts), it's not hard to kill your server with a naive manual de-duplication attempt. For example, if you don't specify a group, that number of contacts generates about 5 billion comparisons.

Has anyone thought of a way to prevent unreasonable deduplication attempts?


texts: Webform error for event registration - Invalid argument supplied for foreach()

texts:
I am getting this error at the top of a webform (in the civi section):

Warning: Invalid argument supplied for foreach() in wf_crm_admin_form->buildParticipantTab() (line 930 of /home/site1/public_html/sites/all/modules/webform_civicrm/includes/wf_crm_admin_form.inc).

It happens when a contact is added to an event. I have attached a screen capture.

A new part in the form has appeared. No idea where from. I think this might be causing the issue. See attached for for more information.


texts: Linking directly to Contact's Activity from Scheduled Reminder Email

texts:
I've created a Scheduled Reminder email that triggers 1 hour before each SCHEDULED Meeting or Phone Activity.

In the reminder email I want to include a link directly to the "With Contact" for the Activity. Or, even better, link to the Activity so that I can easily update the Activity.

What's the URL/Token combination needed for a direct link to the Contact's Activity?

This doesn't appear to be covered in the documentation: https://wiki.civicrm.org/confluence/display/CRMDOC/Tokens

I'm using Wordpress as my CMS.


texts: Setting a custom invoice date in CiviCRM

texts:
Does anyone have an elegant solution to setting a custom invoice date in CiviCRM? One of our clients likes to create invoices for the future, and would like to mark the invoice as such.

Currently, we're using a custom field and replaced the $invoice_date token with the custom field token as the date.

We're wondering if anyone else has come up with a different way?


texts: Are Civicon Session materials aggregated somewhere?

texts: I have seen session slides on slideshare and some youtube videos, and links posted on civicrm.org but wondering if there is a repository for all things civicon somewhere that is publicly available?


texts: How to use advanced search to search contacts created by logged in user

texts:
Basically what I need to do is search for contacts created by the current logged in user. I have tried the change log tab but that does not work for me because then it would be contacts created by user x which is not what I want. I don't know if this is possible. Please help.

I need to create a smart group with this search criteria. My end goal is to use this smart group to give access to all users to view/edit the contacts they themselves created,


texts: Is CiviCRM 4.6.x compatible with newer version of PHP, 7?


texts:
Do the CiviCRM extensions cost money or are they free?

Sorry, very new to all of this.  Trying to compare open source with something like Salesforce.  So with Salesforce they have a kind of app store where you can buy things made with salesforce CRM?

Thank you in advance,
Chloe


texts:
We have a localized CiviCRM instance (Dutch), and after upgrading from 4.6 to 4.7, some things are not translated. In particular, after a contact search, the tasks you can do on the results (add relationship, delete contacts) are not translated.

So I created a Transifex-account, but there it says that all strings are translated. (I tried to see the translated strings using the Transifex UI, but I always get 'There was an error connecting to server.   Reload   '.)

This was not very helpful, so I cloned the l10n-repository from github. I looked at the .po-files, and it looks like they are automatically generated from the sources of 4.6. In 4.7, lots of strings changed, like e.g. in 7f82e636, but the new strings are not in the po-files.

So I wonder how we'll get CiviCRM 4.7 correctly translated.