Facemash. Yes the website in "The social network."
40 replies, posted
[release][h2]Facemash[/h2][/release]
[release][b]What is facemash?[/b][/release]
[release]
Facemash was a real website developed by facebook developer "Mark Zuckerberg".
In the film "The Social Network" it tells us a bit more about the website and why
it was originally setup.
Facemash was "Mark Zuckerberg's" idea of a troll if you put it that way. He hacked into
the Harvard computers to download pictures of female students. He then put it on a site
where two different girls are put up against each other and a visitor to the site votes on who's hotter
[/release]
[release][h2]"Come on Adam, get to the point!"[/h2][/release]
[release]
So, I have developed my own version of the site. I tried it out with a few pictures and my friends appeared to find it amusing
and addictive even though I had a lack of pictures.
[/release]
[b]The download can be found[/b] [url= http://213.229.78.213/~chavmash/facemash.zip]here[/url]
[release][h2]The installation guide[/h2][/release]
I am tired so this tutorial will be a little small. I will probably edit it in the morning.
1. First upload the zip file to a webspace and then extract the zip file.
2. Go to mysql.php and fill in your SQL details. Make sure the database exist first and once you have created the database. Run this SQL script:
[code]
CREATE TABLE IF NOT EXISTS `battles` (
`battle_id` bigint(20) unsigned NOT NULL auto_increment,
`winner` bigint(20) unsigned NOT NULL,
`loser` bigint(20) unsigned NOT NULL,
PRIMARY KEY (`battle_id`),
KEY `winner` (`winner`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;
CREATE TABLE IF NOT EXISTS `images` (
`image_id` bigint(20) unsigned NOT NULL auto_increment,
`filename` varchar(255) NOT NULL,
`score` int(10) unsigned NOT NULL default '1500',
`wins` int(10) unsigned NOT NULL default '0',
`losses` int(10) unsigned NOT NULL default '0',
PRIMARY KEY (`image_id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;
[/code]
3. Go to index.php and go to line 49 and 52.
Change where on both lines where it says [code]<img src="http://yourdomain.com/images[/code]
To where your image are saved. I recommend making a folder called images in your public_html directory to make it simple.
You will also need to go to line 73 and once again do the same thing.
Your almost there, now upload all the images you want in the image directory. Then go to
[url]http://yourdomain.com/install_images.php[/url]
You should then see the message "finished installing your images!"
Check your installation and you should now have your own fully functioning facemash. I would also recommed deleting install_images.php so that people can't duplicate entries. If you would like to add new images then you will need to truncate your database to prevent it making two different lines in the SQL tables.
Any issues, leave a message here.
And also, feedback would be nice.
Wait what why can't you host it yourself?
[QUOTE=TerabyteS_;31375725]Wait what why can't you host it yourself?[/QUOTE]
I don't fully understand what you mean?
I am releasing it for others to see my work and use it for whatever they want.
I don't really think this would have any use to anyone. And what if I wanted to see it in action? Do I really have to download it and set it up myself? I think nobody would go through that.
There maybe someone who will want to try it. I didn't make this to help anyone. It is a project that I did out of boredom. I will set it up now on my local webserver with a few pictures.
[editline]28th July 2011[/editline]
Here is what it looks like. I only put two people up: [url]http://213.229.78.213/~chavmash/[/url]
[editline]28th July 2011[/editline]
Yes and I do know when you click on a picture it takes you to a default cpanel page but that is because there is no domain setup. Just ignore it. On a server with a domain or sub domain it works perfectley.
[QUOTE=SL1CHAOS;31375873]
Here is what it looks like. I only put two people up: [url]http://213.229.78.213/~chavmash/[/url][/QUOTE]
Join link, see this:
[img]http://i55.tinypic.com/jkd3sw.png[/img]
Yeah, I thought of two random people that are similar to give the real affect!
I don't think people would download something to look at pics of other people
It can't be hard to have a php image upload system or something which would be easier for the users
That wasn't the idea really, the idea was that I wanted to make a re-make of it. I am merely showing my work. Not forcing people to use it. I don't even use it myself. I created it out of boredom. I doubt people will use it but if they want. Why the hell not? Let them. By me adding an upload system it would be nothing like the original facemash and that's what I tried to aim at creating.
[QUOTE=SL1CHAOS;31385172]That wasn't the idea really, the idea was that I wanted to make a re-make of it. I am merely showing my work. Not forcing people to use it. I don't even use it myself. I created it out of boredom. I doubt people will use it but if they want. Why the hell not? Let them. By me adding an upload system it would be nothing like the original facemash and that's what I tried to aim at creating.[/QUOTE]Put it on github so we can fork it
Fork it?
Sorry could you explain what you mean by that.
[url]www.github.com[/url]
Check it out, make your account and upload the source code there.
When did you make this?
Won: 86 Won: 32
Lost: 33 Lost: 85
so 86 = 85 and 33 = 32 now?
[editline]28th July 2011[/editline]
[url]http://213.229.78.213/~chavmash/rate.php?winner=1&loser=1[/url]
[editline]28th July 2011[/editline]
[url]http://213.229.78.213/~chavmash/rate.php?winner=2&loser=2[/url]
[QUOTE=anton;31390189]When did you make this?[/QUOTE]
About 1 week ago, it took me around 3 hours then I just decided to release it this wek.
[QUOTE=SL1CHAOS;31392615]About 1 week ago, it took me around 3 hours then I just decided to release it this wek.[/QUOTE]
Funny, because I used this exact thing months ago. I mean literally, the exact thing. You stole this from someone else.
I actually didn't, I made this myself.
[QUOTE=SL1CHAOS;31397126]I actually didn't, I made this myself.[/QUOTE]You have to prove it.
anton, you too.
No, I mean the code is the exact same. I was hired to make a Facemash clone but they found one already made (the one in OP) back in December iirc
I'll get in touch with the person and check again
[editline]28th July 2011[/editline]
Or they just happen to operate the exact same way, use the same HTML and CSS and display things exactly the same
I actually looked a bit (googled, as what I am trying to say) and it's the Facemash-alike source code.
The original creator of the Facemash clone is Anders Moefelt and he's to be found here prior to December 5, 2010:[URL]http://forums.digitalpoint.com/showthread.php?t=1957080[/URL]
EDIT: Why is your account suspended? Are you trying to hide the fact that you're stealing another person's creation without his consent.
If you are talking about this then you are wrong: [url]http://facemash.moefelt.dk/[/url]
It's similar but different, I have everyones ratings under the top rated images. The only think that looks almost identical in my work and his work is functions.php and rate.php.
As for my account being suspended that is because it was some old web space that was running out tomorrow. I had transfered my domain to another host so I thought I'd use the space for the time being.
If you want to sit here and waste your time claiming I stole this, then go ahead I don't really mind. I know that I created this and my friends were there when I created it. I asked for opinions on the work and just because my work looks similar to someone elses even when we are basically watching a film and copying the idea from there.
Oh another thing I noticed. He also has an "or" between the pictures and the pictures are also labeled with a link to there modellers profile.
[QUOTE=SL1CHAOS;31404360]If you are talking about this then you are wrong: [url]http://facemash.moefelt.dk/[/url]
[/QUOTE]
Messed about with that site for a while.
[img]http://i.imgur.com/aXRNx.png[/img]
hummm.....
I created a facemash clone, it only works in Denmark though, because it uses this system universal to all schools. So basically you don't need to download all the pictures, it does that for you.. smart...
I made a same script, not so advanced, just for fun.
You can modify it to your needs. I hosted it as a car comparing site, but it can be used for everything. Right now the host took it down so no luck...
is it possible to get in trouble with making a facemash if you are getting the photos off of facebook friends?? I'm a high school student..
[QUOTE=BMose24;32848118]is it possible to get in trouble with making a facemash if you are getting the photos off of facebook friends?? I'm a high school student..[/QUOTE]
You should read the facebook privacy.
[editline]18th October 2011[/editline]
And, you're a minor. Probably shouldn't try it
what would it matter whether i was a minor or not. i don't see any trouble with it to be honest. everything on facebook is public so i dont know how it could be any type of charge. thanks
Just because you can see it that doesn't make it public. Log out and check then.
i see what you're saying. i've finished my own facesmash already im just waiting to make it public but am insecure as to posting it because of getting in trouble. i really cant tell if its worth it or not. if there were consequences, how severe could the really be?
[QUOTE=BMose24;32849730]i see what you're saying. i've finished my own facesmash already im just waiting to make it public but am insecure as to posting it because of getting in trouble. i really cant tell if its worth it or not. if there were consequences, how severe could the really be?[/QUOTE]
25 years in Buttfuck Penitentiary, Ohio.
If you're using images taken from Facebook, you're already in trouble. You have zero usage rights for them (I think, not sure what the API let's you get away with).
Sorry, you need to Log In to post a reply to this thread.