This is a read-only archive of the old Scratch 1.x Forums.
Try searching the current Scratch discussion forums.

#1 2012-08-07 12:26:20

XenoK
Scratcher
Registered: 2011-09-08
Posts: 1000+

Login System

How would one create a login system like on scratch that when logged in on a main site, also logs you into a fluxbb forum installation?


Eternity Tasks has launched into Alpha One! http://tasks.eternityincurakai.com/EI%20projects.png

Offline

 

#2 2012-08-07 12:39:47

veggieman001
Scratcher
Registered: 2010-02-20
Posts: 1000+

Re: Login System

You'd have to have the login page on your site set the cookie to make the user logged into a FluxBB account... I'd look at the FluxBB login script for how to do that.


Posts: 20000 - Show all posts

Offline

 

#3 2012-08-07 13:08:03

XenoK
Scratcher
Registered: 2011-09-08
Posts: 1000+

Re: Login System

let's see....  wow there is a lot of them, some with values that I have no clue what to set to.  Is there documentation for this somwhere?


Eternity Tasks has launched into Alpha One! http://tasks.eternityincurakai.com/EI%20projects.png

Offline

 

#4 2012-08-07 13:36:33

jvvg
Scratcher
Registered: 2008-03-26
Posts: 1000+

Re: Login System

On Mod Share, we were able to do that. The easiest way is just to copy the form and use a JS redirect.
However, you can also be more advanced and use MySQL, or even better and actually make it so that when you get on the forums, it logs you in then (like on Mod Share and Scratch).


http://tiny.cc/zwgbewhttp://tiny.cc/e1gbewhttp://tiny.cc/zygbewhttp://tiny.cc/izgbew
Goodbye, Scratch 1.4  sad                                                        Hello Scratch 2.0!  smile

Offline

 

#5 2012-08-07 14:24:14

XenoK
Scratcher
Registered: 2011-09-08
Posts: 1000+

Re: Login System

jvvg wrote:

On Mod Share, we were able to do that. The easiest way is just to copy the form and use a JS redirect.
However, you can also be more advanced and use MySQL, or even better and actually make it so that when you get on the forums, it logs you in then (like on Mod Share and Scratch).

The last one is what I'm going for.


Eternity Tasks has launched into Alpha One! http://tasks.eternityincurakai.com/EI%20projects.png

Offline

 

#6 2012-08-08 08:12:22

XenoK
Scratcher
Registered: 2011-09-08
Posts: 1000+

Re: Login System

Bump


Eternity Tasks has launched into Alpha One! http://tasks.eternityincurakai.com/EI%20projects.png

Offline

 

#7 2012-08-08 11:15:35

nickbrickmaster
Scratcher
Registered: 2010-02-02
Posts: 500+

Re: Login System

the easiest way I'm guessing is to use the fluxbb accounts as the accounts and have the login on the main site set a session like that fluxbb uses or use jvvg's solution. Or you can make a custom forum system.


Ask me what I'm doing, wait an hour than roll a die, if it's 4-6, I'm playing Skyrim, if it's 1, I'm eating, if it's 2-3 I'm programming.
Steam: nickbrickmaster | RotMG: PwnThemAll | Minecraft: nickbrickmaster | League Of Legends: BaneOfTitans

Offline

 

Board footer