logiblocs wrote:
bobbybee wrote:
logiblocs wrote:
If you have a heroku account please email me the email you used when you signed up -
I use a redirecting email (logiblocsatscratch@gmail.com).
For now I will put it up on github (without the user-names and passwords) and will tell you when I am doneMy email address has my real name in it...promise not to tell?
Of course - but you probably shouldn't trust me as part of esafety because you have no way of knowing who I am. (not saying I would be someone bad - you just have now way of knowing). So don't unless you are sure
EDIT:
What I mean is you should treat me just like you'd treat any other guy on the internet. I don't mean to be creepy or something. I hope you get what I mean.
Could we just move this to another web-host that isn't related to Heroku--you would be able to make a shared account. I can get a disposable email if I need to.
Offline
logiblocs wrote:
bobbybee wrote:
logiblocs wrote:
If you have a heroku account please email me the email you used when you signed up -
I use a redirecting email (logiblocsatscratch@gmail.com).
For now I will put it up on github (without the user-names and passwords) and will tell you when I am doneMy email address has my real name in it...promise not to tell?
Of course - but you probably shouldn't trust me as part of esafety because you have no way of knowing who I am. (not saying I would be someone bad - you just have now way of knowing). So don't unless you are sure
EDIT:
What I mean is you should treat me just like you'd treat any other guy on the internet. I don't mean to be creepy or something. I hope you get what I mean.
He should do what you did with me. Have a comment on an already second comment so only he would see
Offline
bobbybee wrote:
logiblocs wrote:
bobbybee wrote:
My email address has my real name in it...promise not to tell?
Of course - but you probably shouldn't trust me as part of esafety because you have no way of knowing who I am. (not saying I would be someone bad - you just have now way of knowing). So don't unless you are sure
EDIT:
What I mean is you should treat me just like you'd treat any other guy on the internet. I don't mean to be creepy or something. I hope you get what I mean.Could we just move this to another web-host that isn't related to Heroku--you would be able to make a shared account. I can get a disposable email if I need to.
Maybe sign up to heroku using a disposable email. I think heroku works well for what it is and I don't know any other good RoR hosts that use git. I think heroku is unique. For the time being I can zip you the code if thats what you want.
EDIT:
Actually I will do it tommorow. I have to get of my computer
Last edited by logiblocs (2012-03-03 15:02:57)
Offline
MaxFlyboy wrote:
logiblocs wrote:
bobbybee wrote:
My email address has my real name in it...promise not to tell?
Of course - but you probably shouldn't trust me as part of esafety because you have no way of knowing who I am. (not saying I would be someone bad - you just have now way of knowing). So don't unless you are sure
EDIT:
What I mean is you should treat me just like you'd treat any other guy on the internet. I don't mean to be creepy or something. I hope you get what I mean.He should do what you did with me. Have a comment on an already second comment so only he would see
I need his email to add him to heroku.
Offline
logiblocs wrote:
bobbybee wrote:
logiblocs wrote:
Of course - but you probably shouldn't trust me as part of esafety because you have no way of knowing who I am. (not saying I would be someone bad - you just have now way of knowing). So don't unless you are sure
EDIT:
What I mean is you should treat me just like you'd treat any other guy on the internet. I don't mean to be creepy or something. I hope you get what I mean.Could we just move this to another web-host that isn't related to Heroku--you would be able to make a shared account. I can get a disposable email if I need to.
Maybe sign up to heroku using a disposable email. I think heroku works well for what it is and I don't know any other good RoR hosts that use git. I think heroku is unique. For the time being I can zip you the code if thats what you want.
I suppose that would be best. I'm also working on a port of the front-page--just PHP rather than Ruby. We could compare them when we're done.
Offline
bobbybee wrote:
logiblocs wrote:
bobbybee wrote:
Could we just move this to another web-host that isn't related to Heroku--you would be able to make a shared account. I can get a disposable email if I need to.
Maybe sign up to heroku using a disposable email. I think heroku works well for what it is and I don't know any other good RoR hosts that use git. I think heroku is unique. For the time being I can zip you the code if thats what you want.
I suppose that would be best. I'm also working on a port of the front-page--just PHP rather than Ruby. We could compare them when we're done.
OK, but unless you have anything against rails you should probably work on the same project as me - one development effort.
Here is the code for the view file if you can work on that
app/views/main/index.html.erb
<div id = "container"> <h1>(The Other) Scratch Homepage</h1> <div id = "main"> <div class = "container"> <h3>Projects Suggested</h3> <% @projects.each do |project| %> <div class="thumb"> <a href="http://scratch.mit.edu/projects/<%= project.username %>/<%= project.scratchId %>"><img src="http://scratch.mit.edu/static/projects/<%= project.username %>/<%= project.scratchId %>_sm.png" title="<%= project.title %>" alt="<%= project.title %>" width="148" height="111"></a> <h6><a href="http://scratch.mit.edu/projects/<%= project.username %>/<%= project.scratchId %>"><%= project.title %></a></h6> <p>by <a href="http://scratch.mit.edu/users/<%= project.username %>"><%= project.username %></a></p> </div> <% end %> <p class="more"><a href="http://scratch.mit.edu/forums/viewtopic.php?id=91129">Suggest More</a> </p> </div> </div> <div id="sidebar"> <div id="somewhere_else"></div> <div class="sidecontainer"> <h4>What is this</h4> This is an alternative homepage to the <a href = "http://scratch.mit.edu">Scratch</a> homepage that aims to give projects that do not usualy get on the homepage another chance to get recoginised </div> </div>
indentation came out funny.
do is like foreach, btw
Last edited by logiblocs (2012-03-03 15:07:00)
Offline
logiblocs wrote:
bobbybee wrote:
logiblocs wrote:
Maybe sign up to heroku using a disposable email. I think heroku works well for what it is and I don't know any other good RoR hosts that use git. I think heroku is unique. For the time being I can zip you the code if thats what you want.I suppose that would be best. I'm also working on a port of the front-page--just PHP rather than Ruby. We could compare them when we're done.
OK, but unless you have anything against rails you should probably work on the same project as me - one development effort.
Here is the code for the view file if you can work on that
app/views/main/index.html.erbCode:
<div id = "container"> <h1>(The Other) Scratch Homepage</h1> <div id = "main"> <div class = "container"> <h3>Projects Suggested</h3> <% @projects.each do |project| %> <div class="thumb"> <a href="http://scratch.mit.edu/projects/<%= project.username %>/<%= project.scratchId %>"><img src="http://scratch.mit.edu/static/projects/<%= project.username %>/<%= project.scratchId %>_sm.png" title="<%= project.title %>" alt="<%= project.title %>" width="148" height="111"></a> <h6><a href="http://scratch.mit.edu/projects/<%= project.username %>/<%= project.scratchId %>"><%= project.title %></a></h6> <p>by <a href="http://scratch.mit.edu/users/<%= project.username %>"><%= project.username %></a></p> </div> <% end %> <p class="more"><a href="http://scratch.mit.edu/forums/viewtopic.php?id=91129">Suggest More</a> </p> </div> </div> <div id="sidebar"> <div id="somewhere_else"></div> <div class="sidecontainer"> <h4>What is this</h4> This is an alternative homepage to the <a href = "http://scratch.mit.edu">Scratch</a> homepage that aims to give projects that do not usualy get on the homepage another chance to get recoginised </div> </div>indentation came out funny.
do is like foreach, btw
It's not that I have anything against it, but I don't want to bother to learn it either. If it's the only reasonable option, I'll take the hour it requires to learn a scripting language these days.
Offline
You probably shouldn't straight-off learn rails - mvc does weird things to your head!
Maybe try to understand what I posted above and then just work on adding things to it.
<% @projects.each do |project| %> # loops through the projects putting them in the vairable project
<%= project.title %> prints the title ( the '=' means print )
<% end %> Guess
I use the scratch css file (cut down) and their images
The head, body and html is put in a different template.
Thats about all you need to know to help but if you are going to learn rails you'll see why I use it.
Offline
logiblocs wrote:
You probably shouldn't straight-off learn rails - mvc does weird things to your head!
Maybe try to understand what I posted above and then just work on adding things to it.
<% @projects.each do |project| %> # loops through the projects putting them in the vairable project
<%= project.title %> prints the title ( the '=' means print )
<% end %> Guess
I use the scratch css file (cut down) and their images
The head, body and html is put in a different template.
Thats about all you need to know to help but if you are going to learn rails you'll see why I use it.
I know MVC. I used it for some flash games (I've got a book on it I'm reading)
Offline
bobbybee wrote:
logiblocs wrote:
You probably shouldn't straight-off learn rails - mvc does weird things to your head!
Maybe try to understand what I posted above and then just work on adding things to it.
<% @projects.each do |project| %> # loops through the projects putting them in the vairable project
<%= project.title %> prints the title ( the '=' means print )
<% end %> Guess
I use the scratch css file (cut down) and their images
The head, body and html is put in a different template.
Thats about all you need to know to help but if you are going to learn rails you'll see why I use it.I know MVC. I used it for some flash games (I've got a book on it I'm reading)
I'd reccomend rails for zombies -free and pretty good for basics of rails. Apart from that I'd look on YouTube - there are some pretty good tutorials if you know what to search.
Rails for zombies does not go into setting it up or using the command line - you have to pay for what they call rails for zombies 2 - and no way am I forking $55 fpr something goigle gives me for free.
Offline
Yeah...I'm just gonna try something with PHP. I've gotten rather far--I have arrays that allow me to pick featured projects!
Offline
bobbybee wrote:
Yeah...I'm just gonna try something with PHP. I've gotten rather far--I have arrays that allow me to pick featured projects!
Great! Post your code.
Do you want to be a curator on the website as it stands right now?
Offline
I don't spend enough time on the site, though.
<html> <head> <link rel="stylesheet" href="http://scratch.mit.edu/css/global.css" type="text/css"></link> <link rel="stylesheet" href="http://scratch.mit.edu/css/thickbox.css" type="text/css"></link> <base href="http://scratch.mit.edu/"> </head> <body> <?php define("MAX_CHARACTERS_LINE", 15); $featuredProjectCreators = Array("bobbybee","Dinoclor","Magnie"); $featuredProjectIDs = Array("2358062","2339353","2234885"); $featuredProjectNames = Array("FireChat v1.1.0","How To Make A Strong Password That's Easy To Remember","Chat.PY"); $curatorName = "logiblocks"; $curatedProjectCreators = Array("bobbybee","Dinoclor","Magnie"); $curatedProjectIDs = Array("2358062","2339353","2234885"); $curatedProjectNames = Array("FireChat v1.1.0","How To Make A Strong Password That's Easy To Remember","Chat.PY"); ?> <!-- |||||| Begin content area ||||||| --> <div id="main"> <div id="FeaturedProjects" class="container"> <h3>Featured Projects</h3> <?php $i = 0; while($i < 3){ $truncatedName = $featuredProjectNames[$i]; if(strlen($truncatedName) > MAX_CHARACTERS_LINE){ $truncatedName = substr($truncatedName,0,MAX_CHARACTERS_LINE)."…"; } ?> <div class="thumb"> <a href="/projects/<?=$featuredProjectCreators[$i]?>/<?=$featuredProjectIDs[$i]?>"><img src="/static/projects/<?=$featuredProjectCreators[$i]?>/<?=$featuredProjectIDs[$i]?>_sm.png" title="<?=$featuredProjectNames[$i]?>" alt="<?=$featuredProjectNames[$i]?>" width="148" height="111"></a> <h6><a href="/projects/<?=$featuredProjectCreators[$i]?>/<?=$featuredProjectIDs[$i]?>"><?=$truncatedName?></a></h6> <p>by <a href="/users/<?=$featuredProjectCreators[$i]?>"><?=$featuredProjectCreators[$i]?></a> </p> </div> <?php $i++; } ?> <p class="more"><a href="/channel/featured">See more</a> </p> </div> <div id="Favorites" class="container"> <h3>Projects Selected by <?=$curatorName?></h3> <?php $i = 0; while($i < 3){ $truncatedName = $featuredProjectNames[$i]; if(strlen($truncatedName) > MAX_CHARACTERS_LINE){ $truncatedName = substr($truncatedName,0,MAX_CHARACTERS_LINE)."…"; } ?> <div class="thumb"> <a href="/projects/<?=$featuredProjectCreators[$i]?>/<?=$featuredProjectIDs[$i]?>"><img src="/static/projects/<?=$featuredProjectCreators[$i]?>/<?=$featuredProjectIDs[$i]?>_sm.png" title="<?=$featuredProjectNames[$i]?>" alt="<?=$featuredProjectNames[$i]?>" width="148" height="111"></a> <h6><a href="/projects/<?=$featuredProjectCreators[$i]?>/<?=$featuredProjectIDs[$i]?>"><?=$truncatedName?></a></h6> <p>by <a href="/users/<?=$featuredProjectCreators[$i]?>"><?=$featuredProjectCreators[$i]?></a> </p> </div> <?php $i++; } ?> <div class="thumb"> <a href="/projects/Dignified/2360731"><img src="/static/projects/Dignified/2360731_sm.png" title="3D Minecraft Terrain Builder 2! (200 views until update is published!)" alt="3D Minecraft Terrain Builder 2! (200 views until update is published!)" width="148" height="111"></a> <h6><a href="/projects/Dignified/2360731">3D Minecraft Te </a></h6> <p>by <a href="/users/Dignified">Dignified</a> </p> </div> <div class="thumb"> <a href="/projects/bfn1/2358969"><img src="/static/projects/bfn1/2358969_sm.png" title="checkers v1" alt="checkers v1" width="148" height="111"></a> <h6><a href="/projects/bfn1/2358969">checkers v1</a></h6> <p>by <a href="/users/bfn1">bfn1</a> </p> </div> <div class="thumb"> <a href="/projects/Overlord9/2294272"><img src="/static/projects/Overlord9/2294272_sm.png" title="Cosmica" alt="Cosmica" width="148" height="111"></a> <h6><a href="/projects/Overlord9/2294272">Cosmica</a></h6> <p>by <a href="/users/Overlord9">Overlord9</a> </p> </div> <p class="more"><a href="http://info.scratch.mit.edu/Become_a_Scratch_Curator">Learn more</a> </p> <!--p class="more"><a href="http://scratch.mit.edu/galleries/view/130460">See more</a> </p//--> </div> <!---clubed: Array //--> <div id="ClubedProjects" class="container"> <h3>Projects from Scratch Design Studio</h3> <div class="thumb"> <a href="/projects/technoboy10/1893311"><img src="/static/projects/technoboy10/1893311_sm.png" title="claw" alt="claw" width="148" height="111"></a> <h6><a href="/projects/technoboy10/1893311">claw</a></h6> <p>by <a href="/users/technoboy10">technoboy10</a> </p> </div> <div class="thumb"> <a href="/projects/farritor/2346814"><img src="/static/projects/farritor/2346814_sm.png" title="high-striker" alt="high-striker" width="148" height="111"></a> <h6><a href="/projects/farritor/2346814">high-striker</a></h6> <p>by <a href="/users/farritor">farritor</a> </p> </div> <div class="thumb"> <a href="/projects/Houchdj/2349931"><img src="/static/projects/Houchdj/2349931_sm.png" title="The StickComputer carnival games" alt="The StickComputer carnival games" width="148" height="111"></a> <h6><a href="/projects/Houchdj/2349931">The StickComput </a></h6> <p>by <a href="/users/Houchdj">Houchdj</a> </p> </div> <p class="more"><a href="/galleries/view/154147">See more</a> </p> </div> <div id="TopRemixedLately" class="container"> <h3>What the Community is Remixing</h3> <div class="thumb"> <a href="/projects/xXpunkbunnyXx/2355803"><img src="/static/projects/xXpunkbunnyXx/2355803_sm.png" title="DJ girl coloring contest" alt="DJ girl coloring contest" width="148" height="111"></a> <h6><a href="/projects/xXpunkbunnyXx/2355803">DJ girl colorin </a></h6> <p>by <a href="/users/xXpunkbunnyXx">xXpunkbunnyXx</a> </p> </div> <div class="thumb"> <a href="/projects/sara-princess/2355467"><img src="/static/projects/sara-princess/2355467_sm.png" title="Coloring contest by sara-princess" alt="Coloring contest by sara-princess" width="148" height="111"></a> <h6><a href="/projects/sara-princess/2355467">Coloring contes </a></h6> <p>by <a href="/users/sara-princess">sara-princess</a> </p> </div> <div class="thumb"> <a href="/projects/AlexamonSpace/2355024"><img src="/static/projects/AlexamonSpace/2355024_sm.png" title="Make an iPhone App" alt="Make an iPhone App" width="148" height="111"></a> <h6><a href="/projects/AlexamonSpace/2355024">Make an iPhone App</a></h6> <p>by <a href="/users/AlexamonSpace">AlexamonSpace</a> </p> </div> <p class="more"><a href="/latest/remixed">See more</a> </p> </div> <!-- <div id="SurpriseProjects" class="container"> <h3> <p class="more"><a href="/channel/surprise">See more</a> </p> </div> //--> <div id="TopLovedLately" class="container"> <h3>What the Community is Loving</h3> <div class="thumb"> <a href="/projects/Caramellstar51/2352365"><img src="/static/projects/Caramellstar51/2352365_sm.png" title="Girls vs. Motorcycles." alt="Girls vs. Motorcycles." width="148" height="111"></a> <h6><a href="/projects/Caramellstar51/2352365">Girls vs. Motor </a></h6> <p>by <a href="/users/Caramellstar51">Caramellstar51</a> </p> </div> <div class="thumb"> <a href="/projects/scratchU8/2360763"><img src="/static/projects/scratchU8/2360763_sm.png" title="Randomynessers 4" alt="Randomynessers 4" width="148" height="111"></a> <h6><a href="/projects/scratchU8/2360763">Randomynessers 4</a></h6> <p>by <a href="/users/scratchU8">scratchU8</a> </p> </div> <div class="thumb"> <a href="/projects/Lucario621/2349706"><img src="/static/projects/Lucario621/2349706_sm.png" title="Balloon Maker!" alt="Balloon Maker!" width="148" height="111"></a> <h6><a href="/projects/Lucario621/2349706">Balloon Maker!</a></h6> <p>by <a href="/users/Lucario621">Lucario621</a> </p> </div> <p class="more"><a href="/latest/toploved">See more</a> </p> </div> <!-- <div class="container" id=TopDownloadedLately"> <h3> </div> //--> <div id="TopViewedLately" class="container"> <h3>What the Community is Viewing</h3> <div class="thumb"> <a href="/projects/cspy/2364742"><img src="/static/projects/cspy/2364742_sm.png" title="skee-ball 2.0" alt="skee-ball 2.0" width="148" height="111"></a> <h6><a href="/projects/cspy/2364742">skee-ball 2.0</a></h6> <p>by <a href="/users/cspy">cspy</a> </p> </div> <div class="thumb"> <a href="/projects/TM_/2366039"><img src="/static/projects/TM_/2366039_sm.png" title="GAME OF MARCH!" alt="GAME OF MARCH!" width="148" height="111"></a> <h6><a href="/projects/TM_/2366039">GAME OF MARCH!</a></h6> <p>by <a href="/users/TM_">TM_</a> </p> </div> <div class="thumb"> <a href="/projects/richjones69/2364384"><img src="/static/projects/richjones69/2364384_sm.png" title="Slot Horse Racing" alt="Slot Horse Racing" width="148" height="111"></a> <h6><a href="/projects/richjones69/2364384">Slot Horse Racing</a></h6> <p>by <a href="/users/richjones69">richjones69</a> </p> </div> <p class="more"><a href="/latest/topviewed">See more</a> </p> </div> </div> <!-- ////// End main content ////// --> <!-- |||||| Begin sidebar ||||||| --> <div id="sidebar"> <div id="somewhere_else"></div> <div id="club" class="sidecontainer"> <h4>Collab Camp</h4> <p><a href="http://info.scratch.mit.edu/collabcamp2012"><img src="http://info.scratch.mit.edu/sites/infoscratch.media.mit.edu/files/image/camp_homepageicon(1).png" alt="Camp" width="80"></a>Collaborate with other Scratchers at Collab Camp to create un-popular mash-ups.</p> <p class="more"><a href="http://info.scratch.mit.edu/collabcamp2012">Learn more</a> </p> </div> <div id="club" class="sidecontainer"> <h4>Scratch Design Studio</h4> <h5><a href="/galleries/view/154147">Carnival Games!</a></h5> <p><a href="/galleries/view/154147"><img src="/static/icons/gallery/154147.png?t=2012-03-02+16%3A37%3A03" title="Carnival Games!" alt="Carnival Games!" width="90" height="68"></a>Make the kind of game you'd find at an old-fashioned fair. </p> <p class="more"><a href="/galleries/browse/clubbed">See more</a> </p> </div> <div id="FeaturedGalleries" class="sidecontainer"> <h4>Featured Galleries</h4> <ul class="sidelist"> <li><img src="/static/icons/gallery/155016.png?t=2012-03-01+06%3A22%3A35" title="obesity and food related" alt="obesity and food related" width="43" height="32"><a href="/galleries/view/155016">obesity and fo </a></li> <li><img src="/static/projects/ferretbadger84/2367272_sm.png" title="Drawing shapes with math" alt="Drawing shapes with math" width="43" height="32"><a href="/galleries/view/74760">Drawing shapes </a></li> <li><img src="/static/projects/kezza123/1575574_sm.png" title="Tic Corolla" alt="Tic Corolla" width="43" height="32"><a href="/galleries/view/71848">Tic Corolla</a></li> <li><a href="#"></a></li> </ul> <p class="more"><a href="/galleries/browse/feature">See more</a> </p> </div> </div> <!-- ////// End main sidebar ////// --> <style> .tbox {position:absolute; display:none; padding:14px 17px; z-index:900} .tinner {padding:15px; -moz-border-radius:5px; border-radius:5px; background:#fff url(../img/preload.gif) no-repeat 50% 50%; border-right:1px solid #333; border-bottom:1px solid #333} .tmask {position:absolute; display:none; top:0px; left:0px; height:100%; width:100%; background:#000; z-index:800} .tclose {position:absolute; top:0px; right:0px; width:30px; height:30px; cursor:pointer; background:url(../img/close.png) no-repeat} .tclose:hover {background-position:0 -30px} #bluemask {background:#4195aa} </style> </body> <!-- Powered by ScratchR http://scratch.mit.edu/scratchr (created by Andrés Monroy Hernández)//--> </html>
Last edited by bobbybee (2012-03-03 15:37:04)
Offline
@bobbybee
It looks great but for now I am going to stick with rails because of db backend et cetera
By the way we need more projects. Dont be shy to post suggestions.
Criteria(up for debate)
< 3 days old
> 20 loveits
> 100 views
Truly Deserves more
Last edited by logiblocs (2012-03-03 15:45:16)
Offline
Just saying, you're not the owner of this collab No matter. I finished curated stuff. Should we include "The Other SDS"? And "The Other Collab Camp"? How 'bout the Community ones--just having different limits?
Offline
bobbybee wrote:
Just saying, you're not the owner of this collab No matter. I finished curated stuff. Should we include "The Other SDS"? And "The Other Collab Camp"? How 'bout the Community ones--just having different limits?
I know, I am being a bit arrogant.
Where is undefeatedgamer anyway?
As for the other thing, great idea
One can run your code and another mine and another someone elses. Then we can stop the PHP vs Rails debate thats filling up this post
Last edited by logiblocs (2012-03-03 15:53:41)
Offline
i'll advertise this on my advert thread
Offline
do you still need that code? I just finished it.
Offline
I don't know...Anyways, what about SDS, Collab Camp, and Community Front-Page stuff?
Offline
XenoK_Studios wrote:
do you still need that code? I just finished it.
Post it and I might adapt it to mine - my page is a bit boring
Offline
bobbybee wrote:
I don't know...Anyways, what about SDS, Collab Camp, and Community Front-Page stuff?
See above
Offline
Thanks. Here's the current code (curator works perfectly now):
<html> <head> <link rel="stylesheet" href="http://scratch.mit.edu/css/global.css" type="text/css"></link> <link rel="stylesheet" href="http://scratch.mit.edu/css/thickbox.css" type="text/css"></link> <base href="http://scratch.mit.edu/"> </head> <body> <?php define("MAX_CHARACTERS_LINE", 15); $featuredProjectCreators = Array("bobbybee","Dinoclor","Magnie"); $featuredProjectIDs = Array("2358062","2339353","2234885"); $featuredProjectNames = Array("FireChat v1.1.0","How To Make A Strong Password That's Easy To Remember","Chat.PY"); $curatorName = "logiblocks"; $curatedProjectCreators = Array("undefeatedgames","FreshStudios","MrMonk999"); $curatedProjectIDs = Array("2347446","2328287","2340864"); $curatedProjectNames = Array("Space Race (MAJOR UPDATE)","Dragon Ville BETA (JUST LIKE CLUB PENGUIN)","Original Calculator"); $sdsTitle = "Mesh Games"; $sdsDescription = "Make a multiplayer game using mesh."; $collabCampDescription = "Files! Collaborate with other Scratchers at Collab Camp to create file project mash-ups." ?> <!-- |||||| Begin content area ||||||| --> <div id="main"> <div id="FeaturedProjects" class="container"> <h3>Featured Projects</h3> <?php $i = 0; while($i < 3){ $truncatedName = $featuredProjectNames[$i]; if(strlen($truncatedName) > MAX_CHARACTERS_LINE){ $truncatedName = substr($truncatedName,0,MAX_CHARACTERS_LINE)."…"; } ?> <div class="thumb"> <a href="/projects/<?=$featuredProjectCreators[$i]?>/<?=$featuredProjectIDs[$i]?>"><img src="/static/projects/<?=$featuredProjectCreators[$i]?>/<?=$featuredProjectIDs[$i]?>_sm.png" title="<?=$featuredProjectNames[$i]?>" alt="<?=$featuredProjectNames[$i]?>" width="148" height="111"></a> <h6><a href="/projects/<?=$featuredProjectCreators[$i]?>/<?=$featuredProjectIDs[$i]?>"><?=$truncatedName?></a></h6> <p>by <a href="/users/<?=$featuredProjectCreators[$i]?>"><?=$featuredProjectCreators[$i]?></a> </p> </div> <?php $i++; } ?> <p class="more"><a href="/channel/featured">See more</a> </p> </div> <div id="Favorites" class="container"> <h3>Projects Selected by <?=$curatorName?></h3> <?php $i = 0; while($i < 3){ $truncatedName = $curatedProjectNames[$i]; if(strlen($truncatedName) > MAX_CHARACTERS_LINE){ $truncatedName = substr($truncatedName,0,MAX_CHARACTERS_LINE)."…"; } ?> <div class="thumb"> <a href="/projects/<?=$curatedProjectCreators[$i]?>/<?=$curatedProjectIDs[$i]?>"><img src="/static/projects/<?=$curatedProjectCreators[$i]?>/<?=$curatedProjectIDs[$i]?>_sm.png" title="<?=$curatedProjectNames[$i]?>" alt="<?=$curatedProjectNames[$i]?>" width="148" height="111"></a> <h6><a href="/projects/<?=$curatedProjectCreators[$i]?>/<?=$curatedProjectIDs[$i]?>"><?=$truncatedName?></a></h6> <p>by <a href="/users/<?=$curatedProjectCreators[$i]?>"><?=$curatedProjectCreators[$i]?></a> </p> </div> <?php $i++; } ?> <p class="more"><a href="http://info.scratch.mit.edu/Become_a_Scratch_Curator">Learn more</a> </p> <!--p class="more"><a href="http://scratch.mit.edu/galleries/view/130460">See more</a> </p//--> </div> <!---clubed: Array //--> <div id="ClubedProjects" class="container"> <h3>Projects from Scratch Design Studio</h3> <div class="thumb"> <a href="/projects/technoboy10/1893311"><img src="/static/projects/technoboy10/1893311_sm.png" title="claw" alt="claw" width="148" height="111"></a> <h6><a href="/projects/technoboy10/1893311">claw</a></h6> <p>by <a href="/users/technoboy10">technoboy10</a> </p> </div> <div class="thumb"> <a href="/projects/farritor/2346814"><img src="/static/projects/farritor/2346814_sm.png" title="high-striker" alt="high-striker" width="148" height="111"></a> <h6><a href="/projects/farritor/2346814">high-striker</a></h6> <p>by <a href="/users/farritor">farritor</a> </p> </div> <div class="thumb"> <a href="/projects/Houchdj/2349931"><img src="/static/projects/Houchdj/2349931_sm.png" title="The StickComputer carnival games" alt="The StickComputer carnival games" width="148" height="111"></a> <h6><a href="/projects/Houchdj/2349931">The StickComput </a></h6> <p>by <a href="/users/Houchdj">Houchdj</a> </p> </div> <p class="more"><a href="/galleries/view/154147">See more</a> </p> </div> <div id="TopRemixedLately" class="container"> <h3>What the Community is Remixing</h3> <div class="thumb"> <a href="/projects/xXpunkbunnyXx/2355803"><img src="/static/projects/xXpunkbunnyXx/2355803_sm.png" title="DJ girl coloring contest" alt="DJ girl coloring contest" width="148" height="111"></a> <h6><a href="/projects/xXpunkbunnyXx/2355803">DJ girl colorin </a></h6> <p>by <a href="/users/xXpunkbunnyXx">xXpunkbunnyXx</a> </p> </div> <div class="thumb"> <a href="/projects/sara-princess/2355467"><img src="/static/projects/sara-princess/2355467_sm.png" title="Coloring contest by sara-princess" alt="Coloring contest by sara-princess" width="148" height="111"></a> <h6><a href="/projects/sara-princess/2355467">Coloring contes </a></h6> <p>by <a href="/users/sara-princess">sara-princess</a> </p> </div> <div class="thumb"> <a href="/projects/AlexamonSpace/2355024"><img src="/static/projects/AlexamonSpace/2355024_sm.png" title="Make an iPhone App" alt="Make an iPhone App" width="148" height="111"></a> <h6><a href="/projects/AlexamonSpace/2355024">Make an iPhone App</a></h6> <p>by <a href="/users/AlexamonSpace">AlexamonSpace</a> </p> </div> <p class="more"><a href="/latest/remixed">See more</a> </p> </div> <!-- <div id="SurpriseProjects" class="container"> <h3> <p class="more"><a href="/channel/surprise">See more</a> </p> </div> //--> <div id="TopLovedLately" class="container"> <h3>What the Community is Loving</h3> <div class="thumb"> <a href="/projects/Caramellstar51/2352365"><img src="/static/projects/Caramellstar51/2352365_sm.png" title="Girls vs. Motorcycles." alt="Girls vs. Motorcycles." width="148" height="111"></a> <h6><a href="/projects/Caramellstar51/2352365">Girls vs. Motor </a></h6> <p>by <a href="/users/Caramellstar51">Caramellstar51</a> </p> </div> <div class="thumb"> <a href="/projects/scratchU8/2360763"><img src="/static/projects/scratchU8/2360763_sm.png" title="Randomynessers 4" alt="Randomynessers 4" width="148" height="111"></a> <h6><a href="/projects/scratchU8/2360763">Randomynessers 4</a></h6> <p>by <a href="/users/scratchU8">scratchU8</a> </p> </div> <div class="thumb"> <a href="/projects/Lucario621/2349706"><img src="/static/projects/Lucario621/2349706_sm.png" title="Balloon Maker!" alt="Balloon Maker!" width="148" height="111"></a> <h6><a href="/projects/Lucario621/2349706">Balloon Maker!</a></h6> <p>by <a href="/users/Lucario621">Lucario621</a> </p> </div> <p class="more"><a href="/latest/toploved">See more</a> </p> </div> <!-- <div class="container" id=TopDownloadedLately"> <h3> </div> //--> <div id="TopViewedLately" class="container"> <h3>What the Community is Viewing</h3> <div class="thumb"> <a href="/projects/cspy/2364742"><img src="/static/projects/cspy/2364742_sm.png" title="skee-ball 2.0" alt="skee-ball 2.0" width="148" height="111"></a> <h6><a href="/projects/cspy/2364742">skee-ball 2.0</a></h6> <p>by <a href="/users/cspy">cspy</a> </p> </div> <div class="thumb"> <a href="/projects/TM_/2366039"><img src="/static/projects/TM_/2366039_sm.png" title="GAME OF MARCH!" alt="GAME OF MARCH!" width="148" height="111"></a> <h6><a href="/projects/TM_/2366039">GAME OF MARCH!</a></h6> <p>by <a href="/users/TM_">TM_</a> </p> </div> <div class="thumb"> <a href="/projects/richjones69/2364384"><img src="/static/projects/richjones69/2364384_sm.png" title="Slot Horse Racing" alt="Slot Horse Racing" width="148" height="111"></a> <h6><a href="/projects/richjones69/2364384">Slot Horse Racing</a></h6> <p>by <a href="/users/richjones69">richjones69</a> </p> </div> <p class="more"><a href="/latest/topviewed">See more</a> </p> </div> </div> <!-- ////// End main content ////// --> <!-- |||||| Begin sidebar ||||||| --> <div id="sidebar"> <div id="somewhere_else"></div> <div id="club" class="sidecontainer"> <h4>Collab Camp</h4> <p><a href="http://info.scratch.mit.edu/collabcamp2012"><img src="http://info.scratch.mit.edu/sites/infoscratch.media.mit.edu/files/image/camp_homepageicon(1).png" alt="Camp" width="80"></a><?=$collabCampDescription?></p> <p class="more"><a href="http://info.scratch.mit.edu/collabcamp2012">Learn more</a> </p> </div> <div id="club" class="sidecontainer"> <h4>Scratch Design Studio</h4> <h5><a href="/galleries/view/154147"><?=$sdsTitle?></a></h5> <p><a href="/galleries/view/154147"><img src="/static/icons/gallery/154147.png?t=2012-03-02+16%3A37%3A03" title="Carnival Games!" alt="<?=$sdsTitle?>" width="90" height="68"></a><?=$sdsDescription?> </p> <p class="more"><a href="/galleries/browse/clubbed">See more</a> </p> </div> <div id="FeaturedGalleries" class="sidecontainer"> <h4>Featured Galleries</h4> <ul class="sidelist"> <li><img src="/static/icons/gallery/155016.png?t=2012-03-01+06%3A22%3A35" title="obesity and food related" alt="obesity and food related" width="43" height="32"><a href="/galleries/view/155016">obesity and fo </a></li> <li><img src="/static/projects/ferretbadger84/2367272_sm.png" title="Drawing shapes with math" alt="Drawing shapes with math" width="43" height="32"><a href="/galleries/view/74760">Drawing shapes </a></li> <li><img src="/static/projects/kezza123/1575574_sm.png" title="Tic Corolla" alt="Tic Corolla" width="43" height="32"><a href="/galleries/view/71848">Tic Corolla</a></li> <li><a href="#"></a></li> </ul> <p class="more"><a href="/galleries/browse/feature">See more</a> </p> </div> </div> <!-- ////// End main sidebar ////// --> <style> .tbox {position:absolute; display:none; padding:14px 17px; z-index:900} .tinner {padding:15px; -moz-border-radius:5px; border-radius:5px; background:#fff url(../img/preload.gif) no-repeat 50% 50%; border-right:1px solid #333; border-bottom:1px solid #333} .tmask {position:absolute; display:none; top:0px; left:0px; height:100%; width:100%; background:#000; z-index:800} .tclose {position:absolute; top:0px; right:0px; width:30px; height:30px; cursor:pointer; background:url(../img/close.png) no-repeat} .tclose:hover {background-position:0 -30px} #bluemask {background:#4195aa} </style> </body> <!-- Powered by ScratchR http://scratch.mit.edu/scratchr (created by Andrés Monroy Hernández)//--> </html>
Offline
Ok. Do you mind if I copy and paste some of your layout code into mine to make it look nice?
Offline
Nah. Actually, the layout is identical to the real front-page--I changed nothing except references.
Offline
bobbybee wrote:
Nah. Actually, the layout is identical to the real front-page--I changed nothing except references.
Thanks I'l do it tomorrow when I get of mobile Safari.
Offline