WebsiteBaker Logo
  • *
  • Templates
  • Help
  • Add-ons
  • Download
  • Home
*
Welcome, Guest. Please login or register.

Login with username, password and session length
 

News


WebsiteBaker 2.13.8 is now available!


R.I.P Dietmar (luisehahne) and thank you for all your valuable work for WB
https://forum.websitebaker.org/index.php/topic,32355.0.html


* Support WebsiteBaker

Your donations will help to:

  • Pay for our dedicated server
  • Pay for domain registration
  • and much more!

You can donate by clicking on the button below.


  • Home
  • Help
  • Search
  • Login
  • Register

  • WebsiteBaker Community Forum »
  • WebsiteBaker Support (2.12.x) »
  • General Help & Support »
  • pages behind password
  • Print
Pages: [1]   Go Down

Author Topic: pages behind password  (Read 6189 times)

Offline sixis

  • Posts: 10
pages behind password
« on: March 20, 2020, 01:08:07 PM »
How to implement the folowing? Does someone have an idea?

A few pages should be password protected

At the moment i display a page content after comparing a password given by form with a text in the mysql database.
But the user has to fill in the password every time a new password protected content is viewed.

I think somewhere i have to save a state that this user has filled in the password correctly at viewing the first page
and then check the state for displaying the next page.
Logged

Offline dbs

  • Betatester
  • **
  • Posts: 8920
  • Gender: Male
  • tioz4ever
    • WebsiteBaker - jQuery-Plugins - Module - Droplets - Tests
Re: pages behind password
« Reply #1 on: March 20, 2020, 01:15:35 PM »
I'm not sure.
Create a group.
Assign some users to this group.
Go to the settings of a page and allow this group to view this page.
Maybe set the page to visibility "registered".

Only a idea.

Logged
https://onkel-franky.de

Offline sixis

  • Posts: 10
Re: pages behind password
« Reply #2 on: March 20, 2020, 02:02:36 PM »
sorry my fault,

not registered users

just visitors who know the password have acces without registering.
Logged

Offline dbs

  • Betatester
  • **
  • Posts: 8920
  • Gender: Male
  • tioz4ever
    • WebsiteBaker - jQuery-Plugins - Module - Droplets - Tests
Re: pages behind password
« Reply #3 on: March 20, 2020, 02:11:49 PM »
One page with login.
On this page are links to hidden subpages.
Could be a way.
Logged
https://onkel-franky.de

Offline sixis

  • Posts: 10
Re: pages behind password
« Reply #4 on: March 20, 2020, 02:58:37 PM »
Thank you for this splendid idea  (Y)

Due to the fact that the informations on these pages are not sensible (just hidden from curious) this is the right way.

Logged

  • Print
Pages: [1]   Go Up
  • WebsiteBaker Community Forum »
  • WebsiteBaker Support (2.12.x) »
  • General Help & Support »
  • pages behind password
 

  • SMF 2.0.19 | SMF © 2017, Simple Machines
  • XHTML
  • RSS
  • WAP2