Hi,
Very nice mod. I made a few changes to match my site. Thank you for sharing.
see it at thegabshack.com
nice, how did you get it to fit that size as opposed to stretching out?
hi, here is what i have in main.css just above this/*---------------------- -- Promoted Videos ----------------------*/
/* Recently Viewed Mod */
/**************************/
.recently_viewed{
height: 72px;
overflow: hidden;
padding: 8px 0 0 12px;
}
.recently_viewed img{
width: 105px;
height: 85px;
}
/* End Recently Viewed Mod */
this is what i have in inner_index.htm just above this<!--Begin Promoted Videos-->
<!--Begin Recent Videos Mod-->
<div class="header-wide">[var.lang_recently_viewed]</div>
<div class='recently_viewed_con'>
<div class='recently_viewed'>
<!--[var.recent_list;htmlconv=no;comm]-->
<br style='clear:both;' />
</div>
</div>
<!--End Recent Videos Mod-->
this is how i edited recently_viewed.php
<?php
///////////////////////////////////////////////////////////////////////////////////////
// PHPmotion
http://www.phpmotion.com //
///////////////////////////////////////////////////////////////////////////////////////
// License: You are not to sell or distribute this software without permission //
// Help and support please visit
http://www.phpmotion.com //
// Copyright reserved //
// File: recently_viewed.php //
// Created by: M. Carter Brown //
// Description: Get's the last 14 most recently viewed videos //
///////////////////////////////////////////////////////////////////////////////////////
include_once ('classes/config.php');
$sql = "SELECT * FROM videos ORDER BY viewtime DESC LIMIT 0, 6";
$query = mysql_query($sql);
//get list
$viewedlist = 0; //no result
while($result = mysql_fetch_array($query)){
$recent_video_indexer = $result['indexer'];
$recent_video_id = $result['video_id'];
$recent_video_title_seo = $result['title_seo'];
$recent_video_desc = $result['description'];
$recent_video_title = $result['title'];
$rlist = " <a href=\"./videos/".$recent_video_indexer."/".$recent_video_title_seo."\"><img src=\"./uploads/thumbs/".$recent_video_id.".jpg\" title=\"".$recent_video_title."\"/>[/url] ";
$recent_list = $recent_list.$rlist;
$viewedlist = 1; //results found
}
//NOTES >> You can call run through this array in any other script such as showing members page with their online status
// simply include this whole script
?>
this is what i added to lang/english
$lang_recently_viewed = 'Recently Viewed';
that's everything i have done to make it look like it does.