View Full Version : Myspace Layout Previewer?
Dale
May 30th, 2007, 02:26 PM
I feel like a complete tard posting this, but can anyone point me in the direction of a site that's selling a layout previewer OR if you know anywhere that has a tutorial on how to make one. I have a layout previewer on my one site, but my host developed it himself and he won't let me use it anywhere else. I'm working with Grace on her site now and we need a previewer. Thanks in advance :whistling:
Sergio
May 30th, 2007, 02:48 PM
Same problem here. Hopefully I can just buy MSLS soon.
Dale
May 30th, 2007, 02:59 PM
Yeah, I'm hoping to buy MSLS soon here :P
Dale
May 30th, 2007, 03:03 PM
Something like this is what im looking for:
http://loserrface.xlayoutsx.com/myspace-layouts
hayley
May 31st, 2007, 05:01 AM
http://www.layoutsville.com/livedemo/
that?
rize
May 31st, 2007, 05:04 AM
i think he means something so he cn integrate on his site.. :)
JCs
May 31st, 2007, 05:39 AM
I have the same problem in that i can't yet afford the MSP scripts so i send them to Georges site to view them live :)
http://www.layoutsville.com/livedemo/
rize
May 31st, 2007, 05:42 AM
u guys cn buy it at m2scripts.. :)
JCs
May 31st, 2007, 05:50 AM
u guys cn buy it at m2scripts.. :)
Thanks Rize.
I've just added this one to my shopping list LOL
http://m2scripts.com/myspace-scripts/layout-cms.php
rize
May 31st, 2007, 05:54 AM
kk. np.. :):)
JCs
May 31st, 2007, 05:58 AM
I'm still reluctant though as i'm still hoping to get the MSRS ROFL
rize
May 31st, 2007, 06:07 AM
rofl yeah having own msrs would be great :biggrin:
marshall_26
May 31st, 2007, 01:32 PM
I can give you a hint, if you know php pass the css info through the $_GET / $_POST variable, and use preg_replace_ all, or a php include for adding the css to the page.
IE: the preview button passes "layout12345" to the preview page from the current page, the preview page runs the php code and fills in the blank.
It can be done whether your using mysql, or plain files that contain css code.
Hope someone finds this useful.
I would have to see the source of a web site to write it out to work for that particular page.
you can see an example here (http://www.background-layout.com/layout/mis/) click on a layout then click the magnifying glass.
Also another neat trick is using phpcurl to get a live preview of a specific profile IE: users see their profile with the new layout.
That can be seen here (http://www.divaglitter.com/myspace_layout/myspace/) just enter your myspace name!
Dale
May 31st, 2007, 01:55 PM
Thanks everyone :biggrin: i was thinking about getting that script from m2scripts before, i might now :P
myspaceprodesigns
May 31st, 2007, 04:26 PM
Before you guys waste your money, you can try this out. I just put it together in the last hour, but it seems to be working the way I intended.
I hope it's OK for me to give it out for free and I'm not stepping on anyone's feet here. If so, I guess they can just delete this post.
It has a readme as well as a file for you to set your parameters (like domain name, ad code, tracker code, friend and profile pictures and names).
I didn't make it to work with mysql databases, but it could easily be modified if anyone wants me to add some mysql connection codes in. You will need php on your server for it to work, though.
Zip File: zip file to download (http://www.myspaceprodesigns.com/profile/profile.zip)
Example: 49ers Layout (http://www.myspaceprodesigns.com/profile/?layout=49ers)
If anyone wants to try it out to tell me how it works, I'll be glad to add this to the freebies forum. And before anyone asks, no it doesn't come with any layouts.
:balloon:
kenzie
May 31st, 2007, 04:37 PM
Before you guys waste your money, you can try this out. I just put it together in the last hour, but it seems to be working the way I intended (and I can't believe someone is charging $30 for something this simple).
I hope it's OK for me to give it out for free and I'm not stepping on anyone's feet here. If so, I guess they can just delete this post.
It has a readme as well as a file for you to set your parameters (like domain name, ad code, tracker code, friend and profile pictures and names).
I didn't make it to work with mysql databases, but it could easily be modified if anyone wants me to add some mysql connection codes in. You will need php on your server for it to work, though.
Zip File: zip file to download (http://www.myspaceprodesigns.com/profile/profile.zip)
Example: 49ers Layout (http://www.myspaceprodesigns.com/profile/?layout=49ers)
If anyone wants to try it out to tell me how it works, I'll be glad to add this to the freebies forum. And before anyone asks, no it doesn't come with any layouts.
:balloon:
http://www.free-glitters.net/preview/?layout=blackboard
:biggrin: Thanks! That saves us a lot of time.
myspaceprodesigns
May 31st, 2007, 04:42 PM
http://www.free-glitters.net/preview/?layout=blackboard
:biggrin: Thanks! That saves us a lot of time.
:) glad it helps! i hope the instructions were clear enough!
marshall_26
May 31st, 2007, 04:45 PM
Before you guys waste your money, you can try this out. I just put it together in the last hour, but it seems to be working the way I intended (and I can't believe someone is charging $30 for something this simple).
I hope it's OK for me to give it out for free and I'm not stepping on anyone's feet here. If so, I guess they can just delete this post.
It has a readme as well as a file for you to set your parameters (like domain name, ad code, tracker code, friend and profile pictures and names).
I didn't make it to work with mysql databases, but it could easily be modified if anyone wants me to add some mysql connection codes in. You will need php on your server for it to work, though.
Zip File: zip file to download (http://www.myspaceprodesigns.com/profile/profile.zip)
Example: 49ers Layout (http://www.myspaceprodesigns.com/profile/?layout=49ers)
If anyone wants to try it out to tell me how it works, I'll be glad to add this to the freebies forum. And before anyone asks, no it doesn't come with any layouts.
:balloon:
Nice work, that's one way to do it, I have a couple that are similar to this :)
marshall_26
May 31st, 2007, 06:02 PM
For those of you that like to experiment, ofcourse this will need some modification to work.
This is just a piece of one of my scripts so some work will need to be done in order to make it functional.
I am not going to explain it, I just thought I'd through it up for someone learning php to play with. ;)
$main = "/full/path/to/layouts-css/";
if(file_exists($main.$_POST['layout'].".txt")){$myFile = $main.$_POST['layout'].".txt";}
$fh = fopen($myFile, 'r');
if(file_exists($myFile)){
$theData = fread($fh, filesize(trim($myFile)));
$default ="some_myspace_id";
if($_POST['id']){$profile = "http://www.myspace.com/".$_POST['id'];}else{$profile = "http://www.myspace.com/".$default;}
$ch = curl_init ();
curl_setopt ($ch, CURLOPT_RETURNTRANSFER, 1);
curl_setopt ($ch, CURLOPT_FORBID_REUSE, 1);
curl_setopt ($ch, CURLOPT_FRESH_CONNECT, 1);
curl_setopt ($ch, CURLOPT_TIMEOUT, 120);
curl_setopt ($ch, CURLOPT_HEADER, 0);
curl_setopt ($ch, CURLOPT_URL, $profile);
$connect = curl_exec ($ch);
$connect = preg_replace('/(<form.*?\/form>)/is', '', $connect );
$connect = preg_replace('/(<script.*?\/script>)/is', '', $connect );
$connect = preg_replace('/©.*? MySpace.com. All Rights Reserved./is', '', $connect );
$connect = preg_replace('/<a class="text"(.*?)\| /si', '', $connect );
$connect = preg_replace('/<a class="text" href="http:\/\/profile.myspace.com\/modules\/internationallink\/pages\/internaltionallink.aspx"><u>MySpace International<\/u><\/a>/i', '', $connect );
$connect = preg_replace('/<a.*?href=.*?>/is', '<a href="#">', $connect );
$connect = preg_replace('/<BASE HREF.*?>/is', '', $connect );
$connect = preg_replace('/MySpace International/is', '', $connect );
$connect = preg_replace('/About me:<\/span.*?\/style>.*?<\/td>/is', 'About me:</span><br>'.$theData.'</style></td>', $connect );
$area = '<span id="ctl00_Main_ctl00_UserNetwork1_ctrlMessage"><textarea style="width:100%;height:75px;overflow:auto;z-index:100;" onclick="this.focus(); this.select();">'.$theData.'</textarea></span>';
$connect = preg_replace('/<span id="ctl00_Main_ctl00_UserNetwork1_ctrlMessage">.*?<\/span>/is', $area, $connect );
if (curl_errno($ch)) {echo 'Invalid Myspace Profile I.D';}
curl_close ($ch);
echo $connect;
}
omen
May 31st, 2007, 06:16 PM
Marshall,
Thanks a tonne.
marshall_26
May 31st, 2007, 06:36 PM
Marshall,
Thanks a tonne.
Your welcome, I figured since myspaceprodesigns was in such a generous mood I'd add something too :cheers:
rize
June 1st, 2007, 01:16 AM
ohh thnx so much for that script:)
Michelle
June 1st, 2007, 01:22 AM
Thankyou! I've been looking for a layout previewer. :D
xo.Saz.xo
June 1st, 2007, 01:34 AM
AHH TYSM!! =D I dont have to spend $30 now =D TTYYYY!!
Dale
June 1st, 2007, 02:34 PM
Thanks for that script! I'm sending some green rep your way :biggrin:
Jen
June 1st, 2007, 02:49 PM
What a nice jester (Sp?) LMAO....
Thanks so much for the script. It really does mean alot knowing people are willing to help others especially those not financially stable yet and just starting out. I have the m2 script and now yours. Yours looks better and I thank you for allowing us to use it.
Hugs
Jen
myspaceprodesigns
June 1st, 2007, 03:40 PM
thanks :)
by the way, i updated the zip file. i just added a few more parameters so you could put real links for the blogs (like to link to other parts of your site so people can jump to other sections of your site), put gender and location and adjusted code so it would show last login as today.
so, if you need to re-download it, you just have to replace the index.php and index_parameters.php files
Sergio
June 4th, 2007, 04:19 PM
Ahh thanks for the previewer =) It will save a lot of time.
vBulletin® v3.7.1, Copyright ©2000-2008, Jelsoft Enterprises Ltd.