Poprzedni temat «» Następny temat
Autor Wiadomość
[BigProblem]ed2k.mod.---help
pawel2006

Posty: 3
Postawił 1 piw(a)
Wysłany: Sob 13 Sty, 2007   [BigProblem]ed2k.mod.---help
   Adres forum: http://ateam.tk


Hej , mam wielki problem z angielskim modem ed2k :( robie wszystko zgodnie z instrukcja ale nie dziala moze cos zle robie ... prosze o pomoc .. dolaczam MOD.ed2k i moj BBcode i mam wielka prosbe aby ktos mi to zrobil :(
Aby móc ściągnąć załącznik musisz się zalogować.
Postaw piwo autorowi tego posta
 
     
Marcin 

Posty: 115
Piwa: 11/51
Skąd: Jug?w
Wysłany: Sob 13 Sty, 2007   
   Adres forum: www.dreamland.com.pl


Zobacz czy odpali Ci si
Aby móc ściągnąć załącznik musisz się zalogować.
Postaw piwo autorowi tego posta
 
     
Więcej szczegółów
Wystawiono 1 piw(a):
pawel2006
pawel2006

Posty: 3
Postawił 1 piw(a)
Wysłany: Sob 13 Sty, 2007   
   Adres forum: http://ateam.tk


dziala ..dziekuuuje !!! a mam jeszcze jednoa prosbe

[ Dodano: Sob 13 Sty, 2007 ]
Kod
##############################################################
## MOD Title: eD2k filesize with added razorback2 network sources MoD
##
## MOD Author: Meithar updated by Bill Hicks/C0de_m0nkey 26/03/2005
##
## MOD Original Description: Displays ed2k filesizes at the end of there links in phpbb
##
## MoD Updated Description : Now also displays file source stats grabbed from razorback2
## and accessed through the little info icon at the start of the
## ed2k link. It does this by grabbing the hash id from the file
## MOD Version: 1.0.1
##
## Installation Level: Easy
## Installation Time: 2 Minutes
## Files To Edit: includes/bbcode.php
##
## Included Files: mule_icon.gif
## ed2k-info.gif
##
##############################################################
## For Security Purposes, Please Check: http://www.phpbb.com/mods/downloads/ for th :arrow: e
## latest version of this MOD. Downloading this MOD from other sites could cause malicious code
## to enter into your phpBB Forum. As such, phpBB will not offer support for MOD's not offered
## in our MOD-Database, located at: http://www.phpbb.com/mods/downloads/
##############################################################
## Author Notes: The razorback2 search idea was mentioned one day by a friend who found
## it hard to see how files he had released were spreading on the network.
## Before i came up with this mod he had to open a second client to check
## the spread status not any more. When your viewing the link posted in phpbb
## you will see a small info icon before the link if you click this icon the code
## has automatically grabbed the links hash id and inserted it into the razorback2
## source stat http weblink. Meaning you click the icon it searches the hash id
## for that link and returns how many full sources and users are downloading the
## file.
##
## Thanks to Meithar who made the filesize link code in the first place.
##
##
##############################################################
## MOD History:
##
## 2005-03-26 - Version 1.0.1
## - Bill Hicks/c0de_m0nkey updated the code to include razorback2
## source search from hash id through a small info
## icon in front of the ed2k link.
##
## 2005-03-12 - Version 1.0.0
## - Meithar posted the file size mod at www.phpbb.com
##
##
##############################################################
## Before Adding This MOD To Your Forum, You Should Back Up All Files Related To This MOD
##############################################################
#

Upload the emule_icon.gif and ed2k-info.gif to your phpbb root /images dir on you webserver.

#
#-----[ OPEN ]------------------------------------------
#
includes/bbcode.php

#
#-----[ FIND ]------------------------------------------
#
function make_clickable($text)
{

// pad it with a space so we can match things at the start of the 1st line.
$ret = ' ' . $text;

#
#-----[ REPLACE WITH ]------------------------------------------
#

// Start of ed2k filesize & razorback2 stats MoD Meithar/Bill Hicks
// Returns a file size formatted in a more human-friendly format, rounded
// to the nearest Gb, Mb, Kb, or byte.


// Reworked by Bill Hicks to connect to razorback2 and show sources for ed2k files
// by automatically retreving has id from the files
function humanize_size ($size, $rounder = 0, $min = '')
{
$sizes = array('B', 'KB', 'MB', 'GB', 'TB', 'PB', 'EB', 'ZB', 'YB');
$rounders = array(0, 1, 2, 2, 2, 3, 3, 3, 3);
$ext = $sizes[0];
$rnd = $rounders[0];

if ($min == 'KB' && $size < 1024)
{
$size = $size / 1024;
$ext = 'KB';
$rounder = 1;
}
else
{
for ($i=1, $cnt=count($sizes); ($i < $cnt && $size >= 1024); $i++)
{
$size = $size / 1024;
$ext = $sizes[$i];
$rnd = $rounders[$i];
}
}

if (!$rounder)
{
$rounder = $rnd;
}

return round($size, $rounder) . '&nbsp;' . $ext;
}

function ed2k_link_callback ($m)
{
$max_len = 120;
$href = 'href="' . $m[2] . '" class="postlink"';
$size = humanize_size($m[4]);
$fname = urldecode($m[3]);

if (strlen($fname) > $max_len)
{
$fname = substr($fname, 0, $max_len - 19) . '...' . substr($fname, -16);
}
if (preg_match('#[<>"]#', $fname))
{
$fname = htmlspecialchars($fname);
}
return "<a href='http://stats.razorback2.com/ed2khistory?ed2k=$m[5]' target='_blank'><img src='images/ed2k-info.gif' border='0'></a> <img src='images/mule_icon.gif' border='0'> <a $href>$fname&nbsp;<b>($size)<b></a>";
}

function make_clickable($text)
{
// pad it with a space so we can match things at the start of the 1st line.
$ret = ' ' . $text;

// ed2k file links (Meithar):
// ed2k://|file|fileName|fileSize|fileHash|(optional params)|(optional params)|etc|
$ret = preg_replace_callback("#(^|(?<=[^\w\"']))(ed2k://\|file\|([^\\/\|:<>\*\?\"]+?)\|(\d+?)\|([a-f0-9]{32})\|(.*?)/?)(?![\"'])(?=([,\.]*?[\s<\[])|[,\.]*?$)#i", "ed2k_link_callback", $ret);
// ed2k server links:
// ed2k://|server|serverIP|serverPort
$ret = preg_replace("#(^|(?<=[^\w\"']))(ed2k://\|server\|([\d\.]+?)\|(\d+?)\|/?)#i", "<a href=\"\\2\" class=\"postLink\">\\3:\\4</a>", $ret);

// End of ed2k filesize & razorback2 stats MoD

#
#-----[ SAVE/CLOSE ALL FILES ]------------------------------------------
#
# EoM


to kod zeby pokazywalo share ile wazy prosba o dolaczenie tego :(
Postaw piwo autorowi tego posta
 
     
Marcin 

Posty: 115
Piwa: 11/51
Skąd: Jug?w
Wysłany: Sob 13 Sty, 2007   
   Adres forum: www.dreamland.com.pl


Zobacz czy dzia??
Aby móc ściągnąć załącznik musisz się zalogować.
_________________
Zapraszam Ci? :)

Wstaw swoj? reklam? !
Postaw piwo autorowi tego posta
 
     
pawel2006

Posty: 3
Postawił 1 piw(a)
Wysłany: Sob 13 Sty, 2007   
   Adres forum: http://ateam.tk


tak dzia?a .. dziekuje serdecznie :)

[ Dodano: Sob 13 Sty, 2007 ]
jak doda wiecej linkow to pisze
Cytat
No post mode specified


[ Dodano: Nie 14 Sty, 2007 ]
okay juz jest dobrze..
Postaw piwo autorowi tego posta
 
     
shadow187 

Posty: 2
Postawił 11 piw(a)
Wysłany: Sro 07 Lut, 2007   
   Adres forum: www.stona.yoyo.pl


M?g?by kto? wstawi? tego moda na forum, bardzo bym by? wdzi?czny.

A i jeszcze jedno pytanie.
Zna kto? moda na pokazanie ilo?ci seed?w i per?w na torrencie, albo jaki? kurs odno?nie tego?

Pozdrawiam.
_________________
Najlepsze forum o p2p ---> www.stona.yoyo.pl
Postaw piwo autorowi tego posta
 
 
     
Wyświetl posty z ostatnich:   
Odpowiedz do tematu
Nie możesz pisać nowych tematów
Nie możesz odpowiadać w tematach
Nie możesz zmieniać swoich postów
Nie możesz usuwać swoich postów
Nie możesz głosować w ankietach
Nie możesz załączać plików na tym forum
Nie możesz ściągać załączników na tym forum
Dodaj temat do Ulubionych
Wersja do druku

Skocz do:  



Za treść postów administracja nie odpowiada. W przypadku naruszenia prawa, wszelkie zgromadzone dane o osobie łamiącej prawo, zostaną przekazane odpowiednim władzom. Kopiowanie elementów graficznych oraz rozwiązań technologicznych zastosowanych na niniejszej witrynie surowo wzbronione.
Strona wygenerowana w 0,34 sekundy. Zapytań do SQL: 38