News:

Want to get involved in developing SMF, then 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

Dannii

Well yes, though perhaps you could just replace ManageMembers.php. Have any of your other mods edited it?
"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."

louislam123

I believe around 3- mods have.
AnimuHQ- Gaming | Anime | Entertainment

Dannii

What are the other mods? They might just be incompatible.
"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."

louislam123

Ok. I edited it, and it all works fine now. Thanks. However, I have another question. Is it possible to assign a membergroup to be a group moderator?
AnimuHQ- Gaming | Anime | Entertainment

Dannii

Good to hear!
No you can't.
"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."

louislam123

Thanks for all your help!
AnimuHQ- Gaming | Anime | Entertainment

Lynx123

Hey guys when i try to add a new group i get this this error.

Field 'GroupModOptions' doesn't have a default value
File: C:\vg\Sources\ManageMembergroups.php
Line: 255

I am using SMF 1.1.5

Help is appreciated

Dannii

Hmm, you'll have to add a default value to the table. You can do that with phpMyAdmin.
"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."

Lynx123

Quote from: Dannii on June 15, 2008, 01:07:19 AM
Hmm, you'll have to add a default value to the table. You can do that with phpMyAdmin.
\

Thank you very much it works now

Acans

will it be made for 1.0.5
"The Book of Arantor, 17:3-5
  And I said unto him, thy database query shalt always be sent by the messenger of $smcFunc
  And $smcFunc shall protect you against injections and evil
  And so it came to pass that mysql_query was declared deprecated and even though he says he is not
  dead yet, the time was soon to come to pass when mysql_query shall be gone and no more

Dannii

Already is. Just install it.
"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."

Acans

"The Book of Arantor, 17:3-5
  And I said unto him, thy database query shalt always be sent by the messenger of $smcFunc
  And $smcFunc shall protect you against injections and evil
  And so it came to pass that mysql_query was declared deprecated and even though he says he is not
  dead yet, the time was soon to come to pass when mysql_query shall be gone and no more

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

Irythros

#553
Ok, im getting 2 errors.

Quotehttp://xxx.com/forums/index.php?action=membergroups;sa=edit;group=9 [nofollow]
Apply Filter: Only show the errors with the same message
2: implode() [<a href='function.implode'>function.implode</a>]: Bad arguments.
File: /home/barelyvi/public_html/forums/Themes/default/ManageMembergroups.template.php (edit_group sub template - eval?)
Line: 244

and

Quotehttp://xxx.com/forums/index.php?action=membergroups;sa=edit;group=9 [nofollow]
Apply Filter: Only show the errors with the same message
8: Undefined index: moderators
File: /home/barelyvi/public_html/forums/Themes/default/ManageMembergroups.template.php (edit_group sub template - eval?)
Line: 244

From what it looks like, if the 'Moderators' text box in the Manage Membergroup section is supposed to retain the username of the moderator, it does not.  It is however entered into the database.
On the user that was set to moderator, that account does not have the 'Groups' tab.  When using the URL to get to it, it says its not allowed to view it.

Im using the af316-smf(final) theme and the following mods:
ViewAnyTopicPermission
MCLegendII
LimitAGuestsDailyPageViewsMod_v1.0


Installed the mod manually after seeing nothing was done by the auto-installer.  Could it be a missing column in the database?


Edit: I fixed the problem of the set user not being able to access the 'Groups' section.  I didnt know I also had to set group permission for them to see it.  So thats fixed, but I'm still having problems with the errors and the box not retaining group moderator name.

Dannii

Hmmm, all I can suggest is reinstalling it.
"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."

Ulborn

I tried to install this package and got the following error.

4.  Execute Modification  ./Themes/default/index.template.php  Test failed

Does anyone know what I have to "apply" to the index.template.php file to get this to work?
Do I have to uninstall all my themes? 
Do I have to apply the change to EVERY theme?


Dannii

The only change it makes to the index template is adding a menu button. If you go to it by URL directly (index.php?action=groups) don't even bother editing the file manually. If you want to add the menu button it won't be hard.
"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."

Ulborn

Okay, got it installed and called it up, but I do not see a way to manage the groups, even tried logging in as the Administrator.

I do see Groups moderation
Here you may view and manage the member lists on any groups for which you are moderator over.
Member groups
Name Member count


but I do not see a way to add/manage groups. :(

Ulborn

Added the items to the index.template.php.  Get a menu when at ?action=groups, but it has no text.  (menu.jpg) When in another menu tab there is a space for the tab, but again no text. (menu2.jpg)

ccbtimewiz

Quote from: woe on July 28, 2008, 03:22:15 PM
Added the items to the index.template.php.  Get a menu when at ?action=groups, but it has no text.  (menu.jpg) When in another menu tab there is a space for the tab, but again no text. (menu2.jpg)

Looks like a language string error. Make sure that the $txt[] strings installed correctly.

Advertisement: