Author Topic: Setting example  (Read 57221 times)

0 Members and 1 Guest are viewing this topic.

KGF

  • ezCustomer
  • *****
  • Posts: 100
Setting example
« on: August 25, 2014, 05:57:57 am »
i found this,
please give me a setting example...

I would like to give only these folder: http://www.photoplaca.com/index.php?action=gallery;cat=3
 for specific user free !
what should I set it?

please can you make a screenshot of the settings

ezCommunitySuite

  • Administrator
  • *****
  • Posts: 241
    • ezCommunitySuite
Re: Setting example
« Reply #1 on: August 25, 2014, 07:26:48 am »
Step 1: Create a new membergroup
Under Admin Control Panel -> Membergroups

Step 2: After group is added click on "Edit Permissions" for that group under Admin Control Panel -> Membergroups  and give the membergroup permissions needed.


Step 3. Go to Admin Control Panel ->  Manage Categories
Then find the category and click on  [Permissions] of that category

Step 4. Using permission section add the group that you want to have permission. For the groups you do not want permission disable their permissions.

KGF

  • ezCustomer
  • *****
  • Posts: 100
Re: Setting example
« Reply #2 on: August 26, 2014, 12:56:38 am »
we do not understand,
this is a simple problem-and it takes 5 days,
for them it takes 2 minutes,
they do not want to help us?
-------------------------------------------------------------------------------------
hello,
sorry, the settings do not work.
we have installed a demo here: http://www.photoplaca.de/index.php
please register as a user,
we give admin authority to make these settings,
then we can view this setting,

The folder "Private Album 01" is only for the member "user private".....
all other folders in "Gallery-private" is available for "registered members".....

please make an example
on my test page
http://www.photoplaca.de/index.php
« Last Edit: August 26, 2014, 06:50:41 am by KGF »

ezCommunitySuite

  • Administrator
  • *****
  • Posts: 241
    • ezCommunitySuite
Re: Setting example
« Reply #3 on: August 26, 2014, 07:06:10 am »
Registered as ezgallery. Please add me to the administrator group you can modify my profile to change my membergroup. And I will check out the settings on the category  Privat-Album-01

KGF

  • ezCustomer
  • *****
  • Posts: 100
Re: Setting example
« Reply #4 on: August 26, 2014, 07:11:32 am »
ok I've done

KGF

  • ezCustomer
  • *****
  • Posts: 100
Re: Setting example
« Reply #5 on: August 26, 2014, 07:29:17 am »
worked ???

ezCommunitySuite

  • Administrator
  • *****
  • Posts: 241
    • ezCommunitySuite
Re: Setting example
« Reply #6 on: August 26, 2014, 07:44:19 am »
Try now. I change permissions on Privat-Album-01 gallery

KGF

  • ezCustomer
  • *****
  • Posts: 100
Re: Setting example
« Reply #7 on: August 26, 2014, 07:46:25 am »
but now see the regular members not that there is a Privat-Album-01...


where are thumbnails of private-album-01 ??

nobody knows of the existence of private-album 01,
you understand?



thumbnales for guests and members is ok !!!
« Last Edit: August 26, 2014, 07:52:42 am by KGF »

ezCommunitySuite

  • Administrator
  • *****
  • Posts: 241
    • ezCommunitySuite
Re: Setting example
« Reply #8 on: August 26, 2014, 07:53:15 am »
Yes it should be hidden from regular members. Only private gallery membergroup and admins should see it.

KGF

  • ezCustomer
  • *****
  • Posts: 100
Re: Setting example
« Reply #9 on: August 26, 2014, 07:54:21 am »
moment
members do not see anything of privately-gallery-01

this is wrong,
members must see thumbnales of gallery-private-01

guests and regular members must always see thumbnales,
only user-private group must see big picture, ok
« Last Edit: August 26, 2014, 08:05:23 am by KGF »

ezCommunitySuite

  • Administrator
  • *****
  • Posts: 241
    • ezCommunitySuite
Re: Setting example
« Reply #10 on: August 26, 2014, 08:02:25 am »
Ok that is a different setting...requires custom code. Permissions then we need to remove.
Going to require changing code in sources/gallery.php

KGF

  • ezCustomer
  • *****
  • Posts: 100
Re: Setting example
« Reply #11 on: August 26, 2014, 08:06:37 am »
sorry, so is correctly

guests and regular members must always see thumbnales,
only "user-private group" must see big picture, ok

ezCommunitySuite

  • Administrator
  • *****
  • Posts: 241
    • ezCommunitySuite
Re: Setting example
« Reply #12 on: August 26, 2014, 08:22:51 am »
If you can attach your sources/gallery.php to this topic as an attachment will try to make the edit needed.

KGF

  • ezCustomer
  • *****
  • Posts: 100
Re: Setting example
« Reply #13 on: August 26, 2014, 08:24:13 am »
Huuuuu Huuuuuu
make it today?


I'll slowly twisted mind with you
« Last Edit: August 27, 2014, 08:23:57 am by KGF »

ezCommunitySuite

  • Administrator
  • *****
  • Posts: 241
    • ezCommunitySuite
Re: Setting example
« Reply #14 on: August 27, 2014, 09:53:00 am »
Updated gallery.php attached

added this code to view picture function
Code: [Select]
    $groupid =  $user_info['groups'][0];
   
    $notAllowedCats = array(3,4,5,6);
   
     // 2 is private group
    if ($groupid != 2 && $groupid != 1)
    {
        if (in_array($ID_CAT,$notAllowedCats)
            fatal_error("This group can not view this category",false);
    }
   

Disables  normal members from viewing full size images in the private categories

« Last Edit: August 27, 2014, 10:48:39 am by ezCommunitySuite »

 

Related Topics

  Subject / Started by Replies Last post
8 Replies
6900 Views
Last post August 14, 2014, 05:32:39 pm
by KGF

© 2024 ezCommunitySuite