I do not have time to troubleshoot people's code. (Hopefully I will again in the future).
I do not have much time to answer questions (but if it is a quick answer, that only takes me a few minutes, I will try to answer).
I really recommend the following site, for myspace customizing questions: Official Myspace Customizing Forum
That is the most reliable source, and the people I know who enjoy helping, and are quite good at it, tend to hang out there.

Sunday, March 15, 2009

myspace 2.0 show only last comment

Show only Last Comment in Myspace 2.0


I highly recommend upgrading to myspace 2.0. This task, and most others, are so much easier in myspace 2.0

Place the following code in the CSS area of Customize Profile:
{! show only most recent comment code by Eileen xiii.us !}
div.commentsModule div.moduleBody ul.moduleList li {display:none;}
div.commentsModule div.moduleBody ul.moduleList li:first-child {display:block}
.i {display:none;}
{! end code to show only most recent comment !}

If you found my code useful, you can help others who search for this solution in google, by adding the following block to your about me or interests area.
This will not show a visible link on your myspace page, it will only be visible to those who read your code.
<a class=i href="http://xiii.us/ms1/">myspace 2.0 show only last comment</a>


If you want to show fewer then 50 comments, but show more then one, it is a bit trickier.
Myspace removes any attempt to use the + within the css area, which would have been idea for this task.
IE does not recognize the nth child selector and most people use IE.

If you want to show X pixels worth of comments, that is easy.
This is still superior to the similar technique used in myspace 1.0 because we can really start measuring at the top of the actual comments, eliminating the need to know the height of anything above the actual comments.

The following code will show 200px worth of actual comments (not including any of the headers).
{! show fewer then 50 comments code by Eileen xiii.us !}
div.commentsModule div.moduleBody ul.moduleList {height:200px; overflow:hidden;}
.i {display:none;}
{! end code to show only most recent comment !}
Change the 200 to the px height of comments you want to show.

Saturday, March 14, 2009

myspace 2.0 friends in scroll box

MySpace 2.0 put Friends In Scroll Box



This is way easier then myspace 1.0, and you do not have to put friends and comments in the same scroll box.

To put ONLY the friends in a scroll box, use one of the following blocks of code.
One puts only the friends in, leaving out the header and links.

The others include the header and/or links.

Change the height value, to the height you want your scroll box.

The code goes into the css area:
{! Friends in Scroll Box Code by Eileen xiii.us !}
div.friendSpaceModule div.moduleBody ol.moduleList{
height:60px;
overflow:scroll;
overflow-x:hidden;}
{! end Friends in Scroll Box !}

If you want to include the " .. Has X Friend" and the links; inside the scroll box (instead of outside the scroll box) but do NOT want to include the section header
(the "Friend Space (Top X)")
Use this code:
{! Friends in Scroll Box Code by Eileen xiii.us !}
div.wrap div.friendSpaceModule div.moduleBody{
height:60px;
overflow:scroll;
overflow-x:hidden;}
{! end Friends in Scroll Box !}

If you want to include the Section header as well, inside the scroll box, use the following code instead:
{! Friends in Scroll Box Code by Eileen xiii.us !}
div.wrap div.friendSpaceModule {
height:60px;
overflow:scroll;
overflow-x:hidden;}
{! end Friends in Scroll Box !}

If you found my code useful, you can help me by adding the following block to your about me or interests area.
This will not show a visible link on your myspace page, it will only be visible to those who read your code.
<a class=i href="http://xiii.us/ms1/">myspace 2.0 friends in scroll box</a>

mySpace 2.0 put comments in scroll box

myspace 2.0 comments in scroll box


I highly recommend upgrading to myspace 2.0, it is MUCH easier to customize than myspace 1.0.

I only want to scroll the actual comments, not the header, or the text that says "displaying X of Y comments" or the "View All" and "Add Comment" link.

Put the code into the CSS area.
{! Scroll Comments code by Eileen xiii.us !}
div.commentsModule div.moduleBody ul.moduleList {
height:60px;
overflow:scroll;
overflow-x:hidden;}
div.wrap .i {display:none;}
{! END Scroll Comments code !}
Change the 60 to the height you want to use for your scroll box

If you want to put the "displaying X of Y comments" and the "View All" and "Add Comment" links in your scroll box, then use the following:Put the code into the CSS area.
{! Scroll Comments code by Eileen xiii.us !}
div.wrap div.commentsModule div.moduleBody {
height:60px;
overflow:scroll;
overflow-x:hidden;}
div.wrap .i {display:none;}
{! END Scroll Comments code !}
Change the 60 to the height you want to use for your scroll box

If you want to include the Comments header as well, then use the following code:
{! Scroll Comments code by Eileen xiii.us !}
div.wrap div.commentsModule {
height:60px;
overflow:scroll;
overflow-x:hidden;}
div.wrap .i {display:none;}
{! END Scroll Comments code !}
Change the 60 to the height you want to use for your scroll box

If you found my code useful, you can help me by adding the following block to your about me or interests area.
This will not show a visible link on your myspace page, it will only be visible to those who read your code.
<a class=i href="http://xiii.us/ms1/">myspace 2.0 comments in scroll box</a>