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
  #102  
Old 10-13-2005, 01:48 PM
Mephisteus's Avatar
Mephisteus Mephisteus is offline
 
Join Date: Dec 2001
Location: The Netherlands
Posts: 288
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Dark Visor
It doesn't matter how many <if>'s I open and close, I am trying to get through the point that you could make it show both groups and users... Besides, I fxied it.
I could swear it shows both already

Reply With Quote
  #103  
Old 10-13-2005, 01:56 PM
akanevsky akanevsky is offline
 
Join Date: Apr 2005
Posts: 3,972
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
I could swear it shows both already
Really? Well I didn't check. If it does then cool
Reply With Quote
  #104  
Old 10-13-2005, 02:06 PM
Andreas's Avatar
Andreas Andreas is offline
 
Join Date: Jan 2004
Location: Germany
Posts: 6,863
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Dark Visor
It doesn't matter how many <if>'s I open and close
It does matter, cause you might/will get template compile errors otherwise
Reply With Quote
  #105  
Old 10-13-2005, 02:11 PM
akanevsky akanevsky is offline
 
Join Date: Apr 2005
Posts: 3,972
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Jeez........... I know that... I'm just giving you an ESTIMATE of what the code should be. -.-
Reply With Quote
  #106  
Old 10-17-2005, 07:28 AM
jluerken's Avatar
jluerken jluerken is offline
 
Join Date: Aug 2003
Location: Germany
Posts: 1,016
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Perfect hack kirbyDE. This should be standard.

I found five small cosmetic problems and it would be nice to get an update for this.

1. If you add a group as moderator for a forum and its subforums then you will see in ADMINCP - Show all moderators only the top forum.
This list should contain also the subforums like if you add the mod to every single board.

2. Admincp - Manage forums. In the last column you can add single moderators. If you add a group as moderator to a forum you see there that the forum has 0 moderators.
There should be the moderatorgroup listed.

3. I wanted to add a group + a single user to a forum. I added the group and then the single user and on the forumhome I can see that the group is gone.
There should be group+user or?

4. If you click on the moderator group on the forumhome page the link points to the show forum leaders page.

5. Admincp - Moderator Usergroup Manager
I am using a group that is not displayed there.
In such cases it would be nice if all users are shown by hovering the moderator group link on the forumhome page

5. See point 1. All forums including the subforums should be listed there.

Kind regards
jluerken
Reply With Quote
  #107  
Old 10-17-2005, 10:48 AM
Andreas's Avatar
Andreas Andreas is offline
 
Join Date: Jan 2004
Location: Germany
Posts: 6,863
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

1) This is standard vBulletin behaviour for Moderators and can't be changed without file edits

2) For me it shows all users of the usergroun then ...

3) For me it shows the single mod and the usergroup

4) This is intended behaviour. Where else should it link to?

5) I don't understand that
Reply With Quote
  #108  
Old 10-17-2005, 12:56 PM
jluerken's Avatar
jluerken jluerken is offline
 
Join Date: Aug 2003
Location: Germany
Posts: 1,016
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by KirbyDE
1) This is standard vBulletin behaviour for Moderators and can't be changed without file edits
Maybe you can tell how this will work as optional step?

Quote:
Originally Posted by KirbyDE
2) For me it shows all users of the usergroun then ...
For me it shows 0 Moderators

Quote:
Originally Posted by KirbyDE
3) For me it shows the single mod and the usergroup
Only the last that I entered. Mod OR Modgroup

Quote:
Originally Posted by KirbyDE
4) This is intended behaviour. Where else should it link to?
Its currently linking to showgroups.php (Forum Leaders).
If the moderator group is not listed on the forum leaders page this link makes no sense.
Maybe hovering the link can show the mod names?

Quote:
Originally Posted by KirbyDE
5) I don't understand that
You could not. I was typing much to fast and missed a part
I was talking about the moderator group page itself.
If you add a moderator group to a forum again only the top forum is displayed.
Like you told us in point 1 I think this could also be only fixed with file edit or?
Reply With Quote
  #109  
Old 10-17-2005, 01:04 PM
Andreas's Avatar
Andreas Andreas is offline
 
Join Date: Jan 2004
Location: Germany
Posts: 6,863
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by jluerken
Maybe you can tell how this will work as optional step?
I won't do that, sorry.

Quote:
For me it shows 0 Moderators
Then you must have done smth. wrong.

Quote:
Only the last that I entered. Mod OR Modgroup
Then you must have done smth. wrong.
http://kirbydemos.ath.cx/forum
http://kirbydemos.ath.cx/forum/forumdisplay.php?f=7


Quote:
Its currently linking to showgroups.php (Forum Leaders).
If the moderator group is not listed on the forum leaders page this link makes no sense.
Maybe hovering the link can show the mod names?
Why should the group not be listed?
Doesn't make sense to me, as the users must know who are moderators.
Anyway, it is possible to make the usernames a title attribute, but that would require another query.
Reply With Quote
  #110  
Old 10-17-2005, 01:11 PM
jluerken's Avatar
jluerken jluerken is offline
 
Join Date: Aug 2003
Location: Germany
Posts: 1,016
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by KirbyDE
Uploaded the files, imported the Produkt, made the 2 Template Changes.
I cannot see what I should have done wrong

Quote:
Originally Posted by KirbyDE
Why should the group not be listed?
Doesn't make sense to me, as the users must know who are moderators.
Anyway, it is possible to make the usernames a title attribute, but that would require another query.
I have internal clan forums where the clans can organize themself but I don't want to show them on the forum leader page cause they are no forum leaders.
They can manage their forum but they're not belonging to my official staff.
Therefore I turned off the option to show those groups on the forum leader page.
Members who want to know who can moderate the board can still see this if they have access.
Reply With Quote
  #111  
Old 10-17-2005, 01:14 PM
Andreas's Avatar
Andreas Andreas is offline
 
Join Date: Jan 2004
Location: Germany
Posts: 6,863
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by jluerken
Uploaded the files, imported the Produkt, made the 2 Template Changes.
I cannot see what I should have done wrong
I don't know either
Only thing I can say is that it works just fine on my system.
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 03:52 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.06336 seconds
  • Memory Usage 2,322KB
  • 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
  • (15)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
  • (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