Author |
Message |
wrecit
Regular
![Regular Regular](modules/Forums/images/ranks/2stars.gif)
![](modules/Forums/images/avatars/gallery/blank.gif)
Joined: Jan 27, 2008
Posts: 99
|
Posted:
Sat Feb 02, 2008 8:55 pm |
|
O.k. guys my site is a video "library" of sorts and is to open next week.
I have been working on the rest of the site because I have already played with HTTP Video and know it works.
Well loaded videos today and everything works great with one exception.
The preview thumbnail is offset real ugly.
http://therectorboys.com/modules.php?name=Video_Stream
At first I blamed it on the theme that I am choosing to use but I desised to use a Raven "stock" theme till I figured out the problem. Well the problem is still there no matter which theme I use so I am now assuming that there is an issue with HTTP Video and Raven.
Does anyone know how to fix this alignment?
Eric Rector |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
Raven
Site Admin/Owner
![](modules/Forums/images/avatars/45030c033f18773153cd2.gif)
Joined: Aug 27, 2002
Posts: 17088
|
Posted:
Sun Feb 03, 2008 2:03 am |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
sowsteady
Regular
![Regular Regular](modules/Forums/images/ranks/2stars.gif)
![](modules/Forums/images/avatars/gallery/blank.gif)
Joined: Apr 09, 2004
Posts: 87
Location: UK
|
Posted:
Sun Feb 03, 2008 5:32 am |
|
Yes, I have the same issues but moved over to an alternative layout. Would love to go back to this one though because it shows the icons on the top right of the thumbnails.
Share the fix please Raven.
Thanks! |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
wrecit
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Sun Feb 03, 2008 11:56 am |
|
I will send you the zip for the modual in a few minutes. I am realy green with code alterations and when I looked it looked like all the alignment codes were set to center.
As I said I have ran this program from the same zip on Platinum and regular nuke and it was fine. |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
wrecit
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Sun Feb 03, 2008 12:57 pm |
|
O.k. rather than sending the whole modual here are the layout files from the modual so that everyone acn have a shot at it. If noone can find anything wrong here the modual can be downloaded from
http://www.steezmatic-designs.com
and the modual is in the down load section of the site. I can also send the zip to anyone if we need togo that far.
this is the PHP file for the block:
Quote: | <?php
#######################################################################
# Block for PHP-Nuke
#-------------------------
# HTTP Video Stream Latest 10
#-------------------------
#
# Version 1.0
# Copyright (c) 2005 by:
# Brady
# http://www.scottswebsite.co.uk
#
#
# Shows Latest 10 videos posted to the module HTTP_Video_Stream
#
######################################################################
if (eregi("block-HTTP_Video_Stream.php",$_SERVER['PHP_SELF'])) {
Header("Location: ../index.php");
die();
}
global $db, $prefix, $currentlang;
if ($currentlang) {
if (file_exists("modules/Video_Stream/lang-block/lang-$currentlang.php")) {
include_once("modules/Video_Stream/lang-block/lang-$currentlang.php");
} else {
include_once("modules/Video_Stream/lang-block/lang-english.php");
}
} else {
include_once("modules/Video_Stream/lang-block/lang-english.php");
}
$settings = $db->sql_query("SELECT * FROM ".$prefix."_video_stream_settings WHERE id=1");
$srow = $db->sql_fetchrow($settings);
$ratingshow = $srow['ratingV'];
$result = $db->sql_query("SELECT * FROM ".$prefix."_video_stream WHERE request=0 ORDER BY id DESC LIMIT 0,10");
$content = "<marquee behavior='scroll' direction='up' height='200'scrollamount='2' scrolldelay='20' onmouseover='this.stop()' onmouseout='this.start()'>";
while($row = $db->sql_fetchrow($result)) {
$content .= "<a href=\"modules.php?name=Video_Stream&page=watch&id=".$row['id']."\">".$row['vidname']."</a><br>";
$content .= "<p>"._BBY.": ".$row['user']."<br>";
$date = $row['date'];
$date = substr($date, 9);
$content .= ""._BBON.": ".$date."<br>";
$content .= ""._BVIEWS.": ".$row['views']."";
if ($ratingshow = 1) {
$content .= "<br>"._BRATING.": ".@number_format(($row['rating'] / $row['rates']), 2)." "._BTVOTES.": ".$row['rates']."";
}
$content .= "</p>";
}
$content .= "</marquee>";
?>
|
and here is the modual layout file:
Quote: | <?php
/************************************************************************/
/* PHP-NUKE: Advanced Content Management System */
/* ============================================ */
/* */
/* Video Stream Module for PHP-Nuke with many features */
/* */
/* Copyright (c) 2006 by Scott Cariss (Brady) */
/* http://www.steezmatic-designs.com */
/* */
/* This program is free software. You can redistribute it and/or modify */
/* it under the terms of the GNU General Public License as published by */
/* the Free Software Foundation; either version 2 of the License. */
/************************************************************************/
if (!eregi("modules.php", $_SERVER['SCRIPT_NAME'])) {
die ("You can't access this file directly...");
}
include('header.php');
include('modules/Video_Stream/javascript.php');
echo "<link href=\"modules/Video_Stream/css.css\" rel=\"stylesheet\" type=\"text/css\">\n";
vsnavtop();
OpenTable();
sortandsearch();
echo "<br><hr><br>\n";
if (($d == "") || ($d == 0)) {
$d = 1;
}
$sqld = $d - 1;
$sqld *= $limit;
$result = $db->sql_query("SELECT * FROM ".$prefix."_video_stream ".$sortby2." ".$sortby1." LIMIT $sqld,$limit");
$rowvid = $db->sql_numrows($result);
$result2 = $db->sql_query("SELECT * FROM ".$prefix."_video_stream ".$sortby2." ".$sortby1."");
$rowvid2 = $db->sql_numrows($result2);
// If videos are in the DB then they are displayed.
if ($rowvid != "0") {
while($row = $db->sql_fetchrow($result)) {
$userav = $row['user'];
if ($row['rating'] == "") {$rating = "0";} else {$rating = $row['rating'];}
$id = $row['id'];
$image = $row['imgurl'];
$plugin = $row['flash'];
$vidname = $row['vidname'];
echo "<table width=\"100%\" border=\"0\" cellspacing=\"5\" cellpadding=\"5\">\n";
echo " <tr>\n";
echo " <td>\n";
avatars($userav);
echo " </td>\n";
echo " <td width=\"100%\"><a href=\"modules.php?name=Video_Stream&page=watch&id=".$row['id']."&d=".$d."\">".$row['vidname']."</a><br><strong>".$row['date']."</strong><br>".$row['user']." <a href=\"modules.php?name=Video_Stream&page=search&search=user:".$row['user']."\">["._MOREFROMUSER."]</a></td>\n";
echo " </tr>\n";
echo "</table>\n";
echo "<table width=\"100%\" border=\"0\" cellspacing=\"5\" cellpadding=\"5\">\n";
echo " <tr>\n";
echo " <td width=\"100%\" valign=\"top\">".$row['description']."</td>\n";
echo " <td align=\"center\" valign=\"top\">\n";
category($id);
echo " </td>\n";
echo " </tr>\n";
echo "</table>\n";
echo "<table width=\"100%\" border=\"0\" cellspacing=\"5\" cellpadding=\"5\">\n";
echo " <tr>\n";
echo " <td>\n";
echo " <table border=\"4\" cellspacing=\"0\" cellpadding=\"0\">\n";
echo " <tr>\n";
videoimageplugin($id, $image, $plugin, $d, $vidname);
echo " </tr>\n";
echo " </table>\n";
echo " </td>\n";
echo " <td width=\"100%\"><b>"._VIEWS.":</b> ".$row['views']."</td>\n";
echo " </tr>\n";
echo "</table><br><hr><br>\n";
}
$pages = ceil($rowvid2 / $limit);
echo "<table width=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">\n";
echo " <tr>\n";
echo " <td width=\"30%\">\n";
if ($d > 1) {
$p = $d - 1;
echo " <div align=\"left\"><a href=\"modules.php?name=Video_Stream&d=".$p."\">"._PREVIOUS."</a></div>\n";
} else {
echo " \n";
}
echo " </td>\n";
echo " <td width=\"40%\"><div align=\"center\">\n";
pagesnav($d, $pages);
echo " <br>"._PAGE." ".$d."/".$pages."</div>\n";
echo " </td>\n";
echo " <td width=\"30%\">\n";
if ($d < $pages) {
$d += 1;
echo " <div align=\"right\"><a href=\"modules.php?name=Video_Stream&d=".$d."\">"._NEXT."</a></div>\n";
} else {
echo " \n";
}
echo " </td>\n";
echo " </tr>\n";
echo "</table>\n";
} else {
// If no videos have been added then user is told no videos
echo "<center>"._NOVIDSINDB."</center>\n";
}
CloseTable();
echo "<br>\n";
stats();
//***************************************************************
// IF YOU WANT TO LEGALY REMOVE ANY COPYRIGHT NOTICES PLAY FAIR AND CHECK: http://www.steezmatic-designs.com/modules.php?name=Commercial_License
// COPYRIGHT NOTICES ARE GPL SECTION 2(c) COMPLIANT AND CAN'T BE REMOVED WITHOUT STEEZMATIC DESIGNS' AUTHOR WRITTEN AUTHORIZATION
// YOU'RE NOT AUTHORIZED TO CHANGE THE CODE UNTIL YOU ACQUIRE A COMMERCIAL LICENSE
// (http://www.steezmatic-designs.com/modules.php?name=Commercial_License)
//***************************************************************
echo "<br>\n";
OpenTable();
echo "HTTP Video Stream Module<br>By <a href=\"http://www.steezmatic-designs.com\">Steezmatic Designs</a>\n";
CloseTable();
// END OF COPYRIGHT
include('footer.php');
?>
|
|
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
TAd
Worker
![Worker Worker](modules/Forums/images/ranks/3stars.gif)
![](modules/Forums/images/avatars/Garfield/Garfield_-_Garfield_2.gif)
Joined: Oct 11, 2004
Posts: 127
Location: Oregon, USA
|
Posted:
Tue Feb 05, 2008 6:26 am |
|
I have the same issue, yet, on a different theme. I am currently using Coldsteel which is an older theme. I have experimented around a bit, and as of now, not been able to find a solution. I have been attempting to edit the "block" as posted above and have managed to move things around, but nothing that displays as it should.
I am still working on it, but this one has not come as easily as others have in the past for me.
PS I emailed Raven the zipped module. |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
draxx
Involved
![Involved Involved](modules/Forums/images/ranks/4stars.gif)
![](modules/Forums/images/avatars/gallery/blank.gif)
Joined: Nov 19, 2003
Posts: 282
|
Posted:
Sat Jun 20, 2009 9:48 pm |
|
Was there ever a fix for this? |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
Guardian2003
Site Admin
![](modules/Forums/images/avatars/125904890252d880f79f312.png)
Joined: Aug 28, 2003
Posts: 6799
Location: Ha Noi, Viet Nam
|
Posted:
Sat Jun 20, 2009 11:07 pm |
|
Probably but after 18 months, you would think the original author might have issued an update. |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
draxx
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Sat Jun 20, 2009 11:09 pm |
|
Unfortunately it seems we get add him to the dead list. |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
maribelajar
New Member
![New Member New Member](modules/Forums/images/ranks/1star.gif)
![](modules/Forums/images/avatars/gallery/blank.gif)
Joined: Oct 17, 2007
Posts: 2
|
Posted:
Wed May 12, 2010 12:21 pm |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
whatever72
New Member
![New Member New Member](modules/Forums/images/ranks/1star.gif)
![](modules/Forums/images/avatars/gallery/blank.gif)
Joined: Oct 24, 2012
Posts: 8
|
Posted:
Thu Nov 01, 2012 2:31 am |
|
Hi,
The link is dead,can anyone upload again?
thanks |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
Guardian2003
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Thu Nov 01, 2012 4:58 am |
|
You might want to save yourself a bit of time by Googling around. This thread was started over 4 years ago and the last post was over 2 years ago. The original vendors website expired a long time ago. |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
|