Экпериментировал дома на локалке на копии рабочего форума, переносить в сеть - честно, лениво

Это главная страница
Это просмотреть полностью
Результат в адресной строке
Код: Выделить всё
#
#-----[ DIY INSTRUCTIONS ]------------------------------------------
#
HOW TO MAKE YOUR WEBSITE OPEN TO FILE portal.php INSTEAD OF index.php ?
You can use one of the following methods! Lots of luck!
o Method 1: (for Apache server)
create/modify file .htaccess in phpBB root directory
add/edit this line:
DirectoryIndex index.html index.htm portal.php index.php
o Method 2: {use META tag - if you cannot apply the 1st method)
create file index.html in phpBB root directory (without #)
<html>
<head>
<title>Redirecting...</title>
<meta http-equiv="refresh" content="0;url=portal.php">
</head>
<body>
</body>
</html>
if your phpBB was placed in a subdirectory to the
webroot, like: http://something.com/forum
you could create index.html in the webroot and modify the
line 4 to <meta http-equiv="refresh" content="0;url=forum/portal.php">
o Method 3: I think maybe you can find out method 3 yourself ;) like JavaScript, etc.
Код: Выделить всё
$fetchposts[$i]['post_text'] = smilies_pass($fetchposts[$i]['post_text']);
Там нет двух строчек. Еще нетPROhvost писал(а):Товарищи кто нибудь победил проблему размещения статичных новостей, у меня не получилось найти строчку
Код: Выделить всё
FIND
'U_READ_FULL' =>
IN-LINE FIND
$fetchposts[$i]