Welcome to the Koken CMS community!

Here at KCS, you will find a friendly bunch of photographers who like to share their love for the Koken CMS. We hope that you will enjoy your time here and thrive in our community!

You asked for it: Donations!
You asked for it, and it's here: The possibility to "buy me a beer (or more)"!

Seriously: By giving a small paypal donation you will help with keeping this site afloat and also give me more incentive to develop OxyGen further... ;)

// Bjarne Varöystrand and the KCS Team
Koken Development

Password protection information

Questions or issues regarding any Koken plugin.
Support for Paid/premium plugins can be found here
Forum rules
As of late, we have been seeing cases where some of you have been posting multiple types of questions within a singular type of topic...

This makes searching here a nightmare for people whom are attempting to find out whether or not their question has already been asked, or possibly even answered. Therefore, I would like to implement some very basic rules, which I think everybody will be happy with, given that they will lead to better search results.

  1. All public communication is done in English
  2. ONE question per topic
  3. Make the title descriptive
  4. If it's regarding a theme: make sure you mention the theme name.
  5. Leave a URL to your site, since sometimes, custom "hacks" and CSS will be uniqe to your site.

I believe that these simple rules will not only make our lives easier, but also the lives of our visitors :D

I am of the opinion that ignoring these requests will make it harder for us all.
Plus, we won't be able to actually mark an issue/topic as solved, since it would be more difficult to determine what we're actually trying to solve! For example: Are we addressing the first, second or third question?
User avatar
adrianlambert
Donator
Donator
Posts: 28
Joined: Fri 19 Aug 2016, 18:24
Your name: Adrian Lambert

Password protection information

Postby adrianlambert » Sun 21 Aug 2016, 14:53

I've just purchased the password protection plugin from Koken but I can't seem to work out how to modify the password protection page from within the custom css or using any other site admin tools. Is there a way? It seems incredibly limited in it's functionality in as far as I can't protect a page and conveniently explain to viewers what's going on or how to request access.
User avatar
Bjarne Varöystrand
Webbplatsadministratör
Webbplatsadministratör
Posts: 1063
Joined: Sun 29 Mar 2015, 21:02
Your name: Bjarne Varöystrand
Location: Lysekil, Sweden
Contact:

Re: Password protection information

Postby Bjarne Varöystrand » Sun 21 Aug 2016, 15:29

To "reach" the password plugin page you can start your custom CSS with:

Code: Select all

.k-lens-login

That way the custom CSS will be "contained" and targeting the login page only
adrianlambert wrote:Source of the post It seems incredibly limited in it's functionality in as far as I can't protect a page

It's designed to protect albums primarily, but has been extended to also allow admin to protect the entire site.

I have made a request to extend it to also be able to protect certain pages/essays, but as it right now your left with the entire site or specific albums: that's it.
Regards
Bjarne Varöystrand - Image || Reddit || Twitter|| Facebook

Image
User avatar
adrianlambert
Donator
Donator
Posts: 28
Joined: Fri 19 Aug 2016, 18:24
Your name: Adrian Lambert

Re: Password protection information

Postby adrianlambert » Sun 21 Aug 2016, 16:27

That sounds like a good request. Mine would be to be able to add a message for the set or album that is being protected. I'd like it to say something like contact me to gain access as I want to have folios in there for general consumption by email verified viewers rather than all and sundry (and search engines). I simply want to protect my client's commissions from being lifted and used which appears to have happened recently.
User avatar
Bjarne Varöystrand
Webbplatsadministratör
Webbplatsadministratör
Posts: 1063
Joined: Sun 29 Mar 2015, 21:02
Your name: Bjarne Varöystrand
Location: Lysekil, Sweden
Contact:

Re: Password protection information

Postby Bjarne Varöystrand » Sun 21 Aug 2016, 16:39

adrianlambert wrote:Source of the post Mine would be to be able to add a message for the set or album that is being protected.

You could do this be copying the /storage/plugins/password-protect/templates/login.lens to your /storage/themes/axis-2/ and adding that message below the login form.
Regards
Bjarne Varöystrand - Image || Reddit || Twitter|| Facebook

Image
User avatar
adrianlambert
Donator
Donator
Posts: 28
Joined: Fri 19 Aug 2016, 18:24
Your name: Adrian Lambert

Re: Password protection information

Postby adrianlambert » Sun 21 Aug 2016, 18:30

Thanks Bjarne, I'll give it a try. I wanted to try to avoid customising themes - I can fumble my way around css but html may just be beyond me. Well, here goes...!!
User avatar
Bjarne Varöystrand
Webbplatsadministratör
Webbplatsadministratör
Posts: 1063
Joined: Sun 29 Mar 2015, 21:02
Your name: Bjarne Varöystrand
Location: Lysekil, Sweden
Contact:

Re: Password protection information

Postby Bjarne Varöystrand » Sun 21 Aug 2016, 18:35

Haha, you sounds as me my first days with Koken...
(Then I hadn't touched HTML/CSS or JavaScript for a decade!) :lol:
But as you, I cant just sit back and let things look "half baked" :ugeek:

The HTML for the login.lens is rather simple when your doing the default one....
Regards
Bjarne Varöystrand - Image || Reddit || Twitter|| Facebook

Image
User avatar
adrianlambert
Donator
Donator
Posts: 28
Joined: Fri 19 Aug 2016, 18:24
Your name: Adrian Lambert

Re: Password protection information

Postby adrianlambert » Sun 21 Aug 2016, 18:45

I looked at it already - maybe it's simple to you!!! ;) I have a vague idea what's going on but I struggle to follow the logic for more than a couple of steps at a time so when trying in the past I just end up with a headache and a lot of wasted time. Maybe this time it'll fall into place though.
User avatar
Bjarne Varöystrand
Webbplatsadministratör
Webbplatsadministratör
Posts: 1063
Joined: Sun 29 Mar 2015, 21:02
Your name: Bjarne Varöystrand
Location: Lysekil, Sweden
Contact:

Re: Password protection information  Topic is solved

Postby Bjarne Varöystrand » Sun 21 Aug 2016, 19:09

You can try to put this after <h1>Password required</h1>

Hidden Content
This board requires you to be registered and logged-in to view hidden content.
Regards
Bjarne Varöystrand - Image || Reddit || Twitter|| Facebook

Image
User avatar
adrianlambert
Donator
Donator
Posts: 28
Joined: Fri 19 Aug 2016, 18:24
Your name: Adrian Lambert

Re: Password protection information

Postby adrianlambert » Sun 21 Aug 2016, 19:25

Wow, thank you Bjarne! I'll try that right now in-between dinner and desert!
User avatar
Bjarne Varöystrand
Webbplatsadministratör
Webbplatsadministratör
Posts: 1063
Joined: Sun 29 Mar 2015, 21:02
Your name: Bjarne Varöystrand
Location: Lysekil, Sweden
Contact:

Re: Password protection information

Postby Bjarne Varöystrand » Sun 21 Aug 2016, 22:30

adrianlambert wrote:Source of the post Wow, thank you Bjarne! I'll try that right now in-between dinner and desert!

Your welcome. ;)

I take it from your login page ;)
That everything worked out as expected? :ugeek:
Regards
Bjarne Varöystrand - Image || Reddit || Twitter|| Facebook

Image
User avatar
adrianlambert
Donator
Donator
Posts: 28
Joined: Fri 19 Aug 2016, 18:24
Your name: Adrian Lambert

Re: Password protection information

Postby adrianlambert » Sun 21 Aug 2016, 22:34

Bjarne Varöystrand wrote:Source of the post
adrianlambert wrote:Source of the post Wow, thank you Bjarne! I'll try that right now in-between dinner and desert!

Your welcome. ;)

I take it from your login page ;)
That everything worked out as expected? :ugeek:


Really well thanks Bjarne. I don't think I'd have managed it without your help. I'm feeling pretty proud though as I managed to get my logo in there by chopping bits of the theme's login.lens page and adding it to the plugin's login.lens page. A few css tweaks and I think I've got it looking quite nice.
User avatar
Bjarne Varöystrand
Webbplatsadministratör
Webbplatsadministratör
Posts: 1063
Joined: Sun 29 Mar 2015, 21:02
Your name: Bjarne Varöystrand
Location: Lysekil, Sweden
Contact:

Re: Password protection information

Postby Bjarne Varöystrand » Sun 21 Aug 2016, 22:40

Fantastic :D

It looks very nice, good work... :D
Regards
Bjarne Varöystrand - Image || Reddit || Twitter|| Facebook

Image

  • Similar Topics
    Replies
    Views
    Last post

Return to “Plugins”



Who is online

Users browsing this forum: No registered users and 1 guest