PHP Web Host - Quality Web Hosting For All PHP Applications Sign up for PayPal and start accepting credit card payments instantly
  Login or Register
 • Home • Downloads • Your Account • Forums • 

View next topic
View previous topic


Google
 
Web RavenPHPScripts (This Site)
Post new topic   Reply to topic
Author Message
wrecit
Regular
Regular


Joined: Jan 27, 2008
Posts: 99

PostPosted: Sat Feb 02, 2008 8:55 pm Reply with quote Back to top

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.
Only registered users can see links on this board!
Get registered or login to the forums!


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
View user's profile Send private message
Raven
Site Admin/Owner


Joined: Aug 27, 2002
Posts: 16987
Location: Kansas

PostPosted: Sun Feb 03, 2008 2:03 am Reply with quote Back to top

Shocked - Can you either post the code you are using or zip it up and send it to me so I can take a look?
Only registered users can see links on this board!
Get registered or login to the forums!
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger
sowsteady
Regular
Regular


Joined: Apr 09, 2004
Posts: 87
Location: UK

PostPosted: Sun Feb 03, 2008 5:32 am Reply with quote Back to top

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!
View user's profile Send private message Visit poster's website
wrecit
Regular
Regular


Joined: Jan 27, 2008
Posts: 99

PostPosted: Sun Feb 03, 2008 11:56 am Reply with quote Back to top

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.
View user's profile Send private message
wrecit
Regular
Regular


Joined: Jan 27, 2008
Posts: 99

PostPosted: Sun Feb 03, 2008 12:57 pm Reply with quote Back to top

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

Only registered users can see links on this board!
Get registered or login to the forums!


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
#
Only registered users can see links on this board!
Get registered or login to the forums!

#
#
# 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&amp;page=watch&amp;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) */
/*
Only registered users can see links on this board!
Get registered or login to the forums!
*/
/* */
/* 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&amp;page=watch&amp;id=".$row['id']."&amp;d=".$d."\">".$row['vidname']."</a><br><strong>".$row['date']."</strong><br>".$row['user']." <a href=\"modules.php?name=Video_Stream&amp;page=search&amp;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&amp;d=".$p."\">"._PREVIOUS."</a></div>\n";
} else {
echo " &nbsp;\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&amp;d=".$d."\">"._NEXT."</a></div>\n";
} else {
echo " &nbsp;\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:
Only registered users can see links on this board!
Get registered or login to the forums!

// 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');
?>
View user's profile Send private message
TAd
Worker
Worker


Joined: Oct 11, 2004
Posts: 104
Location: Oregon, USA

PostPosted: Tue Feb 05, 2008 6:26 am Reply with quote Back to top

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. Embarassed

PS I emailed Raven the zipped module.
View user's profile Send private message Yahoo Messenger
draxx
Worker
Worker


Joined: Nov 19, 2003
Posts: 186

PostPosted: Sat Jun 20, 2009 9:48 pm Reply with quote Back to top

Was there ever a fix for this?
View user's profile Send private message
Guardian2003
Site Admin


Joined: Aug 28, 2003
Posts: 6373
Location: Vsetin, Czech Republic

PostPosted: Sat Jun 20, 2009 11:07 pm Reply with quote Back to top

Probably but after 18 months, you would think the original author might have issued an update.
View user's profile Send private message Send e-mail Visit poster's website
draxx
Worker
Worker


Joined: Nov 19, 2003
Posts: 186

PostPosted: Sat Jun 20, 2009 11:09 pm Reply with quote Back to top

Unfortunately it seems we get add him to the dead list.
View user's profile Send private message
maribelajar
New Member
New Member


Joined: Oct 17, 2007
Posts: 2

PostPosted: Wed May 12, 2010 12:21 pm Reply with quote Back to top

Hi,

This is a modified layout of PHP-Nuke HTTP Video Stream Module V4.5
Only registered users can see links on this board!
Get registered or login to the forums!


Regards
View user's profile Send private message
Display posts from previous:       
Post new topic   Reply to topic

View next topic
View previous topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Forums ©
 

All logos and trademarks in this site are property of their respective owner.
The comments are property of their posters, all the rest © 2002-2011 by Raven

You can syndicate our news using the file xml

CSE HTML Validator Helped Clean up This Page! [Valid RSS] valid RSS 2.0 Valid robots.txt Stop Spam Harvesters, Join Project Honey Pot

Website engines core code is © copyright by PHP-Nuke but has been heavily patched and modified by myself and others.
PHP-Nuke is a free software released under the GNU/GPL.


:: fisubice phpbb2 style by Daz :: PHP-Nuke theme by www.nukemods.com ::
:: fisubice Theme Modified by the RavenNuke™ Team ::

:: W3C CSS Compliance Validation :: W3C HTML 4.01 Transitional Compliance Validation ::

zerosum