• Welcome to Simple Machines Community Forum. Please login or sign up.
October 17, 2021, 11:03:07 PM

News:

Bored?  Looking to kill some time?  Want to chat with other SMF users?  Join us in IRC chat or Discord


SMF Secure Login

Started by 青山 素子, August 12, 2007, 03:12:00 PM

Previous topic - Next topic

青山 素子

August 12, 2007, 03:12:00 PM Last Edit: August 17, 2007, 04:12:29 PM by Motoko-chan
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.
Motoko-chan
Director, Simple Machines

Note: Unless otherwise stated, my posts are not representative of any official position or opinion of Simple Machines.


Sfx23

I installed it, and now its not letting me log-in. How can i fix this?

青山 素子

August 17, 2007, 04:10:09 PM #2 Last Edit: August 17, 2007, 04:13:52 PM by Motoko-chan
I'm guessing you enabled the functionality, not just installed.

Quote from: Motoko-chan on August 12, 2007, 03:12:00 PM
- 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".


UPDATE smf_settings SET value=FALSE where variable="use_secure_login";
Motoko-chan
Director, Simple Machines

Note: Unless otherwise stated, my posts are not representative of any official position or opinion of Simple Machines.


Sfx23

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?

青山 素子

Maybe you have a different prefix? Adjust the query to use that.
Motoko-chan
Director, Simple Machines

Note: Unless otherwise stated, my posts are not representative of any official position or opinion of Simple Machines.


Sfx23

Ya it would work if i can get into my PHP Admin now.

Sfx23

I have a table prefix its smf_

Is that what a prefix is?

青山 素子

Motoko-chan
Director, Simple Machines

Note: Unless otherwise stated, my posts are not representative of any official position or opinion of Simple Machines.


Sfx23


karlbenson

Looks like it wiped all of your tables. (re: the other topic)

青山 素子

August 17, 2007, 09:10:12 PM #10 Last Edit: August 17, 2007, 09:11:47 PM by Motoko-chan
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?
Motoko-chan
Director, Simple Machines

Note: Unless otherwise stated, my posts are not representative of any official position or opinion of Simple Machines.


Sfx23

I did not touch my database at all, since I started. It had to have been.

karlbenson


ioszilla

Sfx23, i don't think this mod will modify your database in any way. Maybe something was messed up elsewhere?

青山 素子

I see the user posted in the topic for the User Control Panel mod. Perhaps it was some odd combo?
Motoko-chan
Director, Simple Machines

Note: Unless otherwise stated, my posts are not representative of any official position or opinion of Simple Machines.


karlbenson

or because it was a free host?

Sfx23

Its okay.... I made a new forum. And now im making sure that I make back-ups everyday.

Druid

September 25, 2007, 06:43:21 AM #17 Last Edit: September 25, 2007, 06:48:30 AM by Druid
 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.

青山 素子

It should work without changes on 1.1.4. I'll be trying to get an official update out sometime this weekend.
Motoko-chan
Director, Simple Machines

Note: Unless otherwise stated, my posts are not representative of any official position or opinion of Simple Machines.


Druid

September 26, 2007, 05:44:51 AM #19 Last Edit: October 15, 2007, 04:01:32 PM by Druid
 Thank you for the quick response.

Advertisement: