не люблю,когда выкладывают какой-то мод и не знают о том какие могут быть проблемы и вообще никак не могу помочь.
для тех у кого появляется ошибка
<!--c1--><div class='codetop'>Код</div><div class='codemain'><!--ec1-->Fatal error: Call to undefined method display::make_url() in T:/home/localhost/noip/FURL.php(8) : regexp code on line 1<!--c2--></div><!--ec2-->
сделать шаг 3 так:
Найдите:
<!--c1--><div class='codetop'>Код</div><div class='codemain'><!--ec1-->/*-------------------------------------------------------------------------*/
//
// print the headers
//
/*-------------------------------------------------------------------------*/<!--c2--></div><!--ec2-->
Добавить <b>перед:</b>
<!--c1--><div class='codetop'>Код</div><div class='codemain'><!--ec1-->function make_url($title,$id,$type,$linktitle="",$tidlink=""){
global $ibforums;
$text = $title;
$rus = array("Щ", "щ", "Ж", "ж", "Х", "х", "Ц", "ц", "Ч", "ч", "Ш",
"ш", "Э", "э", "Ю", "ю", "Я", "я", "А", "а", "Б", "б",
"В", "в", "Г", "г", "Д", "д", "Е", "е", "Ё", "ё", "З",
"з", "И", "и", "Й", "й", "К", "к", "Л", "л", "М", "м",
"Н", "н", "О", "о", "П", "п", "Р", "р", "С", "с", "Т",
"т", "У", "у", "Ф", "ф", "ы", "Ы", "ь", "Ь", "ъ", "Ъ" );
$eng = array("SHCH", "shch", "ZH", "zh", "KH", "kh", "TS", "ts", "CH", "ch", "SH",
"sh", "YE", "ye", "YU", "yu", "YA", "ya", "A", "a", "B", "b",
"V", "v", "G", "g", "D", "d", "E", "e", "E", "e", "Z",
"z", "I", "i", "I", "i", "K", "k", "L", "l", "M", "m",
"N", "n", "O", "o", "P", "p", "R", "r", "S", "s", "T",
"t", "U", "u", "F", "f", "y", "Y", "'", "'", '"', '"' );
//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($rus, $eng, $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;
}<!--c2--></div><!--ec2-->
и все должно работать.
<b>вопрос по моду этому и этому порталу=)</b>
в моде предусмотрена и перевод пользователей в хтмл,вопрос почему от этого отказались?что еще в нем изменили именно для этого портала.спасибо)