Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - Romson

Pages: 1 2 [3] 4
31
Hallo,

danke für deine antwort aber ich verstehe nicht wie das mein problem lösen soll ...

übrigens, wer auch ein paging auf der index seite braucht, hier die lösung:
http://www.4homepages.de/forum/index.php?topic=14195

32
hmmm, in lletzter zeit bekomme ich auf keins meiner threads und posting ne antwort ???
werde versuchen meine frage zu vereinfachen :

also:

auf der startseite (http://www.lach.tv/fun/) sieht man ja das bild "weihnachtsmann" und gleich dahinter das bild "playstation3 warteschlange".
Wenn man nun auf das weihnachtsmann bild klickt, dann kommt auf der details page als nächstes bild ein bild aus der weihnachtsmann kategorie.
Es sollte aber auf der details page das "playstation3 warteschlange" bild als nächstes bild kommen.

Wie kann ich das erreichen ?


33
maybe this example explains it better:

here: http://www.lach.tv/fun/search.php?search_keywords=*** , when u click on a image, the next and previous links on the details page shows the next/previous image by date from all categories  ... thats what i need

on my index : http://www.lach.tv/fun/  when u click on a image, the next and previous links on the details page shows the next/previous image BUT only from the categorie of the image   ... but here in need it like on the search page

34
Mods & Plugins (Releases & Support) / Re: [Mod] Avatar v2.01
« on: December 05, 2006, 07:48:19 PM »
Hi, great mod !

is it possible to display the avatar on the details page under the name of the image uploader ?

35
Mods & Plugins (Requests & Discussions) / Re: add paging to index
« on: December 04, 2006, 05:56:20 PM »
Hi,

if a user click on a image, the next/previous links in the details page show the next/previous image by date from the category of this image

waht i need:

when a user click on a image FROM THE INDEX PAGE, the next/previous links on the details page should link to the next/previous images ( by date) from all images , not only from the image category

any idea how it could work ?

36
Hi,

<<< ENGLISH >>>

if a user clik on a image, the next/previous links in the details page show the next/previous image by date from the category of this image

waht i need:

when a user click on a image FROM THE INDEX PAGE, the next/previous links on the details page should link to the next/previous images ( by date) from all images , not only from the the image category

any idea how it could work ?

<<< GERMAN >>>

wenn ein besucher ein bild anklickt und auf die details seite kommt, dann zeigen die "vorheriges bild/nächstes bild" links auf bilder von der kategorie des bildes

was ich brauche:

wenn ein user ein bild von der index seite anklickt dann sollen die "vorheriges bild/nächstes bild" links nicht nur die bilder von der kategorie des bildes anzeigen sondern von allen kategorien, nach datum

ist bisschen schwierig das zu erklären , hoffe es kann mir trotzdem jemand helfen ?

37
ok, habs selbst gefunden

wer auch anderen header für die details page braucht

1)

erstelle in deinem template verzeichnis ein neues header template mit dem namen header2.html

2)

suche in template.php ( includes/template.php) nach diesen code:

Code: [Select]
function print_template($template) {
    if (strpos($template, $this->start.'header'.$this->end) !== false) {
      $header = $this->parse_template("header");
      $template = str_replace($this->start.'header'.$this->end, $header, $template);
    }

und füge direkt drunter das hier ein:

Code: [Select]
if (strpos($template, $this->start.'header2'.$this->end) !== false) {
      $header2 = $this->parse_template("header2");
      $template = str_replace($this->start.'header2'.$this->end, $header2, $template);
    }

3)

änder in details.html {header} in {header2}


das wars

39
Hi,

i nee another header templatge in details.php, how i can make this ? The header2.html template is ready but i dont know how script it in the php code. I try to change {header} to {header2} but this dont work.



<<<< Deutsch >>>>

ich brauche ein anderes header  template für die details.php page. Das Template ist fertig (header2.html) aber ich weis nicht wie ich den php code verändern muss damit das  template in der details.php benutzt wird. Hab versucht einfach {header} durch {header2} zu ersetzten aber das funktioniert nicht.

jemand ne idee ?

41
ist wohl ein bug in php version 5.0.4

Es gibt auch Workarounds aber keine ahnung wie ich es in die download.php einbauen soll ???
http://www.php.net/manual/de/function.readfile.php


Zitat:
flobee at gmail dot com
06-May-2005 11:17
regarding php5:
i found out that there is already a disscussion @php-dev about readfile() and fpassthru() where only exactly 2 MB will be delivered.

so you may use this on php5 to get lager files
Code: [Select]
<?php
function readfile_chunked($filename,$retbytes=true) {
   
$chunksize 1*(1024*1024); // how many bytes per chunk
   
$buffer '';
   
$cnt =0;
   
// $handle = fopen($filename, 'rb');
   
$handle fopen($filename'rb');
   if (
$handle === false) {
       return 
false;
   }
   while (!
feof($handle)) {
       
$buffer fread($handle$chunksize);
       echo 
$buffer;
       if (
$retbytes) {
           
$cnt += strlen($buffer);
       }
   }
       
$status fclose($handle);
   if (
$retbytes && $status) {
       return 
$cnt// return num. bytes delivered like readfile() does.
   
}
   return 
$status;

}
?>


42
hab noch keine lösung.

niemand ne ahnung was ich am server verändern müsste um das problem zu beseitigen ?

hab übrigens PHP Version 5.0.4

43
naja, es fehlt das ende weil er nur 1,9 MB von einer datei runterlädt

wenn ein video z.B. 4 MB hat dann werden beim download auf den pc nur 1,9 MB der datei runtergeladen , deswegen fehlt immer das ende

ist mein server, bin also der hoster

44
hat echt niemand ein tipp ?

45
Hi,

hab ein seltsames problem, bin mit meinem projekt auf neuen server umgezogen , soweit funzt alles ohne probleme ausser dass wenn man ein video runterlädt das ende des videos fehlt.

es werden nie mehr als 1,9 mb von dem video runtergeladen.

wenn man sich das video aber online anschaut dann wird es in voller länge gezeigt.

z.B. http://www.lach.tv/fun/img5654.htm

jemand ne idee woran das liegen kann ?

hab so das gefühl dass es an server/php einstellungen liegen könnte aber keine ahnung wo ich was einstellen muss (php.ini ? )

Pages: 1 2 [3] 4