123
-=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- (c) WidthPadding Industries 1987 0|642|0 -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=-
Socoder -> Web Development -> My Face Working

Sat, 14 Oct 2006, 11:52
HoboBen
Well, you can't add friends, or comment on people, yet... And there's no BB-style formatting code... And after all that I'm adding "Draw your own pictures" with PHP's insanely easy picture commands.

But, until then, you can edit your own profiles and everything...

I'd appriciate it if people could try and hack it for me.

Linky:

My Face

|edit| e-mail bug where e-mail is overwritten with image url - fixed for all new accounts. |edit|

|edit| To-do ... personal hit counters, and to make it interesting, possibly with values that you can edit yourself! |edit|

-=-=-
blog | work | code | more code
Sat, 14 Oct 2006, 13:51
Stealth
Very nice.. This has tons of potential features you could add.

-=-=-
Quit posting and try Google.
Sun, 15 Oct 2006, 09:21
HoboBen
; - )

It just got pretty-fied too.

Now to add some features!

|edit| Wooo, browsing! |edit|

-=-=-
blog | work | code | more code
Sun, 15 Oct 2006, 10:54
magicman
looking good!
Sun, 15 Oct 2006, 10:56
HoboBen
I'm having issues will all non-firefox browsers.

for each profile, index.php is hidden, although "view source" loads fine, as does edit.php

Any ideas?

Should I name all index files "home.php" and point things to that?

-=-=-
blog | work | code | more code
Sun, 15 Oct 2006, 11:06
HoboBen
D'oh!

Missed off a end slash in the title tag.

That was silly!

I have to delete all accounts and start again though ; - o

-=-=-
blog | work | code | more code
Sun, 15 Oct 2006, 11:53
HoboBen
Forgot to back up people's profiles...

So, it's emptied. New profiles will work better though...

Until I delete them for a new upgrade.

|edit| All new profiles now have upto 4999 charachters for the main description text, and 999 for each sub description. That's up from 999 and 249. |edit|

-=-=-
blog | work | code | more code
Sun, 15 Oct 2006, 17:27
Stealth
I would recommend hashing your passwords.. (If you don't already.)



And when someone enters a password hash there input then compare it to the hash you have on file. Thats in case someone figures out how to get to the passwords (I imagine there in a file somewhere on your server), at least they wont get the users passwords. Also hashed passwords are somewhat useless to hackers because if they enter a hashed password into the password field on your login screen, it will be hashed again and it wont match the one on file.

-=-=-
Quit posting and try Google.
Mon, 16 Oct 2006, 10:31
HoboBen
I'll try that. Right now, I haven't got around to encryption, because I thought that I'd have to go and code it all, but this looks easy enough.

Convieniently, any non-PHP access to the password data folder or files causes a server error, so this is why the passwords haven't been a real priority. Handy, that. ; - )

-=-=-
blog | work | code | more code
Mon, 16 Oct 2006, 18:21
tnt23
"any non-PHP access to the password data folder or files causes a server error"

trust me, people can do it. (Ask misterx and he could probably do it in 5 minutes)

-=-=-
What if this were not a hypothetical question?
Tue, 17 Oct 2006, 12:52
HoboBen
Probably true.

Encryption coming... But first, a nap!

-=-=-
blog | work | code | more code
Tue, 17 Oct 2006, 14:26
HoboBen
Wow, that was actually insanely easy. It's almost criminal, how encryption functions are written for you. I was actually expecting to give up and go and code my own. It took 10 whole seconds to edit all the files to use it!

Now, to add friend lists and comments... Or maybe just one of the two...


-=-=-
blog | work | code | more code
Tue, 17 Oct 2006, 14:37
tnt23
omfg!! you're using frames, you should be castrated!!! err.. I mean, why are using frames, especially when you have php that you can use for ssi?

-=-=-
What if this were not a hypothetical question?
Tue, 17 Oct 2006, 14:44
HoboBen
Lazyness. 100% that. I dunno though, it's not too hidious. It'll probably be removed once I'm done though.

-=-=-
blog | work | code | more code
Tue, 17 Oct 2006, 17:35
HoboBen
Wooo, encryption and commenting on profiles... in under 10 minutes!

The thing that took hours was finding out not why my password/username reading code would get rid of zeros, but where I could fix this. Indenting my code would've helped!

Ah well, I'm happy now!

To do... [ B ] [ I ] tags...

-=-=-
blog | work | code | more code
Wed, 18 Oct 2006, 16:27
Stealth
Why does the site want a password? Do I use my My Face login information?

-=-=-
Quit posting and try Google.
Wed, 18 Oct 2006, 16:29
HoboBen
Due to some unpleasent threats from a gabbly chat spammer, it's protected overnight and I'll add some posts per day / new users per day limits.

-=-=-
blog | work | code | more code
Wed, 18 Oct 2006, 16:32
hyruleknight
good idea, very good idea
Wed, 18 Oct 2006, 16:33
Stealth
Oh I see. That sucks. I just added made a account too! Stupid spammers.

-=-=-
Quit posting and try Google.
Thu, 19 Oct 2006, 17:10
HoboBen
Wahey, up again.

No longer must I re-upload profiles by hand! Auto-updaters! Yay!

-=-=-
blog | work | code | more code
Thu, 19 Oct 2006, 19:14
hyruleknight
sweet, it is always good to have auto stuff whenever you can

-=-=-
i like green haired girls...
Sat, 21 Oct 2006, 21:42
oscar
that's why mysql is good... ... sql queries = fun


the only thing i had trouble with was it took me a good 5 minutes to figure out howto edit my profile :\

it also appears that editing it didn't acutally change my profile
Sun, 22 Oct 2006, 04:30
HoboBen
I'm going to make the editing thing clearer, and possibly have sessions, so repeated log-ins are not needed.

At that last point about editing doing nothing - did you use the correct password? Did you see any errors about one of your text fields being too small/big?

-=-=-
blog | work | code | more code