vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   How do I give users mod access to a forum without making them a moderator? (https://vborg.vbsupport.ru/showthread.php?t=58800)

Sidewindr 11-25-2003 08:55 AM

How do I give users mod access to a forum without making them a moderator?
 
Hi,
I have a problem. I have Admins and Super Mods and don't really want to use moderators as I have sponsor forums which sponsors get rights to edti/manage threads in their forums only. I however don't want to make those users moderators but give them rights to do the mod things like edit/delete posts etc in their sponsor subforum.

Help!!!

cheers.

assassingod 11-25-2003 03:39 PM

Make a new usergroup and change the permissions for it:)

Sidewindr 11-25-2003 08:19 PM

But then I would have to make 15 usergroups one for each sponsor. A little messy :(

Sidewindr 11-25-2003 10:39 PM

Actually this won't work for me.

I have a large forum and within the forum there is a Sponsor Subforum which contains forums for each of the sponsors.

I need to give the sponsors access in their own subforum not the other sponsors forums to edit/delete posts from any user but not in the rest of the forum. I also want them to get an e-mail when ever there is a post in their forum.

Basically just like a moderator but not a moderator in the sense that users can ignore them etc etc.

amykhar 11-26-2003 05:22 PM

as far as the email when there is a new post goes, that is a forum setting.

As far as the ability to edit/delete posts in one specific forum, let me think on it a bit.

amykhar 11-26-2003 05:27 PM

One possible solution.

1. create a usergroup called sponsors. Give that user group the ability to edit and delete posts.

2. create a new field in the user table called sponsorID.

3. Assign each user who is a sponsor a sponsorID that equals the forumid of the forum they should have rights to.

4. In the section of code that checks permissions for edit and delete, put in a bit of logic that says if the user is in the sponsor usergroup AND if the user's sponsorID = forumID of the post, then he has permission to edit or delete.

That's the basic logic, and should be enough to get you coding. If you need the hack done by somebody, please ask me to move this to either hack requests if you want somebody to do it for free, or service requests if you are willing to pay for the work.

Amy


All times are GMT. The time now is 07:15 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.01043 seconds
  • Memory Usage 1,714KB
  • 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
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (6)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete