Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.0 > vBulletin 3.0 Full Releases
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Something tiny: Password protect your forums from Mods + Supermods too! Details »»
Something tiny: Password protect your forums from Mods + Supermods too!
Version: 1.00, by CJPC CJPC is offline
Developer Last Online: Jun 2013 Show Printable Version Email this Page

Version: 3.0.0 Rating:
Released: 07-01-2004 Last Update: Never Installs: 1
 
No support by the author.

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!)

Show Your Support

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

Comments
  #2  
Old 07-02-2004, 05:48 PM
hpwilhelm hpwilhelm is offline
 
Join Date: Mar 2002
Location: Norway
Posts: 50
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks! I've been pondering how to make it so!
Reply With Quote
  #3  
Old 07-02-2004, 06:03 PM
Andreas's Avatar
Andreas Andreas is offline
 
Join Date: Jan 2004
Location: Germany
Posts: 6,863
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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?
Reply With Quote
  #4  
Old 07-02-2004, 06:05 PM
CJPC CJPC is offline
 
Join Date: Jan 2002
Posts: 11
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #5  
Old 07-02-2004, 06:11 PM
Andreas's Avatar
Andreas Andreas is offline
 
Join Date: Jan 2004
Location: Germany
Posts: 6,863
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

> 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
Reply With Quote
  #6  
Old 07-02-2004, 06:15 PM
CJPC CJPC is offline
 
Join Date: Jan 2002
Posts: 11
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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!
Reply With Quote
  #7  
Old 07-02-2004, 09:35 PM
Merjawy's Avatar
Merjawy Merjawy is offline
 
Join Date: Sep 2002
Location: USA
Posts: 505
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #8  
Old 07-02-2004, 09:50 PM
007's Avatar
007 007 is offline
 
Join Date: Jan 2003
Location: United States
Posts: 872
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You can do this through access masks too. Just select who can and cannot view the forum.
Reply With Quote
  #9  
Old 07-02-2004, 09:51 PM
CJPC CJPC is offline
 
Join Date: Jan 2002
Posts: 11
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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!
Reply With Quote
  #10  
Old 07-03-2004, 09:16 PM
BarHopper BarHopper is offline
 
Join Date: Mar 2003
Posts: 178
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
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 07:20 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.05071 seconds
  • Memory Usage 2,290KB
  • Queries Executed 23 (?)
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
  • (2)bbcode_code
  • (2)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
  • (1)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (9)postbit
  • (10)postbit_onlinestatus
  • (10)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