Seite 1 von 2

Hilfe! Ich schaffe es nicht =( - Portal einbau!

Verfasst: 18.05.2006 15:21
von Genesis86
Hallo zusammen,

ich versuche bereits seit 2 Tagen mir das Ez Portal auf mein Forum aufzubauen und ich bekomme es nicht hin.
Mir werden immer Fehler angezeit, die ích aber dann mit Hilfe von Beiträgen hier im Forum behebe, aber andererseits läuft es dann wieder gar nicht!

Ich möchte euch jetzt um Rat fahren:

Ich habe das phpBB 2.0.18 und welches Portal-Zip muss genau dort drauf spielen...

Ich habe langsam keine Luste mehr :(

MfG

Verfasst: 18.05.2006 15:44
von phpSimon
Hmm ich verwende auch phpBB 2.0.18 und dieses ezPortal hier: http://smartor.is-root.com/viewtopic.php?t=1860

hatte allerdings keinerlei probleme...

Zu welchen Fehlern kommt es denn? Kannst du mal den Link zu deinem Portal posten?
Hast du alle Files die man editieren muss auch richtig editiert ?
## login.php
## includes/page_header.php
## language/lang_english/lang_main.php
## templates/subSilver/overall_header.tpl

?

Alle notwendigen Dateien hochgeladen ?
## Included Files: 4
## portal.php
## fetchposts.php
## templates/subSilver/portal_body.tpl
## images/smartorsite_logo.gif

?

Verfasst: 18.05.2006 15:56
von Genesis86
Ich bin gerade auf der Arbeit, aber ich bin gleich zu Hause und versuche es mal mit deinem Portal...

Wenn es zu Fehlern kommt werde ich die sofort hierrein schreiben...

Danke für deine schnelle Antwort !

Verfasst: 18.05.2006 17:34
von Genesis86
Ich habe jetzt alles gemacht....

außer !
#-----[ 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.

#
#-----[ DIY INSTRUCTIONS ]------------------------------------------
#
# CONFIGURATION FOR ezPortal
#
# OPEN: portal.php
#
# FIND:
//
// Set configuration for ezPortal
//

// Welcome Text: note that we are in PHP file, so use \' instead of ' and use \\ instead of \ (HTML enabled)
$CFG['welcome_text'] = 'Welcome to <b>My Community</b><br /><br />Thanks for using ezPortal,<br /><br />Have a good time! ^_^';

// Number of news on portal
$CFG['number_of_news'] = '5';

// Length of news
$CFG['news_length'] = '200';

// News Forum ID: separate by comma for multi-forums, eg. '1,2,5'
$CFG['news_forum'] = '1';

// Poll Forum ID: separate by comma for multi-forums, eg. '3,8,14'
$CFG['poll_forum'] = '1';

//
// END configuration
// --------------------------------------------------------
#
# Adjust the above values in portal.php
#
#-----[ SAVE/CLOSE ALL FILES ]------------------------------------------
#
# EoM
Was soll ich den da machen??? Ich verstehe das leider nicht.... bitte nicht auslachen :grin:

Verfasst: 18.05.2006 17:38
von Asmodiel
schick die mit // anfangenden dinger durch die google übersetzung ;)

Verfasst: 18.05.2006 17:51
von CrYiNg
Hallo!
Genesis86 hat geschrieben:Ich habe jetzt alles gemacht....

außer !
#-----[ DIY INSTRUCTIONS ]------------------------------------------
#
[..]
Was soll ich den da machen??? Ich verstehe das leider nicht.... bitte nicht auslachen :grin:
Funktioniert jetzt alles?
CrYiNg :cry:

Verfasst: 18.05.2006 17:51
von Genesis86
#
#-----[ DIY INSTRUCTIONS ]------------------------------------------
#
# CONFIGURATION FOR ezPortal
#
# OPEN: portal.php
#
# FIND:
//
// Set configuration for ezPortal
//

// Welcome Text: note that we are in PHP file, so use \' instead of ' and use \\ instead of \ (HTML enabled)
$CFG['welcome_text'] = 'Welcome to <b>My Community</b><br /><br />Thanks for using ezPortal,<br /><br />Have a good time! ^_^';

// Number of news on portal
$CFG['number_of_news'] = '5';

// Length of news
$CFG['news_length'] = '200';

// News Forum ID: separate by comma for multi-forums, eg. '1,2,5'
$CFG['news_forum'] = '1';

// Poll Forum ID: separate by comma for multi-forums, eg. '3,8,14'
$CFG['poll_forum'] = '1';

//
// END configuration
// --------------------------------------------------------
#
# Adjust the above values in portal.php
#
#-----[ SAVE/CLOSE ALL FILES ]------------------------------------------
#
# EoM

Was muss ich hierbei machen????
HILFE!!!!


Bis jetzt funktioniert es... aber ich habe das oben stehende noch nicht gemacht!

Verfasst: 18.05.2006 18:08
von phpSimon
Öffne die portal.php und passe deine Werte entsprechend deinem Forum an...

$CFG['welcome_text'] = Hier kannst du einen Willkommens text hinschreiben

$CFG['number_of_news'] = Wieviel News sollen auf dem Portal angezeigt werden ? zb. die letzten 5

$CFG['news_length'] = Wieviel Zeichen sollen von den News dargestellt werden...

$CFG['news_forum'] = Aus welchem Forum sollen News benutzt werden.. normalerweise benutzt man das erste Forum als News... also die '1'

Danach die portal.php speichern und fertig.

/edit: CFG-poll = Hier gibst du das Forum an, aus dem er Votes anzeigen soll.

Verfasst: 18.05.2006 19:35
von Genesis86
So... ich habe jetzt nur noch eine Sache....

Bei meinem Portal fehlen die Überschriften für Boxen....

http://invisible-forces.net

kann mir jemand helfen???
Ach und bei mir Fehlt Link in der Box oben der Link zum Portal!

Verfasst: 18.05.2006 19:45
von Asmodiel
beispiel:

Code: Alles auswählen

<tbody><tr>
		<td class="catHead" height="25"><span class="genmed"><b></b></span></td>
	   </tr>
	   <tr>
		<td class="row1" align="left"><span class="genmed" style="line-height: 150%;">
			» <a class="mainmenu" href="portal.php?sid=90d5dfbbfdf119b9c228bd18df50a528"></a><br>
			» <a class="mainmenu" href="index.php?sid=90d5dfbbfdf119b9c228bd18df50a528">Forum</a><br>
			» <a class="mainmenu" href="memberlist.php?sid=90d5dfbbfdf119b9c228bd18df50a528">Mitgliederliste</a><br>

			» <a class="mainmenu" href="faq.php?sid=90d5dfbbfdf119b9c228bd18df50a528">FAQ</a><br>
			» <a class="mainmenu" href="search.php?sid=90d5dfbbfdf119b9c228bd18df50a528">Suchen</a><br>
		</span></td>
	   </tr>
	  </tbody>
das ist dieses ding da wo forum suchen, faq etc. steht. (links)
und du musst halt...ach ich machs mal wie ne MOD install ;)

Code: Alles auswählen

-------[find]-------
<span class="genmed"><b></b></span>
-------[in-line find]-------
<b>
-------[after, add]-------
BOXENTITEL(veränderbar ;))
nur ich kenn mich mit dem protal mod nicht aus, ich weiß nicht, in welcher datei du das suchen musst...ich hab aber zwei vermutungen:
  • overall_header.tpl in deinem templates/ ordner
  • portal.php
hoffe, es hilft!