Welcome, Guest
Please Login or Register.    Lost Password?

[SOLVED] Unjoin Group Does Not Work.
(1 viewing) (1) Guest
Pre-RC Discussion
Go to bottomPage: 1
TOPIC: [SOLVED] Unjoin Group Does Not Work.
#6264
[SOLVED] Unjoin Group Does Not Work. 1 Year, 7 Months ago Karma: 0
This is a known issue, which anyone can view on the main Joomla! code site at:

http://joomlacode.org/gf/project/groupjive/tracker/?action=TrackerItemEdit&tracker_item_id=7862

Notice the date that it was opened. It is now been well over a year, and no one has a solution to this issue (that i can find).

Details:

1. You create a group.

2. You send an invite to someone (registered or non-registered members) and they accept.

3. The Group is an Open to all.

4. Later, that individual who accepted the invite, and is presently part of that specific group (not the Moderator), feels like unjoining the group.

5. Clicks on the link to unjoin, and gets a Windows prompt asking to confirm.

6. Get an error message stating "Error! You are not a moderator of this group.
...or you are not logged in?" (see attached pic)

Firstly, the individual who wants to Unjoin is NOT the moderator. Secondly, the individual is LOGGED IN.

Specs on my system:
Joomla! 1.5.9 (running in Legacy mode)
Community Builder 1.2 RC 4
GroupJive Component pre-RC Testing version 29a
GroupJive Tab module 1.6

Also, what file is the code to delete the title tag 'Managers Tasks'. When a group member (non-moderator) views the group. The user sees the words 'Managers Tasks' with nothing underneath. Makes it a little confusing.

Lets get some help here on these two issues.

Warm Regards,
lawalty
lawalty
Newbie
Posts: 3
graphgraph
User Offline Click here to see the profile of this user
Last Edit: 2009/04/22 23:31 By Rapunzl.Reason: Marked solved with Aaron's code
The administrator has disabled public write access.
 
#6266
Re:Unjoin Group Does Not Work. 1 Year, 7 Months ago Karma: 25
lawalty wrote:
It is now been well over a year, and no one has a solution to this issue (that i can find).

Welcome Iawalty...
Can I assume that you read THIS article? I believe the solution is there... I was hoping someone would double check it and determine if it is a valid fix...

Let me know if that helps...
Aaron.

EDIT:

Alright, so I just re-visited the old post I mention above. Too bad there has been no real closure on this bug. I was going to add this reply to the orig. thread but it is locked. I had hoped that someone from the Dev team would look at my solution and give it thumbs up/down.

Anyhow, I didn't give much detail on my work-around so I will post it here. ~Please~ I assume no responsibility if this hack makes your microwave explode or something!

So, if you like you can try this...

gj\core\members.php

L46 - L48 : REPLACE WITH
Code:

 if (!ismoder($groupid, $_CB_framework->myId()) && $userid != $_CB_framework->myId() && !$admin) {
HTML_wg::errorpage(GJ_NOT_MODER, '', $groupid, 'error');
return;


I have been testing for two weeks with this and see no problems. Please make sure you read the orig. thread first so you have an understanding of what I Think the problem is...

Good luck and have FUN!
Aaron.
Braineater
Moderator
Posts: 189
graphgraph
User Offline Click here to see the profile of this user
Last Edit: 2009/01/22 01:31 By Braineater.Reason: needed editing...
The administrator has disabled public write access.
 
#6270
Re:Unjoin Group Does Not Work. 1 Year, 7 Months ago Karma: 0
Braineater, I'm glad for the quick response. I'll use your solution by replacing the specific lines of code and post my results.

Warm Regards,
lawalty

P.S.
That link to another (older) post didn't bring any results.
lawalty
Newbie
Posts: 3
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#6946
Re:Unjoin Group Does Not Work. 1 Year, 5 Months ago Karma: 2
Thanks for the fix Braineater. Just implemented and everything is working great so far. If I come up with any issues, I'll post it.
brentwilliams2
Newbie
Posts: 14
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
Go to topPage: 1
Moderators: Braineater
RocketTheme Joomla Templates