Force https ACP

Misc MOD Downloads for phpBB3 -- Any MOD that does not fit into any other category
Forum rules
Image Please feel free to download any MOD's here, support for each MOD is located it's own thread.

To post your own MOD, please first read the MOD Guidelines

Force https ACP

Postby EXreaction » 24 Feb 2008, 13:13

Classification: Security
phpBB Part: ACP

MOD Name: Force https ACP
MOD Version: 1.0.2
Author: EXreaction
MOD Description: This mod forces all access to the Administration Control Panel to use https.

Licence: GNU General Public License v2

Installation Level: Easy
Installation Time: < 1 Minute
Format: MODX
Download File: http://www.lithiumstudios.org/forum/vie ... f=31&t=567
My phpBB3 Mods: Advertisement Management | Anti-Spam ACP | Auto Database Backup | Enable HTML | Advanced Subscriptions | Custom Profile Groups | From Author PM List | FAQ Manager | Forum Anniversary List | One Click Ban | Forum Sponsors | Smilies Categories | Drag 'n Drop Forum List | Soft Delete

Interested in becoming a Jr MOD Validator and helping out validation of mods @phpBB.com? Apply here
User avatar
EXreaction    
Supporter
Supporter
 
Posts: 1316
Joined: 03 Jun 2006, 09:10
Location: Plymouth, WI
Gender: Male




phpBB Academy at StarTrekGuide
Support STG
Using PayPal Donate

Re: Force https ACP

Postby Patricia » 01 Mar 2008, 08:50

Hi,

This can also be handy to https a Donation page, to let the users see that it is safe to Donate :thumbsup:

Thanks for this,

-Patricia
User avatar
Patricia    
STG Moderator
STG Moderator
 
Posts: 833
Joined: 09 Feb 2007, 08:27
Location: latitude: 51.00 - longitude: 5.87
Gender: Female

Re: Force https ACP

Postby ..::Frans::.. » 01 Mar 2008, 12:22

:clapping: Very nice Nathan!
ping...
User avatar
..::Frans::..
STG Development
STG Development
 
Posts: 1608
Joined: 28 Mar 2007, 15:37
Location: Netherlands
Favorite Team: RKC
Gender: Male
phpBB Knowledge: 9

Re: Force https ACP

Postby mut2nt » 06 Mar 2010, 14:44

it doesn't work for phpbb3 0.3.7
mut2nt    
Crewman
Crewman
 
Posts: 4
Joined: 04 Mar 2010, 10:44
Gender: Male
phpBB Knowledge: 1

Re: Force https ACP

Postby eko4v » 08 Oct 2010, 09:16

Dear EXreaction,

First off, thanks for this great MOD, the mod v1.0.3 works great in my localhost testing forum under 3.0.7pl1. :thumbsup:

However, I found that when I use 'ACP logout' or 'admin logout' the URL connection is still staying with HTTPS, so I replaced the code of 'U_LOGOUT' and 'U_ADM_LOGOUT' with the code below,
Code: Select all
//      'U_LOGOUT'         => append_sid("{$phpbb_root_path}ucp.$phpEx", 'mode=logout'),
//      'U_ADM_LOGOUT'         => append_sid("{$phpbb_admin_path}index.$phpEx", 'action=admlogout'),
      'U_LOGOUT'         => append_sid(str_replace('https://', 'http://', generate_board_url()) . "/ucp.$phpEx", 'mode=logout'),
      'U_ADM_LOGOUT'         => append_sid(str_replace('https://', 'http://', generate_board_url()) . "/{$phpbb_admin_path}index.$phpEx", 'action=admlogout'),

After then I use another local forum built with 3.0.7pl1 without any mod to make a comparing test and I found the behavior of 'ACP logout' of my code is incorrect a bit. As after 'ACP logout', I can click the link of 'Administration Control Panel' at the page bottom to get into ACP panel without another password input for self-authorization.

Since I am just an amateur programmer of C/C++ and my PHP capability is still very poor, please advice the correct code for the above change.

Btw, once after using 'Force https ACP', if the web server can not handle SSL request then besides stare at 4o4 page, can you please suggest a way to handle it? I would like to try to code that solution as my PHP practicing homework myself. :D

Thanks in advance for any help,

Hunt Chang
eko4v    
Crewman
Crewman
 
Posts: 4
Joined: 11 Jul 2010, 08:32
Gender: Male
phpBB Knowledge: 3


Return to Miscellaneous MODs, Hacks and Downloads

Who is online

Users browsing this forum: No registered users and 6 guests