Verfasst: 14.04.2006 14:18
u.u Stimmt, ist die search.php.
Hier ist sie auch schon: http://www.nihon-sekai.de/search.txt
Danke, First.
Hier ist sie auch schon: http://www.nihon-sekai.de/search.txt
Danke, First.
Code: Alles auswählen
if(empty($newest_post_img))
{
$or_append = '';
}
else
{
$or_append = '&view=newest';
}
Code: Alles auswählen
$newest_topic_url = append_sid("viewtopic.$phpEx?" . POST_TOPIC_URL . '=' . $searchset[$i]['topic_id'] . "&highlight=$highlight_active . (empty($newest_post_img) ? '' : '&view=newest')");
Code: Alles auswählen
'U_VIEW_TOPIC' => $topic_url . $or_append)
Code: Alles auswählen
'U_VIEW_TOPIC' => $newest_topic_url)
nach dieser Änderung kann ich vom Index keine weitere Seite aufrufen (jedenfalls nicht local).mgutt hat geschrieben:
öffne includes/sessions.php und suche nach:ersetze gegen:Code: Alles auswählen
function append_sid($url, $non_html_amp = false) { global $SID; if ( !empty($SID) && !preg_match('#sid=#', $url) ) { $url .= ( ( strpos($url, '?') !== false ) ? ( ( $non_html_amp ) ? '&' : '&' ) : '?' ) . $SID; } return $url; }
Code: Alles auswählen
function append_sid($url, $non_html_amp = false) // Seo Urls Anfang Version 1.0.7 { global $SID, $phpEx, $topic_title, $forum_name; if ( !empty($SID) && !preg_match('#sid=#', $url) ) { $url .= ( ( strpos($url, '?') !== false ) ? ( ( $non_html_amp ) ? '&' : '&' ) : '?' ) . $SID; } elseif ( $url != './' && strpos($url, 'login') === false && !defined('IN_ADMIN') ) { // Jumpbox Fix if ( strpos($url, 'viewforum') !== false && strpos($url, 'f=') === false ) { return $url; } // Search Author's posts URL if ( strpos($url, 'search_author') !== false ) { $author_name = substr( strrchr($url, 'search_author='), 14); if ( preg_match('#[^a-zA-Z0-9-_.]#', $author_name) ) { return $url; } } // Title to URL $url_amp = ( $non_html_amp ) ? '&' : '&'; $url_parms = array( (strpos($url, 'highlight=') !== false && $url{strlen($url)-1} == '=' ? $url_amp . 'highlight=' : ''), $url_amp . 'start=0', $url_amp . 'postdays=0', $url_amp . 'postorder=asc', ".$phpEx?", ".$phpEx", '=', '&', '&'); $url_rparms = array( '', '', '', '', ',', '.html', ',', ',', ','); $url = str_replace($url_parms, $url_rparms, $url); $url = ($url == './' ? '' : $url . ( strpos($url, '.html') !== false ? '' : '.html' )); // replace special chars if ( ( !empty($topic_title) && strpos($url, 'viewtopic') !== false ) || ( !empty($forum_name) && strpos($url, 'viewforum') !== false ) ) { $url_search = array( 'Ö', 'Ä', 'Ü', 'ö', 'ä', 'à', 'é', 'è', 'ü', 'ß', '°', '²', '³', '§', '$', '%', '=', '`', '´', '|', '€', 'µ', '~', ' ', '.', ',', "'", '"', '#','"', '&', '+','>', '<', '–', '–', '!', '?','{','}','[', ']', '/', '\\', ";", ")", "(", ':', '_', '*', '@', '^', '&', '---', '--'); $url_replace = array('oe', 'ae', 'ue', 'oe', 'ae', 'a', 'e', 'e', 'ue','ss', '', '', '', '', '', '', '', '', '', '', '', '', '', '-', '-', '-', '', '', '', '', 'und','und', '', '', '', '-', '', '', '', '', '', '', '-', '', '', '', '', '', '-', '', '', '','und', '-', '-'); } // forum name and topic title to URL if ( !empty($forum_name) && strpos($url, 'viewforum') !== false ) { $url = str_replace('viewforum', '', $url); $forumurl = str_replace($url_search, $url_replace, strtolower($forum_name) . '-'); $url = $forumurl == '-' ? 'forum' . $forumurl . $url : $forumurl . $url; $url = str_replace('-,f,', '-f', $url); } elseif ( !empty($topic_title) && strpos($url, 'viewtopic') !== false ) { $url = str_replace('viewtopic', '', $url); $topicurl = str_replace($url_search, $url_replace, strtolower($topic_title) . '-'); $url = $topicurl == '-' ? 'topic' . $topicurl . $url : $topicurl . $url; $url = str_replace('-,t,', '-t', $url); $url = str_replace('-,p,', '-p', $url); } } return $url; } // Seo Urls Ende Version 1.0.7
Geändert wurde bislang nur das, was mgutt im Eingangspost (Seite 1) unter der Modvers. 1.0.7 gepostet hat.The requested URL /web/aoc/ch/vote/osDate_1.0.1de/public_html/forum/gruppen-f2.html was not found on this server.
Apache/2.0.53 (Win32) mod_ssl/2.0.53 OpenSSL/0.9.7e PHP/4.3.10 Server at localhost Port 80