JD - Use SSL in Admincp only
This is a step-by-step guide on how to enable SSL within the Admincp ONLY, so you can use http:// troughout the whole board, but enable https:// usage when you're in the admincp.
Find in /includes/functions.php: PHP Code:
$url = normalize_path($url);
PHP Code:
$url = (strpos($url, '/admincp') === true ? str_replace('http://', 'https://', $url) : $url);
Find in/includes/adminfunctions.php: PHP Code:
var AJAXBASEURL = \"" . VB_URL_BASE_PATH . "../\";
PHP Code:
var AJAXBASEURL = \"" . str_replace('http://', 'https://', VB_URL_BASE_PATH) . "../\";
Find in /admincp/index.php: PHP Code:
$versionhost = REQ_PROTOCOL . '://version.vbulletin.com';
PHP Code:
$versionhost = '//version.vbulletin.com';
Find in /admincp/index.php: PHP Code:
<form action="http://www.ph' . 'p.net
PHP Code:
<form action="https://www.ph' . 'p.net
Find in /admincp/index.php: PHP Code:
<form action="http://www.mysql.com/
PHP Code:
<form action="https://www.mysql.com/
That's all, I hope you'll enjoy this little tweak as much as I do myself. Download No files for download. |
Similar Mods
Administrative and Maintenance Tools AdminCP Firewall ~ Protect your AdminCP! | vBulletin 4.x Add-ons |
Administrative and Maintenance Tools SCANU's Live Admincp Search - jQuery filtering search box on admincp! | vBulletin 4.x Add-ons |