vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=4)
-   -   Password Protected Forums (vB3 Style) (https://vborg.vbsupport.ru/showthread.php?t=50012)

grov 11-12-2003 08:03 PM

Is there anything one could do to modify this hack so that it isn't possible to bypass the password ?

Regards.

poetic 11-25-2003 08:02 AM

ok, i added

PHP Code:

  maketableheader("Forum Security");
  echo 
"<tr class='".getrowbg()."' valign='top'>\n<td><p>Choose Forum Security</p></td>\n<td><p><select name=\"security\">\n";
      echo 
"<option value=\"1\" SELECTED>Regular Forum Security</option>\n";
      echo 
"<option value=\"2\">Password Protected Security</option>\n";
  echo 
"</select>\n</p></td>\n</tr>\n";
  
makeinputcode("Forum Password<br><font size=1>If password protection is enabled, you must 
  choose a password <br>needed to access the forum.</font>"
,"forumpassword");
  
  echo 
"<tr class='".getrowbg()."' valign='top'>\n<td><p>Password Timeout<br><font size=1>The time until the password times out.
  <br>After the this occurs, the user will have to enter the password again to gain access.</font></p></td>\n<td><p><select name=\"passtimeout\">\n"
;
      echo 
"<option value=\"60\" SELECTED>60 Seconds</option>\n";
      echo 
"<option value=\"600\">10 Minutes</option>\n";
      echo 
"<option value=\"1800\">30 Minutes</option>\n";
      echo 
"<option value=\"3600\">1 Hour</option>\n";
      echo 
"<option value=\"36000\">10 Hours</option>\n";
      echo 
"<option value=\"86400\">1 Day</option>\n";
      echo 
"<option value=\"604800\">1 Week</option>\n";
      echo 
"<option value=\"2419200\">1 Month</option>\n";
      echo 
"<option value=\"29030400\">1 Year</option>\n";
  echo 
"</select>\n</p></td>\n</tr>\n"

after

PHP Code:

  makechoosercode("Custom style set for this forum","styleset","style",$forum[styleid]);
  
makeyesnocode("Override users custom styles<BR>(will force this forum's specified colors)","styleoverride",$forum[styleoverride]); 

in admin/forum.php in attempts to be able to assign a password to existing forums instead of just having that option of adding a password wen creating forums. i then assign the attributes and the password and the cookie timout, then click save changes. but it dosen't actually save, the password is not applied and i go back into edit and the same forum and the password area is back to its original state can someone please help

ronb 11-25-2003 06:58 PM

I installed this hack and i do not see anything in the admin cp. Any ideas as to what i did wrong?

poetic 11-26-2003 06:57 AM

^^the option to set a password is only avalible when you make a new forum, so when u make a new forum right where u set the name and permissions at the very bottom if u followed the instrucstions right it should be there

zsmom 12-03-2003 09:48 PM

I just installed it on 2.3.2 and it works fine. Any forums that I really really need to keep people out of I use access masks for or make the forum hidden. Like someone else said, it works great to just keep out the casual lurkers.

* clicks install

ronb 12-11-2003 04:47 PM

i installed this hack and it worked fine until we tried to add another forum. We're getting an sql error. Here's what we're getting.

Database error in vBulletin Control Panel 2.3.0:

Invalid SQL: INSERT INTO forum
(forumid,styleid,title,description,active,displayo
rder,parentid,
parentlist,allowposting,cancontainthreads,sponsorn
ame,sponsorimg,
sponsorurl,daysprune,newpostemail,newthreademail,
moderatenew,allowhtml,allowbbcode,allowimages,allo
wsmilies,allowicons,
styleoverride,allowratings,countposts,moderateatta
ch,security,forumpass,pastimeout)
VALUES
(NULL,'1','Temporary MOB','','1','4','41',
'','0','1','','',
'','30','','',
'0','0','1','0','
s','1',
'0','1','1','0','1','','60')
mysql error: Unknown column 'pastimeout' in 'field list'

mysql error number: 1054

Any ideas as to how i can fix this so we can add more forums?

MaDCaT75 12-25-2003 05:06 AM

Uh did anyone fix the password exploit yet where you can input any password and you can still get in!? :confused:

Oblivion Knight 12-25-2003 05:58 AM

Seems to be working with no problems on 2.3.3 using the file posted in #76 and the fix posted in #90.. I'm not able to bypass the forum password using the method discussed in this thread, and the forum password updates fine when entering a new one.

Could anyone point me in the right direction to make this mod work with this.? Currently the forum password protection can be bypassed by clicking on the title of the last thread shown on the forum summary.

Roody 01-06-2004 01:21 PM

I would like to use this hack to keep an Asst. Admin from accessing a certain forum on a site I admin. Unfortunately since he has Admin CP access he could read the password. You mentioned in your first post about setting it up so the password have asterisks or another symbol to replace the password so it couldnt be read in the AdminCP.

How do I go about making this happen?

skullycapone 02-02-2004 01:27 AM

ok can someone help me a little i am kinda new to this and was wondering how to run the queries


All times are GMT. The time now is 03:11 PM.

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.01295 seconds
  • Memory Usage 1,750KB
  • 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_php_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (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