Welcome, Guest
Please Login or Register.    Lost Password?
Pre-RC Confirmed Bugs
Go to bottomPage: 1
TOPIC: Unjoin from Group does not work
#6152
Unjoin from Group does not work 3 Years ago Karma: 0
The unjoin from group does not work for me either.

J 1.5.8
cb 1.2 RC 4
gj 29a
admin notification off.
eventlist integration off
mitchpc
Newbie
Posts: 14
graphgraph
User Offline Click here to see the profile of this user
The topic has been locked.
 
#6156
Re:Unjoin from Group does not work 3 Years ago Karma: 25
mitchpc wrote:
The unjoin from group does not work for me either.
This is a confusing one for me... I am going through the code right now (Granted, I just got off work and I am tired and a bit Foggy...)I am missing something in the logic I think. If I am Group Manager, the script will not show me the unjoin link, but I get the manager links instead. This is very logical, I can't leave my own party right? I can however shut the party down (call the cops... or click Delete Group). Now a regular member is shown a link to leave the group, but in going through the code I find a block which checks if the user is the manager, and if he/she is not will not allow them to leave. I commented out this check (L46-L49, members.php) and the user can now leave the group.
HOWEVER!
I believe that the same function is used for group Management as well ie: for a manager to remove another user. In my setup, I don't see where the manager has these options... but as I said, Im not at me best right now.
This check block goes like this (I think)
if user NOT group manager AND user IS working with himself AND user is NOT admin -then return the error and cancel the remove user function...
The check should go something like this (I think)
if user NOT group manager AND user is NOT working with himself AND user is NOT admin -then return the error and cancel the remove user function...
This logic will allow a Group Manager, a user working on them self, or any Admin to pass through to the rest of the function... yes?

Any Thoughts?
Aaron. (wheew...)
Braineater
Moderator
Posts: 189
graphgraph
User Offline Click here to see the profile of this user
Last Edit: 2009/01/10 09:18 By Braineater.
The topic has been locked.
 
#6161
Re:Unjoin from Group does not work 3 Years ago Karma: 0
basically you are saying that's not possible for non-group manager member of a group to un-join himself?
It seems the only way is that a manager does it for him.
mitchpc
Newbie
Posts: 14
graphgraph
User Offline Click here to see the profile of this user
The topic has been locked.
 
#6166
Re:Unjoin from Group does not work 3 Years ago Karma: 25
mitchpc wrote:
basically you are saying that's not possible for non-group manager member of a group to un-join himself?
It seems the only way is that a manager does it for him.

In the original logic... No, a non-group manager member of a group May Not un-join himself. In fact, if you follow the logic through, no one can un-join because first it is testing and will only allow a Manager to execute the function (on another user).
Managers can not leave their group. But they can delete it, or pass on the roll of manager to someone else. Managers can delete other users from the front end.
In my suggested Logic the function will pass for a Manager of this group who is working on another User, OR a member of the group working on his/her self, but not pass for a non-member working with another... I think.
I have tested my theory and it seems to hold up, but use my suggestions at your risk until the Dev has a chance to look it over.

Aaron.
Braineater
Moderator
Posts: 189
graphgraph
User Offline Click here to see the profile of this user
The topic has been locked.
 
#6170
Re:Unjoin from Group does not work 3 Years ago Karma: 7
Thanks for defining the issue, Aaron.

I'm moving this to the known issues forum.
Rapunzl
Admin
Posts: 225
graphgraph
User Offline Click here to see the profile of this user
The topic has been locked.
 
#7014
Re:Unjoin from Group does not work 2 Years, 9 Months ago Karma: 7
Incorporated fix in new GroupJive Component pre-RC version 30a.
Rapunzl
Admin
Posts: 225
graphgraph
User Offline Click here to see the profile of this user
The topic has been locked.
 
Go to topPage: 1
Moderators: Braineater
RocketTheme Joomla Templates