dopetalk does not endorse any advertised product nor does it accept any liability for it's use or misuse

This website has run out of funding so feel free to contribute if you can afford it (see footer)

Author Topic: Password Protect Boards  (Read 10 times)

regular-mods

  • Guest
Password Protect Boards
« on: September 14, 2015, 01:53:19 PM »
http://custom.simplemachines.org/mods/index.php?mod=2873

This modification allows you to set a password on a per board basis.  Users will be required to enter the password on the board index prior to being able to view any of that board's content.

Administrators and Moderators on that board (global moderators included) are exempt from having to enter the password.

This modification does not protect child boards.



to make this fit, I set the advanced emulation level to 2.0.1

made a manual change to ee Sources/Load.php: b.id_theme, b.override_theme, b.count_posts, b.id_profile, b.redirect
by adding , b.passwd.

and realigned the target in Sources/Subs-Boards.php

... and now it's on.
« Last Edit: June 14, 2021, 10:22:31 AM by Chip »

Offline Chip

  • Server Admin
  • Hero Member
  • *****
  • Administrator
  • *****
  • Join Date: Dec 2014
  • Location: Australia
  • Posts: 6493
  • Reputation Power: 0
  • Chip has hidden their reputation power
  • Gender: Male
  • Last Login:Today at 05:48:14 PM
  • Deeply Confused Learner
  • Profession: IT Engineer
Re: Password Protect Boards
« Reply #1 on: June 14, 2021, 10:23:34 AM »
To make this work for child boards, don't set the emulation level first
I do not condone or support any illegal activities. All information is for theoretical discussion and wonder.
All activities discussed are considered fictional and hypothetical. Information of all discussion has been derived from online research and in the spirit of personal Freedom.

Tags:
 


dopetalk does not endorse any advertised product nor does it accept any liability for it's use or misuse





TERMS AND CONDITIONS

In no event will d&u or any person involved in creating, producing, or distributing site information be liable for any direct, indirect, incidental, punitive, special or consequential damages arising out of the use of or inability to use d&u. You agree to indemnify and hold harmless d&u, its domain founders, sponsors, maintainers, server administrators, volunteers and contributors from and against all liability, claims, damages, costs and expenses, including legal fees, that arise directly or indirectly from the use of any part of the d&u site.


TO USE THIS WEBSITE YOU MUST AGREE TO THE TERMS AND CONDITIONS ABOVE


Founded December 2014
SimplePortal 2.3.6 © 2008-2014, SimplePortal