News:

SMF 2.1.6 has been released! Take it for a spin! Read more.

Main Menu

Group Moderators 1.4

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

Previous topic - Next topic

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."

Dannii

Argh another bug. v1.1b won't allow you to add new group moderators. it's a simple bug to fix but I don't really want to make another release as I'm trying to do more and add extra features. So unless you're on 1.1RC1 just use the v1.1 release. I'll fix this in a few days, or ASAP if someone is using RC1 and asks me 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."

BlueGoku

We're using RC1, think you can fix it for us?

Dannii

Sure. I'm not at home now but I'll try and release it later today.
"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

Version 1.2 has been released
el_groupmods_12.tar.gz
changelog.txt

Okay This now should work in 1.1RC1.
There are also numerous code changes, most of which won't matter to you. There is a significant change in functionality though. There will be a tick box in the "Edit group" page under the list of group moderators. If it is unchecked (default) then new members added through the groups interface will be forced into a secondary group. If it is checked then if new members have no primary group, when added they will then change to that group as primary. Only check the box for groups which have full normal permissions. Otherwise they will be incapacitated.
There are also some small template changes, including a nice linktree :)
"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."

BlueGoku

Thanks a million! We've got so many private boards and groups on our board that it would be a nightmare for the admin to take care of everything. We used the mod back when we were using 1.0.5, but ever since we updated it's been difficult to keep up with all the group changes.

Thanks again.

BlueGoku

We slightly modified the script so group mods get a text button at the top taking them to the group mod screen. Today I had some free time and made a gif button for it (for the default forum theme, since that's what we use), here it is in case anyone else wants to use it:


Dannii

Ahh great :D
In the next version I will make a new permission for this, and will edit the default theme. Do you mind if I use that image? When that's done you'll be able to select exactly which groups can view the groups page with the new permission, and the image will show only to those groups.
"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."

BlueGoku

That sounds neat. Sure, you're welcomed to use the image.

ZuMe

#69
Quotehm. I tried to install that, but it seems not to work. Im using your 1.2 mod and SMF 1.1 RC 1.
When i enter index.php?action=groups, the forum says "error - couldnt load the main template".

In the administration backend, there is a textfield for entering a username, i guess, but it is not labled in any way so i dont know what should be entered there. anyway, when i enter a username and click on submit, i just get a php error "Fatal error: Call to undefined function: insertgroupmods() in {homedir}/Sources/ManageMembergroups.php on line 510"

If i saw it right what the installer does, this mod only works with the default template and english language then ?

isn't there any way to at least include other templates ? I wouldnt mind about a little english in my german forum, but i mind about blowing to hell my stylesheet :(

I have to correct myself. Even if i change the language and the stylesheet to english and default, both of the errors above occur. What am i doing wrong ? The package installation said everything was installed correctly.

--> I think i found the error. Some files had 0 bytes when they where installed. When i downloaded the package to my harddisk, extracted it and uploaded those files manually, it works. Perhaps, this is due to the name of the file ? (there are [ and ] in there, which totally flipped over my browser at first.)

yours,
ZuMe


Roleplayers do it anytime, anywhere, and sometimes even for days.

ZuMe

if someone could tell me what to insert here so only moderators can see it :
if ($context['allow_??????'])

i could insert that button and be happy all over  :D

Yours
ZuMe


Roleplayers do it anytime, anywhere, and sometimes even for days.

Dannii

There shouldn't be any [ or ] in the file names... But yes uploading the files again should fix it.

It should work in any template (as the default will be used), however only in English. There are however only about 10-15 texts, if you feel up to translating them I will certainly include them in the next version.

You won't be able to do such tests in 1.2, however in 1.3 there is a permission and button in the default theme. It will be very easy to add buttons to other themes.
"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."

ZuMe

Hmm.. Eldacar, i translated the texts into german and this works out great - thanks again !

As i'm administering a german roleplay project right now, i made those texts (as well als all the others in that specific forum) sound a little archaic and generally adressed everyone with the german equivalent of "thee, thy" etc.
While i think this would probably bring a smile on the faces of a lot of people, I think it wouldn't be much of a help at more serious projects  :D

Anyway, it really wasn't a lot of work. So if you like, i will give you a correct (modern ;)) german translation asap. Would you like a german informal or a formal translation ? (there's always the point on how to adress someone in german, "Sie" or "Du") - or both ?
Probably I can also change the button accordingly.

Yours
ZuMe
Roleplayers do it anytime, anywhere, and sometimes even for days.

Dannii

Hmm informal or formal? :S I'm not really sure. Formal probably? It's up to you. :)
"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."

ZuMe

http://www.doogle.de/downloads/el_groupmods_12_germanchanges.zip [nofollow]

Actually, there isn't much need to change GroupMods_language.xml also, but i just translated anything that was there.  ;)
It's formal now, i think that fits anyway.

yours
Suse
Roleplayers do it anytime, anywhere, and sometimes even for days.

Dannii

#75
Version 1.3 has been released
el_groupmods_13_r11.tar.gz
changelog.txt

There is now a permission which determines where someone can view the groups page. It is on by default. There's also a simple description for the "who's online page", and there is a button in the default theme.
If you wish to add a button in a different theme, here is the basic code which you can alter to fit your specific theme: // View Groups Interface... [groups]
if (allowedTo('view_groups'))
echo '
<a href="', $scripturl, '?action=groups">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/' . $context['user']['language'] . '/groups.gif" alt="' . $txt['elgm4'] . '" style="margin: 2px 0;" border="0" />' : $txt['elgm4']), '</a>', $context['menu_separator'];
I haven't incorporated ZuMe's German translations, but i will in the next version. ZuMe, could you PM me with your Email address?

Oh, and hopefully there won't be any bugs, but if there are, please post them here.
"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

I've been told the mod was upload was corrupted. I checked and it seemed fine to me, but I uploaded it again: http://mods.simplemachines.org/index.php?a=download;mod=171;id=11931
"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."

xcooling


xcooling

I have installed the mod.

I would like to nkow how i would go about assigning a moderator to a specific group

Dannii

Edit the specific group in the admin section, and you'll see a field there. add the exact names of the users you want there, separate by commas.
"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."

Advertisement: