vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=113)
-   -   Add Usergroup as Moderator (https://vborg.vbsupport.ru/showthread.php?t=93543)

jeepinator 04-29-2008 11:05 PM

Hey, uhh... I installed this quite a while ago and it did the trick. Thanks!
But I want to remove it, which is easy... but I'd like to undo whatever it is the hack allows before removing the hack.
Problem is... I can't remember what it was :o
So I removed the moderators individually, then added a new user (as a test) and the the test user is now a moderator of a forum, which is kinda what I expected.
I can't seem to find where in the heck I undo making a group be moderators for a forum.
I kinda want to laugh and cry at the same time. Please help :erm:

EDIT 1:
Perhaps, through an upgrade, I lost the code that creates the
"Moderator Usergroup Manager" link in the ACP?

EDIT 2:
Yay, back to laughing. Not sure how the nifty files were missing from the folders, but they were, so I put them there, edited the stuff back to default and uninstalled the hack.
The true hack is me, haha.

otto 04-30-2008 05:29 PM

Hey,

i am from germany - sorry for my bad english ... ;)

I have installed it on vb 3.5.4 and it works ... but i have one problem with it:

The "can edit other posts" funktion is for my forum not realy the best way - i search a way, so a user can edit only its own posts at all time in forum xy and not all posts of all users in forum xy ...

Is there any way to do this with this hack?

Thanks!

EvilHawk 05-04-2008 11:41 PM

Quote:

Originally Posted by Andreas (Post 1431849)
It should. Let me know if it does not and i'll take a look at what is needed to make it compatible.

Hi Andreas, it works with the forums but it needs to be updated to support the new 3.7.0 moderator permissions for visitors messages, albums & social groups etc.

Thanks again for this time saving hack. :up:

Andreas 05-05-2008 04:08 AM

It doesn't really need an upgrade - the new permissions are not forum-related, and this hack was meant to manage a usergroup for forums.

EvilHawk 05-05-2008 08:27 AM

Of course, you are right about the meaning of this hack sir, but if you assign a usergroup to a forum you can not edit the new moderator permissions for each moderator.

shadowevil 05-08-2008 05:28 AM

Quote:

It would be nice if the MOD would pick up the colour associated to the group being assigned and display it where applicable.
Quote:

Does anyone know how to do this? I'd like this to display like this:

Usergroup Name

instead of

Usergroup Name

on my site.
Edit file product-modusrgrp.xml, find:
PHP Code:

$moderator['usergrouptitle'] = $vbulletin->usergroupcache["$moderator[modusergroupid]"]['title']; 

Replace all:
PHP Code:

$moderator['usergrouptitle'] = $vbulletin->usergroupcache["$moderator[modusergroupid]"]['opentag'].$vbulletin->usergroupcache["$moderator[modusergroupid]"]['title'].$vbulletin->usergroupcache["$moderator[modusergroupid]"]['closetag']; 

It's work in 3.7.x :)

[I]Regards,

EvilHawk 05-08-2008 04:03 PM

Quote:

Originally Posted by shadowevil (Post 1512362)
It's work in 3.7.x :)

No it doesn't because you can not edit the new 3.7.x permissions ...

Karri 07-21-2008 02:53 PM

Quote:

Originally Posted by EvilHawk (Post 1512806)
No it doesn't because you can not edit the new 3.7.x permissions ...

I am seconding this. I am trying to give my mods permissions to mod social groups and I can't since it isn't included in this mod. I can't do it from the mod since the options aren't there and when I try to do it individually it says
Quote:

You cannot modify this Moderator individually.
If you want to modify this Moderator, modify the Moderator Usergroup
So how do I let my mods mod social groups, visitor messages and user albums?

Xoxideforums 07-22-2008 07:13 PM

Hi,

I have been using your plugin for quite a while and recently updated to latest Vbulletin patch. I seem to be having some emails dropping off from being sent since doing this. Is there any chance this could be because your plugin is only good up to 3.5? If so, do you plan on doing an update for 3.7?

Thanks!

kud0gfx 07-25-2008 06:32 PM

Excelent mod, does anybody know why in my forumhome it shows the text " Staff || || || || || " and not only "Staff"

it's very strange, and I don't know how to change it :S

b3nw 07-27-2008 08:50 PM

i'm on 3.7.2 and also getting the || || || || || || || || || || || || || || || || || || || || || || || || || || || ||

any suggestions?

kawzaki 08-21-2008 07:19 PM

brilliant,
i have been looking for this for a while.. using wrong key words :D


vb forum 3.6.8 and working smooth so far.

however, be careful,
once u add a group on a forum to moderate, they get view permission to all other forums ( including private ones ). must check the other forums permissions to avoid giving unwanted access.

thanks a lot!

jluerken 09-30-2008 12:42 PM

I really would like to see Andreas updating this mod. Its very useful. I'll send him a PM and maybe he has time to do it

AndyJensen 10-03-2008 04:33 AM

I got the || || || error as well...update to 3.7.x.

DerMatze 10-09-2008 04:24 PM

work this addon with 3.7.3???

Abe1 10-13-2008 11:32 AM

Quote:

Originally Posted by DerMatze (Post 1641209)
work this addon with 3.7.3???

works for me

Karri 10-13-2008 03:08 PM

Has anyone figured out how to make this work with the social groups, visitor messages and user albums? As it stands now there is no way to assign mods to those areas when you use this plugin.

NolF 10-20-2008 08:38 AM

Quote:

Originally Posted by AndyJensen (Post 1636213)
I got the || || || error as well...update to 3.7.x.

A quick but dirty method to get rid of it is to go in to the following plugin
Add Usergroup as Moderator: Show Usergroup forumdisplay_moderator

find
Code:

$show['doshowmodgroup'] = false;
        $moderatorslist .= '||';

change to
Code:

$show['doshowmodgroup'] = false;
        $moderatorslist .= '';

It seems to work :)


Would be nice if it was updated to 3.7 though 3.8 is coming "soon" so I wouldn't hold my breath for a 3.7 release unfortunetly

raggyt 10-29-2008 02:45 PM

ty m8 need this for new forum

developpez.com 11-12-2008 02:26 PM

Quote:

Originally Posted by Karri (Post 1644169)
Has anyone figured out how to make this work with the social groups, visitor messages and user albums? As it stands now there is no way to assign mods to those areas when you use this plugin.

Same problem here.

This is even worse that the inability to give moderation access or not to those areas, because when you upgrade your forum from 3.6 to 3.7, all your existing moderators will be given rights to any social groups (for example), without ability to remove those rights, but any new moderator (added to a moderator usergroup) won't, without ability to give those rights (except by adding the moderator to a dummy forum by the standard way and give the rights to social groups).

demoniavbh 11-26-2008 10:52 AM

OK, PERFECT :)

But is there anyway not to list this moderators? I mean, in Forum Leaders, in Moderators, I'd like to have only in "User name" the group's name and if I cliked there, then list that group's members.
Now they are 2 times: as part of that group and as moderators, and I prefere having them listed as part of that group.

BaziCenter 01-16-2009 08:07 PM

Quote:

Originally Posted by demoniavbh (Post 1673267)
OK, PERFECT :)

But is there anyway not to list this moderators? I mean, in Forum Leaders, in Moderators, I'd like to have only in "User name" the group's name and if I cliked there, then list that group's members.
Now they are 2 times: as part of that group and as moderators, and I prefere having them listed as part of that group.

i have this problem too

i want it for 3.8.0

kud0gfx 03-04-2009 08:46 AM

Quote:

Originally Posted by NolF (Post 1648789)
A quick but dirty method to get rid of it is to go in to the following plugin
Add Usergroup as Moderator: Show Usergroup forumdisplay_moderator

find
Code:

$show['doshowmodgroup'] = false;
        $moderatorslist .= '||';

change to
Code:

$show['doshowmodgroup'] = false;
        $moderatorslist .= '';

It seems to work :)


Would be nice if it was updated to 3.7 though 3.8 is coming "soon" so I wouldn't hold my breath for a 3.7 release unfortunetly

It worked in 3.8.1

Thank you dude!

Been Told 04-25-2009 03:23 PM

Working great with 3.8.2 here. Thanks for a great mod that really should have become a part of vBulletin many versions ago.

myown 06-24-2009 02:25 PM

Code:

Database error in vBulletin 3.8.3:

Invalid SQL:

                                INSERT INTO moderator (userid, forumid, permissions, moderatorusergroupid, modusergroupid)
                                SELECT user.userid, moderatorusergroup.forumid, moderatorusergroup.permissions, moderatorusergroup.moderatorusergroupid, moderatorusergroup.usergroupid
                                FROM moderatorusergroup AS moderatorusergroup
                                LEFT JOIN user AS user ON (user.usergroupid=moderatorusergroup.usergroupid OR FIND_IN_SET(moderatorusergroup.usergroupid, user.membergroupids))
                                WHERE (NOT ISNULL(user.userid)) AND moderatorusergroup.moderatorusergroupid=2;

MySQL Error  : Duplicate entry '830-118' for key 2
Error Number  : 1062

got this error when tried to add usergroup ad moderator.

edgegamers 07-27-2009 01:00 PM

myown: We are encountering the same issue. The problem is you have a member who already has moderator rights above/below the forum category you are trying to add to. The script needs to attempt to locate if a user has moderator rights higher up in the tree and assign the access appropriately. This will be a fairly significant change to the code. Is the owner of this project still around?

jluerken 10-13-2009 05:15 AM

Hey Andreas,

this is still one of the most needed features for vBulletin admins maintaining larger boards.
Is there a chance that you'll update the mod please?

Kind regards
jluerken

jfuchs 10-16-2009 07:00 PM

Quote:

Originally Posted by jluerken (Post 1898968)
Hey Andreas,

this is still one of the most needed features for vBulletin admins maintaining larger boards.
Is there a chance that you'll update the mod please?

Kind regards
jluerken

Hi I also use this addon, it's really nice.
A new version would be very nice :D

I don't like to add more than 20 mods by hand !

Regards johannes

ChopSuey 10-21-2009 11:31 AM

Agreed, a new version for 3.8.4 would be great.

giraffesyo 11-04-2009 07:20 AM

Quote:

Originally Posted by ChopSuey (Post 1903144)
Agreed, a new version for 3.8.4 would be great.

As far as compatibility, it looks like it runs, but a version meant for 3.8.4 would be much better.

Looking forward to future editions.

jesus likes pie 03-12-2010 05:59 PM

There's an annoying bug where SQL errors get spat out if a user is a member of 2 usergroups which are both moderators of a single forum.

Miras 03-24-2010 02:40 PM

has anyone seen an update for vb4 for this mod?

hoangminh 06-16-2010 01:05 AM

Quote:

Originally Posted by Miras (Post 2009419)
has anyone seen an update for vb4 for this mod?

Any port for vB 4.0 :(

walshymyster 08-27-2010 02:45 AM

yes please could do with one for version 4!!!
please :)

Avrojet 09-24-2010 02:30 PM

Nothing for VB4?

jluerken 10-02-2010 04:07 PM

Hi Andreas,

I am sure you are very busy but can you please reply if you will release a vb4 version?

/jluerken

mokonzi 10-17-2010 04:25 PM

I would be keen to see this in vB4 at some point :)

Faskis 11-21-2010 02:11 PM

I'm having a bit of an issue with making this work with vB4 (so if anyone can provide assistance, it would be greatly appreciated). It displays fine, for the most part, except that it adds extra spaces for names that are in the usergroup if you have more than one person in the usergroup (See also: attachment).


Here's the PHP code for the display:

PHP Code:

if ($moderator['moderatorusergroupid'])
{
    
$show['modgroup'] = true;    
    
$moderator['usergrouptitle'] = $vbulletin->usergroupcache["$moderator[modusergroupid]"]['opentag'] .''.$vbulletin->usergroupcache["$moderator[modusergroupid]"]['title'] . $vbulletin->usergroupcache["$moderator[modusergroupid]"]['closetag'].'';
    if (!isset(
$forum['moderators']))
    {
        unset(
$showmodgroups);    
    } 
    if (!
$showmodgroups["$moderator[moderatorusergroupid]"])
    {
        
$show['doshowmodgroup'] = true;
    }
    else
    {
        
$show['doshowmodgroup'] = false;
        
$forum['moderators'] .= '||';

    }
    
$showmodgroups["$moderator[moderatorusergroupid]"] = true;
}
else
{
    
$show['modgroup'] = false;    



Avrojet 03-01-2011 10:45 AM

Has anyone tested this in VB4.x?

Avrojet 03-05-2011 08:46 AM

Ok, I'm using this on VB4.1.1 and it works fine. :)


All times are GMT. The time now is 04:58 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.02305 seconds
  • Memory Usage 1,847KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (5)bbcode_code_printable
  • (3)bbcode_php_printable
  • (14)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete