View Full Version : Login Help
abnrange
04-05-2009, 05:49 PM
Hello,
I'm using some code I found in the User Action Login example.
http://www.indigorose.com/forums/showthread.php?t=24347&highlight=user+management+plugin
The sample works fine but, when I add it to my project and make a few page jump changes it tell me the password is incorrect. What I'm I doing wrong? Please help! Thanks
Project attached
ShadowUK
04-05-2009, 06:58 PM
I don't recommend using the User Action Plugin at all. I soon realised the Database Action Plugin was far more efficient for what people had in mind when it comes to user systems.
Here's a quick example I made before going to bed.
You'll need to install the Database Action Plugin (http://indigorose.com/forums/attachment.php?attachmentid=7313&d=1226682380) if you want to run it. As for the User problem. I don't really know, I tried it myself and didn't understand why it wasn't working since it worked when I made the example before.
I've added a security bonus (you should do this anyway) of MD5'ing the password you enter when you register.
Anyway. If Database Action Plugin is out of the question try SQLite.
By the way, Database Action Plugin is incredibly secure. Other than the fact of decompiling/reading the programs memory.
Good luck!
abnrange
04-05-2009, 07:48 PM
Thanks for the quick response.
I tried the example - It fails On Preload Line 20 - Create database.
I don't know enough about creating database to fix this. Can you further assist when you have time? Thanks.
abnrange
04-05-2009, 08:45 PM
ShadowUK,
I was able to get the User Action Plugin to work. Is there away to add images to each user when you create the account? Get the user the option to select from a few images - once registred, when the the user selects the account from the dropdown it would display the image the user selected. Kind of like Windows users accounts.
Thanks
ShadowUK
04-06-2009, 03:44 AM
ShadowUK,
I was able to get the User Action Plugin to work. Is there away to add images to each user when you create the account? Get the user the option to select from a few images - once registred, when the the user selects the account from the dropdown it would display the image the user selected. Kind of like Windows users accounts.
Thanks
I never really implemented this for the User Action Plugin, AFAIK there's no way to save user meta in this plugin. You could probably assign the user to a group, where the group is the image, but this isn't the best method.
I also am suprised the Database Action Plugin example didn't work, It worked fine for me. Have you tried adjusting the dbPath?
abnrange
04-06-2009, 07:10 AM
Yes, I tried changing the dbPath same error on line 20. Could I be missing something else?
I will try adding users to a group and see if that will work. Thamks for your time and help!
abnrange
04-06-2009, 07:27 AM
ShadowUK,
I took a snap of the error when trying to create db. Maybe it makes sense to you!?
See attached - Thanks
vBulletin® v3.8.4, Copyright ©2000-2009, Jelsoft Enterprises Ltd.