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)
-   -   Password Forums all Users (https://vborg.vbsupport.ru/showthread.php?t=59878)

Zachariah 01-07-2004 10:00 PM

Password Forums all Users
 
Works on VB3 Beta5 - VB 3.7++

Credit:
Many users and DEV members

Features:
All users must enter a password to a forum that has a password.


Story:
The default install of the forums works on a group access.

Admin = god, can see all do all - no PW on priv areas.
Super Mod = Forum god, do all go every were- no PW on priv areas.


With this bit of code a PW must be entered from all groups and users that wish to enter a forum with a password.


Code:

Open:
includes/functions.php


Search:

if (!$password OR ($permissions['adminpermissions'] & CANCONTROLPANEL) OR ($permissions['adminpermissions'] & ISMODERATOR) OR can_moderate($forumid))


Change to:

if (!$password)



Re upload

Note:
3.0.0 Gamma users goto http://www.vbulletin.com/forum/bugs....iew&bugid=1321 for Template fix.

MindTrix 01-08-2004 04:43 AM

But vB3 has password protected forums :s Care to explain some more mate, or put me straight? Thanks

Boofo 01-08-2004 08:52 AM

I'm sorry, I donm't agree with you on this. I like the ideas of not having to enter a password every time I go into a protected forum on my site. Although, I might like to have it be able to be turned off for the SuperMods if I want to. ;)

Oblivion Knight 01-08-2004 08:57 AM

In that case Boofo, I think you'd change it to:

Code:

if (!$password OR ($permissions['adminpermissions'] & CANCONTROLPANEL))

Boofo 01-08-2004 09:13 AM

Thank you, sir. ;)

I think they should make it an option to turn it off for the SuperMods.

Oblivion Knight 01-08-2004 09:23 AM

Quote:

Originally Posted by Boofo
Thank you, sir. ;)

I think they should make it an option to turn it off for the SuperMods.

No problem.! :D

That gives me an idea for a nice little mod to work on when I upgrade to vB3 myself, unless of course someone beats me to it.. :p

Boofo 01-08-2004 09:32 AM

I'll be your beta tester, lust like ol' times. ;)

I've got a couple of ideas for you, if you are interested. If so, log onto my board and make an account and I will fill you in. ;)

Zachariah 01-08-2004 02:13 PM

Quote:

Originally Posted by Boofo
I'm sorry, I donm't agree with you on this. I like the ideas of not having to enter a password every time I go into a protected forum on my site. Although, I might like to have it be able to be turned off for the SuperMods if I want to. ;)


I understand your outlook. (as an admin you want to take controle of your forums) It fits my needs. I host some forums for game clans that wish to have a PW protected forum. I have Admins and super mods (multi-clan mixture) that help run the forums. I don't need wondering eyes in places that they do not belong.

Note: I also have an issue telling someone that they have a privet area that requires a password, and it not be true. IMO, if you place a PW on something, you need a PW to access it.

[high]* Zachariah shrugs[/high]

Boofo 01-08-2004 02:32 PM

Quote:

Originally Posted by HarryButt
I understand your outlook. (as an admin you want to take controle of your forums) It fits my needs. I host some forums for game clans that wish to have a PW protected forum. I have Admins and super mods (multi-clan mixture) that help run the forums. I don't need wondering eyes in places that they do not belong.

Note: I also have an issue telling someone that they have a priv area that requiers a password, and it not be true. IMO, if you place a PW on something, you need a PW to access it.

[high]* HarryButt shrugs[/high]

True, by all rights, I really should have to enter a password every time I enter. But I go in and out of that forum too much to be bogged down with having to type on the keyboard every time I need to go in there for just a second or two. And besides, I am the only Admin on my site and will ALWAYS be the only Admin. That's what they gave us the Super Moderator group for. ;)

Zachery 01-09-2004 07:25 PM

Quote:

Originally Posted by Boofo
True, by all rights, I really should have to enter a password every time I enter. But I go in and out of that forum too much to be bogged down with having to type on the keyboard every time I need to go in there for just a second or two. And besides, I am the only Admin on my site and will ALWAYS be the only Admin. That's what they gave us the Super Moderator group for. ;)

and respectlivy admin permissions now ;D


All times are GMT. The time now is 08:09 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.01071 seconds
  • Memory Usage 1,739KB
  • 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
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)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