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 CiviMember (Moderator: Deepak Srivastava) »
  • Why no "Expiry Notice" on Live form, but it is on test?
Pages: [1]

Author Topic: Why no "Expiry Notice" on Live form, but it is on test?  (Read 1472 times)

CiviTeacher.com

  • I live on this forum
  • *****
  • Posts: 1282
  • Karma: 118
    • CiviTeacher
  • CiviCRM version: 3.4 - 4.5
  • CMS version: Drupal 6&7, Wordpress
  • MySQL version: 5.1 - 5.5
  • PHP version: 5.2 - 5.4
Why no "Expiry Notice" on Live form, but it is on test?
September 15, 2008, 01:06:26 pm
Hi I really like this little notice that appears on the Test-drive of a Membership  Dues page we created with CiviMember.  It doesn't show up on the "Live form" though.  How could I get the expiry notice to show up on the Live form?  I think it is an excellent visual cue.

Perhaps the bigger issue is that the Live form doesn't seem to recognize that it is a renewal membership, not a new membership, even though I am logged in.

See the attached image for clarity

Is this a bug or did I configure things wrong?  Any idea on how to fix it?

I have found the code in MembershipBlock.tpl (I have not changed this code, it is default) but it doesn't seem to give any clue as to why it works on Test-drive and not on Live
Code: [Select]
              {if $row.current_membership AND $context EQ "makeContribution" }
                    {if $row.current_membership|date_format:"%Y%m%d" LT $smarty.now|date_format:"%Y%m%d"}
                        <br /><em>{ts 1=$row.current_membership|crmDate 2=$row.name}Your <strong>%2</strong> membership expired on %1.{/ts}</em>
                    {else}
                        <br /><em>{ts 1=$row.current_membership|crmDate 2=$row.name}Your <strong>%2</strong> membership expires on %1.{/ts}</em>
                    {/if}
              {else}

Thanks,
Stuart

PS. I am using version 2.0.5

« Last Edit: September 15, 2008, 02:02:30 pm by Stoob »
Try CiviTeacher: the online video tutorial CiviCRM learning library.

Kurund Jalmi

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4169
  • Karma: 128
    • CiviCRM
  • CiviCRM version: 4.x, future
  • CMS version: Drupal 7, Joomla 3.x
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: Why no "Expiry Notice" on Live form, but it is on test?
September 15, 2008, 02:07:42 pm
Can you replicate this on http://drupal.demo.civicrm.org. If you are able to replicate, do file an issue in jira.

Thanx,

Kurund
Found this reply helpful? Support CiviCRM

Donald Lobo

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 15963
  • Karma: 470
    • CiviCRM site
  • CiviCRM version: 4.2+
  • CMS version: Drupal 7, Joomla 2.5+
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: Why no "Expiry Notice" on Live form, but it is on test?
September 15, 2008, 02:15:39 pm

we demarcate between "test" memberships and "live" memberships.

Most likely there is a test membership that needs renewal but there is no live membership. hence the diff in the two forms

lobo
A new CiviCRM Q&A resource needs YOUR help to get started. Visit our StackExchange proposed site, sign up and vote on 5 questions

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: Why no "Expiry Notice" on Live form, but it is on test?
September 15, 2008, 04:01:31 pm
From the images it appears you are comparing a 'renew' option with a 'new member' option. It maybe that it only shows for a 'member' and that in the case of the 'new member' the member record has not yet been created so won't show the 'expire' info??? Maybe?
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

CiviTeacher.com

  • I live on this forum
  • *****
  • Posts: 1282
  • Karma: 118
    • CiviTeacher
  • CiviCRM version: 3.4 - 4.5
  • CMS version: Drupal 6&7, Wordpress
  • MySQL version: 5.1 - 5.5
  • PHP version: 5.2 - 5.4
Re: Why no "Expiry Notice" on Live form, but it is on test?
September 16, 2008, 10:54:39 pm
Lobo is correct.  There was a 'test-drive' membership for this user, but not a 'live' membership for this user.  Which is why in test-mode it recognizes the transaction as a renewal and in 'live' mode it does not.

FYI to other users:

I had to delete the test-membership and create a new membership under 'live' conditions.  Then the renewal information and expiry shows up under 'live' form conditions.

Thanks all and Lobo.
Try CiviTeacher: the online video tutorial CiviCRM learning library.

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviMember (Moderator: Deepak Srivastava) »
  • Why no "Expiry Notice" on Live form, but it is on test?

This forum was archived on 2017-11-26.