View Full Version : Password Forums all Users
Zachariah
08 Jan 2004, 02:49
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:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
Note:
3.0.0 Gamma users goto http://www.vbulletin.com/forum/bugs.php?do=view&bugid=1321 for Template fix.
MindTrix
08 Jan 2004, 06:43
But vB3 has password protected forums :s Care to explain some more mate, or put me straight? Thanks
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
08 Jan 2004, 10:57
In that case Boofo, I think you'd change it to:
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
Thank you, sir. ;)
I think they should make it an option to turn it off for the SuperMods.
Oblivion Knight
08 Jan 2004, 11:23
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
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
08 Jan 2004, 16:13
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.
/me shrugs
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.
* HarryButt shrugs
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
09 Jan 2004, 21:25
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
Zachariah
21 Mar 2004, 14:57
This works on VB3 Gold - no problems.
Vb-Hispano
25 Mar 2004, 22:16
thanks is lol
thanks is lol
is there a way to set up in the forum permission to limit what groups don't need to the password
Worked @ 3.0.1 but not @ 3.0.3 :(
When I enter a protected forum and reenter it a day later I do not have to type the password again. Is it stored in the cookie?
Aye this is not working in 3.0.2 or 3.0.3 now.
any updates to this? Noticed it died in 302 and 303 :( I have rehacked after upgrade and its not working.
I really need this for vB 3.0.3. This is because IF an admin or supermod accidently don't logout on a public computer, noone should be able to view our secret rooms.. Someone please help me!
Zachariah
04 Sep 2004, 00:09
I'll see what I can do. I have not updated my VB from 3.01 yet - been busy. I'll install a test ver of 3.03 on a local test server. (it will take forever to update my current forums.)
thanks a lot for this mate it is just what i was lookin for :D
Zachariah
04 Nov 2004, 19:48
This works for 3.03
GatorLCA
02 Feb 2005, 16:24
It works but only after you clear your cookies, or log-out. I think what some people are saying and/or want with 3.0.3 (including myself) is even if you hit the back button and want in the password protected forum that you have to re-enter the password, but it does not do this with 3.0.3. Only after you log-out and log-in again does it ask not everytime you want to access it.
I don't want my users to have to log-in everytime, but so far this is working better than the standard way.
Thanks
Zachariah
24 Feb 2005, 15:20
It works but only after you clear your cookies, or log-out. I think what some people are saying and/or want with 3.0.3 (including myself) is even if you hit the back button and want in the password protected forum that you have to re-enter the password, but it does not do this with 3.0.3. Only after you log-out and log-in again does it ask not everytime you want to access it.
I don't want my users to have to log-in everytime, but so far this is working better than the standard way.
Thanks
I think that is a cookie session issue.
Follow me if you will, your session for X amount of time on the site counts as a "visit". I think VB by default is 15 min. My cookie session on my site is set @ 900sec. -- 900 / 60 = 15min.
I will look around to see if it is possible to code a custom cookie setting for PW forums. Perhaps it is an "if, then" statement <if> user clicks a different forum <then>logout of PW forum. :rolleyes:
In that case Boofo, I think you'd change it to:
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
I tried this code but it it locked out my SuperMods.....they couldn't use the password assigned kept giving them enter password or cookies must be enabled.
Which both are.
Zachariah
01 Apr 2005, 00:29
:tired: busy, sory man! ... Ill take a look @ some updates :nervous:
Zachariah
04 Apr 2005, 16:11
This hack works on 3.0.7
Works like a charm on my board; exactly what I needed. Thanks man!
bigcurt
18 Jun 2005, 13:03
Very Nice man
/me installs..then calls u to help lol
tigrattack
06 Feb 2009, 20:47
Nice work!!! Thanks
vBulletin® v3.6.12, Copyright ©2000-2012, Jelsoft Enterprises Ltd.