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 Core CiviCRM Functions (Moderator: Yashodha Chaku) »
  • Group Visibility
Pages: [1]

Author Topic: Group Visibility  (Read 756 times)

osep

  • I’m new here
  • *
  • Posts: 26
  • Karma: 0
  • CiviCRM version: 4.1.5
  • CMS version: Joomla 2.5.6
  • MySQL version: 5.1.62-cll
  • PHP version: 5.3.10
Group Visibility
May 11, 2012, 01:57:48 am
Hello

I am unable to insert the group "registered" in my forms ! There are groups that "public" that appear.

How do I do to bring up these groups when a person logs in registered ? I work on Joomla 2.5: Is there access rights that I forgot ?

I even tried the demo site and here again it did not seem to work !

How to proceed ?
Thank you for your help

osep

  • I’m new here
  • *
  • Posts: 26
  • Karma: 0
  • CiviCRM version: 4.1.5
  • CMS version: Joomla 2.5.6
  • MySQL version: 5.1.62-cll
  • PHP version: 5.3.10
Re: Group Visibility
May 14, 2012, 02:04:31 am
One to help me ?

Please...

Hershel

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4640
  • Karma: 176
    • CiviHosting
  • CiviCRM version: Latest
  • CMS version: Mostly WordPress and Drupal
Re: Group Visibility
May 14, 2012, 03:35:13 am
Quote from: osep on May 11, 2012, 01:57:48 am
I am unable to insert the group "registered" in my forms ! There are groups that "public" that appear.

Can you clarify what form you mean? Tell us what URL perhaps. We need more details to be able to answer you.
CiviHosting and CiviOnline -- The CiviCRM hosting experts, since 2007

See here for the official: What to do if you think you've found a bug.

osep

  • I’m new here
  • *
  • Posts: 26
  • Karma: 0
  • CiviCRM version: 4.1.5
  • CMS version: Joomla 2.5.6
  • MySQL version: 5.1.62-cll
  • PHP version: 5.3.10
Re: Group Visibility
May 14, 2012, 04:37:45 am
I have a contact form in front and the opportunity to join a group. See the attached picture

But I would like if someone has code to connect to the front, he can also subscribe to groups that have visibility "administrator and users." See the group "CERC" : Why does it not appear on the form when you are online ?

Is it more understandable ?

Thank you for your help

osep

  • I’m new here
  • *
  • Posts: 26
  • Karma: 0
  • CiviCRM version: 4.1.5
  • CMS version: Joomla 2.5.6
  • MySQL version: 5.1.62-cll
  • PHP version: 5.3.10
Re: Group Visibility
May 21, 2012, 04:20:50 am
Could you tell me the file (or files) that I could modify this function to run?

I could add a condition :

$ session = CRM_Core_Session :: singleton ();
             $ ContactID = $ session-> get ('userID');

if ($ ContactID == xxx)

where xxx = the id of the user logged into the frontend of the site
So it shows all the groups created. Otherwise (for an unregistered user, it displays only public group)

Thank you for helping me: this is quite urgent ...

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: Group Visibility
May 21, 2012, 12:06:52 pm
When you create a Profile - you can set in the profile Adv Settings that anyone who fills in the form gets added to a Group - such groups can be Admin only afaik.

Does that help you?
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) »
  • Support »
  • Using CiviCRM »
  • Using Core CiviCRM Functions (Moderator: Yashodha Chaku) »
  • Group Visibility

This forum was archived on 2017-11-26.