Support Forum

Please provide feedback

36 Answers

New Answer

CU cubehouse
cubehouse
Member

Yep, can confirm “define('FORCE_SSL_ADMIN', true);” is in my config file.

On my dashboard source code:

<link rel='stylesheet' id='spMenuStyle-css'  href='http://blahblah/blog/wp-content/plugins/simple-press/admin/resources/css/spa-menu.css?ver=3.2-RC4-18391' type='text/css' media='all' /> 
<script type='text/javascript' src='https://blahblah/blog/wp-includes/js/l10n.js?ver=20101110'></script> 
<script type='text/javascript' src='https://blahblah/blog/wp-includes/js/jquery/jquery.js?ver=1.6.1'></script> 
<script type='text/javascript' src='https://blahblah/blog/wp-admin/js/utils.js?ver=20101110'></script> 
<script type='text/javascript' src='https://blahblah/blog/wp-content/plugins/akismet/akismet.js?ver=3.2-RC4-18391'></script> 
 
Everything else seems to load fine.
 
I found that using:
define('SF_PLUGIN_URL', plugins_url().'/'.basename(dirname(__file__)));
instead of:
define('SF_PLUGIN_URL', WP_PLUGIN_URL.'/'.basename(dirname(__file__)));
in sp-control.php fixed it for me.
MP Mr Papa
Mr Papa
Member

okay, sorry confused…  so images and js are fine?  just the css file there was wrong?  was just looking at it and found all my images served from https… but didnt look at that css…

will investigate you fix! thanks!

MP Mr Papa
Mr Papa
Member

ya know…  we really should be using plugins_url() there…  earlier we changed to all the other new function calls that like, but missed that one… will check them all again..

CU cubehouse
cubehouse
Member

I may have just been assuming if css wasn’t on https then everything else wasn’t either. Mostly affected the css and the Forum Dashboard icon on the left navigation area from what I could immediately see. Changing to that function fixed the css and Dashboard icon at least, not at PC atm, but I think it fixed it all.

MP Mr Papa
Mr Papa
Member

can you do an svn up and see if that gets it for you?  also found a stray WP_CONTENT_URL which should use content_url()

CU cubehouse
cubehouse
Member

Yep! Works perfectly now throughout Dashboard and forum admin