Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.5 > vBulletin 3.5 Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Add Usergroup as Moderator Details »»
Add Usergroup as Moderator
Version: 1.0.10, by Andreas Andreas is offline
Developer Last Online: Jan 2023 Show Printable Version Email this Page

Version: 3.5.0 Rating:
Released: 08-02-2005 Last Update: 01-15-2006 Installs: 177
DB Changes Uses Plugins Template Edits
Additional Files Is in Beta Stage  
No support by the author.

Add Usergroup as Moderator
Description
This Hack allows you to add a whole Usergroup as Moderators.
(Of course you can not only add but also remove it, change Permissions, etc. )

Details
1 Product XML with 1 Plugin, 16 Phrases and 2 Queries
1 ACP Navigation XML
1 ACP Applet
1 Datamanager Class

History
1.0.0
Initial Version

1.0.1
Fixed a slight Bug regarding Table Prefixes

1.0.2
Removed Multi-Table DELETEs to improve mySQL compatibility

1.0.3
Fixed a missing s that caused Moderator Permissions not being removed when a User is being removed from the Moderator Usergroup

1.0.4
Fixed a Bug regarding Table Prefixes

1.0.5
Code optimization
Usergroup is now being shown instead of individual Moderators on Forumhome/Forumdisplay

1.0.6
Fixed a Problem with conflicting column Names

1.0.7
Added a few checks to prevent Moderators of Moderator Usergroups from being modified/deleted individually

1.0.8
Added Support for moderated public Usergroups as Moderator Usergroup

1.0.9
Fixed a Bug which caused Moderator Usergroups not being displayed properly in subforums.

1.0.10
Fixed a a slight problem that could cause mySQL errors

Please only click Install if you actually have installed/are using this Hack, and click Uninstall whan you don't use it any longer!

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #182  
Old 11-26-2008, 10:52 AM
demoniavbh demoniavbh is offline
 
Join Date: Nov 2006
Posts: 48
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #183  
Old 01-16-2009, 08:07 PM
BaziCenter's Avatar
BaziCenter BaziCenter is offline
 
Join Date: Sep 2005
Location: Montreal, QC
Posts: 85
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by demoniavbh View Post
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
Reply With Quote
  #184  
Old 03-04-2009, 08:46 AM
kud0gfx's Avatar
kud0gfx kud0gfx is offline
 
Join Date: Apr 2008
Posts: 98
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by NolF View Post
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!
Reply With Quote
  #185  
Old 04-25-2009, 03:23 PM
Been Told Been Told is offline
 
Join Date: Oct 2006
Posts: 131
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Working great with 3.8.2 here. Thanks for a great mod that really should have become a part of vBulletin many versions ago.
Reply With Quote
  #186  
Old 06-24-2009, 02:25 PM
myown myown is offline
 
Join Date: Jan 2007
Posts: 145
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #187  
Old 07-27-2009, 01:00 PM
edgegamers edgegamers is offline
 
Join Date: Apr 2008
Posts: 5
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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?
Reply With Quote
  #188  
Old 10-13-2009, 05:15 AM
jluerken's Avatar
jluerken jluerken is offline
 
Join Date: Aug 2003
Location: Germany
Posts: 1,016
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #189  
Old 10-16-2009, 07:00 PM
jfuchs jfuchs is offline
 
Join Date: Mar 2008
Location: Germany, Frankfurt
Posts: 3
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by jluerken View Post
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

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

Regards johannes
Reply With Quote
  #190  
Old 10-21-2009, 11:31 AM
ChopSuey ChopSuey is offline
 
Join Date: Jun 2009
Location: Alaska
Posts: 2,140
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Agreed, a new version for 3.8.4 would be great.
Reply With Quote
  #191  
Old 11-04-2009, 07:20 AM
giraffesyo's Avatar
giraffesyo giraffesyo is offline
 
Join Date: Nov 2007
Location: My Computer.
Posts: 22
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by ChopSuey View Post
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.
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 02:56 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.06254 seconds
  • Memory Usage 2,312KB
  • Queries Executed 25 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (3)bbcode_code
  • (4)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete