Group Moderators 1.4

Started by Dannii, July 25, 2005, 04:24:08 PM

Previous topic - Next topic

Dannii

Do you want to change it to another language? What do you mean you can't find it? It should be in Themes/default/languages
"Never imagine yourself not to be otherwise than what it might appear to others that what you were or might have been was not otherwise than what you had been would have appeared to them to be otherwise."

mpenfield

Thanks. That was what I needed. And again thanks for a terrific mod!

Dannii

DawnsWebDesigns, did you solve the problems?
"Never imagine yourself not to be otherwise than what it might appear to others that what you were or might have been was not otherwise than what you had been would have appeared to them to be otherwise."

phoenix elite

I can't open the file in a .tar format. Could you upload a version in a .zip format?

Dannii

Why can't you open it? You shouldn't need to though, because your server should be able to.
"Never imagine yourself not to be otherwise than what it might appear to others that what you were or might have been was not otherwise than what you had been would have appeared to them to be otherwise."

perplexed

Quote from: eldʌkaː on September 09, 2006, 03:31:38 AM
Version 1.3e has been released
el_groupmods_13e_r15.tar.gz
changelog.txt

This should install on 1.1 RC3. If you're not using 1.1 RC3, ignore this release.

Hi

I tried to upload this to package manager but got this message:

An Error Has Occurred!
The package you tried to upload either is not a valid package or has become corrupted.

(I'm using RC3 ) :(

Dannii

Can you try downloading it again? Noone else has had problems with it being corrupt.
"Never imagine yourself not to be otherwise than what it might appear to others that what you were or might have been was not otherwise than what you had been would have appeared to them to be otherwise."


Dannii

"Never imagine yourself not to be otherwise than what it might appear to others that what you were or might have been was not otherwise than what you had been would have appeared to them to be otherwise."

Xarcell

I get this error in my log:

8: Undefined index: elgm_primary
File: /home/.abigaildryer/xarcell/feyorin.com/smf/Sources/ManageMembergroups.php
Line: 424

Any ideas on how to fix it?

Dannii

Thanks for reminding me about that.

Find:
$options = $_POST['elgm_primary'] == '1' ? 'P' : '';
replace:
$options = isset($_POST['elgm_primary']) && $_POST['elgm_primary'] == '1' ? 'P' : '';

It will be fixed in the next release too.
"Never imagine yourself not to be otherwise than what it might appear to others that what you were or might have been was not otherwise than what you had been would have appeared to them to be otherwise."

Xarcell


Dannii

ManageMembergroups.php of course, the one with the error ;)
"Never imagine yourself not to be otherwise than what it might appear to others that what you were or might have been was not otherwise than what you had been would have appeared to them to be otherwise."

Xarcell

Could you post an example snippet of a link to the groups page that only appears to those that actually have a group to moderate?

I think it would be better than posting a link to a groups page with no groups in it.

Thanx...

Dannii

I'm not sure what you're asking?
"Never imagine yourself not to be otherwise than what it might appear to others that what you were or might have been was not otherwise than what you had been would have appeared to them to be otherwise."

Xarcell

#255
Let's say I make groups viewiable to "group 1". The link to the groups page shows up for everyone in "group 1". It comes up empty except for the modertor of that group.

How do I create a link to the groups page that only appears to person who has a group to moderate.

Here is what I'm using now:

// the Clan Management
if (allowedTo('view_groups'))
{
echo '<td class="windowbg2" onMouseOver="this.className=\'windowbg\'" onMouseOut="this.className = \'windowbg2\'">
<table border="0" cellpadding="0" cellspacing="0" margin="0" width="100%">
<td width="2" class="smalltext">:</td>
<td width="*" class="smalltext" style="padding-left: 10px;"><a href="', $scripturl, '?action=groups" target="_self">Clan Management</a></td>
<td width="2" class="smalltext">:</td>
</tr>
</table>
</td></tr><tr>';
}


I've experimented with changing:

if (allowedTo('view_groups'))

But haven't had any luck on makeing that link appear to only those who have a group they are moderating.

Xarcell

I think I was using the mod differently than intended.

I was setting it up so that 1 member of a member would be the group moderator.

Now I'm using 2 groups. A user that is a member of the group he is moderatoring, and also in a membergroup called group moderators. I made the "group moderators" could access the page. This seems to work fine. Thanx for your help, I love this mod.

Dannii

Yeah I'm not really sure if a permission is the best way. However to find out if the user is a group moderator takes an extra query, and would be much slower.. I might investigate other options but I think I'll leave it as a permission.
"Never imagine yourself not to be otherwise than what it might appear to others that what you were or might have been was not otherwise than what you had been would have appeared to them to be otherwise."

Adamzon

i dont get any groups showing in this mod ?? :-X


Xarcell

All you need to do is only make the link visiable only to those that are group moderators.

Advertisement: