Verfasst: 27.04.2003 15:34
ganz einfach wenn die ergebnisse mit der MYSQL_ASSOC option ausgegeben werden sind die felder nicht nummeriert und für die jetztige version des hacks müssen sie nummeriert sein...
ah
ah
in der datei news.php habe ich folgende angaben gemacht:Warning: Failed opening 'http://www.domain.at/php/phpforum/extension.inc' for inclusion (include_path='.:/usr/share/pear') in /home/www/www.domain.at/php/phpforum/news.php on line 36
Warning: Failed opening 'www.domain.at/php/phpforum/common.' for inclusion (include_path='.:/usr/share/pear') in /home/www/www.domain.at/php/phpforum/news.php on line 37
Warning: Failed opening 'www.domain.at/php/phpforum/includes/bbcode.' for inclusion (include_path='.:/usr/share/pear') in /home/www/www.domain.at/php/phpforum/news.php on line 39
Fatal error: Call to undefined function: session_pagestart() in /home/www/www.domain.at/php/phpforum/news.php on line 118
Code: Alles auswählen
// Start config variables
$phpbb_root_path = "www.domain.at/php/phpforum/"; // The path to your phpBB root dir without http:// but with end slash (/)
// Pfad ins phpBB root Verzeichnis ohne http:// aber mit abschließendem Slash (/)
$news_forum = 25; // The forum which the news came from (terrible ;-) )
// Forum aus dem die News angezeigt werden sollen
$header_type = 1; // 0 = no header; 1 = default header; 2 = simple header;
// 0 = Kein Header; 1 = Standart Header; 2 = Einfacher Header;
$limit = 10; // Limit of News (0 = all)
// News Limit (0 = ohne Begrenzung)
$letters = 10; // After this limit of letters it comes ... (0 = all)
// Buchstaben nach denen ... erscheinein soll (0 = ohne Begrenzung)
$l_type_simple = false; // Letters limit type: If 'true' the script also count the chars of a HTML or BBcode.
// Buchstaben Limit Typ: Bei 'true' werden z. B. die einzelnen Zeichen mit eines HTML Tags mit gezählt, bei 'false' nicht.
$dateformat = ""; // The dateformat. If no fill in, it will be the default dateformat of the forum
// Das Datumsformat. Falls es leergelassen wird, wird das Default Datumsformat des Forums benutzt
$include = false; // Set this variable to 'true' if you include this file.
// Stellen sie diese Variable auf 'true', falls sie diese Datei includen.
$o_url = false; // If you would set the params 'news_forum' (f) and/or 'header_type' (h) over the URL (e. g. news.php?f=2&h=2) set this variable to 'true'
// Falls sie die Parameter 'news_forum' (f) und/oder 'header_type' (h) über die URL definieren wollen (z. B. news.php?f=2&h=2) müssen sie hier auf 'true' stellen
$check_auth = true; // Set this variable to 'true' if the script should check the auth to the news_forum
// Stellen sie diese Variable auf 'true', falls das Script die Berechtigungen zum news_forum überprüfen soll
// End config variables