vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=33)
-   -   Something tiny: Password protect your forums from Mods + Supermods too! (https://vborg.vbsupport.ru/showthread.php?t=66792)

CJPC 07-01-2004 09:00 PM

Something tiny: Password protect your forums from Mods + Supermods too!
 
By default, when a forum is password protected, mods and supermods can still access with out a password, so last nite i fixed it (looked around, couldnt find anything similiar!)

Find (in functions.php)
Code:

if (!$password OR ($permissions['adminpermissions'] & CANCONTROLPANEL) OR ($permissions['adminpermissions'] & ISMODERATOR) OR can_moderate($forumid))
Replace with (in functions.php)
Code:

  if (!$password OR ($permissions['adminpermissions'] & CANCONTROLPANEL))
Pretty much forces mods + supermods to throw the password in, and not have it wide open by default!

Umm, admins can still access it w/o a pass (if you want, i can, or anyone really, change it so admins must enter the pass too!)

Remember, backup all your data etc... im not responsible for anything (hopefully noone rlsd this before, i couldnt find it!)

hpwilhelm 07-02-2004 04:48 PM

Thanks! I've been pondering how to make it so! :)

Andreas 07-02-2004 05:03 PM

Hmm ... does this make sense?

Why should ppl you trust (eg. you give them mod-power over that forum) be required to enter a password?

CJPC 07-02-2004 05:05 PM

Heh, they should be trusted!, but in a case when your trying to find a leak, or to even have a more private forum (mods that are IN, and those that arent) it helps!

Edit: Also safer for sensitive info, just incase someone hacks a moderators/supermods password, they will still need the seperate forum pass

Andreas 07-02-2004 05:11 PM

> Heh, they should be trusted!, but in a case when your trying to find a leak
Hmm ... so if you try to find a "leak" and give the password only to a few ppl, what do you gain?
Either the untrustworthy person belongs to the group or it doesn't.

> or to even have a more private forum (mods that are IN, and those that arent) it helps!
This could be easily done with access-masks or additional usergroups as well ...

> Also safer for sensitive info, just incase someone hacks a moderators/supermods password
OK, that does make sense :)

CJPC 07-02-2004 05:15 PM

Quote:

Originally Posted by KirbyDE
>

This could be easily done with access-masks or additional usergroups as well ...


Yeah, but we really dont wanna have to change the masks and additional groups every time we want to give access, easier to give a pass!

Merjawy 07-02-2004 08:35 PM

great mod... needed indeed

yes sometimes you need a break even hidden forums they find you in :)

I was in a hidden forum once and this mod located me there and I found him right with me :)

I test things and I want to see my test quick rather than looking to see 10 replys and its only a test.. closing the thread doesn't help much either

so this hack is a must..


thnx

007 07-02-2004 08:50 PM

You can do this through access masks too. Just select who can and cannot view the forum.

CJPC 07-02-2004 08:51 PM

Thx, and yes im aware of that , but it means changing user permissions /groups, and i do not want to move users to a diff group when they need to access, or enable them to view the forum!

BarHopper 07-03-2004 08:16 PM

Quote:

Originally Posted by KirbyDE
Hmm ... does this make sense?

Why should ppl you trust (eg. you give them mod-power over that forum) be required to enter a password?

Could be for a site staff forum or something? Wwhere forum staff may not be welcomed.


All times are GMT. The time now is 08:01 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.04212 seconds
  • Memory Usage 1,736KB
  • 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
  • (2)bbcode_code_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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