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) »
  • Developer Discussion (Moderator: Donald Lobo) »
  • Hide a clock with expire user !
Pages: [1]

Author Topic: Hide a clock with expire user !  (Read 903 times)

valentino_nguyen

  • I’m new here
  • *
  • Posts: 11
  • Karma: 0
  • CiviCRM version: 4.4
  • CMS version: drupal 7
  • MySQL version: 5.1
  • PHP version: 5.5.4
Hide a clock with expire user !
January 12, 2014, 06:30:25 am
Hi all,

I'm newbie in drupal and civiCRM. In my drupal site, I want when a account of user has expired, they can not see my button (a block) . He just can see that again once he renew his account.

Can anyone suggest me some instruction to do that . I will be appriciate about it .

Thanks in advance.

Valention.

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: Hide a clock with expire user !
January 12, 2014, 02:34:13 pm
in your block settings you can specify which Roles the block is visible too

and you can use the Member - Roles synch module to specify which membership types and status get given the 'special' role that you use to make the block visible

hope that helps
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

valentino_nguyen

  • I’m new here
  • *
  • Posts: 11
  • Karma: 0
  • CiviCRM version: 4.4
  • CMS version: drupal 7
  • MySQL version: 5.1
  • PHP version: 5.5.4
Re: Hide a clock with expire user !
January 12, 2014, 06:14:19 pm
Hi petednz,

Thanks you alot for response to me.

I understand your idea. But my problem is if I add new role name "expired", how can I synch the real user that their account has expired with the new role using civiCRM.

Sorry if this is an adiot question. But please help me out .

Thanks you again.

Valentino.

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: Hide a clock with expire user !
January 12, 2014, 07:07:25 pm
maybe i took too many assumptions

what do you mean by "when a account of user has expired"

I was guessing you meant that had a Membership but perhaps you mean something else.
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

valentino_nguyen

  • I’m new here
  • *
  • Posts: 11
  • Karma: 0
  • CiviCRM version: 4.4
  • CMS version: drupal 7
  • MySQL version: 5.1
  • PHP version: 5.5.4
Re: Hide a clock with expire user !
January 13, 2014, 06:39:31 pm
Hi petednz,

yeah, you're right, my mean is membership !

Thanks,

Valentino.

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: Hide a clock with expire user !
January 13, 2014, 06:43:47 pm
so you can set the Block to show only for Members (drupal role)

and use CiviMember Roles Sync module to specify which Membership Types and Status qualify to get the above role.
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

valentino_nguyen

  • I’m new here
  • *
  • Posts: 11
  • Karma: 0
  • CiviCRM version: 4.4
  • CMS version: drupal 7
  • MySQL version: 5.1
  • PHP version: 5.5.4
Re: Hide a clock with expire user !
January 13, 2014, 07:43:25 pm
Hi petednz,

Thanks you for quick reply. I will try to do that.

But now, I have a question : I have a contribute payment pages. I need to put on it a table (just html code) to show some info. But I go to Aminister -> Contribute -> Manage Payment Page , and can not find anywhere to add this.

Can you please help me to do that ? I'm really appriciated !

Valentino.

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: Hide a clock with expire user !
January 13, 2014, 07:48:51 pm
you can put it in the 'intro' bit on the Title/Settings eg
http://drupal.demo.civicrm.org/civicrm/admin/contribute/settings?reset=1&action=update&id=1

is that what you need?
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

valentino_nguyen

  • I’m new here
  • *
  • Posts: 11
  • Karma: 0
  • CiviCRM version: 4.4
  • CMS version: drupal 7
  • MySQL version: 5.1
  • PHP version: 5.5.4
Re: Hide a clock with expire user !
January 14, 2014, 06:04:22 pm
yeah, I got it !

Thanks you alot petednz, you saved my life !

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: Hide a clock with expire user !
January 14, 2014, 06:07:46 pm
glad it helped
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

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Developer Discussion (Moderator: Donald Lobo) »
  • Hide a clock with expire user !

This forum was archived on 2017-11-26.