2013-05-02, 06:25 PM
I'm in the process of making a form.
Somewhere in that form, I'd like to make sure that the person filling out the form is actually registered on our forums. I want to have a section that asks them to login with their forum account.
At this point I have two options:
Option A: I could use cookies so that if they've logged in on the forums, they will see "You are Logged in as <username>", and if they're not: a link to register + login OR link to register + login form OR link to register and login button leading to a lightbox.
Option B: Just make forum user/pass part of the form, and have it check those entires before submitting the rest of the data in the form.
I think Option A is a better way to go as it'll make the pages feel more integrated. I looked up some previous threads regarding this integration, but all the ones I found lead to dead links/plugins. I'm looking for a plugin-free solution since the external page is hand-written.
Somewhere in that form, I'd like to make sure that the person filling out the form is actually registered on our forums. I want to have a section that asks them to login with their forum account.
At this point I have two options:
Option A: I could use cookies so that if they've logged in on the forums, they will see "You are Logged in as <username>", and if they're not: a link to register + login OR link to register + login form OR link to register and login button leading to a lightbox.
Option B: Just make forum user/pass part of the form, and have it check those entires before submitting the rest of the data in the form.
I think Option A is a better way to go as it'll make the pages feel more integrated. I looked up some previous threads regarding this integration, but all the ones I found lead to dead links/plugins. I'm looking for a plugin-free solution since the external page is hand-written.