CiviCRM Community Forums (archive)

*

News:

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

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



  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviMail (Moderator: Piotr Szotkowski) »
  • Checksum Expiration
Pages: [1]

Author Topic: Checksum Expiration  (Read 2301 times)

jaymcgraw

  • I post occasionally
  • **
  • Posts: 106
  • Karma: 6
  • CiviCRM version: 4.1.2
  • CMS version: Drupal 7.12
  • MySQL version: 5.0.92-community
  • PHP version: 5.2.11
Checksum Expiration
February 03, 2011, 05:45:39 pm
We're going to find out tomorrow, but I'm curious if anyone knows what this means regarding checksums:

"The way it works is you create a "special" link in the CiviMail message that includes the checksum token {contact.checksum}. When people click on the special link, it looks them up in the database and prefills any information on the contribution form or profile with any data that exists in their record. The special link lasts for seven days from the time it was sent out."

We sent out a mailing to all members regarding renewing their membership with a link to a membership renewal contribution page using a checksum. It's worked great thus far. If that checksum expires after seven days, what will someone experience if they click on the link in the email AFTER the checksum has expired?

petednz

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4899
  • Karma: 193
    • Fuzion
  • CiviCRM version: 3.x - 4.x
  • CMS version: Drupal 6 and 7
Re: Checksum Expiration
February 04, 2011, 12:18:27 am
The system won't know who they are so will treat them as Anonymous and no fields will be pre-filled
Sign up to StackExchange and get free expert advice: https://civicrm.org/blogs/colemanw/get-exclusive-access-free-expert-help

pete davis : www.fuzion.co.nz : connect + campaign + communicate

Coleman Watts

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 2346
  • Karma: 183
  • CiviCRM version: The Bleeding Edge
  • CMS version: Various
Re: Checksum Expiration
March 08, 2011, 03:31:13 pm
And so how does one change this default behavior, to, say, one month?
Try asking your question on the new CiviCRM help site.

jaymcgraw

  • I post occasionally
  • **
  • Posts: 106
  • Karma: 6
  • CiviCRM version: 4.1.2
  • CMS version: Drupal 7.12
  • MySQL version: 5.0.92-community
  • PHP version: 5.2.11
Re: Checksum Expiration
March 08, 2011, 03:44:31 pm
I couldn't find anyway to do this without hacking the code.

It appears you can set the default in the file by modifying the generateChecksum function CRM/Contact/BAO/Contact/Utils.php. Change the line:

Code: [Select]
$live = 24 * 7
to

Code: [Select]
$live = 24 * 30
to make it 30 days.



petednz

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4899
  • Karma: 193
    • Fuzion
  • CiviCRM version: 3.x - 4.x
  • CMS version: Drupal 6 and 7
Re: Checksum Expiration
March 08, 2011, 03:48:05 pm
lobo had this http://forum.civicrm.org/index.php/topic,2074.msg13699.html#msg13699
Sign up to StackExchange and get free expert advice: https://civicrm.org/blogs/colemanw/get-exclusive-access-free-expert-help

pete davis : www.fuzion.co.nz : connect + campaign + communicate

Michael McAndrew

  • Forum Godess / God
  • I live on this forum
  • *****
  • Posts: 1274
  • Karma: 55
    • Third Sector Design
  • CiviCRM version: various
  • CMS version: Nearly always Drupal
  • MySQL version: 5.5
  • PHP version: 5.3
Re: Checksum Expiration
May 06, 2011, 09:06:13 am
I thought I'd add the word expire and expiry to this post to help people find it :)
Service providers: Grow your business, build your reputation and support CiviCRM. Become a partner today

Coleman Watts

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 2346
  • Karma: 183
  • CiviCRM version: The Bleeding Edge
  • CMS version: Various
Re: Checksum Expiration
December 01, 2011, 01:11:36 pm
I have created an issue for this. I'm getting tired of hacking this file after every upgrade.
http://issues.civicrm.org/jira/browse/CRM-9254
Try asking your question on the new CiviCRM help site.

Chris Burgess

  • Ask me questions
  • ****
  • Posts: 675
  • Karma: 59
Re: Checksum Expiration
October 31, 2012, 04:41:58 pm
This config option ended up at civicrm/admin/setting/misc?reset=1 in CiviCRM from v4.1.0

Look under "Administer => System Settings => Undelete, Logging and ReCAPTCHA".
@xurizaemon ● www.fuzion.co.nz

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviMail (Moderator: Piotr Szotkowski) »
  • Checksum Expiration

This forum was archived on 2017-11-26.