Tips and Tricks HQ Support Portal › Forums › WP eMember › WP eMember General Questions › https login and profile pages
Tagged: Custom Form, https, login, profile, SSL
- This topic has 15 replies, 3 voices, and was last updated 13 years, 7 months ago by Propel.
-
AuthorPosts
-
June 13, 2010 at 7:56 am #1359wy7Spectator
Hi!
I’ve a SSL certificate on my site, can I use It to eMemeber’s login and profile pages?
Thanks
June 14, 2010 at 4:06 am #21714amin007ParticipantThe eMember’s login and profile pages are inside your WordPress page so you don’t have to do anything special. As long as your WordPress pages are on HTTPS you are fine.
June 14, 2010 at 7:10 am #21715wy7SpectatorHi amin007,
-I set my wordpress to https in admin dashboard, but the eMember plugin can’t see the memebers, in the members’ list I have always the ‘loading…’ text and nothing members.
-I set in eMembers General setting the pages’ URL with the https, but in frontend my page are always called in http…
have I to make changes in some .php files?
Thanks
June 14, 2010 at 8:03 am #21716wy7SpectatorI find the solution here to second question:
http://wordpress.org/support/topic/326061
I post it for anyone interested!
June 15, 2010 at 1:39 am #21717amin007Participant@wy7, I am pretty sure the AJAX queries are still going to the http version so it’s hanging. We will need to look at your site for this… I have sent you an email.
June 15, 2010 at 7:28 am #21718wy7SpectatorHi,
thanks for your support,
I read different posts on pages protection of wordpress, but It has many problems to use SSL certificate.
I add this line in my config.php file:
define('FORCE_SSL_LOGIN', true);
define('FORCE_SSL_ADMIN', true);
but this is a FORCE to https, no a real protection, because more css plugins’ style and java and so on are always calling in http and the browser send message ‘partial protection’ and that is no good!!
I delete that two rows and now ajax is ok.
Do Yow Know a solution to the correct https on some pages like login, registration or is It Impossible?
If You look on my other cart here, in the login page the https is right…
https://www.danieleoneta.it/shop/index.php?dispatch=profiles.add
It’s a only a wordpress problem..
June 16, 2010 at 2:31 am #21719amin007ParticipantThe plugin do not hardcode the “http” or “https” in the URL. It always builds the URL using the “WP_PLUGIN_URL” WordPress variable. So if you have specified the https version in your WordPress General settings then everything should be https.
I cannot guarantee that all the other plugins will do this same practice though. So if you have a plugin or theme that is adding the JavaScript like the following then you will have this problem:
<script type="text/javascript" src="http://your-domain.com/wp-content/plugins/some-plugin/somejavascript.js"></script>
Remember, this include will be in your header meaning every post and pages of your WordPress site will have this. The thing with “https” is that you can’t have any “http” reference on a “https” page. So if you have a situation like the one explained here you are going to have a tough time.
June 16, 2010 at 6:37 am #21720wy7SpectatorYes, that is the problem…
I think I’ll refrain from adding ssl on wordpress, but It is a sin, because now there are many shops with wordpress..
We will see in the future..
Thanks amin007.
Now I send You a it.php file for ‘Affiliate Plugin’
July 23, 2010 at 9:12 am #21721wy7SpectatorHi amin!
I found a interesting discussion, here the extract:
“Now WP_CONTENT_URL is based on what the user defines as their “siteurl”. That’s why changing your ‘siteurl’ to https generally helps the plugins to work as well as the rest of WordPress. What if you don’t want your entire blog to be https – just a piece of it, say the checkout page (if you use an ecommerce plugin)? A lot of users have issues with this.
I suggest that plugin authors use wp_enqueue script when possible. If not possible I suggest that plugin authors at least check for HTTPS when defining their variables.”
Here the link: http://wordpress.org/support/topic/32606
Is It possible with your plugin? A check/uncheck able https page future would be fantastic!
What do You think?
July 24, 2010 at 1:19 am #21722amin007ParticipantThe plugins use “wp_enqueue_script” function to add the JavaScript files but when you are including a file that comes with the plugin then you still need to use a variable to determine the URL of the file.
Specifying your HTTPS URL in the wordpress settings correctly will solve all these problem but for people who want a hybrid solution I can definitely add a check in the plugin so it includes the file accordingly depending on the URL. Let me know if you are interested to test this for me.
July 24, 2010 at 6:25 am #21723wy7SpectatorHi,
Yes I try set HTTPS URL in the wordpress settings and It’s ok, but every pages are https and It is not useeful, if I have a embedded video from another site with no http there is a mixed item warning message in the browsers (like for javascript e stylesheet)
I have these your plugins: Wp Affiliate, Wp eStore, Wp eMember and Extra Shortcodes for WP eStore called link stylesheet and javascript in http.
The importan thing if I go on the page eg /checkout I have https ok, but if I return on another page it change autmatically in http…
I’m available to test the plugins with this new feature.
Thanks a lot
July 25, 2010 at 2:55 am #21724amin007ParticipantI have sent you a test copy of eStore so you can test it for me. Let me know how that goes.
July 27, 2010 at 11:39 am #21725amin007ParticipantI have made it so all the following 3 plugins will load the HTTPS version of the scripts when it’s on a HTTPS page. This should make your life easier as you don’t have to do any tweaking in the plugin code.
April 10, 2011 at 1:14 am #21726PropelMember=========== Quote
I have made it so all the following 3 plugins will load the HTTPS version of the scripts when it’s on a HTTPS page. This should make your life easier as you don’t have to do any tweaking in the plugin code.
===========
Hello, Quick question for you. I am using eMembers v6.2.6 and WP 3.1 but it looks like this fix is not implemented. I am getting the partial encryption alerts and it shows that emember is still pulling the following files via http even though the page is HTTPS.
plugins/wp-eMember/js/jquery.validationEngine-en.js?ver=3.1
plugins/wp-eMember/js/jquery.validationEngine.js?ver=3.1
plugins/wp-eMember/js/jquery.hint.js?ver=3.1
plugins/wp-eMember/js/ajaxupload.js?ver=3.1
/plugins/wp-eMember/js/jquery.libs.js?ver=3.1
-> I understand the problem but then I came across this post saying the problem was fixed so I wanted to check with you and see if it is not fixed in v6.2.6? (and v6.2.2 tested that one also).
I am really trying to avoid having to:
(1) Put my entire site on HTTPS
(2) Use a plugin to solve the problem http://wordpress.org/extend/plugins/wordpress-https/
NOTE: I am using 3 of your major plugins (members, affiliate and ecommerce) and it is ONLY eMembers that is not switching to https correctly. I think that should help narrow it down a bit plus the exact files above that are still pulling from http on an ssl page.
Thanks,
April 10, 2011 at 2:06 am #21727amin007ParticipantThe plugins should be able to handle HTTPS fine. I just uploaded another build of eMember. Please get it from here and let me know what you see now:
-
AuthorPosts
- You must be logged in to reply to this topic.