Seite 1 von 1

Login zum Forum auf Website

Verfasst: 13.12.2004 12:52
von Juuro
Ich habe ein Forum, das sich in nem extra Fenster öffnet, aber ich hätte trotzdem egrne, das man sich auf der Website selbst einloggen kann!
Dazu habe ich aus dem Fetch All Protal folgenden Code genommen:

Code: Alles auswählen

<?php

$phpbb_root_path = './forum/';

define ('IN_PHPBB', true);

if (!file_exists($phpbb_root_path . 'extension.inc'))
{
	die ('<tt><b>phpBB Fetch All:</b>
		$phpbb_root_path is wrong and does not point to your forum.</tt>');
}
//
// phpBB related files
//

include_once ($phpbb_root_path . 'extension.inc');
include_once ($phpbb_root_path . 'common.' . $phpEx);
include_once ($phpbb_root_path . 'includes/bbcode.' . $phpEx);

//
// Fetch All related files - we do need all these because the portal is a
// huge example
//

include_once ($phpbb_root_path . 'mods/phpbb_fetch_all/common.' . $phpEx);
include_once ($phpbb_root_path . 'mods/phpbb_fetch_all/stats.' . $phpEx);
include_once ($phpbb_root_path . 'mods/phpbb_fetch_all/users.' . $phpEx);
include_once ($phpbb_root_path . 'mods/phpbb_fetch_all/polls.' . $phpEx);
include_once ($phpbb_root_path . 'mods/phpbb_fetch_all/posts.' . $phpEx);
include_once ($phpbb_root_path . 'mods/phpbb_fetch_all/forums.' . $phpEx);
?>
Aber wennich da dann meine Daten eingebe, dann kommt Not Found
The requested URL /abi/forum/forum was not found on this server. Ich kann mir nicht erklären wo der das zweite "forum" herbringt. Denn wenn ich daraus /abi/forum mache, dann klappts!
Die Datei in der der obige Code steht ist latürnich im selben Ordner wie der ordner forum mit den phpBB-Dateien drin!
Kann mir das jemand erklären? :o
http://www.nachderschule.com/abi/

Verfasst: 13.12.2004 22:25
von Andy120
hi...

Bringt dich das weiter?

Wie kann ich das phpBB-Login auf meiner Homepage verwenden?

Gruss, Andy

Verfasst: 13.12.2004 22:35
von Juuro
Hammergeil! Ich könnt dich küssen! :D

Am besten wäre es natürlich noch, wenn die Login Eingabe-Felder verschwinden würden, wenn man eingeloggt ist. Das zum Beispiel dran steht: "Sie sind eingeloggt als Juuro". Aber so ist das schonmal seeeeeehr gut! :D