Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> How To's
Author Message
timallen82
New Member
New Member


Joined: Dec 07, 2005
Posts: 15
Location: Florida, USA

PostPosted: Wed Sep 06, 2006 8:31 am Reply with quote

I am running RavenNuke76 v2.02.02 FULL

I am creating one big site for multiple "projects", if you will.

I can assign members to groups to control Downloads permissions.

I can assign permissions for the group members for certain forums within Forums.

How can I assign group permissions so that the group members can see only the members in their group when going to the Members List module? I don't want members from one group to see the members from another group.

Thank you very much for any assistance!
 
View user's profile Send private message
Guardian2003
Site Admin


Joined: Aug 28, 2003
Posts: 6792
Location: Ha Noi, Viet Nam

PostPosted: Wed Sep 06, 2006 9:09 am Reply with quote

Sorry, as far as I know thats not possible using the core code. You would need to alter the sql call in the Members List module to include a WHERE clause dependant on the user Group.
In english, display the list of members where the member is in the same group as the user (assuming you do not have individuals who are in multiple groups - then it gets messy).

Out of curiosity as I haven't really used Groups much, if you select the 'Groups' module link in the main menu, does it display all users in their or only users in specific groups if they are a member of that Group?
 
View user's profile Send private message Send e-mail
Susann
Moderator


Joined: Dec 19, 2004
Posts: 3191
Location: Germany:Moderator German NukeSentinel Support

PostPosted: Wed Sep 06, 2006 9:53 am Reply with quote

Its a good idea to display the members list only for admins to prevent different kind of spam.


Quote:
I don't want members from one group to see the members from another group.


If the status of the group is public and not hidden everybody can see the usergroup at the top of the forum.
There are different settings in the forums administration.
In the modules administration you can set who is allowed to view (What Groups: View must be SET to Groups Only) the memberlist. Smile
 
View user's profile Send private message
timallen82
PostPosted: Wed Sep 06, 2006 11:47 am Reply with quote

Susann, I know that I can set what groups to see the Members List in the modules Administration, but what I am wanting to do is this:

Group 1 has members A, B, and C.

Group 2 has members X, Y, and Z.

When members from Group 1 click on Members List to e-mail or PM another member, I DO NOT want them to be able to see members X, Y, and Z from Group 2.

Does that make sense?

Thanks!
 
timallen82
PostPosted: Wed Sep 06, 2006 11:56 am Reply with quote

Alright, I figured it out.

I made the Members List Module viewable only to Admin.

I created Usergroups called Group 1 and Group 2.

I added members to each group.

When logged in as a member from Group 1, I click on Usergroups and I see that I am a member of Group 1 and I see ONLY members from Group 1, which is what I wanted to do!

Thanks everyone for the help! I thought I should post how I figured it out!
 
montego
Site Admin


Joined: Aug 29, 2004
Posts: 9449
Location: Arizona

PostPosted: Thu Sep 07, 2006 5:40 am Reply with quote

For other's sake, just a point of clarification: by "Usergroups", timallen82 is referring to what Susann had mentioned as the Forum groups. When you go to forums, there is a "Usergroups" link towards to top. From here, you can see the groups that you are a member of, click on "View Information" and see a very Private Message looking display of the other users in that group.

_________________
Only registered users can see links on this board! Get registered or login!
Only registered users can see links on this board! Get registered or login! 
View user's profile Send private message Visit poster's website
Display posts from previous:       
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> How To's

View next topic
View previous topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum


Powered by phpBB © 2001-2007 phpBB Group
All times are GMT - 6 Hours
 
Forums ©