Force Login on index.php

All new MODs released in our MOD Database will be announced in here. All support for released MODs needs to take place in the Customisations Database.
Forum rules
READ: phpBB.com Board-Wide Rules and Regulations

NOTICE: This forum is only for the announcement of new releases and/or updates of MODs. Any MOD support should be obtained through the Customisations Database in the support area designated for each MOD.

A direct link to support for each MOD is in the first post of the respective topic.
Locked
Extensions Robot
Extensions Robot
Extensions Robot
Posts: 27900
Joined: Sat Aug 16, 2003 7:36 am

Force Login on index.php

Post by Extensions Robot » Wed Jun 11, 2008 8:04 am

Modification name: Force Login on index.php
Author: nouveau
Modification description: Forces users to login on index.php, search.php, faq.php, viewtopic.php, viewforum.php and also has code for custom pages by redirecting the user to ucp.php?mode=login if they are not already logged in.

Bots can also be blocked by the MOD if the option is enabled via the ACP.
Modification version: 1.0.10
Tested on phpBB version: 3.0.4

Download file: force_login_1_0_10.zip
File size: 44.95 KiB

Modification overview page: View

The phpBB Team is not responsible nor required to provide support for this modification. By installing this MOD, you acknowledge that the phpBB Support Team or phpBB Extensions Team may not be able to provide support.

-->Modification support<--
Last edited by Extensions Robot on Mon Mar 27, 2017 3:10 pm, edited 9 times in total.
(this is a non-active account manager for the phpBB Extension Customisations Team)

Paul
Infrastructure Team Leader
Infrastructure Team Leader
Posts: 25182
Joined: Sat Dec 04, 2004 3:44 pm
Location: The netherlands.
Name: Paul Sohier
Contact:

Force Login on index.php

Post by Paul » Wed Jun 11, 2008 8:04 am

Modification validated/released

Notes:
Knock knock
Race condition
Who's there?

My BlogMy Photosmy phpBB Extensionscustom phpBB work & Development

nouveau
Registered User
Posts: 256
Joined: Tue Mar 27, 2007 1:51 pm

Force Login on index.php

Post by nouveau » Wed Jun 11, 2008 8:04 am

Thanks Paul

Updated description since it changed since the first version of the MOD

Force user login on index.php, viewtopic.php, viewforum.php, faq.php and search.php by redirecting the user to a login page if they are not already logged in.

Tested working on 3.0.5
Last edited by nouveau on Tue Aug 11, 2009 4:44 am, edited 3 times in total.
Formerly known as xceler8shun

User avatar
mara7
Registered User
Posts: 139
Joined: Wed May 11, 2005 5:59 pm

Re: Force Login on index.php

Post by mara7 » Wed Jun 11, 2008 4:41 pm

is that mean this mod hide index.php for unregistered user ?

nouveau
Registered User
Posts: 256
Joined: Tue Mar 27, 2007 1:51 pm

Re: Force Login on index.php

Post by nouveau » Wed Jun 11, 2008 11:07 pm

It makes it so you have to be logged in to see the index page.

If you are not logged in you will see the log in box.

If you want, you can just add the mod to viewtopic and viewforum, search and faq to force login on those pages and keep index viewable to guests.

Up to the individual user.
Formerly known as xceler8shun

User avatar
Alxor
Registered User
Posts: 54
Joined: Wed Jun 04, 2008 1:33 am
Contact:

Re: Force Login on index.php

Post by Alxor » Thu Jun 12, 2008 1:49 am

Thanks for putting your time and effort in making this mod! I am wanting to install something like this but not sure how people browsing the board would take it. I wonder if this mod would turn my lurkers into members...thanks! :)
SC2Nation.com - StarCraft 2 Forum

nouveau
Registered User
Posts: 256
Joined: Tue Mar 27, 2007 1:51 pm

Re: Force Login on index.php

Post by nouveau » Thu Jun 12, 2008 9:58 am

No worries, I saw a similar mod from phpbb2 and wanted something similar for phpbb3.

It was a steep learning curve for me as my first attempt at doing a MOD and I had about 3 different ways to do it which all seemed to work, but they weren't secure. The end result was the easiest, as well as being the one that was staring at me in the face the whole time.
Formerly known as xceler8shun

zakwan
Registered User
Posts: 4
Joined: Sat Jun 14, 2008 11:59 am

Re: Force Login on index.php

Post by zakwan » Sat Jun 21, 2008 2:50 am

thx..
ive install it and it work..
now every1 must reg in my forum to see :D

frenz
Registered User
Posts: 3
Joined: Sat Jun 21, 2008 7:10 pm

Re: Force Login on index.php

Post by frenz » Sat Jun 21, 2008 7:15 pm

how to install this step by step plz im am newbie her thanks ;)

nouveau
Registered User
Posts: 256
Joined: Tue Mar 27, 2007 1:51 pm

Re: Force Login on index.php

Post by nouveau » Mon Jun 23, 2008 1:59 am

All you need to do is extract the files contained in the zip file to a folder and load the install.xml file in Internet Explorer or Firefox.

Then it is just a matter of following the on screen instructions.

The files to open and code edits are listed, not to much to change with this one. :)
Formerly known as xceler8shun

Kharon
Registered User
Posts: 235
Joined: Thu Oct 26, 2006 5:27 pm

Re: Force Login on index.php

Post by Kharon » Tue Jul 01, 2008 10:42 am

-request-

ACP controller addon

- Force login
  • index.php - yes/no
  • viewtopic.php - yes/no
  • viewforum.php - yes/no
  • search.php - yes/no
  • faq.php - yes/no
  • custom ? - yes/no

nouveau
Registered User
Posts: 256
Joined: Tue Mar 27, 2007 1:51 pm

Re: Force Login on index.php

Post by nouveau » Wed Jul 02, 2008 6:20 am

Will look into it for you.
Formerly known as xceler8shun

nouveau
Registered User
Posts: 256
Joined: Tue Mar 27, 2007 1:51 pm

Re: Force Login on index.php

Post by nouveau » Thu Jul 03, 2008 5:46 am

Kharon wrote:-request-

ACP controller addon

- Force login
  • index.php - yes/no
  • viewtopic.php - yes/no
  • viewforum.php - yes/no
  • search.php - yes/no
  • faq.php - yes/no
  • custom ? - yes/no
I have completed the neccessary changes for ACP functionality, minus the custom yes / no at this stage and a global enable / disable

I just need to repackage and test on a vanilla board and then submit for validation at a later stage. I'll post something up in the next day or so for you to test.

ETA, included a custom field, please try it out and let me know who it fares.
Last edited by nouveau on Thu Jul 03, 2008 12:22 pm, edited 1 time in total.
Formerly known as xceler8shun

Kharon
Registered User
Posts: 235
Joined: Thu Oct 26, 2006 5:27 pm

Re: Force Login on index.php

Post by Kharon » Thu Jul 03, 2008 7:20 am

okay,I am waiting :)

nouveau
Registered User
Posts: 256
Joined: Tue Mar 27, 2007 1:51 pm

Re: Force Login on index.php

Post by nouveau » Thu Jul 03, 2008 12:18 pm

For the official and validated release version 1.0.10, please refer to the 1st post in this thread.

http://www.phpbb.com/community/viewtopi ... 5#p5773595
Last edited by nouveau on Tue Apr 07, 2009 9:34 am, edited 2 times in total.
Formerly known as xceler8shun

Locked

Return to “[3.0.x] MOD Database Releases”