News:

Want to get involved in developing SMF? Why not lend a hand on our GitHub!

Main Menu

Group Moderators 1.4

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

Previous topic - Next topic

geraintw1uk

Quote from: eldʌkaː on December 14, 2006, 11:16:39 PM
I'll have to take a look at that, although it installed perfectly for me, many people are having issues :S
Try installing it anyways, if there are problems I'll fix them for you.

Hi,

I have installed this now ignoring the fail message and it seems to be working as there are no errors in the error log and it will allow me to add moderators to it and the option is there in the menu (i am using the default menu) but dont know if it will work with other themes has i have not tried that yet..
do you know if it will work with many other themes and how hard is it to add to themes myself.

Thanks for your help

Geraint

Dannii

It won't automatically add itself to other themes, but you should be able to easily do it yourself. Only the button has to be added, and, you don't really even need the button if you know how to get to it by action=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."

IlyZor

Thanks a lot! Works great. Can't understand why this mod isn't built in per default.

Dannii

I've change the way it alters the default template slightly, to make it more compatible with other mods. I don't think this change is big enough to warrant another release, so it will wait till the next big changes. If you do get errors on Default/index.template.php just install it anyways, it should work fine, just the tabs might not be correct. If you want, you can replace the GroupMods_templates_11.xml file in your package with this one: http://smfgroups.googlecode.com/svn/trunk/GroupMods_templates_11.xml
"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."

Viporizer

#284
To start of, nice mod you made! I realy enjoy it.

But here comes my problem. I tried to add it to my current theme. But it won't work. At the install it gives an testing error (index.template.php from the theme)and when i go on with the installation all seems fine. But when i want to mange the groups it says "Unable to load the 'main' template." Also edited the package with your latest version of the .xml file. Didn't seem to work. Can you help me out? I'm using the theme called: pdx-dk06

Dannii

Which SMF version are you using? Can you check if the Groups.template.php file was uploaded correctly? If it wasn't that might explain the "unable to load.." 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."

Viporizer

#286
I'm using the latest 1.1.1 version. The groups.template.php is in the theme directory. It all works on the default template but not yet with mine.

Dannii

Could you set up a temporary admin account and PM me the details? I'll have a look at it for 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."

Viporizer

If you could take a look, that would be great!
Thanks in advance!

Dannii

http://forum.vipmob.org/index.php?action=theme;th=1;sa=edit
This (did) show that Groups.template.php is an empty file. I think I've fixed it now.
"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."

Viporizer

You are great! You fixed it alright :D You made me as happy as a kid with a lolly pop !! Thanks again!!

higherauthority

I love this mod!!!!  Great JOB.

How can I get it to show the groups tab on all my themes? Once I figure this out I am all set

Is 1.4 the latest version .  When i installed it it gave me an error something about /index.template.php in the file list of the package.  but it seems to work fine weird.   


Dannii

You'll have to add an extra tab, that links to action=groups. Ask your theme's author if you're not sure exactly how 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."

townies

 ???So what do we need to do in order to see the membergroups after hitting the groups tab?  I added myself in every group that I have, including admin and mods but still no members come up?   ::)

Dannii

Did you add yourself to the list of group moderators, that you see when you edit a group?
"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: perplexed on October 23, 2006, 05:00:10 AM
yeah I tried again and it still wont download :(  very strange

I never did get this to install without the corrupt message.  I am due to upgrade to 1.1.1 so I'm going to give it another bash, since I really miss having it :)

Dannii

Let me know if you still have troubles.
"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."

kimber

Is there a way to have the button only show if the member is a moderator of a group? Similar to the Admin button for Administrators.

Dannii

It will only display for those with the view_groups permission, so you can restrict it that way. It won't automatically detect who is a moderator though.
"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."

kimber

#299
I had to install it manually (not using default theme) and it stays visible with or without the view_groups option checked. 

I have this code placed in the index.template is there something else I should have done?

// 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'];


Thank you for your quick reply.   ;)

ETA:  Corrected this problem.  Thanks again!

Advertisement: