View Full Version : Add to myspace profile, xanga or blog mod.
RYANNNNN
10-26-2006, 05:21 PM
This will do something like this:
http://neekz.spiralfrogmusic.com/play-1287.html [test site btw]
Find:
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="500" height="400">
<param name="movie" value="<?php echo"$location"; ?>">
<param name="quality" value="high">
<embed src="<?php echo"$location"; ?>" width=500
height=400 align="center" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash"></embed>
</object>
Add below:
<br /><br />
<font face="verdana" size="1">Put this video on your myspace, xanga or blog!</font><br />
<textarea rows="10" cols="50">
<param name="movie" value="<?php echo"$location"; ?>"><param name="quality" value="high"><embed src="<?php echo"$location"; ?>" width=500
height=400 align="center" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash"></embed><br /><br /><a href="<?php echo "$site_url"; ?>">Click here to view more great videos!</a></textarea>
Please note, the link to your site will not work unless you have added http:// to your url in the admin area.
blank
10-26-2006, 05:26 PM
I really like how CH does it: http://www.collegehumor.com/video:1716141
Auto highlights and is on just 1 line ;) You'll want to keep the text nice and dark or maybe bold it too?
I think taking up less real estate with the content makes it easier to toss an ad in ;)
RYANNNNN
10-26-2006, 05:37 PM
Yeah, they do it with CSS.
I'll improve this mod on the next release with options such as showing numerous urls.
Thanks RYANN for the support!
RYANNNNN
10-26-2006, 05:41 PM
No problem, it's good your offering this free.
blank
10-26-2006, 06:31 PM
Here's what I ended up doing: <form name="mycopy" action="">
<br><b>Blog Code: </b>
<input name="block" type="text" class="text" id="block" value='<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="500" height="400">
<param name="movie" value="<?php echo"$location"; ?>">
<param name="quality" value="high">
<embed src="<?php echo"$location"; ?>" width=500
height=400 align="center" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash"></embed>
</object> Tons of FREE videos at <a href=<?php echo"$site_url"?>><?php echo"$site_title"?></a>
' size="50" onclick="this.select();">
<br><b>Link Code: </b>
<input name="link" type="text" class="text" id="link" value='<?php echo"http://$site_url/play-$id2.html";?>' size="50" onclick="this.select();">
</form>
thats both blog code and link code ;)
steve
10-26-2006, 10:00 PM
ok let me know whats better. maybe a test link would be good.
blank
10-26-2006, 10:13 PM
http://www.fastfreemedia.com/free/play-401.html
bigarte
10-27-2006, 09:46 PM
Which file is edited with the above code?
You need to edit play_content.tpl
bigarte
10-28-2006, 12:01 AM
Here's what I ended up doing: <form name="mycopy" action="">
<br><b>Blog Code: </b>
<input name="block" type="text" class="text" id="block" value='<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="500" height="400">
<param name="movie" value="<?php echo"$location"; ?>">
<param name="quality" value="high">
<embed src="<?php echo"$location"; ?>" width=500
height=400 align="center" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash"></embed>
</object> Tons of FREE videos at <a href=<?php echo"$site_url"?>><?php echo"$site_title"?></a>
' size="50" onclick="this.select();">
<br><b>Link Code: </b>
<input name="link" type="text" class="text" id="link" value='<?php echo"http://$site_url/play-$id2.html";?>' size="50" onclick="this.select();">
</form>
thats both blog code and link code ;)
Sorry to be a nuisance but where in playcontent.tpl do you place this code?
Under this:
<embed src="<?php echo"$location"; ?>" width=500
height=400 align="center" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash"></embed>
</object> </center>
bigarte
10-28-2006, 04:31 AM
Thanks Kip; much appreciated.
bilzmoney
12-01-2006, 05:20 AM
am nas and am a new member
allstar
01-01-2007, 09:25 AM
You know that Myspace hates the Object tag. It shows it when pasting. You will have to use javascript in order to auto highlight all of the code. The changing of the text color to bold can be done by javascript to. check out the onclick and highlite in the myspace sites.
<script>
function highlight(field) {
field.focus();
field.select();
}
</script>
vBulletin® v3.7.3, Copyright ©2000-2010, Jelsoft Enterprises Ltd.