MySpace Electropunk Div Overlay 1.0

MySpace Electropunk Div Overlay 1.0

Warning If you are fairly computer-illiterate and don’t know Photoshop from the place that develops your prints on the corner, move on immediately. Implementing this layout requires advanced web design skills. It is offered with no technical support. Requests for help will be immediately deleted.

It amazes me how utterly stupid the vast majority of MySpace users are. It doesn’t surprise me why Newsvine creator Mike Davidson turned off comments on his post on MySpace development: the users don’t read, they’re generally only half-literate, irresponsible and have no care for what’s being developed for their eventual benefit. Yes. I went there.

After spending hours writing The web designer’s guide to MySpace, MySpacers gladly took the code I had written and formed it into all sorts of overlays including making their own from scratch using the tutorials, learning (or leveraging their existing) XHTML, CSS and graphic design skills required to build much better-looking layouts for a social network plagued by gross negligence of usability and web design skills. To continually evolve my own skills and “brand” within the MySpace sphere, I developed another design for my profile, a grey, white and pink design that felt MySpace-y and pretentious, added some equally pretentious, self-parodying copy, and released it live to the world. At its inception, the profile even played Panic! at the Disco. It was really MySpace, and that was exactly what I wanted it to be.

It didn’t take long, however, to notice that many teenage MySpace users really liked my code; with 14,995 views of the profile as of 16 February, a few decided that it wasn’t worth attempting to build their own: instead, they’d just plagiarise the one I had built exclusively for myself. Of course, most of these plagiarists, with their limited ability to use Photoshop or other such tools, ended up with horribly hacked-up versions of the original code, complete with pixellated images and aliased text. Since they didn’t bother to copy over the images, instead leeching them off of my own server, I was able to have a little fun with a few of the plagiarists. After sending them a few nasty messages, most of them complied and took down the fully-copyrighted MySpace profile code I had written.

I was angry. I was confused. How could people be so stupid? How could people take the work of someone else and write it off as their own? In some of the cases, I found myself wondering why I had ever developed a div overlay guide for MySpacers at all. I secretly wanted the social network to die.

Forgetting the wrongs

Of course, as much as I generally hate a fair amount of the MySpace community, I’m willing to give them another chance. Some six months after its development, I’m releasing my old design to the MySpace community as promised, just like I do with all of my public designs. No worries about plagiarism now: I’ve relicenced the code under a Creative Commons By-Nc-Sa 2.5 Licence, so it’s absolutely free and distributable for personal use. All I ask in return is that you link back to hyalineskies within your profile or your MySpace blog.

Not for the faint of heart

Once again, let me warn everyone that is downloading this: customising this layout will require skills in Photoshop as well as general knowledge of HTML. This div overlay, much like my last one, is not a copy-and-paste job; instead, it will work the best and be the coolest if you spend some time customizing it and slicing images properly. If you are new to MySpace DIV overlays, read the guide before you continue: it will save you literally hours of time and frustration.

First, you’re going to need some creative assets, the media that you want to display visually (or aurally, in the case of audio) on your blog. This includes all of the text that you want the profile to display, as well as a photo of yourself (preferably high-res and good for cropping to an extreme horizontal) and an MP3 audio file that you’d like to play (if you want to use the audio player.) If you want to maintain the same typography used in the stock template, you’ll need Helvetica Neue (which is unfortunately not free) and Jason Kottke’s awesome pixel font Silkscreen.

On a more development-oriented plane, if you plan on using the Flash-based RSS widget, you’ll also need to know where your blog places its RSS feeds. If it’s not obvious, you’ll also need publicly-accessible web space to upload all of the files to. You’ll also need to make sure you implement a Flash cross-domain policy to get the RSS widget to work properly, something I explained in detail in this article.

Getting Started: Customizing the Visual Design

Once all of this has been collected, you’ll need to edit layout.psd for images, html.html for your text and to get your links to work and playlist.xml for your audio player to properly function. Once you have your images, you’ll want to inspect some of the stock image slices and figure out how your own image should fit into it. photo.jpg gives a quick container reference to how you should crop your image; you should also attempt to slice the PSD to the same dimensions (or just edit photo.jpg if you aren’t worried about image integrity, placing your image over the green area.) The image area is marked within layout.psd as its own layer; simply crop your image to the proper dimensions and place it within the layer. Since I don’t ever use the Photoshop slice tool, you’ll need to manually slice your images to get the desired effect. Simply overwrite photo.jpg with your own.

If you want to change the background image to display your name or your own tagline, simply edit the respective text layers in Photoshop, turn off all upper layers so you simply have the text and background displayed, and then Flatten the visible layers using the Layers -> Merge Visible menu option (Apple+E on the Mac, Ctrl+E on the PC.) Using the rectangular marquee tool, start at x: 0 y: 0, crop to a dimension of 800x840, and then use the Save for Web option to overwrite main_back.gif. (Also, as an easter egg: If you’re a really experienced graphic designer, there’s a blood-red background option sitting below the grey; note that you’ll have to change a few CSS values to convert the pink to something higher contrast to use this option instead.)

Once you’re done with that, you’ll need to make up to six friend images. Examples are included in the template as a guide; you’ll need to slice down to 200x50 and save with appropriate filenames.

Customising the HTML, CSS and XML

You really don’t need to know how to write a whole lot of HTML from scratch to perform this part of the customisation; instead, you just need a firm grasp on Find/Replace and reading HTML comments to know what to place where. First, add in your text for About Me, Who I’d Like to Meet, Comment Guidelines, Music and Stats in the proper locations; all of them are marked with inline HTML comments (which look like <!-- -->). Once you’ve added your copy, you can go through and simply replace the other fields with Find/Replace. All necessary, user-replaceable URLs/fields are between hash (#) glyphs; for example, #FriendID# means that you need to replace that section (including the hashes) with your Friend ID. Below is a list of all field codes used that need user replacing.

  • #friendID# Your friend ID (for example, mine is 16608804). If you don’t know your friend ID, this tool will retrieve it for you.
  • #YourURI# The URI to which all of your images, .swf files and MP3 file are in. This is on a remote server someplace.
  • #rssURI# The URI to the RSS feed you want the blog reader to reference.
  • #blogURI# The URI of the blog’s publicly-accessible page that you are pulling #rssURI# from.
  • #photosURI# A URI to a place where more photos of you are kept. This can be your MySpace “View more Pics” URI or something off-site, such as Flickr.
  • #Filename# The filename of your MP3 file. This only appears in playlist.xml.
  • #friendImageName[Number]# URIs to your friends. You’ll need to change these to correspond with the friend images you made above. An example is included (that links to my profile) in html.html.

Once you’re done with that, open css.css and do a Find/Replace on #YourURI#, replacing it with the URI where you are hosting all of your images.

To edit the XML, simply open playlist.xml and edit out the URL, Song Creator, and Song Title with the respective MP3 URI and song details. If you need help writing this format, check out this part of the guide.

Once you’re done, check through your code to make sure you closed any new HTML/XML tags and replaced all fields with their proper values.

Uploading the final overlay

If you haven’t been using a div overlay previously, delete all existing user comments and profile data from your MySpace profile. This data will break the div overlay and allow some things to show from underneath, so the more you can get rid of the better. To keep user comments from appearing and breaking your overlay, turn on Comment Approval under Profile Options. Don’t really ever approve the comments for use on the page; doing so can break the overlay. Some users have found workarounds documented in the comments on this article.

You’ll then need to upload your MP3 file and all images (except the PSD) to the directory you specified in the XML and CSS above on your web server. If you don’t do this, you’ll notice that your profile is oddly blank and may have a few broken images.

Once you’re done with that, copy all of the contents from css.css to your About Me section and your edited html.html to the Who I’d like to meet section. Save your profile and test everything. If something isn’t displaying right, make sure that you properly edited the files and that everything is uploaded to the location where you specified it. If your RSS reader doesn’t seem to be functioning, make sure that you have a cross-domain policy named crossdomain.xml in your server root (/) where you uploaded your files. If you’re absolutely convinced that it’s my error and have checked everything above, e-mail me and I’ll do what I can to help. 99% of the errors that occur on implementing this overlay are due to field replacement errors in css.css or html.html.

If everything works as planned, you should have something that looks relatively similar to this screenshot over on Flickr; if it doesn’t and the layout appears horribly misaligned or broken, re-download the files from the server and start over if you aren’t good at debugging HTML and CSS; if you are, make sure that you didn’t edit the CSS in any drastic ways and closed any HTML tags you added to the layout.

Once you’ve got all of this under control, voila! You’ve successfully built an immensely cool new div overlay. If you’ve made some really drastic edits to it, feel free to post your modifications in the comments below (including a link to the code) for others to use.

Article Abstract

Posted 19 February 2007. Approx. 1,907 words.

Another MySpace div overlay built for advanced XHTML/CSS geeks. Includes all HTML, CSS, and the original PSD.

Download Information

Download MySpace Electropunk Div Overlay 1.0

The "Electropunk" advanced DIV overlay for MySpace, Version 1.0. (854.1KB, ZIP)

Comments

Comments RSS Feed for “this post”

I think the real kicker is to design a template for VIRB, since it’s so “underground” and new that not too many people know about it… but what you have designed is something I’d like to use/see.

Nice work on this asset. I’ve neglected my MySpace profile that was designed to help people create div overlays, but I created a few resources before getting too busy with other projects. I am going to add a few of your posts here as quality resources for aspiring layout designers.

thanks for making your efforts widely available.

it sucks to know people will steal whatever they think they can get away with.

Nice work again Eston and thanks for sharing. I particularly like your new profile, it really emphasize your design talent.

“If you want to maintain the same typography used in the stock template, you’ll need Helvetica Neue (which is unfortunately not free)…”

helvetica neue is available in fontbook on the mac. am i misunderstanding something here?

twerkolator,

I’m pretty sure its not included in Windows. But you’re right - us Mac users have it :).

Hey I wanted to use this for my myspace displaying my photography to possibly promote business for me. Would I be able to still use this even though the license said not to use for commercial use? thanks.
Awesome div btw!

Great tutotrial and tips…awesome DIV

I tried it out myself and ran into a few “problems” one…I wanted to change the background color to black, which worked except I keep getting the grey color at the bottom of the screen and cant seem to get it to be black no matter what i change.
secondly…works great in firefox and netscape, but both safari ( my main browser) and IE it still shows the left hand side of my original myspace page…

anyone got any tips??

Thanks for all your work man!! And thanks to all in advance for any help!
-charlie

Ok I figured out the second part with the browsers…just had to move it over a bit and extend it a bit…still cant figure out how to get rid of the underlying grey at the bottom of the page since i colored the background pic black

I haven’t tried the layout yet, but my guess from previous overlay experience is that you have some big photos or comments that extend the page wider or taller than the overlay.

Try it.

I would just like to say on behalf of people trying to better their skills and truly appreciate the work you’ve done: I’m sorry that the MySpace idiots are representing the rest of us.

I implore you: please don’t throw the rest of us out with the bath water!

I admire you.

Gorgeous!! I love it. I might try not to be intimidated and see what I can do with it.

http://www.myspace.com/groovychick_com

First off, thanks for the great job. I am not exactly a noob on the computer and can figure things out given enough time, but I finished my profile in a day thanks to you. I hope you can check it out here.

Let me know what you think as this is my first div overlay. Many thanks.

You are so awesome Eston.

Look what I did here.

Thanks a lot :D :) :-*

This is great Eston! Alot of people will (are?) love(ing) this.

Here is mine: http://profile.myspace.com/index.cfm?fuseaction=user.viewprofile&friendid=140940928

Just wanted to take a second and say:
Nice job!
Thanks for your in depth explanations and hard work!
I’m still too new at html and web design to go into great explorations with my page, but what you’ve posted is awesome, and very accurate. I know that when I feel a bit more comfortable with everything, your page will be the first I turn to!
Thanks a lot!

Thanks a lot for your design.
It’s on my myspace….
http://www.myspace.com/lesebsurmyspace

Cool man, thanks. =]

Small problem, for some reason I cannot for the life of me edit the pink font color.

I’ve dug through the CSS sheet and found something, it only changed a few links…odd.

I’ve experimented on other color tags, yet no luck =/ I’m lost on what line I need to edit to change that pink to a different one.

Any help is appreciated. =]

You have a classic coder/hackers view of the internet. While you understand the math, you understand the way power of internet culture the way my grandma understands rocket science. You talk about tens of thousands of teenagers visiting your site and copying your code and all you can do is mess with them - that why you live in a mediocre apartment and Tom from MySpace live in a diamond encrusted castle on the moon ;)

Get with the Zeitghosts

I have an extensive knowledge of XML, CSS, HTML, and such but I am by no means anywhere near being an expert. I’ve got my own HTML and CSS that when I try to put it in Myspace it completely goes way out of whack. Is this because Myspace’s use of tables, my lack of experience, or I postioned all my divs relatively? If you have time to look at my code it is here http://www.freewebs.com/insaneantics/myspace.html
I’ve taken a look at this package and if I can’t solve mine. I think I just go through and personalize this one. Thanks a lot. Great job.

I would also like to say thanks. Genuinely, and not just as a veiled excuse to show off my own profile. Although of course I’m doing that too!

Your tutorial was the one that gave me the inspiration and essentials. I just wish I had the same cool control of code that you do!

DUDE… dope ass layout… i edited it in PSD and its looking crazy BANANAS dude!

http://img170.imageshack.us/img170/9956/joeysmyspacelayoutpq0.jpg

The only issue I am having is slicing it so that I can use it in HTML and CSS… Im not sure how to slice the comment box , the flash and the text stuff so that myspace wouldn’t read those as images… if anyone would like to help me drop me a line… please..

http://www.myspace.com/pumatalk

Thanks,
-JOEY

I redisigned the layout and it looks ok but i still dont get the URI part. Where am i supposed to put the files?
help pleez

Very nice .. thanks a lot

Thanks Eston, I learned a lot :) Check mine out.

Jessica

we are web designer based india , we design myspace for one of our clinet. We want to knnow how to display frd & comments with this div overlay layout. If you could help us we will highly appreciate ..

Thanks

yo juggy

there’s no way to display comments with a css layout on the mainpage itself. The only possibility is to hide comments on the main page (so it won’t mess up your layout) with this code :

table.friendscomments { display: none; }

then put this one at the end of your comment form :

View All
(you gotta replace #yourid by your own friendid)

Thanks to http://5thirtyone.com , Eston off course ! and random searchs for the display none trick !
Hope it will help !

Actually you can…I did it on mine, you can check mine out to see if that’s what you’re talking about. The post to how it’s done was on this site before but looks like it’s been removed. Anyways, this guy posted it awhile back and it’s where I got my help from, check it out…

http://www.myspace.com/mahspak1

http://www.myspace.com/jessicarabbit_22

I have got friends and comments displayed on this layout…. but it drops the right hand side content and im not sure how to get it back!!!

Sorted it finally…

Check http://www.myspace.com/bowlersreunion

I am part of a design studio, and I was wondering if I could use this flash music player on a non-paid (website) job? Please email me your response.

goood job, thanks a lot

So how do you fix it so that when the site is viewed in IE that you don’t see the old myspace page sticking out on the sides? It works fine in FF.

I just watched the documentary ‘Helvetica’ and noticed a quick flash of your myspace design when they are talking about populist typography trends. Pretty rad. Thanks for the tutorials.

First, I’d like to say this tutorial is most excellent! Through some trial and error I was able to overhaul my website myspace page.

But, how do you edit the code once it’s in place? Say if I wanted to change it. Right now I can use the back button and get back to the code, but after I close my browser, whenever I try and edit it the overlay blocks all the edit functions.

Dude, you deserve a Barrett 82A1/M107, cause you PWN. I have my own server, and thanks to you, i have anti-leech set up, and thanks to this (tutorial? lol) i can make my own. thank god i pwn in photoshop =) and dreamweaver xD

I’ve been doing myspace pages for people for some time now and I still haven’t figured out how to style comments the right way. And by that I mean have full control. Your comments look nice and tight. Can you drop some knowledge on the subject. I’m about to take on an 8 ms page project and I could use the help. Thanks in advance.

Yea John don’t feel bad. I made the comment box on my page (actually just edited it) and I hate that it doesn’t size right for images and it seems to repeat text!http://www.myspace.com/wnymusicbands

Hi!cjuh! http://pgyxbetf.com nubwy vtekl

Write Your Own Comment

To preserve legitimate discussion, please use your real name and email address.
Your email address will not be published. Derogatory comments will be deleted.

External Discussion

Displaying the only trackback.

101 Useful Web Developer and…
MySpace ElectroPunk Div…