Skocz do zawartości
Hosting webh.pl - 20%

Nie umiem zainsatlować moda

Rekomendowane odpowiedzi

Opublikowano

Witam potrzebuje pomocy nie znam angielskiego bardzo dobrze

i nie wiem co to znaczy

The installation is pretty simple for this mod it only requires two edits.

Step 1
Copy the htaccess.txt file from this mod to your forums directory. (Where index.php and admin.php are)
Rename htaccess.txt file to ".htaccess"

(NOTE: If you already have one for some reason just add the contents of the one in this mod to the end of
the file, just use a bit of common sense if you already have one)

Upload FURL.php to your forum directory as well.

Step 2
Open the file: sources/classes/class_display.php

In the function do_output() find the following around the end of the function


After that insert the following code:

Just Below the code you have just added find:


Add the following code after that:

Lub jak ktoś by mógł przetłumaczyć instrukcje był bym bardzo wdzięczny

The installation is pretty simple for this mod it only requires two edits.

Step 1
Copy the htaccess.txt file from this mod to your forums directory. (Where index.php and admin.php are)
Rename htaccess.txt file to ".htaccess"

(NOTE: If you already have one for some reason just add the contents of the one in this mod to the end of
the file, just use a bit of common sense if you already have one)

Upload FURL.php to your forum directory as well.

Step 2
Open the file: sources/classes/class_display.php

In the function do_output() find the following around the end of the function

CODE
//-----------------------------------------
// Images on another server? uncomment and alter below
//-----------------------------------------

if ( $this->ipsclass->vars['ipb_img_url'] )
{
$this->ipsclass->skin['_wrapper'] = preg_replace( "#img\s+?src=[\"']style_(images|avatars|emoticons)(.+?)[\"'](.+?)?".">#is", "img src=\"".$this->ipsclass->vars['ipb_img_url']."style_\\1\\2\"\\3>", $this->ipsclass->skin['_wrapper'] );
}

$this->_finish();


After that insert the following code:

CODE
require ROOT_PATH."FURL.php";


Step 3

Just Below the code you have just added find:

CODE
print $this->ipsclass->skin['_wrapper'];

exit;
}


Add the following code after that:

CODE
function make_url($title,$id,$type,$linktitle="",$tidlink=""){
global $ibforums;
$text = $title;
//Charachters must be in ASCII and certain ones aint allowed
$text = html_entity_decode ($text);
$text = preg_replace ("'<[\/\!]*?[^<>]*?>'si", "", $text);
$text = str_replace(" / ","-",$text);
$text = str_replace("/","-",$text);
$text = str_replace("'","-",$text);
$text = str_replace(" - ","-",$text);
$text = str_replace("_","-",$text);
$text = str_replace(" ","-",$text);
$text = str_replace( "ä", "ae", $text);
$text = str_replace( "ö", "oe", $text);
$text = str_replace( "ü", "ue", $text);
$text = str_replace( "Ä", "Ae", $text);
$text = str_replace( "Ö", "Oe", $text);
$text = str_replace( "Ü", "Ue", $text);
$text = str_replace( "ß", "ss", $text);
$text = str_replace( "&", "and", $text);
$text = str_replace( "%", "Percent", $text);
$text = ereg_replace("[^A-Za-z0-9-]", "", $text);
$text = str_replace("----","-",$text);
$text = str_replace("---","-",$text);
$text = str_replace("--","-",$text);

if ($linktitle!=""){
$linktitle = " title=\"".$linktitle."\"";
}

if ($tidlink!=""){
$tidlink = " id=\"tid-link-{$tidlink}\"";
}

$furl = "<a{$tidlink} href=\"{$this->ipsclass->vars['board_url']}/{$text}-{$type}{$id}.html\"{$linktitle}>{$title}</a>";
return $furl;
}

Opublikowano

Witam,

Elo ziOOm obudż się ... Zrobię to raz, ale Ty idż na logikę ... I jak robisz Forum, to przynajmniej staja się rozumieć angielski ...

1. Skopiuj htaccess.txt do katalog, gdzie jest admin.php lub index.php i zmień jego nazwę na ".htaccess"

2. Załaduj FURL.php do głównego katalogu

3. Otwórz sources/classes/class_display.php

Szukaj:

//-----------------------------------------
// Images on another server? uncomment and alter below
//-----------------------------------------

if ( $this->ipsclass->vars['ipb_img_url'] )
{
$this->ipsclass->skin['_wrapper'] = preg_replace( "#img\s+?src=[\"']style_(images|avatars|emoticons)(.+?)[\"'](.+?)?".">#is", "img src=\"".$this->ipsclass->vars['ipb_img_url']."style_\\1\\2\"\\3>", $this->ipsclass->skin['_wrapper'] );
}

$this->_finish();

Dodaj poniżej:

require ROOT_PATH."FURL.php";

Znajdż:

print $this->ipsclass->skin['_wrapper'];

exit;
}

Dodaj poniżej:

function make_url($title,$id,$type,$linktitle="",$tidlink=""){
global $ibforums;
$text = $title;
//Charachters must be in ASCII and certain ones aint allowed
$text = html_entity_decode ($text);
$text = preg_replace ("'<[\/\!]*?[^<>]*?>'si", "", $text);
$text = str_replace(" / ","-",$text);
$text = str_replace("/","-",$text);
$text = str_replace("'","-",$text);
$text = str_replace(" - ","-",$text);
$text = str_replace("_","-",$text);
$text = str_replace(" ","-",$text);
//START - Zmiana polskich znakow na bezogonkowe
$text = str_replace("\xB1","a",$text);
$text = str_replace("\xE6","c",$text);
$text = str_replace("\xEA","e",$text);
$text = str_replace("\xB3","l",$text);
$text = str_replace("\xF1","n",$text);
$text = str_replace("\xF3","o",$text);
$text = str_replace("\xB6","s",$text);
$text = str_replace("\xBC","z",$text);
$text = str_replace("\xBF","z",$text);
$text = str_replace("\xA1","A",$text);
$text = str_replace("\xE6","C",$text);
$text = str_replace("\xEA","E",$text);
$text = str_replace("\xA3","L",$text);
$text = str_replace("\xD1","N",$text);
$text = str_replace("\xD3","O",$text);
$text = str_replace("\xA6","S",$text);
$text = str_replace("\xAC","Z",$text);
$text = str_replace("\xAF","Z",$text);
//END - Zmiana polskich znakow na bezogonkowe
$text = str_replace( "&", "and", $text);
$text = str_replace( "%", "Percent", $text);
$text = ereg_replace("[^A-Za-z0-9-]", "", $text);
$text = str_replace("----","-",$text);
$text = str_replace("---","-",$text);
$text = str_replace("--","-",$text);

if ($linktitle!=""){
$linktitle = " title=\"".$linktitle."\"";
}

if ($tidlink!=""){
$tidlink = " id=\"tid-link-{$tidlink}\"";
}

$furl = "<a{$tidlink} href=\"{$this->ipsclass->vars['board_url']}/{$text}-{$type}{$id}.html\"{$linktitle}>{$title}</a>";
return $furl;
}

Ten kod jest poprawiony dla literek.

PS.nOObek lepiej się staraj czytać regulamin, bo nie dam Ci kolejnego %

Jeżeli Ci pomogłem, nie zapomnij proszę o kliknięciu - add.png

Możesz liczyć na moją pomoc z zakresu: PHP5, MySQL, JavaScript i Ajax | W trakcie nauki CSS i xHTML!

W sprawie pomocy z zakresu IP.Board służę pomocą w dziale Zaawansowane programowanie IP.Board

Proszę o nie wysyłanie próśb PW o prywatną pomoc - pomagam JEDYNIE na forum lub na zlecenie!

Opublikowano

Nic nie piszę, ale Pan nOObek mnie zadziwił ;]

Invision Power Board v2.1.4 © 2006 IPS, Inc.

Licensed to: eMMOCenter Team

Brak linku klikalnego !

http://emmocenter.em.funpic.de/Forum/style...B1/footer_l.gif

To też chyba nie płacone co nie ?

Jeżeli Ci pomogłem, nie zapomnij proszę o kliknięciu - add.png

Możesz liczyć na moją pomoc z zakresu: PHP5, MySQL, JavaScript i Ajax | W trakcie nauki CSS i xHTML!

W sprawie pomocy z zakresu IP.Board służę pomocą w dziale Zaawansowane programowanie IP.Board

Proszę o nie wysyłanie próśb PW o prywatną pomoc - pomagam JEDYNIE na forum lub na zlecenie!

Gość
Ten temat został zamknięty. Brak możliwości dodania odpowiedzi.

Ostatnio przeglądający 0

  • Brak zarejestrowanych użytkowników przeglądających tę stronę.

Konto

Nawigacja

Szukaj

Szukaj

Skonfiguruj powiadomienia push w przeglądarce

Chrome (Android)
  1. Stuknij ikonę kłódki obok paska adresu.
  2. Stuknij Uprawnienia → Powiadomienia.
  3. Dostosuj swoje ustawienie.
Chrome (Komputer)
  1. Kliknij ikonę kłódki na pasku adresu.
  2. Wybierz Ustawienia witryny.
  3. Znajdź Powiadomienia i dostosuj swoje ustawienie.