Мод SEO для IPB

<!--quoteo(post=78190:date=11.04.2008, 02:06:name=«$EGUR@»)--><div class='quotetop'>Цитата(«$EGUR@» @ 11.04.2008, 02:06) [snapback]78190[/snapback]</div><div class='quotemain'><!--quotec-->да.. у меня 2 мода стоят<!--QuoteEnd--></div><!--QuoteEEnd-->
я так и понял... а глюков с этим (в смысле их сочетания) не наблюдается?
 
да нет вроде... только вот тут нужно подправить - <a href="http://forum.pronets.ru/member-list.html&max_results=20&sort_key=posts&sort_order=desc&filter=ALL" target="_blank">http://forum.pronets.ru/member-list.html&a...&filter=ALL</a> Показывает не самых активных а всех
 
сам подправил...

нашел:
<!--c1--><div class='codetop'>Код</div><div class='codemain'><!--ec1-->member-list.html<!--c2--></div><!--ec2-->
и заменил на:
<!--c1--><div class='codetop'>Код</div><div class='codemain'><!--ec1-->ipb.html?act=Members<!--c2--></div><!--ec2-->
 
не люблю,когда выкладывают какой-то мод и не знают о том какие могут быть проблемы и вообще никак не могу помочь.
для тех у кого появляется ошибка

<!--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>
в моде предусмотрена и перевод пользователей в хтмл,вопрос почему от этого отказались?что еще в нем изменили именно для этого портала.спасибо)
 
Сверху