texts:
When I click on the {mailing.viewUrl} inside an email the URL formed is as follows:

www.http.com//www.example.com.au......

I am not sure why the www.http.com is replacing http:

Cheers
Martin Fuggle


texts: Best way to copy Contact name to Nickname & Legal name

texts:
CiviCRM 4.7.29 / WP 4.9.4

Maybe it's a bit of OCD but I imported about 1000 Organizations and the name imported into Contact name. That left the nickname and legal name fields blank, which drives me nuts. I want them to match the Contact name.

I tried to use Profiles thinking maybe I could specify a variable pointing to each record's Contact name but I couldn't figure out how to make it work.

Is there a way within Civi to update a large number of records to achieve this?

thanks


texts: Multi-value fields in profiles - how to?

texts:
When I add a multi-value custom fields to a profile, Civi only allows visitors to enter the fields once - as a simple fields.

How to configure custom fields and profile to get form with multi-field table described in "Multi-value fields in profiles" section on http://book.civicrm.org/user/current/organising-your-data/profiles/

This table with 'new record' in form is also described there http://wiki.civicrm.org/confluence/display/CRM/Multiple-record+Custom+Data+Sets+in+Profiles


texts: Generalizing create/update validation on form and api

texts:
Lemme cite an example before explaining the cause.

Updated the amount of an contribution id n via Contribution.create api from $100 to $150 and "Execute"d it from API Explorer. (No validation error)
Open the edit back-office contribution form of same contribution ID n. The amount is rightfully changed to $150, but problem is when without doing anything simply save the form and it throws a validation error "Net amount and/or Fee amount must be equal to the Total amount"

The question arises "why didn't I got any validation error at step 1?". Answer lies on the native validation rules written under formRules() func which are not meant for corresponding API.actions. Likewise there are other
entity attributes which raise the same concern.

So my suggestion/fix would be to introduce a BAO function for such validation(s),

    Flexible enough to accept input params from both APIs and Forms

    Provide API Exception(s) and validation error(s) for APIs and Forms respectively

    Optimize API and Form validations

    And of course would be a BAO function to get called in both APIs and Forms

Thoughts ?


texts:
Each year we sign members up for our organization. Have been using civicrm for 6 years. Past 3 with PayPal. This year the contribution page loads very slowly. Browser circle spins one way then the other. Current on Joomla and civicrm. Joomla 3.5.1  CivCRM 4.7.7 PHP 5.4.43 mysql 5.5.31  isfpta.org is the site.  https://www.isfpta.org/index.php?option=com_civicrm&view=Contributions&task=civicrm/contribute/transact&id=14&reset=1&Itemid=1954 is the page.  Earlier in the year Feb/Mar we didn't have this problem.  I ran the browser inspector and did a performance trace.  I hoped for a single or several items that were taking along time but only found many little items.  I am not able to ascertain from the trace any smoking gun.

From clicking on the joomla menu item, a civicrm contribution page, it will take upwards of 10 seconds for the page to load at times.  The browser wheel spins one way and then spins the other.
I have a separate issue that I assume is unrelated, Paypal Standard return update not completing


texts:
None of my groups are listed on the Manage Groups option in the Contacts menu. Its applies to all my sites which vary between CiviCRM 5.2 to 5.11. Some are new sites some upgraded from 4.7.x where it worked fine as far as I can remember. The groups are there (for example in a drop down in Find Contacts). I can add a new group, but that doesn't show in the listing either. Also there is no search button on the Find Groups part of the page (it is there in the documentation).

I tried the WordPress sandpit demo and that is the same (though most of the menus are missing (but fortunately Manage Groups was there) so it looks a bit odd and on the Drupal sandpit I couldn't see any menu, so couldn't try there). Nothing in the CiviCRM log at the time I tried.

I'm using WordPress 5.1 and CiviCRM 5.2 to 5.11 on various sites.


texts: Export Fails when Merge Households Option Used

texts:
I get a DB Error when exporting contact search results using the "Merge Household Members into their Households" option (image below).  Only this merge option causes the error.  The others do not.

I am using CiviCRM 4.7.1.  I didn't get this error with any version of 4.6 I used.

I was able to reproduce on both the WordPress and Drupal sandboxes.


texts: What permissions are needed to renew memberships in back-end?

texts:
Up until sometime this spring 2020, non-admin users were able to manually renew memberships in the back-end.
Now that is not the case, see below. There is no edit or renew links.

For an admin it looks like this:

I assume a Civi upgrade effected this. The site is on 5.28.3.
We are using Activity Type ACL extension but that was added well prior to this issue coming up. Related member permissions I have for non-admin user level is:

access_civimember
edit_memberships
add_activities_of_type_membership_renewal
edit_activities_of_type_membership_renewal
view_activities_of_type_membership_renewal
add_activities_of_type_membership_signup
edit_activities_of_type_membership_signup
view_activities_of_type_membership_signup


texts: CiviCRM Wordpress Installer Database Instructions incorrect?

texts:
Instructions were here: https://docs.civicrm.org/sysadmin/en/latest/install/wordpress/

I downloaded the zip to my local computer, then ftp uploaded it to my web server. I created the /wp-content/plugins/files/ directory and ensured it is writable.

I'm not using Localization so I skipped that section.

I then enabled the CiviCRM plugin and ran the installer. I filled in the database settings, and it continued on with the Check Requirements and Install CiviCRM which completed successfully.

The part I don't understand is that the installer assigns a database administrator name and password, however the password is starred out ***** so I do not know what it is. I don't get the point of this, how can I possibly maintain or recover the database if I don't have the password credentials???

I thought that after the install it would email me those credentials but it appears to be top secret so that even me, the administrator, cannot know it. How do I obtain this password?


texts: How do I disable custom css on frontend with Wordpress?

texts:
I currently have a custom CSS file specified in Settings > Resource URLS. In this CSS file I override some civicrm.css styles to make the CiviCRM admin screens look a little more like the Wordpress admin area. However, I would like to disable this file when viewing frontend pages e.g. contribution pages.

I've tried the basic usage of the Wordpress wp_dequeue_script option but I can't find what the handle is for this file, so this doesn't work.

Note: I have successfully disabled the standard civicrm.css on my front end pages with this code in functions.php suggested by another user:

function rs_remove_civicrm_styles() {

  global $civicrm_root;

  if (empty($civicrm_root)) {
   return;
  }

  $civicrm_css = CRM_Core_Resources::singleton()->getUrl('civicrm', 'css/civicrm.css', TRUE);
  CRM_Core_Region::instance('html-header')->update($civicrm_css, array('disabled' => TRUE));

}

But I'm not sure same method can be used for the custom css file?


texts: Integrating CiviCRM with phone management software

texts: Has anyone tried to integrate CiviCRM with a phone management system (probably but not necessarily VOIP)? We know this is possible technically speaking but are very interested in experiences and stories...


texts: Contribution form with both Stripe and Paypal

texts:
I have a contribution form that allowed payment by both paypal and stripe. It used to work. Now when a donor checks paypal, nothing happens. The java script reports it is trying to access stripe.com.
Any suggestions.

I am using:
CiviCRM 5.4.1.
PayPal_Standard is shown in Settings | Payment Processor
Stripe is also shown in Settings | Payment Processor
latest stripe extension is used
There is nothing in Settings | Payment Method that indicates PayPal
just checks and credit cards

Unfortunately, I don't know when it stopped working.
But I think I tested it after updating to the latest Stripe extension.

Has anybody else reported this problem?


texts:
We are using tablets to sign up new members on the street, but are getting the following error:

  Your browser session has expired and we are unable to complete your form submission. We have returned you to the initial step so you can complete and resubmit the form. If you experience continued difficulties, please contact us for assistance.

It's a similar problem to Intermittent "Your browser session has expired and we are unable to complete your form submission" errors, but we're on CiviCRM 5.7.6 and Drupal 7.67.

Is it possible to change these timeout settings?

Thanks,
Sam


texts:
I want to make a Drupal view showing CiviCRM Relationships and I want to expose the start and end date as exposed filters.

I want the user to have a nice GUI for picking the start and end date so I installed the required modules for displaying a jQuery date picker.

However, the CivCRM Relationship Start and End Dates do not seem to be recognised by Drupal as date fields.

I am trying to follow these instructions on how to properly set up a date filter on a view:

https://www.drupal.org/node/2481343

But as you can see from the screenshot, I am unable to do the first step, because "date" is not an option in the "filter" dropdown.

I can select the start and end dates anyway, of course. But then I do not get all the date-specific options like "Date selection form element" or "Filter Granularity".

Am I right, or am I missing something?

Do you know if any attempts have been made to fix this in core?

Interestingly, when setting the same fields as sort fields, they do seem to be treated as dates:


texts: How can I count and display the count for petition questions/activities

texts:
I have a petition. It has 3 questions which have 3 possible answers each.
eg Will you back my campaign to do X? answers: yes/no/not sure

I would like to be able to quickly display the results of my survey as I can in webform.

What should I use to do this. I can count one question with one answer using views but can't see how I would use views to count all the answers to each question and display them.

I can't work out how to count the activities in reports. I am only looking to display the questions and answers in text form (not graphically)

Any thoughts!?

PS if anyone knows how to find the activities in the SQL table that might help also


texts: How do I expose a civicrm profile to collect data from anonymous user (an application form) on a drupal node?

texts: I have created a civicrm profile with the basic data I need. I have set all the fields to "public and listing," made them searchable. I have also set the form to add users to a group and to limit users to another group in listings. But now I am looking for the html code snippet so I can place the profile on a node in D7. I don't see anything but "Preview, Profile Create Mode, Profile Listings Mode,disable, Delete and Copy Profile" in the "more" link. Where is the html? I want this to be exposed to anonymous users so they can fill out and submit as an application form.


texts: How do I flag an extension which no longer works?

texts:
just to save anyone else some time.. I tried one  and couldn't get it to work.  I contacted the author and he confirmed it doesn't work and wont be updated.

so to save the next person going down the same route.. can I flag it?


texts: What low-cost third-party mailing platforms work well with CiviMail?

texts:
Mandrill users are being notified that the service is being integrated into Mailchimp, and you must have a paid account by the end of April.

What alternatives are out there that work well with CiviCRM?  Some that look interesting might be Sendgrid, Mailjet or Mailgun.

Any experiences with these?


texts: Is it possible to Contact.get where civicrm_id = external_identifier, using API?

texts:
I want to get all contacts who have "CiviCRM Id = External Id"

This API call doesn't work because, id is expecting a numeric value

$result = civicrm_api3('Contact', 'get', array(
  'sequential' => 1,
   'id' => "external_identifier",
));

Any way to accomplish this using API?


texts:
I'm trying to make an external REST API call to rest.php.  I was getting "Unable to decode supplied JSON", but then I figured out I could take the values I was stuffing into json (from the API Explorer) and then make them their own parameters (REST API without JSON just key=value).

I'm trying to request contributions between two dates.  In the json style as shown in the API Explorer, it's like this:

&json={"receive_date":{"BETWEEN":["2017-12-01","2017-12-01"]}}

I'm trying this, and it's not working:

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

Any ideas?


texts:
Is it possible to structure

/sites/all/modules/civicrm/extern/rest.php?entity=Activity&action=create&json={"sequential":1,"activity_date_time":"2015-09-01","id":2,"subject":"test","target_id":"1529697","status_id":2}&api_key=X&key=Y

without the JSON section? I'm integrating with Survey Gizmo and it assumes all REST calls will be in format ?variable=value&variable=value etc..


texts: Can I record contributions and pledge payments in a "Batch Data Entry" of type pledge payment?

texts:
When using a data entry batch of type "Pledge Payment" can I record stand-alone contributions as well as pledge payments in the same batch?

(It seemed like I could do this in 4.6.0, but its not working in 4.6.3. In 4.6.3 I get the following message for contacts with no pledge selected: "Please correct the following errors in the form fields below:
You can not record two payments for the same pledge in a single batch." )


texts: How to enable authenticated user editing their own record in Drupal

texts:
Using CiviCRM 4.6.9 and Drupal.

We need to have a form that allows users to update their own contact data.  While we could do this by creating a specific profile, it seems this is already supported via a connector to Drupal with the form exposed here:

/user/1/edit/name_and_address

This works for administrators, but for regular authenticated users the fields don't show up - although there is a "Save" button down at the bottom.

What do we need to do to enable this for regular authenticated users?


texts:
Not a question so much as an answer. After installing Civi 4.7.6 under WP, I tried running all scheduled jobs using: easyCron, Cron (through CPanel) with wp-cli, cron.php, and from commandline  curl, php...wp-cli, php...cron.php.  Finally I was successful running all jobs using URL 'https://mysite.com/wp-content/plugins/civicrm/civicrm/bin/cron.php?user=adminuser&password=mypwd&key=sitekeyfromcivicrmsettings
I had to move civicrm.settings.php to wp-content/plugins/civicrm - the install had placed it under wp-content/plugins/uploads/civicrm.   Some errors I got when trying to run as an actual cron job (putting it into crontab) referred to 'not finding default/civicrm.settings..' which sounds to me like a Drupal-oriented message, since that's where Drupal civicrm.settings.php go but not Wordpress.
HTH someone else.


texts: Does version 5.27 break links to live and test-drive pages for contribution pages?

texts:
Just upgraded a WP site to Civi 5.27.1. From 'Manage Contribution Pages' the links as given to Live and Test Drive for a given contribution page appear broken - i.e. they create a white screen indicative of a fatal error. The URLs provided are:
Live Page: https://www.example.org/wp-admin/admin.php?civiwp=CiviCRM&q=civicrm%2Fcontribute%2Ftransact&reset=1&id=1
and
Test Drive: https://www.example.org/wp-admin/admin.php?civiwp=CiviCRM&q=civicrm%2Fcontribute%2Ftransact&reset=1&id=1&action=preview
If I edit these URLs to replace "civiwp" with "page" they work fine.
Bug, or am I doing something wrong?
Seems to be related to this announcement: https://civicrm.org/blog/kcristiano/civicrm-526-and-wordpress-important-notice
Update: nothing in the Civi log.


texts:
CiviCRM 5.16.3
Event uses price sets

Background: We offered a $40.00 price set option for an event that later became free. We created a new price set option for $0.00, disabled the old one, and updated the registration to select the new one. After this, the contribution changed status to 'Pending Refund'. We click more > record refund, the refund due is $40.00, we enter the date, payment method, transaction ID, fee amount, etc. and click 'Record Refund'. The green triangle spins forever, nothing happens, and we do not see an error message in the Civi log viewer or in our error.log from apache. Suggestions for how to proceed?

Update - 9/6/2019. We can make a test contribution as 'Check' and it refunds without a problem. We also created another registration for this event, and paid by check, going through the same pattern, and it was unable to be refunded (same error). Thus, it does not seem to be limited to a payment processor error?

I followed this guide (https://docs.civicrm.org/dev/en/latest/tools/debugging/) and then enabled various forms of debugging and eventually got the page to display the error:

  Error: Call to undefined function bccomp() in
  CRM_Financial_BAO_Payment::isPaymentCompletesContribution() (line 545
  of
  /srv/www/www.biodynamics.com/public_html/sites/all/modules/civicrm/CRM/Financial/BAO/Payment.php)


texts: CiviEvent registration & IATS payment processing fails to blank page

texts:
IATS plugin 1.5.3 in Civi 4.7.11 on Joomla 3.6.2

First off, CiviContribute works like a charm.

Second, in backend (test) and frontend (live), CiviEvent form comes up and goes to second step correctly. Upon submitting for payment times out with this error but the payment is processed as per IATS TEST88 portal:

On Chrome:

  This site can’t be reached

  The webpage at
  https://alcoholjustice.org/administrator/?option=com_civicrm&task=civicrm/event/register
  might be temporarily down or it may have moved permanently to a new
  web address.

  ERR_SPDY_PROTOCOL_ERROR

On Firefox:

  Request Timeout

  This request takes too long to process, it is timed out by the server.
  If it should not be timed out, please contact administrator of this
  web site to increase 'Connection Timeout'.

I'm not getting any log reports even with debugging on. I increased the PHP input and execution time limits to 5 minutes. It times out at 2 minutes.

Also, just want to be sure this is the correct URL for iATS:
https://www.iatspayments.com/netgate/ProcessLinkv2.asmx?WSDL


texts: Upgrade from 5.10 to 5.12 contact images no longer appearing

texts:
I'm wondering if anyone is experiencing a similar issue.
I upgraded to 5.12 this morning and now it seems contact images are not displaying...

I grabbed the url
/wp-admin/admin.php?page=CiviCRM&q=civicrm%2Ffile&reset=1&filename=imageName.jpg&mime-type=image/jpeg&reauth=1

To see if I could access the image, but it downloads an unreadable file.

I have tried deleting a contact image and uploading a different one with the same results, and it does seem as though the images exist on my file system....

Any thoughts would be appreciated


texts: I have tags set in my database. A few that I want to search by are D1 School, D1AA School and Recruiter. I want to find all contacts that have D1AA School and Recruiter checked off but I can't find any search that does 'and' and it only does 'or'. That gives me any contact that has D1AA School or Recruiter checked. I am trying to create groups based on the tags so I can do a mailing.


texts:
I'm looking for some recommendations.  I've inherited a CiviCRM instance with a quite complicated custom data structure, and I want to review and update it.  I was wondering if there were any tools or APIs that would help me export or visualize the data schema/fields for different object types?
The best option I can find is exporting all the fields for each type using the Export to CSV function, but that will require manually selecting hundreds of custom fields for each contact type in the field mapping GUI. UUUUggghhh! :-)
I've found the Data Explorer extension (https://civicrm.org/extensions/data-explorer) and am checking if that's a possibility, but that seems to have the same issues as the Exporter -- lots of manual selection.
Can anyone suggest a better way? Thanks!


texts: Filter in report mixing is one of and is not one of

texts:
Is there a way in any report to have more than one Tag or Group filter? For instance it would be useful to to create a report with filter is of "this tag" and is not of "this other tag".
Any idea?


texts: How to allow parents to register children but still record their own info

texts:
For class registrations, parents register their children, but they don't need to register themselves (because they won't be attending the class). Has anyone come up with a way to handle this, that allows us to capture the parent and students as regular contacts, vs resorting to a profile of custom participant fields?

I've looked into the Youth Registration extension, but there are open issues stating that it isn't compatible with 4.4 (and we're on 4.5.8).

Edit: Webform-CiviCRM is Drupal-specific, so is not an option for this organization.


texts: Any best practices/tips for creating a query view against contacts to used with webforms?

texts:
I've created a view to query up existing contact and I was able to create a link to a webform with a specific id.

I added a combined filter for first name, last name and email.  Before it filters you get everyone in the db.  What's the best way to not get anyone until you hit search?  (I found that making the search box mandatory did that, but is that a good way?)

I don't suppose there's an easy way to get the nice autocomplete box that you get for webforms existing contact is there?

Any gotchas I should watch out for?


texts:
I have civicrm 4.7.31 on D7. From my old civicrm 4.1.1, I have exported the following fields in a csv file:

1) civicrm_contact (my external_identifier) in 4.7.31
2) geo_code_1 (latitude)
3) geo_code_2 (longitude)

Now, when I want to fill fields in the import contact wizard in 4.7.31, I find the latitude field, but there is no longitude field.
I have tried unsuccessfully to update the geocodes using the mapping function and Google in the Mapping and Geocoding section of the system settings.


texts: Is there any direction toward supporting a direct post payment processor model

texts:
I was reading Eileen's blog here:
https://civicrm.org/blogs/eileen/rethinking-payment-processing

and was wondering if there is any plans to update the payment processor architecture to support the direct post model.

All data is collected on a civi form in the browser but the form is posted directly to the payment processor. The user is redirected to a url in civi that then provides success or failure processing.

It seems that the doTransferCheckout() method still doesn't quite handle this approach.

Thanks


texts: How are long jobs handled, e.g. Contact import

texts:
I'm trying to understand what happens with an import.

A file gets uploaded in a POST operation, then there's GET requests polling(?) of civicrm/ajax/status?id=somelongid

Which request does the work? Is is the POST?

Is it that the POST is a really long running script (server timeouts permitting) but that it's triggered in the background? (EDIT: yes, that's true.) Where does the somelongid come from for the GET polling? Or do the GET requests trigger processing the next batch? Does the process continue without the status requests (e.g. if you close the browser).

The reason for wanting to understand is primarily that I have a timeout issue and I don't want to increase the global timeout for all requests, so I change the timeout for certain paths in nginx config. But also I'd just like to know and couldn't find it in the docs.


texts: I have events that i would like to have users able to update their registration. Mostly i want them to be able to cancel. These are free events so no refund is needed. Is there any way to accomplish this?


texts: I have close to 100 financial accounts from Quickbooks that I need to get in CiviCRM. I'd like to avoid entering these by hand. Is there any way I could import these?


texts: What table and column contain the date a contact was added?

texts: I'm trying to determine the correct table and column to check the data a contact was added to the civicrm-contact table. What is the best method for doing this?


texts:
I am trying to use the Civi API within a Drupal view, in the global PHP field.

It is all working, except for when I try to use an "Available Variable" from the view, it throws and error.  When I hard code the variable's value, it works, though.

The variable I am using does contain the correct data; if I return just that variable, it returns the ID it should.

The code:

civicrm_initialize();
$start_date = civicrm_api3('price_field', 'getvalue', array(
  'return' => 'active_on',
  'price_set_id' => $row->price_set_id,
));

return gettype($start_date);'

Error
field active_on unset or not existing

I am using Drupal 7 and CiviCRM 4.6.28.


texts: Our organization is considering moving to CiviCRM after many years with Z2Systems Neon CRM and in downloading the MySQL database from Neon we note that there are 10 pages of table in the Neon database and only 4 in the Civi template.  How do we map Neon to Civi?


texts:
When I update my civi extension simply by changing the codebase to the most recent version (because the most recent version is not showing up in the config options), my extension is broken.

I updated "nz.co.fuzion.omnipaymultiprocessor" from 1.7 to 2.2

Probably because some database changes required in the new version?

I'm wondering if there is database update script like the drupal update.php equivalent?


texts:
I'd installed my WP like this:
www.original_domain_name.com/wordpress.
Now I've changed the index.php to call the installation under www.original_domain_name.com (i.e. so that it shows as a root URL) - no moving files/databases etc.. That works fine and e.g. CiviCRM profiles are being shown correctly under e.g. www.original_domain_name.com/profile

Second change - I've added a new domain name, and while everything displays fine when not invoking CiviCRM, I get following error when e.g. profiles are supposed to be displayed -> e.g. www.new_domain_name.com/profile

Could not find the required contact id parameter (id=) for viewing a contact record with a Profile.

Is there anything I need to change to reference the new www.new_domain_name.com?

Cheers


texts: I'm trying to help my client access CiviCRM data from their old website. They still have access to the files but when we log into Wordpress, the CiviCRM dashboard is empty. We created a subdomain to host the previous Wordpress site files and I can see the Civi plugin in there but we can no longer access the data. Any thoughts on how to get this to work again? Is there any way to pull data directly from the ftp site?


texts: I have some forms in drupal 7 using native civicrm, and some using webform integration. The webforms use normal select dropdowns for state and country, but when i create a contribution page in civi, it uses styled select2 dropdowns. I would like to disable this and just have plan selects. Is it possible?


texts: Can I create a dynamic graduate student dashboard with CiviCRM?

texts: I just recently heard of CiviCRM. My organization provides graduate students with scholarships for tuition, upkeep, etc. We want to create a platform where a graduate student can create an account and request money to be released for let's say payment of tuition. The request should generate a pdf and after approval update their dashboard with the new amount available to the student. Is this something that can be done with CiviCRM on Wordpress? We're currently using Ultimate member plugin and elementor pro to design the dashboard, with custom fields displaying user data on the dashboard.


texts: Advice: Best way to create investment records, is creating 2 new entities efficient

texts:
I want to track financial investments in our companies.
Lets say we have an organization Testco in our database.
I want to be able to track any investments made into Testco and be able to search them and provide reports off of them.
I feel like using a lot of custom fields will not give me the power I need. So far I was thinking of the following schema.

Investment Round [Entity]{
    Consists Of
        Investment[Entity]{ // can contain many records with the same id to reflect investment timeline (considering, committed, closed, and funded)
            Consists Of
                To: Organization
                From: Organization
                Investment Type: Custom Field //grant, convertible note, cash, in-kind services,equity
                Organization Fund: Custom Field
                Investment Status: Custom Field(timestamp auto-update on status change to provide timeline)
                Amount: Custom Field (money)
                Date: Custom Field (status based)

            }
        Date Begun: Custom Field (date)
        Date Ended: Custom Field (date)(auto-update)
        Goal: Custom Field (money)
    }

As you can see, this would require creating two new entities. Any advice as to an easier way to achieve this? And if this is in fact the best way to move forward, any tips? I feel like creating a new entity(component) is relatively underdocumented.

My thanks,


texts: Best way to make new groups mailinglists by default

texts:
I wonder how I may preset the mailinglist group type checkbox in group's edit form for new groups.

From a quick glance to code and db I assume that the is_default field in the db is not used here (have tried also).

So how could I do if I want to avoid a client side/js hack?


texts: Considerations when activating WordPress Multisite

texts: I have Civi for WordPress installed on the main domain of our site and have multiple other WordPress installations on various subdomains. To streamline things a bit, I'm preparing to enable WPMS. I was wondering if there are any special considerations I need to make to ensure Civi doesn't get broken somehow. It doesn't need to share data with any of the other sites.


texts: Event Registration (Pay Later) does not retain address

texts:
Since upgrading civi back in fall of last year to 4.6.4 (Wordpress 4.4.2) event registrations no longer retain the address for a new user. (I have a profile set up with all the fields pertinent to mailing address set up.)

The confirmation page shows all the information in the profile, but the confirmation email is missing all the address fields and there are not retained in the contact that is created.

I've read this post about errors when you have "Billing address required" checked. That's not the case here, I don't have that checked. I'm guessing it is still somewhat related? But why would civi eat the mailing address if no billing address is provided???


texts: How to disable email notifications when confirming a donation in CiviCRM admin view?

texts:
When a admin user sets a contributors record on civicrm/contribute?reset=1 from pending to completed an email is sent out.

Is it possible to turn off this email function for this email only.


texts: Is there a way to allow one user to register many participants for an event and to send separate invoices to each participant?

texts:
All of our client's members are either other associations or business "associate members." Many of the associations are managed by association management firms. The association managers need to track payment for each event registrant but they want the convenience of multiple registrations for the online registration. Similarly, Associate members may have satellite offices which need to receive individual invoice but they want one person in the organization to do all the registrations.

We just realized that partial payments from all the business/management entities apparently can't be applied to each registered user. So if  "Jo Bob" pays his fee, for example, they don't want that payment to be applied to "Mary Jane."

I don't see a clear path to resolve these competing needs. Does someone out there have a similar need or know of a solution to this user dilemma?


texts: What's the best way to code for extensions to work for multiple civicrm versions?

texts:
For some extensions, we need to have a different behaviour for different civicrm versions.

I can either manage two branches, but I'll have to backport some fixes and that seems a big overhead. For most of our extensions, I'm tempted for a lighter approach with a single code base


texts: Relationship Permissions as ACLs don't work

texts:
I am working with CiviCRM 4.6.11 integrated in Drupal 7.4.1
I installed "Relationship Permissions as ACLs" 1.2 (compatible 4.6):
https://civicrm.org/extensions/relationship-permissions-acls
It is also necessary: "CiviCRM Entity Settings":
https://civicrm.org/extensions/civicrm-entity-settings
but this extensions is compatible ultil CiviCrm version 4.5 .
Can you help ?
Thank'you


texts:
Given that the answer to whether CiviCRM will work with Backdrop is Yes, and that the integration is "functionally complete" -- how do I install CiviCRM on an existing Backdrop site?

It is not included in the wiki instructions yet, and when I download the latest Civi 4.7.x Backdrop tarball from Sourceforge and try to follow the Drupal 7 instructions on /modules/civicrm/install/ I get an error:

  This installer can only be used for the Drupal version of CiviCRM.

I have been successful in generating a localhost Backdrop version with buildkit but not installing on a site that is not on localhost.


texts:
php5.5/Mysql5.6

latest wordpress

civiCRM 4.6

host: ganfi.net

Install but then hangs, and hangs & eventually crashes site

FIX??


texts: How about prioritized locations in export

texts:
When sending mass mailings the recipient's email address locations may be handled prioritized if authors want to: Use location x and if contact doesn't hold such an address use main address.

It would be great to provide such a decision for exports: Export address of location x but if it doesn't exist, use main address.

What do you think?


texts: I would like to reorder report columns.  Is there a way to do this?  It looks like someone else has asked a similar question (Reorder Report Column) but it looks like the answer is to use some other program to make this happen.  I'm wanting to use this report as a dashlette so using a different program won't work for me.  I'm willing to look into custom coding if it is needed.  I'm using 5.16.4  Thanks.


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

texts:
According to this CiviCRM wiki page, when a new Drupal user is created, its e-mail address is checked against the CiviCRM contacts list and, if a match is found, the new user is associated with the existing contact. While this helps to prevent contact duplication, it seems like it could also represent a potential security problem.

A simple scenario: a membership organization has migrated their existing CRM data to CiviCRM. They would like new members to be able to sign up online, so they allow anonymous Drupal user account creation. Existing members are encouraged to create Drupal users (which get automatically associated with their CiviCRM contact information) so that they can renew their memberships online.

In this scenario, what prevents a malicious person from using an existing contact's e-mail address during Drupal user registration? Using an existing contact's e-mail address (which can be assumed to be fairly public information) would potentially give the malicious person access to all of that contact's personal information, and (if Rules synchronization is implemented) access to other parts of the website they shouldn't have access to.

This appears to me to be a security hole with the potential to expose personal information; am I missing something? How can this be mitigated?


texts: How can I make tags in tagsets visible to users who want to tag contacts

texts:
When I have a group of tags in a tagset, I notice that when I'm trying to add tags to a contact I can't see the list of tags (as I would if it was a standard CiviCRM multi-select field).

Instead all I have is the option of keying characters in and seeing possible matches. I guess that approach is OK if all my users know the tags well, but for a new user who doesn't know the tags it's a bit daft, and I'll end up having to produce a cheat sheet with all the tags on it.

Is there a reason why these tagset fields are different from conventional multi-select fields? Is there a simple way to change them so that the tags do appear in a drop-down as well as responding to keyed characters?

I'm working with CiviCRM 4.7.24 and Wordpress 4.8.2, and I see the same behaviour regardless of whether I add tags from the contact summary screen or by editing the contact record.


texts: Document merge in CiviCase from scheduled activity in timeline

texts:
I've created a case type with a timeline that includes document print/merge activity. Where I am running into issues is with doing the document creation from that timeline generated activity.
When I use the 'Add Activity' drop down in the case manangement I can create a document, use a template, all the things I would expect when using the 'Print/Merge Document' action.
However, when I go to the scheduled activity which was created when the case was created and edit it I can't seeem to do any of those things. I don't have the option to use a  document template or create a document the way I can using the drop down 'add activity' option.
Are activities in case standard timelines just notes/reminders and the actual task has to be done using the dropdown or am I missing something? If I'm not missing something and they are just notes/reminders why set up the timeine/sequence instead of just setting the possible activities.


texts: Multiple Mailing Addresses Based on Time of Year

texts:
Is there a way to add multiple mailing addresses to a membership record?

Say a member is in Florida during the Winter and Colorado during the Summer, is there a way to add the second mailing address? I mean, I suppose we can add the address in billing or notes, but was curious to see if anyone came across this issue.

Thanks in advance!


texts: Excluding blank or null values from report

texts:
I'd like to create a report that includes a record if ANY value for a particular column is present, but excludes if there is no value.

For example, for gender of Male or Female, I'd like to filter if someone entered either value. Entries without a value would be excluded.

I did find this question/answer which suggests using multiple choice selection as a workaround.

This answer is not sufficient, since the columns that I want to choose do not have the option to multi select values.

Any suggestions would be appreciated.


texts: How can I efficiently dedupe a very large number of records?

texts:
I'm working on a database with about 600,000 records, of which approximately 200,000 are believed to be duplicates.

Has anyone got experience/advice for doing dedupe at scale?  I imagine that we'll need to export and do some sort of external dedupe.  Has anyone successfully used the datamade dedupe with Civi?  I know that the "merge" API got some love a couple months ago - will any of that help me?


texts: Where can I find information about CiviCRM?

texts:
Hello my name is Joel and I have a series of questions about CiviCRM.

Who can implement CiviCRM? Is the developer, the supplier
(local?) or regional partner? Do you have a technical service?
Which companies have implemented CiviCRM?
Advantages and disadvantages of CiviCRM.
Your product in what type of sector? In the specific business / industrial sector (vertical) or is it a multisector product?

I hope an answer soon, that is well elaborated since I am interested in this product. Thank you!


texts: Mailing is saved but does not reach recipients

texts:
I'm really out of my depth now.
Here is the situation:
CiviCRM version 5.36.0
Wordpress Plugin
Hosted on Linux Server
Administer->System Settings->Outbound Mail: enteredSMTP-Server, Testmail is sent and arrives at destination.
View Contact->Actions->Send an Email: Mail is sent and arrives at destination.
Mailings->New Mailing->Testgroup: shows 2 recipients.
Send test (single) 2nd try: Mail is sent and arrives at destination.
Send test (Testgroup - same as final recipients): Mail is sent and arrives at destination.
Next->Send immediately->Submit Mailing: Mailing is listed as scheduled, Email does not arrive at destination.
The Mailing report doesn't show any bounces.
I have tried different recipient addresses (two different test groups) on different mail services. I have tried with two different Mail providers for outbound mail. Everything works except the final mailing. I have no idea what else to test.
Thanks
Martin


texts: On the search for volunteer opportunities page the commitment box with the signup button floats on the screen. I'd like to prevent this as it obscures the list of opportunities. Does anyone have a recommendation on the best way to achieve this?


texts:
Individual contributions on our site are working find but ARB transactions stopped working in March of 2016. Nothing has changed on our end as far as I know. I've upgraded to the latest Civicrm for Wordpress (v4.7.10), verified our silent post URL is correct at authorize.net, checked the API Access Key and Transaction Key are correct.

For recurring transactions, the initial transaction is processed fine by Authorize.net but an ARB subscription isn't configured and the transaction remains pending in CiviCRM.

I reached out to authorize.net and they stated they have no logs to assist troubleshooting and everything must be reviewed on our end.

Any ideas on where to check? We've got everything setup according to https://wiki.civicrm.org/confluence/display/CRMDOC/Authorize.net+Configuration

Only change I've done is to try the Akamai URLs rather than the older URLs.


texts: How to add "ACTION" Column in a custom Search?

texts:
I have a custom search extension for contacts. Search result shows by default "VIEW EDIT" option in "ACTION" Column.

How Can I bring the "MORE" option just like the one appears if I use built in Basic search function from Search menu?

Content of my customsearch.php

        <?php

class CRM_Guestsearch_Form_Search_Guestsearch extends CRM_Contact_Form_Search_Custom_Base implements CRM_Contact_Form_Search_Interface {

      function __construct(&$formValues) {
        parent::__construct($formValues);
      }

      function buildForm(&$form) {
        CRM_Utils_System::setTitle(ts('Recently Registered Guest (Unassigned)'));

        $form->assign('elements', array('name'));
      }

      function summary() {
        return NULL;
        // return array(
        //   'summary' => 'This is a summary',
        //   'total' => 50.0,
        // );
      }

      function &columns() {
        // return by reference
        $columns = array(
          ts('Contact Type') => 'contact_sub_type',
          ts('Name') => 'sort_name',
          ts('Phone') => 'phone',
          ts('Email') => 'email',
          ts('Date of visit') => CIVICRM_GUESTSEARCH_CUSTOM_COLUMN_NAME,
        );
        return $columns;
      }

      function all($offset = 0, $rowcount = 0, $sort = NULL, $includeContactIDs = FALSE, $justIDs = FALSE) {

        return $this->sql($this->select(), $offset, $rowcount, null, $includeContactIDs, NULL);
      }

      function select() {
        return "
          contact_a.id                  as contact_id  ,
          contact_a.contact_sub_type    as contact_sub_type,
          contact_a.sort_name           as sort_name,
          phone.phone ,
          email.email  ,
          date.
        " . CIVICRM_GUESTSEARCH_CUSTOM_COLUMN_NAME;
      }

      function from() {
        return "
          FROM      civicrm_contact contact_a
          LEFT JOIN civicrm_activity_contact a ON (a.contact_id = contact_a.id)
          LEFT JOIN civicrm_phone phone ON (phone.contact_id = contact_a.id)
          LEFT JOIN civicrm_email email ON (email.contact_id = contact_a.id)
          LEFT JOIN " . CIVICRM_GUESTSEARCH_CUSTOM_TABLE_NAME . " date ON (date.entity_id = contact_a.id)
        ";
      }

      function where($includeContactIDs = false) {
        $params = array();

        $where = "contact_a.contact_sub_type = 'Guest' AND activity_id IS NULL ORDER BY date." . CIVICRM_GUESTSEARCH_CUSTOM_COLUMN_NAME . " ASC ";
            return $where;
          }

      function templateFile() {
        return 'CRM/Contact/Form/Search/Custom.tpl';
      }
    }


texts: When I create activities etc. on CiviMobile in my Time Zone I am in it displays as 9 hours later.  Currently I am -7 GMT and when setting an activity on the app it automatically changes it to +2 GMT (9 hours ahead of my time zone). When I look on CiviCRM, the activities I created in CiviMobile are 9 hours ahead there too. I’m using the latest CiviMobile on and iPhone. How do I get CiviMobile to use the time/time zone on my phone?


texts: How to add extended reports blocks to Contact Layout Editor

texts:
I asked a question about the Contact Layout Editor and how to add blocks such as memberships and contributions and have the answer so am posting here.
I struggled to find out how to create a block for Contact Layout editor for this type of listing so sought the help from Coleman.


texts: CKFinder has become terribly slow in CiviMail

texts:
Using Drupal 7.56 and Civi 4.7.28, our CiviMail's KCFinder 3.12 image browser has now more or less stopped working. There are about 700 images in the root folder, which is presumably the problem - many of our users are on less than high speed internet and the problem has been slowly getting worse as the number of images has increased.

The images are generally being used by other functions in Civi, so we can't easily change their path without a lot of manual work or an SQL query that would be beyond us.

What options do I have to improve things?
NB: I just checked and indeed the system uses KCFinder, rather than CKFinder.


texts: After a CiviCRM update on WordPress the CiviCRM menu has disappeared

texts: In some WordPress configurations, after upgrading from CiviCRM 5.11, the CiviCRM navigation menu bar has disappeared.


texts: How to customize civicrm/participant/add?

texts:
I need to customize civicrm/participant/add, but I'm finding it's not as simple as customizing my extension's copy of CRM/Event/Form/Participant.php. All I've done so far is make the copy, and I'm getting errors I don't understand.

The form actually loads and processes correctly, except for a 'Could not find valid value for cid' error. I've traced the error to the cid retrieval in civicrm/CRM/Event/Page/Tab.php :

if ($context == 'standalone') {
      $this->_action = CRM_Core_Action::ADD;
    }
    else {
      $this->_contactId = CRM_Utils_Request::retrieve('cid', 'Positive', $this, TRUE);

I've verified that context='standalone' in the URL, so I don't understand why that line is even executed.


texts: Translate 'Hide Menu' in navigation menu

texts:
(version 5.18.4 - Joomla with multilingual Dutch)
I didn't get the text 'Hide Menu' in the navigation menu translated. I think it must be not only in the common-base.po but also in the menu.po.
I have added it in a copy from Transifex and it worked on my site.


texts: How to Create webform_civicrm Registrations with: single Ticket vs Table options and Create Contact Records for all Participants

texts:
I'm working on setting up an event there are 2 ticket types:
individual tickets are $20 each
Table of 8 is $130

So a person might purchase 1 ticket at 20 or 2 at 40 or a table of 8 for 130. However many tickets they purchase I need to collect the names.

I'm using Drupal 7 and have webform so that's an option. I've never set up an event like this in Civi so struggling a little bit to make it work.


texts: After upgrading to 5.20.0 - unable to edit or enter contact email addresses- "Email is not valid."

texts:
Just upgraded from 5.19.2 to 5.20.0. Upgrade appeared to run through without a hitch.Joomla! 3.9.13, php 7.3.12, mySQL 5.7.28
Now, when editing existing email address, or when  entering new contact details, saving fails with the following error message:
Please correct the following errors in the form fields below:
Email is not valid.There's no corresponding error in the CiviCRM error log. Looks like the email address check isn't working properly. Has anyone else seen this?[Edit] As a temporary solution, I have commented out line 62 of civicrm/CRM/Contact/Form/Edit/Email.php (the line which begins "$form->addRule"), but this is obviously only a stopgap.

[Edit] Upgraded to 5.20.1 and the problem persists.

[Edit] Problem is fixed in 5.20.2. So it was possible to upgrade directly from 5.19.2 to 5.20.2, but to upgrade to any of the intervening releases, the patch is needed. https://github.com/civicrm/civicrm-packages/pull/271.patch


texts: Public URL for CiviMail: access denied even for admin

texts:
Drupal 7.67, CiviCRM 5.13.5

Hey everyone,

Trying to view a mailing I've sent through CiviCRM before. I'm logged in with my admin account with all permissions granted.

I've navigated to the specific sent mailing > View Report > Mailing Settings > Public URL. Clicking on that URL gives an "Access Denied" error.

All the mailings I send have "Public Pages" set as the Mailing Visibility (under Publication on the specific mailings). I've also double checked and I do have the "CiviMail: view public CiviMail content" checked for all roles.

Any ideas on how I can fix this?


texts: Will there be a LTS release of CiviCRM 4.6.x that supports PHP 7+

texts: If an organization is currently heavily invested into customizations built for CiviCRM 4.6 LTS, is it possible for them to continue using the LTS version of CiviCRM when PHP 5.6 EOL? (31 Dec 2018) and an upgrade to PHP 7+ is necessary?


texts:
I have a role to view contacts in a particular group granted through CiviCRM  view ACL permissions (/civicrm/acl?reset=1) but even though the role can see all contacts in that group, when trying to view an activity of a contact in that group, user gets an error message "you do not have permissions to access this page".
- CiviCRM: view all activities is enabled for this role
- CiviCRM: view all contacts  is disabled for this role
- CiviCRM: edit all contacts  is disabled for this role

I have one activity type which i want to exclude users with that role from seeing the same activities of other contacts in another group.

any suggestion for a possible soultion will be much appreciated, I'm on CiviCRM 4.6.35, Drupal 7

If i enable CiviCRM: view all contacts, the role will be able to view all activities of other groups as well.


texts: Option to add new contact freezes up - won't work

texts:
Can anyone help? I just upgraded CiviCRM and have been having problems since. I cleared cache and cookies and that helped with a bit but now we have issues with clicking on Creating a new contact -- I'm unable to open address details or anything beyond contact details. The page freezes up when I try. I contacted our hosting (CiviHosting) but they haven't been helpful.

Here's what they said:

  Yes, I see it now. The issue is a JavaScript error: uncaught
  exception: Missing number at position 0 which appears to be a problem
  with the jQuery date picker, but I am not actually familiar with this
  issue and I haven't seen it before. My guess is that there is an issue
  with one of your WordPress plugins or your theme. The first step to
  test would be to disable the plugins and change the theme. CiviCRM
  itself is known to work, so the issue is something else. Thank you.

  Ref-Mid: $JmoAAA==$405212bbaf@2b6a613d19 9:17 AM

Basically I'm not able to edit details on a contact when creating a new one, CiviCRM freezes up. We don't have any plug-ins or javascript installed. My WordPress version is 4.5.3. Thank you for your time!


texts: Webform contact default token doesn't work - why?

texts: I have a webform with an existing contact, which is normally prefilled but can be changed with autoselect, then up to 5 new contacts. The existing contact can then enter up to 5 new contacts. By the way, the existing contact is a person who is nominating children for Christmas presents!  It all works well, however I'd like the existing contact name that's selected to be stored in the new contact records, in a custom field (so we can quickly see who added the record). I've not found a way to do this, so have tried to default it from the token [current-user:civicrm-contact]. This doesn't work, and also saw this from 2016 but that didn't work. Any ideas on how to fix this, or any alternative methods? Civi is at 5.28.3 and of course it's Drupal 7.


texts: How do i add parent information to a teenage volunteer profile?

texts:
How do i add parent information to a teenage volunteer profile so that when a new volunteer fills out their profile, it creates a parent relationship and contact as well.
I am using Profile-Create Mode to allow the data input on our website.


texts:
I'm using the api to process contributions from some custom pages I have created, specifically the call to civicrm_api3('Contribution', 'transact', $params).

When I use PayPal Standard as my payment gateway how do I get the Cancel URL and Success URL to point back to the pages I have created? I can't see a way to override the default urls.

The Success url is http://example.com/administrator/?option=com_civicrm&task=civicrm/contribute/transact&_qf_ThankYou_display=1&qfKey= However I would like to redirect to http://example.com/index.php?option=com_xxx&task=payments.success

The Cancel url is http://example.com/administrator/?option=com_civicrm&task=civicrm/contribute/transact&_qf_Main_display=1&cancel=1&qfKey= However I would like to redirect to http://example.com/index.php?option=com_xxx&task=payments.cancel

Do I need to create my own Payment Gateway that inherits from the PayPal Payement Gateway?
Or can I redirect the CiviCRM Tranact pages to point to the pages I need?


texts: What's the best way to batch import a list of groups? The list contains 75+ entries, so having a team member manually enter each group is not the best use of time.


texts:
Upgrading to Civi 5.11.0 in a Joomla 3.9.4 site (with templates & cache flushed) has left Civimail (via New Mail or Reuse) producing only blank pages (with menus and Civi's footer).

There is no error message with or without 'Enable Debugging' and 'Display Backtrace' turned on. However, just toggling 'Enable Debugging' ON makes the problem go away, while OFF brings it back, again with no error messages.

Any clues?


texts: Shouldn't CRM_Core_PseudoConstant::get localize parameter be setted to TRUE by default?

texts:
Some translations are missing in non-english language (french in my case), because of the fact that localize's parameter is set to FALSE by default with no way to change it via configuration.

So my question is why that ? And not the opposite ? And best of all why not when the language is not english set localize to TRUE.


texts: How do I set a default From email in CiviCRM to be used when assigning Activities?

texts:
A little help please
I am working on a civi system for an organisation that has volunteer supervisors  manning the phones and assigning "Activities" to other volunteers.
The email to the volunteer should come from a standard email address - Dutyofficer@...

However, the system defaults to the Volunteer supervisors email address and not the Dutyofficer one which is set up and used as default

Any ideas please


texts:
I'm trying to re-use an existing ab test, but unlike normal mailings, can't find a way to clone them

Is there a way that is better than copy paste the content of the email and create a new ab test?


texts:
I've been seeing a few strange errors on one of my CiviCRM (4.4.4) site recently.

***ERROR***
Array
(
    [message] => Missing input parameters
    [code] =>
)
...
REQUEST_METHOD:     GET
QUERY_STRING:       reset%253D1%2526jid%253D69%2526qid%253D1605%2526h%253D077ec51a7e598906
REQUEST_URI:        //civicrm/mailing/optout?reset%253D1%2526jid%253D69%2526qid%253D1605%2526h%253D077ec51a7e598906
SCRIPT_NAME:        /index.php
PHP_SELF:           /index.php
REQUEST_TIME:       1428513094

Based on the error message, it looks like the optout request is somehow getting encoded, which yields a CiviCRM "Sorry but we are not able to provide this at the moment" error.

At first, I thought that there was a problem with the request, but I noticed that if I decode the request URI, I get a valid optout address.

It seems that there might be an email client out there incorrectly encoding the optout and unsubscribe tokens, but I haven't been able to reproduce this in testing both HTML and TXT email formats.

Any thoughts about what might be happening here?


texts: Unable to browse images on the CKEditor in the admin area

texts:
When I try to browse and upload images on the CKEditor in the admin area I get the error below. Can someone give me a clue? See the screenshot. WordPress 4.6.1, CiviCRM 4.7.9

Fatal error: Uncaught exception 'Exception' with message 'Failed to locate civicrm.settings.php. Please boot with settingsFile, search, or CIVICRM_SETTINGS; or normalize your directory structure.' in /nas/content/staging/theexecnet/wp-content/plugins/civicrm/civicrm/civicrm.config.php:125 Stack trace:
#0 /nas/content/staging/theexecnet/wp-content/plugins/civicrm/civicrm/civicrm.config.php(415): Civi\Cv\Bootstrap->boot() #1 /nas/content/staging/theexecnet/wp-content/plugins/civicrm/civicrm/packages/kcfinder/integration/civicrm.php(45): require_once('/nas/content/st...')
#2 /nas/content/staging/theexecnet/wp-content/plugins/civicrm/civicrm/packages/kcfinder/integration/civicrm.php(140): checkAuthentication()
#3 /nas/content/staging/theexecnet/wp-content/plugins/civicrm/civicrm/packages/kcfinder/core/bootstrap.php(39): require('/nas/content/st...')
#4 /nas/content/staging/theexecnet/wp-content/plugins/civicrm/civicrm/packages/kcfinder/browse.php(15): require('/nas/content/st...')
#5 {main} thrown in /nas/content/staging/theexecnet/wp-content/plugins/civicrm/civicrm/civicrm.config.php on line 125


texts: CiviEvent registration being assigned to the the wrong participant

texts:
I have created an event that allows for one person to register multiple participants. I pulled a report two days ago with the list of registrants and one person had paid the event fee plus a donation to total $35, which is unique for this event so far.
Today, someone new registered themselves and another person for the event and paid, which is fine. However, now that $35 registration has been assigned to the new registrant's name and not the correct original registrant. This has also happened in previous events I've created when I enable multiple registrations by one person. Does anyone know how I fix this? I'm running Civi 4.6.2 and latest version of wordpress.


texts: Should "CiviCRM: view my contact" permission result in user being able to edit themselves in CiviCRM

texts:
We think we have found a bug in the core CiviCRM related to user permissions.

If we give a role (eg authenticated) only the "CiviCRM: view my contact" permission. They have NO other CiviCRM permissions. Then as that user we go to our CiviCRM contact record (we did this by typing in the path as have provided no way to get there ie http://demo.fuzion.co.nz/civicrm/contact/view?reset=1&cid=230). On that page you get a EDIT button, which allows you to edit your contact details, and you are able to save these changes. I would assume this button should only be available if the role is given the "CiviCRM: edit my contact" permission.

We are on Drupal 7.43 and CiviCRM 4.6.14.

This is not the same issue as https://civicrm.stackexchange.com/questions/7151/permissions-view-my-contact-and-edit-my-contact-do-not-seem-to-work as I checked without the "CiviCRM: view my contact" they get access denied on the page.


texts: How to access images on server for CiviMail

texts:
I added images to the server via CiviMail (KCFinder).  But when trying to use the UI to insert an image and click "Browse Server" I receive an "Unknown Error". None of the images are displayed. I'm unable to locate the images and insert them into a new mailing. Already checked the Resource URL and Directories. See image attached.

CiviCRM 4.7.11 and WordPress 4.6.1


texts:
To contact athletes need to register medical certificates. I added a custom field multiple date expired. How do I retrieve all the contacts that do not have a date or that date has expired? How do I get a monthly list of certificates that expire?
Thank you.

Marco


texts: Is it really not possible to have two multi-record custom fieldsets in one profile?

texts:
I'm trying to set up a form for contacts to update their own data via our Joomla frontend.  However, I ran into an unexpected problem when I tried to add a second multi-record custom fieldset to a profile:
"You cannot configure multi-record custom fields belonging to different custom sets in one profile"
Does this mean I have to create TWO profile edit forms if I want my users to be able to update all their data via the frontend?  I'd really prefer all the frontend data entry for the user in one form, not have to break it up.  Is there any other way around this?
System deets:  Joomla 3.9.26, CiviCRM 5.37.1


texts: We suddenly lost about 75% of our contact's email and addresses. We've reset our SQL and it hasn't helped. In addition, some of the missing emails still work in our event registration section while others are not recognizing them as members. Has anyone else had this happen? Any known fixes? Thanks!


texts: UPDATED State field selector and Profile Search not working

texts:
Joomla 2.5.28
CiviCRM 4.7.7
PHP 5.5.30
MySQL 5.6.30

I have a Search Profile that allows a member to search for a local group based on Country and State OR they can search by name.

When the Country is selected, the state field does not populate.

You can see the page here:

https://www.theipca.org/index.php/local-guilds

Updated 5/10: Search now works thanks to patch recommended by SleighD. When you do a successful search, the State field then works but still does not work on the initial Profile Search page.

ISSUE BELOW THIS LINE HAS BEEN RESOLVED. STATE FIELD ISSUE PERSISTS.

*When you search for the local group by name, you get an error page.And you can search for Tallahassee in the Organization Name field.
Log file shows the following errors:

 May 09 14:21:52  [info] $backTrace = #0
> /home/ipca/public_html/administrator/components/com_civicrm/civicrm/CRM/Core/Error.php(371):
> CRM_Core_Error::backtrace("backTrace", TRUE)
> #1 /home/ipca/public_html/administrator/components/com_civicrm/civicrm/CRM/Utils/Type.php(424):
> CRM_Core_Error::fatal("One of parameters  (value:
> `Home-state_province`) is not of the type MysqlCol...")
> #2 /home/ipca/public_html/administrator/components/com_civicrm/civicrm/CRM/Utils/Sort.php(124):
> CRM_Utils_Type::validate("`Home-state_province`", "MysqlColumnName")
> #3 /home/ipca/public_html/administrator/components/com_civicrm/civicrm/CRM/Core/Selector/Controller.php(222):
> CRM_Utils_Sort->__construct((Array:6), NULL)
> #4 /home/ipca/public_html/administrator/components/com_civicrm/civicrm/CRM/Profile/Page/Listings.php(394):
> CRM_Core_Selector_Controller->__construct(Object(CRM_Profile_Selector_Listings),
> NULL, NULL, 4, Object(CRM_Profile_Page_Listings), 2)
> #5 /home/ipca/public_html/administrator/components/com_civicrm/civicrm/CRM/Profile/Page/Router.php(124):
> CRM_Profile_Page_Listings->run()
> #6 /home/ipca/public_html/administrator/components/com_civicrm/civicrm/CRM/Core/Invoke.php(312):
> CRM_Profile_Page_Router->run((Array:2), NULL)
> #7 /home/ipca/public_html/administrator/components/com_civicrm/civicrm/CRM/Core/Invoke.php(86):
> CRM_Core_Invoke::runItem((Array:13))
> #8 /home/ipca/public_html/administrator/components/com_civicrm/civicrm/CRM/Core/Invoke.php(54):
> CRM_Core_Invoke::_invoke((Array:2))
> #9 /home/ipca/public_html/components/com_civicrm/civicrm.php(90): CRM_Core_Invoke::invoke((Array:2))
> #10 /home/ipca/public_html/components/com_civicrm/civicrm.php(11): civicrm_invoke()
> #11 /home/ipca/public_html/libraries/joomla/application/component/helper.php(380):
> require_once("/home/ipca/public_html/components/com_civicrm/civicrm.php")
> #12 /home/ipca/public_html/libraries/joomla/application/component/helper.php(348):
> JComponentHelper::executeComponent("/home/ipca/public_html/components/com_civicrm/civicrm.php")
> #13 /home/ipca/public_html/includes/application.php(194): JComponentHelper::renderComponent("com_civicrm")
> #14 /home/ipca/public_html/index.php(42): JSite->dispatch()
> #15 {main}

Any ideas on how to fix?*


texts: List and change client activities assignee and dates

texts:
I want to create a profile[?] where I:

select a client then

list all the activities for a client, sorted by date,

where I can assign/change the staff member assigned to the activity and

change the date.

Is there a sample? I looked at the following but it's not quite basic enough for me. If I had a sample of such a profile I might be able to adjust it to work for me.

Including Activity Dates and Subjects in a Profile for a Directory or Search


texts: We have webform which we captured organization name, contact name and case assigned to manager(One of the contact type). We need to get all details in single report got contact and case details, but not able to get organisation name. can anyone help us how to select the organization name in custom php file, also we have created new template for this.


texts: The current documentation for creating an API key for user is on the wiki at https://wiki.civicrm.org/confluence/display/CRMDOC/REST+interface#RESTinterface-CreatingAPIkeysforusers. Unfortunately there is not a release for the user friendly API Key extension for CiviCRM 4.5, 4.6 or 4.7. And the manual method is not very user friendly for those who are not programmers. How can a relatively non-technical user set up an API key that is needed for an extension, for example?


texts:
I'm very new to this but I can't seem to find an answer to our problem on any of the help pages.

I am trying to simply add a new membership type. There were three membership types already setup with the initial installation, which I was able to modify to our specifications. But when I try to add a new membership type, I am unable to select anything in for Membership Organization, financial type, or membership type plan (pull-downs). There is nothing there.

Any help would be appreciated. We have 5 membership types and need to be able to add two more to the existing three.

Attaching screen shot here. Thank you.


texts: Login Fails For One Account, But Not For Others

texts:
A user on our client's CiviCRM site [CiviCRM(4.6.5)/Drupal(7.36)] is having trouble with her login. Each time she attempts to login, she is greeted with an error indicating that she has entered her password incorrectly.
Testing her login from another location/network, I am able to login using her credentials.
Using a JoinMe session to share her screen, I am able to login to CiviCRM using my credentials (as well as several others), but when I use hers, her login fails.
I have cleared the cache on her browser, cleared caches on CiviCRM, and have tried updating her user-password, but get the same results each time I attempt to login from her PC (Windows10).
It seems that there is something wrong with her account, but I have directly inspected her user-record in the Drupal users table and can find no anomalies which would explain why she cannot login. Her user-roles are all correct as well, but still she cannot login.
Has anyone else had this problem with one of their CiviCRM users?


texts:
How can I make custom (participant attendees) reports with inline editing functionality?
Larger Challenge/Background
I want to create an overview for managing all attendees for (all future) events.
So far I have reports where Columns are names, ..., Participant-roles, Status, and some additional custom fields, such as: "leaves early", "age approved by staff".
The idea is, that our staff can - after people registerd for an event - manually check the attendees list. Sometimes a backup call is needed. This information should be then entered (dropdown) into the participant data. To save time and the annoying steps to go from the attendees list into each participant data, just to check off a marker or change the status e.g. from pending to attending, I want to do that inline.
I view those with reports. That works perfectly.
I looked into the extension "Extended Reports" (nz.co.fuzion.extendedreport). It claims to do that. And the predefined templates for Event and Activities are running and are working perfectly as intended! (basicly what is explained here: https://youtu.be/AyWwu7HoOkI?t=1732 at 28:52) I - however - cannot manage to make it available for a particapant attendees report.
Specific Question

What am I missing?
How can I make custom inline editing reports (with the Extended Reports extension)?

thx for the help, Stefan

I am running:

Drupal 7.x
CiviCRM 5.23.4 (could update though, just haven't done that yet)
ExtendedReport (nz.co.fuzion.extendedreport) version 5.1


texts: Anonymous user filing out a profile unintentionally remove themselves from groups

texts:
When an anonymous user fills out a contribution or other form with a profile that includes the ability to select groups, the user may leave those checkboxes blank, like so:

If the anynomous user leaves a checkbox unchecked for a group and that anynomous user is deduped with an existing contact, who is currently a member of the same group, during the processing of the form, then the contact will be removed from the group.

If those groups are used as mailing lists, it is normal for users to leave the box unchecked (as they would not think that they need to check a checkbox to remain on a mailing list they have already signed up for). This is confusing for the user, who unintentionally removes themselves from a group. It is also confusing from the backend as it does not function the same as other fields (e.g. if the user leaves a phone number blank, their phone number is not erased).

This same behaviour is found with a custom field that uses checkboxes or multiselect, while it isn't the same in a custom field using select.

To me, this looks like it isn't the intended behaviour, as it is inconsistent with the behaviour of other fields. Perhaps it has to do with the order in which the deduplication happens relative to the groups. It is also inconsistent with how merging contacts normally works, where groups are added to, but not removed from, the merged contact.

Is this a bug? If it isn't a bug, is there a way to change the behaviour so users aren't removing themselves unintentionally from groups?

I think using a custom field and a smart group would likely solve this problem, but perhaps there is a better way—or this should be changed in general.


texts:
I'm on a project where the organization receives corporate donations to offer scholarships for their summer arts camps. When eligible students are found, their event registrations are paid via scholarship. For the donation side, it will come in as a Check or other pay type, and we'll use a "Scholarship" Financial Type. For distributing that money, I think a Payment Instrument of "Scholarship" is best, as the scholarships could be full or partial, with the remainder paid by other means.

So doing this means I can track how the money comes in and is allocated, and I'm guessing the bookkeeper will be keeping an eye on the balance. However I'm a bit stuck accounting-wise for how to present it to her. What kind of Financial Account Type makes sense to go with my new Financial Type and Payment Instrument?

Does this method even make sense, or should I consider using CiviDiscount instead?


texts: CiviCRM: how to manage several areas for the same organization?

texts:
Good afternoon, we are analyzing CiviCRM as a possible solution for our organization.
It is a governmental entity and in the same there is more than one area that is in a position to use CiviCRM to order their contacts.
The specific question is how can we implement, so that each area has its own contact management? Some areas may want to share contacts, but each area should only have access to their contacts.

I hope you can help me!
From already thank you very much!!


texts: Change log rollback not restricted to a single contact

texts:
Not so much a question as a development request...

We manually add/edit records but also do a lot of importing into Civi.
When some errors were found on a particular contact record we used the 'revert these changes' button in the change log expecting it to revert only the update to the single specific contact record.

Unfortunately because the changes were as the result of an import into civi for approximately 650 contacts it rolled back all changes across all 650 records.

Because we could not unpick which specific import it was (there were a number of imports against these 650) we then had to delete all 650 contacts and re-import from scratch.

Not sure where to put the request for future development, but it would be great to be able to choose between a revert against a single record versus the full import set...


texts:
I have noted that CiviCRM creates .htaccess with the Deny from all command in stead of the Require all denied. This causes security issues with my new setup at a hosting site.

Drupal has support for both:

# Deny all requests from Apache 2.4+.
<IfModule mod_authz_core.c>
  Require all denied
</IfModule>

# Deny all requests from Apache 2.0-2.2.
<IfModule !mod_authz_core.c>
  Deny from all
</IfModule>

When is CiviCRM going to support Apache 2.4?


texts: Adding a credit card surcharge to event registrations

texts:
I'm using a number of hooks to set a credit card surcharge to an event registration. I have it mostly working, however there are some cosmetic issues remaining.

Using hook_civicrm_preProcess, I have been able to set the line item surcharge, which on viewing the registration confirmation page is showing correctly.

Below the line item cost is an Event Total row. This is the problem I'm having - the Event Total is not reflecting the change to the line item cost.

I have tried amending the $form->_totalAmount value in hook_civicrm_buildForm but this doesn't reflect the change either. Either I'm trying to set the wrong value or the confirmation page has already been built before hook_civicrm_buildForm has been called.

Any advice would be most welcome!


texts: Using hook_civicrm_tabset; why doesn't my tab focus when linked to via url?

texts:
I've added a tab adjacent to the event "Info and Settings" configuration tab, using hook_civicrm_tabset(), but when I link to the URL for that tab, the "Info and Settings" tab is displayed. This behavior is different from that of native tabs, such as "Location": I can type in the URL for that tab, and the tab is correctly selected.

Question: How can I get my "My Settings" tab to display itself from a URL in a way that's equivalent to the behavior of native tabs such as Location?

Here are some examples of native URLs that work as expected, and my custom tab which does not.

"Info and Settings" tab
http://example.l/civicrm/event/manage/settings?reset=1&action=update&id=23

"Location" tab
http://example.l/civicrm/event/manage/location?reset=1&action=update&id=23

"My Settings" tab
http://example.l/civicrm/event/manage/mysettings?reset=1&action=update&id=23

Example code (slightly redacted for public viewing)

/**
 * Implements hook_civicrm_tabset().
 *
 * @link https://docs.civicrm.org/dev/en/latest/hooks/hook_civicrm_tabset/
 */
function myextension_civicrm_tabset($tabsetName, &$tabs, $context) {
  if ($tabsetName == 'civicrm/event/manage') {
    if ($eventId = CRM_Utils_Array::value('event_id', $context)) {
      $tab['mysettings'] = array(
        'title' => E::ts('My Settings'),
        'link' => NULL, // 'link' is automatically provided if we're under the 'civicrm/event/manage' path.
        'class' => 'ajaxForm', // allows form to re-load itself on save.
        'valid' => _myextension_EventHasMySettings($eventId), // indicates whether tab has actively used settings.
        'active' => TRUE,
        'current' => FALSE, // setting this to FALSE prevents the tab from pre-loading
                            // focus when the page is loaded.
      );
    }
    else {
      $tab['mysettings'] = array(
        'title' => E::ts('My Settings'),
        'url' => 'civicrm/event/manage/mysettings',
        'field' => 'is_my_settings',
      );
    }
    //Insert this tab into position 1
    $tabs = array_merge(
      array_slice($tabs, 0, 1),
      $tab,
      array_slice($tabs, 1)
    );
  }

  // Set mysettings tab as enabled/disabled in configuration popup-menu, on manage events listing screen.
  if ($tabsetName == 'civicrm/event/manage/rows' && $eventId = CRM_Utils_Array::value('event_id', $context)) {
    $tabs[$eventId]['is_my_settings'] = _myextension_EventHasMySettings($eventId);
  }
}


texts:
I'm trying to set the following setting:

Type of Individual

However, everytime I try to save it I get the following error message:

Warning: Invalid argument supplied for foreach() in wf_crm_get_fields() (line 910 of /home3/isrcus/public_html/sites/all/modules/webform_civicrm/includes/utils.inc).

Is there a reason I keep getting that error messsage?

Thanks!
Kevin


texts: Set group field of a contact as required

texts:
I need that when saving contact validate the entry of the group field.
How can I do it?


texts:
When using CiviCRM 4.6.4, we notice when adding a $0 (Free) item to a price set, and a user contributes, they are asked to confirm, but then get this error with our Paypal Website Payment Pro processor:

Payment Processor Error message: 10525: Invalid Data This transaction cannot be processed. The amount to be charged is zero.

When someone chooses a $0 amount, no Paypal payment method is presented on the form, yet it still seems to opt-in to using that processor. We have no other payment processors enabled.

How do we fix?

We also notice that when using CiviDiscount,if we make a 100% off CODE for a membership, it is also rejected by Paypal with the above error.


texts:
When I try to enter the localization management section, I encounter such an error.

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

We use the newest version of joomla and Civicrm that i downloaded on the offical sites.

Tell me how to solve this problem?


texts: CiviGroup Roles Sync - workaround for Smart Groups?

texts:
Has anyone implemented any workarounds to use a Smart Group as the basis for a CiviGroup Roles Sync with Drupal?

I understand that Smart Groups don't work (only contacts added manually to the smart group will be picked up) but I'm wondering if anybody has ever tried any sort of cron + CSV chicanery to mirror a smart group in a manually added group, or anything else to get around the issue?

We're a small org trying to cater for a large (and providing we can make it work automatically, much larger) audience with varying membership, relationship and access requirements, so I need a really easy and automatic way to get this done.


texts: Membership Renewal from CiviCRM user dashboard error

texts:
Civi 5.10.4 - Wordpress 5.1

We have set up that when users login, they are automatically forwarded to a wordpress page called User Dashboard - where we embedded a shortcode for their CiviCRM dashboard to populate. There is a link on that civicrm dashboard page to "renew now" for those with expired memberships- but it links to a contribution page that we no longer use for membership.

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.The page you requested is currently unavailable.

The default membership contribution page is setup correctly too.  This seems to only happen to those users that became members with the old contribution page - if they go to the new contribution page to process their membership renewal - it works out fine.

Is there anyway to redirect links to the old contribution page to the new contribution page?


texts:
I have set up a bunch of my contacts with a group of custom fields that can have multiple entries.
I set up a profile to list out these custom fields, however, it is asking me to enter search criteria before listing the entries.  I would like it to automatically use the logged in users information to search on it and display only their entries - how can I do this?

TIA
Norm


texts: Incorrect Resource URL warning but menu arrows are present

texts:
I'm getting the Incorrect Resource URL warning on both an upgrade and a fresh install on WordPress 4.9.1 on an nginx external dev site and on an nginx local site (using Local by Flywheel for the environment).

Nevertheless, the arrows in the menus are present, at least this is what I see:

I'm new to CiviCRM so likely missing something obvious. Any pointers on how to debug this would be appreciated.


texts:
I want to add a Activity Filter Option that filters the activity down to the "Assigned To".

in the ActivityFilter.php i have added this line of code:

    $assigneeDefault = CRM_Core_Session::getLoggedInContactID();
    $this->add('text', 'assignee_contact_id', ts('Task Owner'), $assigneeDefault, FALSE, ['class' => 'crm-form-text']);

Then in the selector.tpl i added this:

       {ts}Task Owner{/ts}
 {$form.assignee_contact_id.html|crmAddClass:medium}

Unfortunately no luck to confirm:

I want a filter that shows only the activities 'Assigned To' a certain contact.

Thanks,

Moe


texts:
I need an advice on a small problem. My database contains many duplicate Contact records, of which I have determined the contact id. I have a log list with pairs of contact id.s

What I would like is merge the records using those contact id pairs.
It is not easy to find the pair using the contact ids. I have not found a way yet to use the advance search so that I have a result screen containing the two records base on the ID.

Is it possible to create a URL for each pair that directly leads me to either a search result screen in which I can select and merge them, OR go directly to the merge screen for the two records?

If not, is there a way in which I can provide the people who do the merging with an easy method to process the list with id pairs?

thanks in advance, Ruud


texts: how to download all contacts onto excel spreadsheet?

texts: I want to download all my contacts onto an excel spreadsheet. I also want to include what group they are in, all the invitations and literally all the information I have on there. How do I do that?


texts: Self-service update of credit card details - how to notify staff to re-process recurring contribution?

texts:
We would like to send out links for credit card recurring donors to update their credit card when a donation fails, using the solution from this question. Then, we need to somehow notify staff that the donor has made the update, so we can re-process their recurring donation to cover the missed donation. Does someone have a solution for this notification?
There is a notification sent to the donor about the update, but that only goes to the donor. I've tried CiviRules on recurring donation change, but that does not appear to be triggered by updating credit card details through this link.
We're using IATS.


texts: Can I show a profile on contact summary page

texts: I would like to show membership details on the contact summary screen - type, status, start date - using the contact layout editor. I can create a profile for membership, but this isn't available to add, and membership fields can't be added to a block, it seems.  As you can have multiple memberships for a contact I can see why it might be tricky. Is it possible to show membership info on the summary screen using the UI?


texts:
hello I currently use CiviCRM 4.7.29 with Drupal

I activated the CiviCase, CiviCampaign and CiviGrant components but I do not see the associated menus in the bar.

did I forget to do something?

sorry in advance if the question has been asked, I have not found an answer

Regards,


texts: Can we have a "week" option for the membership type duration unit?

texts:
I'm doing some work to enable the purchase of auto-renewing memberships, using the UK-focussed GoCardless direct debit system.
So far so good. One thing we've noticed is that the GoCardless API understands intervals in weeks, months, and years (with 1 year being the maximum). However CiviCRM's membership type duration unit doesn't offer 'week' as an option.

What would be involved in order to add 'week' as an option here?


texts:
I have a set of custom relationships I need to import against, but the import mapping dropdowns are only showing the three default relationships:

Employee of..
Family member is..
Household member is..

Any ideas?  I cannot see any options on the custom relationship settings i need to change. We are using CiviCRM 4.6.2 (recently upgraded)


texts: Cannot Install CiviEvent-Joomla-Module Extension

texts:
I have my resource URLs and directories set up; I downloaded the zip from github, uploaded and unzipped, but when refresh the extensions page, the extension name does not appear, and therefore cannot be installed.

Any ideas?

Joomla 3.x
CiviCRM 4.6.2 (and I tried with CiviCRM 4.5 prior to upgrade).

https://github.com/lcdservices/CiviEvent-Joomla-Module

Thanks!


texts: Adding validation: cannot use $this in formRule() of Form

texts:
I am using CiviCRM 4.7.22 with Drupal 7 on Windows. I have a basic question.  In the formRule() function inside the MembershipRenewal.php containing Membership Renewal Form if I use $this as below

$this->assign('endDate', CRM_Utils_Date::customFormat(CRM_Core_DAO::getFieldValue('CRM_Member_DAO_Membership', $this->_id, 'end_date')));

I get a PHP error:

PHP Fatal error: Using $this when not in object context in ...\MembershipRenewal.php on line xxx

Although this code works in preProcess() and buildQuickForm() without any issues. If its part of the same class then why the issue.

What is the alternative for me get the value of end_date or join_date in formRule() to perform some validition. In general, how do I get any value which is NOT part of a form in formRule().


texts: My Dedupe rule is not working at all. I have it set to first name, last name, phone all with a weight of 10 and a weight threshold of 30. It appears like it is not working at all. I have many people that match on all 3 fields that are creating duplicates. This is happening on both contribution pages and event forms. Do I have the rule set up incorrectly or am I missing anything?


texts: Problem creating Drupal users using Rules and Webform integration

texts:
I have a simple Drupal webform that is integrated with Civi and creates a tagged contact. I use the approach described by @petednz at https://civicrm.org/blog/petednz/creating-drupal-users-made-easy-for-single-or-multiple-contacts-via-civi-imports-and to create a Drupal user and log them in when the form is submitted. In my case this then gives them access to a larger form where I want them to be able to save a draft and return later, hence the need for the user account.

Here's the rule that I'm using:

{ "rules_friends_tag_account_create" : {
"LABEL" : "Self Create User Account and login",
"PLUGIN" : "reaction rule",
"OWNER" : "rules",
"TAGS" : [ "CiviCRM", "CiviCRM User" ],
"REQUIRES" : [ "civicrm", "rules" ],
"ON" : { "civicrm_entity_tag_create" : [] },
"IF" : [
  { "NOT civicrm_entity_user_exists" : { "civicrm_contact" : [ "civicrm-entity-tag:entity-id-contact" ] } },
  { "data_is" : {
      "data" : [ "civicrm-entity-tag:entity-table" ],
      "value" : "civicrm_contact"
    }
  },
  { "data_is" : { "data" : [ "civicrm-entity-tag:tag-id" ], "value" : "6" } }
],
"DO" : [
  { "civicrm_entity_action_create_user" : {
      "USING" : {
        "civicrm_contact" : [ "civicrm-entity-tag:entity-id-contact" ],
        "is_active" : "1",
        "notify" : "1",
        "signin" : "1",
        "username_format" : "first last"
      },
      "PROVIDE" : { "civicrm_user" : { "civicrm_user" : "Created Drupal User" } }
    }
  },
  { "user_unblock" : { "account" : [ "civicrm-user" ] } },
  { "user_add_role" : { "account" : [ "civicrm-user" ], "roles" : { "value" : { "7" : "7" } } } }
]

}
}

This has been working reliably for some months, and seems rock solid when I test it.

However I'm seeing behaviour from users that suggests that it isn't working all the time: i.e. sometimes I see that they have submitted the first form two or three times in quick succession, suggesting that they are not reaching the second form, but getting an access denied message instead, which is what would happen if the user account wasn't created for them.

Also, in recent days, I've seen on two or three occasions now the following error message in the Drupal log:

Unable to get variable civicrm_user, it is not defined.

Why might this rule be working fine for much of the time, but not consistently? How can I debug this? Is there a more robust approach that I could take?


texts: Problem with online registration after moving to new URL

texts:
I recently replaced my multisite Wordpress site with a new one that I built on a subdomain. The new one is a simple, one domain site. Everything is working properly, including the Civicrm that I was using with my old site except for the online registration for CiviEvent.

When someone clicks on a link to register for an event, instead of going to the register page:
http://newsite/?page=CiviCRM&q=civicrm/event/register&reset=1&id=numberofevent

it defaults to the info page:
http://newsite/?page=CiviCRM&q=civicrm/event/info&reset=1&id=numberofevent

and gives this error message:
Sorry but we are not able to provide this at the moment.
You do not have permission to access this page

Hint: when I go into the Wordpress admin area of the site on a specific browser, I can get the links to take me to the registration page without a problem.

Two more points:
When it defaults to the info page with error message, the "/" turns to "%2F"

Also, the same problem occurs for profiles. when I use the "Profile Create Mode" to view the profile, it works on the browser where I am logged in, but on a browser where I am not logged in, I get an error message:

Sorry but we are not able to provide this at the moment.
The requested Profile (gid=numberofprofile) 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.


texts:
Is there a way to make APIv4 validate options when creating/updating?
For example, using the demo data I can run:
$ cv api4 Contact.update '{"where":[["id","=",202]],"values":{"constituent_information.Marital_Status":"Junk"}}'

and then verify the update took place with:
$ cv api4 Contact.get '{"select":["constituent_information.Marital_Status"],"where":[["id","=",202]]}'

producing:
[
    {
        "id": 202,
        "constituent_information.Marital_Status": "Junk"
    }
]

So Marital_Status is set to Junk - even though that is not a valid option. When viewing this in the UI the field now shows as blank.
I could use getfields to get the valid options and check them before doing the API call but an option (or default behaviour) on the API call to produce some sort of error or warning would be useful.


texts:
After submitting the profile with success from the front-end of the site, a civicrm contact is created but the following hook is not working..

function wordpress_civicrm_processProfile($name) {
        if ($name === 'supporter_profile_91') {
                die('we are here');
                //also tried error_log(); nothing!
        }
}

Its written in wp-content/plugins/files/civicrm/custom-PHP/civicrmHooks.php and other civihooks/wp functions in that file are firing correctly.

Profile set from Manage Contribution Pages > [Specific Contribution Page] > Personal Campaigns [tab] > Supporter Profile


texts: CiviCRM_API3_Exception: Expected one CustomField but found 0 in civicrm_api3() (line 45 of sites/all/modules/civicrm/api/api.php)

texts:
I was cleaning up some extra custom fields in our DB. ONe of these , though it was disabled did not stop displaying in the contact profile. So I clicked to delete it.

I then got this error when I tried to do anything in Civi:

CiviCRM_API3_Exception: Expected one CustomField but found 0 in civicrm_api3() (line 45 of /var/www/crm/sites/all/modules/civicrm/api/api.php).

I tried commenting out the offending code in api.php, which got me past the error, but produced a whole bunch more warnings.

I saw in the table - civicrm_custom_field, that the record for the field that I tried to delete was still there. I manually deleted it but that did not help.

IN this situation I can;t get into CiviCRM at all to turn on backtrace or any other logging.

Really and truly stuck. Any help would be appreciated.


texts:
I am on CiviCRM 4.4.9. I have followed the instructions for "Moving an Existing Installation to a New Server." When I open the Civicrm in the new location, it appears that it is setting the default organization to my contact (my contact ID is 1) instead of the organization's contact ID which is 26299. My contact has about 58K of activities; the organization's activities are 2.

How do I change the default organization to the proper contact?


texts: How to use a scheduled reminder to alert an administrator when a membership expires?

texts:
I want to set up a simple scheduled reminder that fires an email to an administrator (only - not to the expiring member as well) to alert them to the fact that a membership has just expired.

I'm assuming that if I limit the recipients to the named administrator then email will go only to that person and not to the expired member as well. Is that a correct reading of this functionality?

I also want to include in the email the name of the expiring member, so using a token, such as {contact.display_name} seems to make logical sense. However, will the token be replaced by the name of the expiring member, or by the name of the administrator?


texts: Membership Signup Form - add "Phone Number" field (required)

texts:
For this membership signup page:

https://connectionpractice.org/membership/

I want to add "Phone Number" as a required field for people signing up for a membership.

I can't find where I can configure the fields for the payment section.

I tried going to Contributions > Manage Contribution Pages

I do find this page there, and I was hoping to find a tab where I could configure these fields, but I don't see anything like that.

Have also gone to Administer > CiviMember but didn't find anything relevant there.

The payment gateway is Click & Pledge. I also looked at this item there, but don't see a place to configure these fields there either.

WordPress 4.8.1

CiviCRM 4.7.21

Any hints will be most appreciated!


texts: Where is minDate on membership start date set? Or can I change what minDate is set to?

texts:
So we have historic records which have been imported which include start dates going back to 1990s.
However, when those records are brought up for editing, the minDate kicks in and sets the date to 20 years ago.
I would like to be able disable the minDate test altogether, but cannot find it in the form setups at all.
If I can't disable it, can I set it to something much older?
Any suggestions as to where I should be looking, can't find anything in membership.php or .tpl that seems to set this.


texts:
It seems to me that this should be easy - but I cannot figure out how to do this. I would like to create a Membership Detail report and for those members who are of type Individual, I would like to show their Employer. What is an easy way to accomplish this?

Thank you.


texts: Trying to install to WordPress and I get; "Could not create a database trigger." I have no idea how to resolve. Thank you!


texts: What timezones should we use on the server and database?

texts:
We run a Civicrm installation that spans a continent (a long way from UTC).

What is the best practice?

What time should our server be set to?
How do we manage user timezones?
What time should go in the database?


texts: Scheduled job process_mailing does not complete

texts:
Running process_mailing scheduled job via 'execute now' starts but does not complete.

The first 200ish mails were sent then sending stopped.  Running 'Execute now' a few more times has now sent 330 of around 2000 recipients.

Some other mailing that were scheduled later have completed.

There are no errors reported in the Civi log.

One possibility is that it is running out of memory, but it is now not processing any further mails from this mailing which suggests there is something else going on.  Any hints or clues for debugging this?

CiviCRM 5.19.1
Mosaico 2.3.1572289217
Flexmailer 1.1.0
Sparkpost 1.3

(There are a few related questions on SE, but with significant differences, or no answers.)


texts: I'd like to be able to attach receipts, notes, and other documentation to a contribution. Is this possible?


texts: mismatch between journal and contribution transaction ID

texts:
Love iATS and Civi!

That aside, we're experiencing an issue where some transactions have a mismatch as stated in title.

In the SQL Database I'll browse the 'civicrm_iats_journal' table and find the transaction record and I'll see something like 'AC13AA7R'

Then, on the civi contribution record, I'll see this in the transaction ID field: 'A1FA1CC2:1574381880' i.e. a different ID altogether.

Curiously, the invoice ID matches in the contribution 'Invoice Reference' field, in the iATS online journal, and Civi's 'civicrm_iats_journal' table. So I'm 99.9% sure it's the same transaction.