Author Topic: SMF Secure Login  (Read 20772 times)

Offline 青山 素子

  • SMF Super Hero
  • *******
  • Posts: 13,709
  • Just call me Motoko
    • Motoko's Pagoda
SMF Secure Login
« on: August 12, 2007, 03:12:00 PM »
Link to Mod

WARNING: This mod requires you have SSL working on your site. If you do not, enabling the functionality will BREAK login.


About
-----
This modification allows you to enable secure (SSL) logins on your forum.

This mod and other information can be found at:
http://www.animeneko.net/projects/smf/


Features
--------
 - Enable SSL login for user accounts
 - Enable SSL login for admin area


Limitations
-----------
- Currently, requiring SSL for login boxes is all or none.

- This mod requires a properly set up SSL environment on the webserver first.
  If you cannot view the forum over SSL normally, this will need to be corrected
  before this mod will function.


How to Use
----------
A new option is added to the Features and Settings admin page.


License
-------
This code is licensed under the terms of the Simple Machines License. All
original code is copyright Michael Johnson.
« Last Edit: August 17, 2007, 04:12:29 PM by Motoko-chan »

Offline Sfx23

  • Semi-Newbie
  • *
  • Posts: 20
Re: SMF Secure Login
« Reply #1 on: August 17, 2007, 04:01:56 PM »
I installed it, and now its not letting me log-in. How can i fix this?

Offline 青山 素子

  • SMF Super Hero
  • *******
  • Posts: 13,709
  • Just call me Motoko
    • Motoko's Pagoda
Re: SMF Secure Login
« Reply #2 on: August 17, 2007, 04:10:09 PM »
I'm guessing you enabled the functionality, not just installed.

- This mod requires a properly set up SSL environment on the webserver first.
  If you cannot view the forum over SSL normally, this will need to be corrected
  before this mod will function.

Did you make sure SSL worked on your website, or did you just enable the mod without checking?

To disable, you'll need to manually edit the SMF settings table in the database. You can do this with phpMyAdmin. Once you have the right database selected, go to the SQL tab and run the following query. This assumes your table prefix is "smf".

Code: [Select]
UPDATE smf_settings SET value=FALSE where variable="use_secure_login";
« Last Edit: August 17, 2007, 04:13:52 PM by Motoko-chan »

Offline Sfx23

  • Semi-Newbie
  • *
  • Posts: 20
Re: SMF Secure Login
« Reply #3 on: August 17, 2007, 04:27:54 PM »
Its not Working, It says this:

Error

SQL query:

UPDATE smf_settings SET value = FALSE WHERE variable = "use_secure_login"

MySQL said: Documentation
#1146 - Table 'b24_897878_smf.smf_settings' doesn't exist

What do i do now?

Offline 青山 素子

  • SMF Super Hero
  • *******
  • Posts: 13,709
  • Just call me Motoko
    • Motoko's Pagoda
Re: SMF Secure Login
« Reply #4 on: August 17, 2007, 05:40:17 PM »
Maybe you have a different prefix? Adjust the query to use that.

Offline Sfx23

  • Semi-Newbie
  • *
  • Posts: 20
Re: SMF Secure Login
« Reply #5 on: August 17, 2007, 06:56:04 PM »
Ya it would work if i can get into my PHP Admin now.

Offline Sfx23

  • Semi-Newbie
  • *
  • Posts: 20
Re: SMF Secure Login
« Reply #6 on: August 17, 2007, 07:54:17 PM »
I have a table prefix its smf_

Is that what a prefix is?

Offline 青山 素子

  • SMF Super Hero
  • *******
  • Posts: 13,709
  • Just call me Motoko
    • Motoko's Pagoda
Re: SMF Secure Login
« Reply #7 on: August 17, 2007, 08:58:48 PM »
Yes.

Offline Sfx23

  • Semi-Newbie
  • *
  • Posts: 20
Re: SMF Secure Login
« Reply #8 on: August 17, 2007, 09:03:01 PM »
...Still not working

Offline karlbenson

  • SMF Friend
  • SMF Super Hero
  • *
  • Posts: 15,501
  • Gender: Male
    • SimpleMachines.org
Re: SMF Secure Login
« Reply #9 on: August 17, 2007, 09:05:07 PM »
Looks like it wiped all of your tables. (re: the other topic)

Offline 青山 素子

  • SMF Super Hero
  • *******
  • Posts: 13,709
  • Just call me Motoko
    • Motoko's Pagoda
Re: SMF Secure Login
« Reply #10 on: August 17, 2007, 09:10:12 PM »
That mod doesn't affect the database when running (only uses the normal SMF function for adding a setting), and that query was tested against a test install before given (and worked okay). Can anyone confirm that this mod is responsible?
« Last Edit: August 17, 2007, 09:11:47 PM by Motoko-chan »

Offline Sfx23

  • Semi-Newbie
  • *
  • Posts: 20
Re: SMF Secure Login
« Reply #11 on: August 17, 2007, 09:13:55 PM »
I did not touch my database at all, since I started. It had to have been.

Offline karlbenson

  • SMF Friend
  • SMF Super Hero
  • *
  • Posts: 15,501
  • Gender: Male
    • SimpleMachines.org
Re: SMF Secure Login
« Reply #12 on: August 17, 2007, 09:14:25 PM »
The link to the other topic (with more info than here) is http://www.simplemachines.org/community/index.php?topic=189522.new#new

Offline ioszilla

  • Jr. Member
  • **
  • Posts: 251
  • Gender: Male
  • Freedom to be unfree.
Re: SMF Secure Login
« Reply #13 on: August 17, 2007, 09:23:21 PM »
Sfx23, i don't think this mod will modify your database in any way. Maybe something was messed up elsewhere?

Offline 青山 素子

  • SMF Super Hero
  • *******
  • Posts: 13,709
  • Just call me Motoko
    • Motoko's Pagoda
Re: SMF Secure Login
« Reply #14 on: August 17, 2007, 09:24:33 PM »
I see the user posted in the topic for the User Control Panel mod. Perhaps it was some odd combo?

Offline karlbenson

  • SMF Friend
  • SMF Super Hero
  • *
  • Posts: 15,501
  • Gender: Male
    • SimpleMachines.org
Re: SMF Secure Login
« Reply #15 on: August 17, 2007, 09:38:00 PM »
or because it was a free host?

Offline Sfx23

  • Semi-Newbie
  • *
  • Posts: 20
Re: SMF Secure Login
« Reply #16 on: August 21, 2007, 08:53:07 AM »
Its okay.... I made a new forum. And now im making sure that I make back-ups everyday.

Offline Druid

  • Newbie
  • *
  • Posts: 3
Re: SMF Secure Login
« Reply #17 on: September 25, 2007, 06:43:21 AM »
 Hi, I just updated to 1.1.4, and this doesnt want to install, Im not thinking too much has changed in between the two versions, can I just modify the package-info.xml to 1.1.4..is thats all that needed?

 Sorry to bother, if it was a cosmetic mod, Id go for it without even asking.

 For some reason this mod was extremely hard to find through google on my pc, yet I stumbled upon it with google/pda, only a shame I updated 10 minutes before I found it....well not really a shame..needed updated, Id just like to have checked it out tonight, without bothering you all.
« Last Edit: September 25, 2007, 06:48:30 AM by Druid »

Offline 青山 素子

  • SMF Super Hero
  • *******
  • Posts: 13,709
  • Just call me Motoko
    • Motoko's Pagoda
Re: SMF Secure Login
« Reply #18 on: September 25, 2007, 11:01:36 AM »
It should work without changes on 1.1.4. I'll be trying to get an official update out sometime this weekend.

Offline Druid

  • Newbie
  • *
  • Posts: 3
Re: SMF Secure Login
« Reply #19 on: September 26, 2007, 05:44:51 AM »
 Thank you for the quick response.
 
« Last Edit: October 15, 2007, 04:01:32 PM by Druid »