PDA

View Full Version : Password protected forums don't work


optikalefx
02-09-2011, 03:00 AM
Anyone know what might be going on with this. I have basically a fresh VB4.1 installation and password protected forums don't work.

I did some debugging and the newforumpwd post var, is blank when it gets to the
if ($_REQUEST['do'] == 'doenterpwd') on line 148 of forumdisplay.php

the form for password protectedness seems to be right, the field is called "name' with the value of newforumpwd. So idk why it would post as blank.

Any ideas?

Thanks!

Zachariah
02-09-2011, 03:24 AM
I do not see a problem with them, but If you did not know:

** Default Install of VB allows:
Administrator = can see all do all - passwords on any forum are useless.
Super Mod = can see all do all - passwords on any forum are useless.
Forum Mod = can see all do all - on the forums they mod, passwords on are useless.

If you want the password to work for all usergroups including Admin try this.
https://vborg.vbsupport.ru/showthread.php?t=243223

You will have to modify the way the code works.

optikalefx
02-09-2011, 01:26 PM
Yea I made a test user account and am trying the password. They are in the default l "registered" users group.

I can't figure out why when that form posts that variable is blank. Do you happen to know what happens to POST data when vbulletin gets it? It must be getting blanked out somewhere.

Thanks for your help