Search for at
Security Code:
Security Code 
Type Security Code:
EVO CMS Advanced Search
 
 
Recent Topics
Latest Site News << Previous 5  Next 5 >>
Forum Author Replies Last Post
Important  Unterstützung für Dokumentation im Wiki gesucht News & Informationen chiroptera 19 26 Oct 2008
GuestView latest post
No icon  Automatisches Upgrade von Nuke-Platinum auf 2.1.0 möglich News & Informationen ReOrGaNiSaTiOn 1 22 Sep 2008
maestro View latest post
fixed  Google Analytics - wichtiger Hinweis für deutsche Benutzer News & Informationen ReOrGaNiSaTiOn 5 15 Sep 2008
Spiders View latest post
Idea  UTF-8 und Error 500 -> evo.htaccess Fixes & Patches 2.1.x ReOrGaNiSaTiOn 0 04 Sep 2008
ReOrGaNiSaTiOn View latest post
under work  Kostenlos ud Download News & Informationen andre2005 2 02 Sep 2008
andre2005 View latest post
Recent Topics << Previous 15  Next 15 >>
Forum Author Replies Last Post
solved in Bug Tracker  Frage zur Anzahl angezeigter privater Nachrichten Fragen & Hilfe zur Installation/Upgrade 2.1.x claus 4 24 Nov 2009
ReOrGaNiSaTiOn View latest post
bug  [1.0.2GER01 Rev. 710 ] Kennwortänderung Offizielle Fixes & Patches für 1.0.2.GERxx chiroptera 2 23 Nov 2009
ReOrGaNiSaTiOn View latest post
No icon  Herr Robert Enke. ChitChat Guest 18 22 Nov 2009
Spiders View latest post
solved  Fehler bei neues Userfeld hinzufügen Fehlermeldungen 2.1.0 RC claus 2 21 Nov 2009
claus View latest post
No icon  utf8 frage Fehlermeldungen 2.1.0 RC Guest 6 18 Nov 2009
GuestView latest post
No icon  Useraccounts auf einen anderen Webserver/Domain übertragen Fragen & Hilfe vor der Installation 2.1.x Shark 4 17 Nov 2009
ReOrGaNiSaTiOn View latest post
No icon  Blocktitel an der falsche stelle Allgemeines Guest 9 17 Nov 2009
GuestView latest post
solved  error.log Datei Fragen & Hilfe vor der Installation 2.1.x Cusack 6 14 Nov 2009
Thorm View latest post
No icon  SOAP-Eintrag. Webhosting Guest 4 13 Nov 2009
ReOrGaNiSaTiOn View latest post
No icon  probleme nach update auf evo 2.1.0 Fragen & Hilfe zur Installation/Upgrade 2.1.x rmtek 38 13 Nov 2009
rmtek View latest post
No icon  Jemand an Google Adwords Gutscheinen interessiert? ChitChat legolas 0 11 Nov 2009
legolas View latest post
No icon  Cookie-Probleme hier auf unserer Seite !! ChitChat ReOrGaNiSaTiOn 37 10 Nov 2009
Shark View latest post
under work  Modulerweiterung Hacks & Codeschnipsel TODIMO 16 10 Nov 2009
TODIMO View latest post
No icon  Adventskalender / Keine Beiträge ChitChat Thorm 2 08 Nov 2009
TODIMO View latest post
Achtung  RC3 Kommentarfunktion Fehlermeldungen 2.1.0 RC Entenmann 13 31 Oct 2009
Entenmann View latest post
 

 
Blocktitel an der falsche stelle
 
 
Post new topic Reply to topic printer-friendly view
View previous topic :: View next topic  
Author Message
brouhon
Guest





 
Offline
Post Posted:
 17 Nov 2009
Reply with quote
Post subject: No icon Blocktitel an der falsche stelle

Yo leutz
ich habe da mal ein centerblock für das http videostream modul geladen
block sieht zwar gut aus nur ist der titel nicht iben sonder da wo der content ist
an was kann das liegen
hier ein link
Please login to see this link
Get registered or Log in


c ya  


 
 
Back to top
View user's profile Send private message
RTC4EVER
Coding Expert
Coding Expert



Joined: 04-Feb-2009
Posts: 923
Location: Zürich
Offline
EVO Version: 2.1.0 Final
Post Posted:
 17 Nov 2009
Reply with quote
Post subject: No icon Re: Blocktitel an der falsche stelle

very simple to fix...
Some how you have a cell inside that table width about 15% - 20% before everything ...  just delete it.  


 
 
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
RTC4EVER
Coding Expert
Coding Expert



Joined: 04-Feb-2009
Posts: 923
Location: Zürich
Offline
EVO Version: 2.1.0 Final
Post Posted:
 17 Nov 2009
Reply with quote
Post subject: No icon Re: Blocktitel an der falsche stelle

or try to give no header on it.:

PHP:
define('NO_HEADER'true);
global 
$prefix$prefix$db;
$limit 1;
$content "<p>";
$result $db->sql_query("SELECT * FROM " .$prefix"_video_stream GROUP BY id ORDER BY RAND() DESC LIMIT $limit");
while (
$row $db->sql_fetchrow($result)) {
  
$imsrc $row['imgurl'];
        if (
$row['vidname'] != '') {
            
$thumb_title $row['vidname'];
        } else {
            
$thumb_title substr($row['imgurl'], 0, -4);
        } 
        
//$content .= "<a>".$row['vidname']."</a><br>";
        
$content .="<a><img></a>
"
;
        
$content .= "<a>".$row['vidname']."</a><br>";

 
 


 
 
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
brouhon
Guest





 
Offline
Post Posted:
 17 Nov 2009
Reply with quote
Post subject: No icon Re: Blocktitel an der falsche stelle

Nice thx man  Grinsen  Grinsen  Grinsen  


 
 
Back to top
View user's profile Send private message
RTC4EVER
Coding Expert
Coding Expert



Joined: 04-Feb-2009
Posts: 923
Location: Zürich
Offline
EVO Version: 2.1.0 Final
Post Posted:
 17 Nov 2009
Reply with quote
Post subject: No icon Re: Blocktitel an der falsche stelle

did it work?  


 
 
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
brouhon
Guest





 
Offline
Post Posted:
 17 Nov 2009
Reply with quote
Post subject: No icon Re: Blocktitel an der falsche stelle

This is the code to the block i tried the other things but no results
PHP:
if(!defined('NUKE_EVO')) exit; 
global 
$prefix$db

$limit 1;

//Views
$result $db->sql_query("SELECT * FROM ".$prefix."_video_stream WHERE request=0 ORDER BY (views) DESC LIMIT $limit"); 

while (
$row $db->sql_fetchrow($result)) {
  
$imsrc $row['imgurl'];
        if (
$row['vidname'] != '') {
            
$thumb_title $row['vidname'];
        } else {
            
$thumb_title substr($row['imgurl'], 0, -4);
        }     
        
$content .="<td>";
        
$content .="<center>"._MOSTVIEWED."</center>
"
;
        
$content .="<center><a href=modules.php?name=Video_Stream&amp;page=watch&amp;id=".$row['id']."><img src=".$row['imgurl']." border=\"0\" width=145 alt=".$row['vidname']."></center></a>
"
;
        
$content .= "<br><center><a href=modules.php?name=Video_Stream&amp;page=watch&amp;id=".$row['id'].">".$row['vidname']."</a></center></td>";


//Latest Added
$result $db->sql_query("SELECT * FROM ".$prefix."_video_stream WHERE request=0 ORDER BY id DESC LIMIT $limit"); 
while (
$row $db->sql_fetchrow($result)) {
  
$imsrc $row['imgurl'];
        if (
$row['vidname'] != '') {
            
$thumb_title $row['vidname'];
        } else {
            
$thumb_title substr($row['imgurl'], 0, -4);
        } 
        
$content .="<td>";
        
$content .="<center>"._LATESTVID."</center>
"
;
        
$content .="<center><a href=modules.php?name=Video_Stream&amp;page=watch&amp;id=".$row['id']."><img src=".$row['imgurl']." border=\"0\" width=145 alt=".$row['vidname']."></center></a>
"
;
        
$content .= "<br><center><a href=modules.php?name=Video_Stream&amp;page=watch&amp;id=".$row['id'].">".$row['vidname']."</a></center></td>";

}
 
//Rated
$result $db->sql_query("SELECT * FROM ".$prefix."_video_stream WHERE request=0 ORDER BY (rating/rates) DESC LIMIT $limit");
while (
$row $db->sql_fetchrow($result)) {
  
$imsrc $row['imgurl'];
        if (
$row['vidname'] != '') {
            
$thumb_title $row['vidname'];
        } else {
            
$thumb_title substr($row['imgurl'], 0, -4);
        } 
        
$content .="<td>";
        
$content .="<center>"._HIGHRATE."</center>
"
;
        
$content .="<center><a href=modules.php?name=Video_Stream&amp;page=watch&amp;id=".$row['id']."><img src=".$row['imgurl']." border=\"0\" width=145 alt=".$row['vidname']."></center></a>
"
;
        
$content .= "<br><center><a href=modules.php?name=Video_Stream&amp;page=watch&amp;id=".$row['id'].">".$row['vidname']."</a></center></td>";

}
    
?> 
 

hmm..  


 
 
Back to top
View user's profile Send private message
RTC4EVER
Coding Expert
Coding Expert



Joined: 04-Feb-2009
Posts: 923
Location: Zürich
Offline
EVO Version: 2.1.0 Final
Post Posted:
 17 Nov 2009
Reply with quote
Post subject: No icon Re: Blocktitel an der falsche stelle

There is something wrong with it...

every $content variable is a continue from a last one... but none of it starts

you only have
$content .= ***
$content .= ***
$content .= ***
$content .= ***
$content .= ***

but none
echo content; or
$content = "<tabel> etc...."

I'm just installing my nuke evo right now and will check it... you'll ear from me  


 
 
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
brouhon
Guest





 
Offline
Post Posted:
 17 Nov 2009
Reply with quote
Post subject: No icon Re: Blocktitel an der falsche stelle

ok c ya than Grinsen  


 
 
Back to top
View user's profile Send private message
RTC4EVER
Coding Expert
Coding Expert



Joined: 04-Feb-2009
Posts: 923
Location: Zürich
Offline
EVO Version: 2.1.0 Final
Post Posted:
 17 Nov 2009
Reply with quote
Post subject: No icon Re: Blocktitel an der falsche stelle

Well... this is very simple to solve....
on rc4 rev 1043, this plus/minus will appear on the midle. at least to me :)

This means you have the option to collapse blocks activated.
If you wish to remove this option from this block, just add

$collapse = '';

to the block before this one.

the reason why it isn't on the middle might be because you are using the same <tr> as the head title


just try to add this instead your $content = "<p>";
PHP:
$content "<p> \ n"


if it doesn't work, than try something a little harder

$content = "<p>";
$content .= "<table><tr><td>";


And at the end of every query just don't forget to close the </td> and open another one <td>

$content .= </td><td>";


at the end close the >/td> the >/tr> and the >/table>

Just one more thing... this module won't work with evo 2.1.0.. just to let you know..... at least not the way it is...  


 
 
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
brouhon
Guest





 
Offline
Post Posted:
 17 Nov 2009
Reply with quote
Post subject: No icon Re: Blocktitel an der falsche stelle

ok got it working as follows

PHP:
if(!defined('NUKE_EVO')) exit;
global 
$prefix$db



$limit 1;
//Views
$result1 $db->sql_query("SELECT * FROM ".$prefix."_video_stream WHERE request=0 ORDER BY (views) DESC LIMIT $limit");

while (
$row1 $db->sql_fetchrow($result1)) {
  
$imsrc1 $row1['imgurl'];
    
$vid1 $row1['id'];
        if (
$row1['vidname'] != '') {
            
$thumb_title1 $row1['vidname'];
        } else {
            
$thumb_title1 substr($row1['imgurl'], 0, -4);
        }
   
            



//Latest Added
$result2 $db->sql_query("SELECT * FROM ".$prefix."_video_stream WHERE request=0 ORDER BY id DESC LIMIT $limit");
while (
$row2 $db->sql_fetchrow($result2)) {
  
$imsrc2 $row2['imgurl'];
    
$vid2 $row2['id'];
        if (
$row2['vidname'] != '') {
            
$thumb_title2 $row2['vidname'];
        } else {
            
$thumb_title2 substr($row2['imgurl'], 0, -4);
        }
   




//Rated
$result3 $db->sql_query("SELECT * FROM ".$prefix."_video_stream WHERE request=0 ORDER BY (rating/rates) DESC LIMIT $limit");
$result3 $db->sql_query("SELECT * FROM ".$prefix."_video_stream WHERE request=0 ORDER BY id DESC LIMIT $limit");
while (
$row3 $db->sql_fetchrow($result3)) {
  
$imsrc3 $row3['imgurl'];
    
$vid3 $row3['id'];
        if (
$row3['vidname'] != '') {
            
$thumb_title3 $row3['vidname'];
        } else {
            
$thumb_title3 substr($row3['imgurl'], 0, -4);
        }
   
            


$content .=" <table width=\"100%\">";
$content .="  <tr>";
$content .="    <td><center><b>"._MOSTVIEWED."</b></center></td>";
$content .="    <td><center><b>"._LATESTVID."</b></center></td>";
$content .="    <td><center><b>"._HIGHRATE."</b></center></td>";
$content .="  </tr>";
$content .="  <tr>";
$content .="    <td><center><a href=\"modules.php?name=Video_Stream&amp;op=watch&amp;id=$vid1\"><img src=\"$imsrc1\" border=\"0\" width=\"145\" alt=\"$thumb_title1\" /></a>";
$content .="    </center>";
$content .="    </td>";
$content .="    <td><center><a href=\"modules.php?name=Video_Stream&amp;op=watch&amp;id=$vid2\"><img src=\"$imsrc2\" border=\"0\" width=\"145\" alt=\"$thumb_title2\" /></a>";
$content .="    </center>";
$content .="    </td>";
$content .="    <td><center><a href=\"modules.php?name=Video_Stream&amp;op=watch&amp;id=$vid3\"><img src=\"$imsrc3\" border=\"0\" width=\"145\" alt=\"$thumb_title3\" /></a>";
$content .="    </center>";
$content .="    </td>";
$content .="  </tr>";
$content .="  <tr>";
$content .="    <td><center><b><a href=\"modules.php?name=Video_Stream&amp;op=watch&amp;id=$vid1\">$thumb_title1</a></b>";
$content .="    </center>";
$content .="    </td>";
$content .="    <td><center><b><a href=\"modules.php?name=Video_Stream&amp;op=watch&amp;id=$vid2\">$thumb_title2</a></b>";
$content .="    </center>";
$content .="    </td>";
$content .="    <td><center><b><a href=\"modules.php?name=Video_Stream&amp;op=watch&amp;id=$vid3\">$thumb_title3</a></b>";
$content .="    </center>";
$content .="    </td>";
$content .="  </tr>";
$content .="</table>";

                    }
                     }
                      }
   
?> 
 


i found the code in bizmnukes videostreamblock just had to delete the turkisch expressions ad make it multilingual oh btw the module works like a charm
c ya Grinsen  


 
 
Back to top
View user's profile Send private message
Display posts from previous:  
Post new topic Reply to topic printer-friendly view
EVO CMS Forum Index -> Allgemeines Time synchronized with the forum server time
 
Page 1 of 1


Jump to:  
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
You cannot attach files in this forum
You cannot download files in this forum