[ABD] Members Only

Any abandoned Extensions will be moved to this forum.

WARNING: Extensions in this forum are not currently being supported or maintained by the original Extension author. Proceed at your own risk.
Forum rules
IMPORTANT: Extension Development Forum rules

WARNING: Extensions in this forum are not currently being supported nor updated by the original Extension author. Proceed at your own risk.
Locked
User avatar
Tecktron
Registered User
Posts: 5
Joined: Wed Jul 01, 2015 11:55 pm
Name: Tecktron

[ABD] Members Only

Post by Tecktron »

Members Only

Extension to make your phpBB for members only.

This phpbb 3.1.x extension will make it so that any non-logged in user will be redirected to the login page. This is done by means of core events, so there is no need to update templates or anything else.

Keep in mind that this currently (although this is planned on being optional in the next revision) also blocks user registration. For that I suggest the Add User ACP Extension

Please see the github page: https://github.com/Tecktron/membersonly

I created this because I want a private board, that is, only those members that I've created. I know I could have done this though templates, but I find this to be a much more elegant solution since, if I want to open it up to the public at anytime, it's just a flip of a switch as opposed to having to alter the templates.

PRs, thoughts and suggestions welcome. This is my first attempt so please be easy on me if I didn't do something quite to standard.
User avatar
HiFiKabin
Community Team Member
Community Team Member
Posts: 6673
Joined: Wed May 14, 2014 9:10 am
Location: Swearing at the PC, UK
Name: James
Contact:

Re: [RC] Members Only

Post by HiFiKabin »

What is the difference between this and setting permissions so that guests have no access and disabling registration?
User avatar
Kailey
Community Team Leader
Community Team Leader
Posts: 3732
Joined: Mon Sep 01, 2014 1:00 am
Location: sudo rm -rf /
Name: Kailey Snay
Contact:

Re: [RC] Members Only

Post by Kailey »

Looking at the code, looks like it automatically re-directs you to the login page. So for example, if i browse to http://www.phpbb.com/community, instead of seeing the index page, I'm sent to the login page.
Kailey Snay - Community Team Leader
Knowledge Base | Documentation | Community rules

If you have any questions about the rules/customs of this website, feel free to send me a PM.
User avatar
HiFiKabin
Community Team Member
Community Team Member
Posts: 6673
Joined: Wed May 14, 2014 9:10 am
Location: Swearing at the PC, UK
Name: James
Contact:

Re: [RC] Members Only

Post by HiFiKabin »

Ahhhh, yes that makes sense now.
User avatar
Tecktron
Registered User
Posts: 5
Joined: Wed Jul 01, 2015 11:55 pm
Name: Tecktron

Re: [RC] Members Only

Post by Tecktron »

Yeah I found the homepage to be too revealing, plus I like the page the way it is and didn't want to mess with the template, since it's nice once you login.

Plus if you wanted to simplify the login page (remove the nav, etc), it's a much simpler template to deal with and if you ever open up to the public, it's not a big deal to have to revert it.
User avatar
david63
Registered User
Posts: 20646
Joined: Thu Dec 19, 2002 8:08 am

Re: [RC] Members Only

Post by david63 »

Tecktron wrote:I found the homepage to be too revealing
Not if you set permissions so that Guests cannot view any fora.

=============================

Can I suggest that you check the coding guidelines in respect of opening {
David
Remember: You only know what you know and - you don't know what you don't know!

I now no longer support any of my extensions but they will start to become available here
User avatar
Tecktron
Registered User
Posts: 5
Joined: Wed Jul 01, 2015 11:55 pm
Name: Tecktron

Re: [RC] Members Only

Post by Tecktron »

Yeah, but I find the login page is much more elegant. :D

Thanks for the tips on the braces CS. I'll get that fixed right up.
User avatar
wkuzma
Registered User
Posts: 392
Joined: Sun Sep 02, 2007 10:18 pm
Contact:

Re: [RC] Members Only

Post by wkuzma »

I just installed it on my test page and it works great HOWEVER
Keep in mind that this currently (although this is planned on being optional in the next revision) also blocks user registration. For that I suggest the Add User ACP Extension
It does not disable the registration function as you said it would. I like that it doesn't because that is alway possible in the acp.

see http://kickallbutts.org/new3
User avatar
Miri4ever
Registered User
Posts: 608
Joined: Sat Mar 07, 2015 11:18 am
Contact:

Re: [RC] Members Only

Post by Miri4ever »

Portal Pages Exentsion not working anymore with this, so I had to disable again.
Homepage: Terra Oceanica

Extension Developments:
PHPBB Games Solitaire, MChat Poker, MChat Black Jack, MChat Cards, MChat Trivia
PHPBB Special Effects, Mousepointers, X-Mas Themes and Designs for PBWoW Style.
Supported work: (**New Updated** UCP Sidebar), Tables, Hide, PBWow3 Style
User avatar
Tecktron
Registered User
Posts: 5
Joined: Wed Jul 01, 2015 11:55 pm
Name: Tecktron

Re: [RC] Members Only

Post by Tecktron »

Thanks for the find @wkuzma

Turns out that I had this disabled in the backend and therefore did not show up (Doh!)
Since I only check for ucp.php in the current file list and the registration page is run by this page, it does indeed work. I've updated the readme to reflect this.
User avatar
Tecktron
Registered User
Posts: 5
Joined: Wed Jul 01, 2015 11:55 pm
Name: Tecktron

Re: [RC] Members Only

Post by Tecktron »

Miri4ever wrote:Portal Pages Exentsion not working anymore with this, so I had to disable again.
Could you elaborate on this some more please?

By 'Portal Pages Exentsion' do you mean the 'Pages' extension from phpbb?
If not, please provide a link as I could not find it in the Db.

What do you mean by 'not working'? Do you mean it cans your entire board, or that the pages are no longer viewable? Is this only for guest users, meaning if you login you can see the pages?

If it's the latter, then I'd consider this a feature request since, by design, guests should only be able to view the login page (or registration page if enabled). Everything else is for 'Members Only' and will redirect to the login page.

I have pages on my board, and they work just fine for anybody logged in.

Thanks.
bcurran3
Registered User
Posts: 127
Joined: Sat Aug 29, 2015 2:52 am

Re: [RC] Members Only

Post by bcurran3 »

This works great for me, thanks!

Previously I had to make a MAIN forum that only registered users could click past to get to the real content. Even that way there was some basic statistical info that guests could see. This redirects and makes basically nothing visible unless you are logged in. Love it!
User avatar
eunaumtenhoid
Registered User
Posts: 1007
Joined: Wed Jun 03, 2009 12:46 am
Location: ????

Re: [RC] Members Only

Post by eunaumtenhoid »

abd??
My translations of the extensions for Brazilian Portuguese
https://github.com/phpBBTraducoes
Paul
Infrastructure Team Leader
Infrastructure Team Leader
Posts: 28619
Joined: Sat Dec 04, 2004 3:44 pm
Location: The netherlands.
Name: Paul Sohier
Contact:

Re: [ABD] Members Only

Post by Paul »

This topic has been marked as [ABD] - Abandoned as the extension author has not been active recently. If the extension author wishes to continue development, please PM anyone on the Extension Customisations Team to request this topic be unlocked.

Notice!
We do not recommend that a user of the phpBB software install this extension, or any other extension that is marked as "abandoned" or "in development", on a live forum. Doing so may cause your forum to not perform in the manner it should.


Thank you,
The phpBB Extension Customisations Team
Locked

Return to “Abandoned Extensions”