LS97 wrote:
fg123 wrote:
Sounds good, I'll setup the DB. So no email/gender/location or any of that. I was thinking it's actually possible to retrieve the location from the user page.
You raise a good point about maybe an optional email field.
But I don't think gender location is too necessary for our purpose, right?
That's true. Alrighty. I'll probably have most of the user system done by tomorrow, if not Monday.
Offline
Since you haven't finished yet, I'll do a little work on the tables. Careful with the database!
EDIT
Finished editing database tables.
Last edited by LS97 (2012-07-08 05:37:57)
Offline
I've added a few more fields in the DB, and I've finished the login and the register pages.
Register processing code is yet to be done and the login code needs a little polish, but other than that, it's almost done.
If you look at the register, you'll see the whole scratch integration method...
Offline
Sorry to break it but, there's no need for that checkbox. Looks like you put lots of work in it though, so I don't want to remove it...
Last edited by LS97 (2012-07-09 05:54:15)
Offline
At the moment, it's not clear what you are supposed to press when you've finished signing up. Will this be added?
Offline
LS97 wrote:
Sorry to break it but, there's no need for that checkbox. Looks like you put lots of work in it though, so I don't want to remove it...
Yes there is. Because the username of the API2 User and his Scratch account may be different. This allows more versatility.
technoboy10 wrote:
At the moment, it's not clear what you are supposed to press when you've finished signing up. Will this be added?
Yea, it's not done yet.
Offline
fg123 wrote:
LS97 wrote:
Sorry to break it but, there's no need for that checkbox. Looks like you put lots of work in it though, so I don't want to remove it...
Yes there is. Because the username of the API2 User and his Scratch account may be different. This allows more versatility.
OK... after all, there aren't any forums or comments, so we might as well allow impersonation as long as we know who they are.
Offline
LS97 wrote:
fg123 wrote:
LS97 wrote:
Sorry to break it but, there's no need for that checkbox. Looks like you put lots of work in it though, so I don't want to remove it...
Yes there is. Because the username of the API2 User and his Scratch account may be different. This allows more versatility.
OK... after all, there aren't any forums or comments, so we might as well allow impersonation as long as we know who they are.
It will display in brackets who they are on scratch.
Offline
fg123 wrote:
LS97 wrote:
fg123 wrote:
Yes there is. Because the username of the API2 User and his Scratch account may be different. This allows more versatility.OK... after all, there aren't any forums or comments, so we might as well allow impersonation as long as we know who they are.
It will display in brackets who they are on scratch.
OK, sounds good.
Are you done? I'd like to start with the GUI now...
Offline
fg123 wrote:
Almost, give me today. I'll make a userlist too. Would you like the user list to be public?
I don't think it's necessary. All users are for -- for public purpose -- is the sharing of skins and images which doesn't require a browse-by-user. If that made sense.
Offline
LS97 wrote:
fg123 wrote:
Almost, give me today. I'll make a userlist too. Would you like the user list to be public?
I don't think it's necessary. All users are for -- for public purpose -- is the sharing of skins and images which doesn't require a browse-by-user. If that made sense.
Okey. I'm done. Registering and logging in now works.
Have fun!
Offline
fg123 wrote:
LS97 wrote:
fg123 wrote:
Almost, give me today. I'll make a userlist too. Would you like the user list to be public?
I don't think it's necessary. All users are for -- for public purpose -- is the sharing of skins and images which doesn't require a browse-by-user. If that made sense.
Okey. I'm done. Registering and logging in now works.
Have fun!
Yayyy! Going to work on the GUI ASAP
Offline
I'm thinking there are 2 kinds of ranks.
Users, Moderators and Administrators.
Mods can control skins, like if something is inappropriate, and Admins are able to manage accounts. What do you think?
I suppose the admin field would be set to 1 for mod, and 2 for admin.
Offline
fg123 wrote:
I'm thinking there are 2 kinds of ranks.
Users, Moderators and Administrators.
Mods can control skins, like if something is inappropriate, and Admins are able to manage accounts. What do you think?
I suppose the admin field would be set to 1 for mod, and 2 for admin.
...and 0 for user. Yeah, that makes 3 ranks. Agreed
Offline
LS97 wrote:
fg123 wrote:
I'm thinking there are 2 kinds of ranks.
Users, Moderators and Administrators.
Mods can control skins, like if something is inappropriate, and Admins are able to manage accounts. What do you think?
I suppose the admin field would be set to 1 for mod, and 2 for admin....and 0 for user. Yeah, that makes 3 ranks. Agreed
What colors shall we use for the ranks?
I know this is sort of an extra thing, but I guess it's important for aesthetics.
Normal text color for users.
Green for Mods.
Red for Admins.
Hows that?
EDIT: I've done the manage users page. http://api2.comeze.com/manageUsers.php
Make sure you're rank 2 to access it. It will provide options to promote and demote people.
Last edited by fg123 (2012-07-12 16:16:16)
Offline
So I can register now? Also, it might be nice to have an option to just to use your Scratch account as your API2 account, just because some people already have a lot of accounts on the Internet.
Last edited by technoboy10 (2012-07-12 21:28:34)
Offline
technoboy10 wrote:
So I can register now? Also, it might be nice to have an option to just to use your Scratch account as your API2 account, just because some people already have a lot of accounts on the Internet.
Yes, but accounts might change abit as we develop.
We've had discussions over this, and what might happen is an API2 user might sign up for a name that a scratch user has and then we have a conflict. You can sign up with your scratch details and connect it with your scratch account, no problem, though.
Last edited by fg123 (2012-07-13 01:29:46)
Offline
Amazing job!
Working on site structure now.
Offline
Still working.
fg, remember to use absolute paths when linking or inserting images!
Absolute paths, as opposed to relative paths, are valid on any link throughout the site. It's really important to do so on this site because, as we use so many includes (e.g. the footer), those same pages can be seen at different directory levels.
Offline
I hope I'm not being obnoxious, but I'm doing this in a constructive spirit:
str_replace(" ", "", $string) can be a problem when you're just trying to trim something.
If a user has a password "I love Scratch", then the form would parse it as "IloveScratch" and any subsequent login trials would fail. Better to use trim()
Oh and, best not to trim passwords.
Last edited by LS97 (2012-07-13 05:36:53)
Offline
Changed admin colour to blue because red sounds more like ban
...and indicated banned users as red.
Last edited by LS97 (2012-07-13 07:54:02)
Offline
Done editing the site.
I did a cool administration page with awesome user management, modified terms, overhauled site structure, added deletedusers database, started on user profiles (I think we can leave it at that though).
I think that's it for now, would like sparks to have a say on what to do next...
Offline