Ich habe mir den Recent MOD runtergeladen und wollte ihn installieren. Aber leider verstehe ich die Anleitung überhaupt garnicht.
Daher fange ich direkt ganz vorne mit meinen Fragen an. Zuerst habe ich die recent.php aus dem no_phpbb_recent-Ordner hochgeladen. Dann irgendwo anders eine php-Datei erstelllt, mit folgendem Quellcode:
Code: Alles auswählen
<? include('http://www.dein-forum.de/phpbb2/recent.php'); ?>
<table width="100%" cellpadding="1" cellspacing="1" border="0" align="center" class="forumline">
<tr>
<th colspan="5">{L_RECENT_TITLE}</th>
</tr>
<!-- BEGIN recent -->
<tr>
<td class="{recent.ROW_CLASS}" align="center" valign="middle"><img src="{recent.TOPIC_FOLDER_IMG}" alt="{recent.TOPIC_FOLDER_ALT}" title="{recent.TOPIC_FOLDER_ALT}" /></td>
<td class="{recent.ROW_CLASS}" nowrap="nowrap"><span class="topictitle">{recent.NEWEST_IMG}{recent.TOPIC_TYPE}<a href="{recent.U_VIEW_TOPIC}" class="topictitle">{recent.TOPIC_TITLE}</a></span>
<span class="gensmall">{recent.GOTO_PAGE}<br />{recent.FIRST_TIME}{recent.FIRST_AUTHOR}<br /></span></td>
<td class="{recent.ROW_CLASS}" width="8%" align="left"><span class="postdetails"> {recent.L_REPLIES}: {recent.REPLIES}
<br /> {recent.L_VIEWS}: {recent.VIEWS}</span></td>
<td class="{recent.ROW_CLASS}" width="25%" nowrap="nowrap"> <span class="forumlink"><a href="{recent.U_VIEW_FORUM}" class="forumlink">{recent.FORUM_NAME}</span></td>
<td class="{recent.ROW_CLASS}" width="25%" nowrap="nowrap"><span class="postbody">{recent.POST_TEXT}</span><br />
<span class="gensmall"> {recent.LAST_URL} {recent.LAST_TIME} {recent.LAST_AUTHOR}</span></td>
</tr>
<!-- END recent -->
</table>Code: Alles auswählen
Warning: main(): Unable to access /srv/www/htdocs/web21/html/phpbb2/forum/config.php in /srv/www/htdocs/web21/html/phpbb2/recent.php on line 13
Warning: main(/srv/www/htdocs/web21/html/phpbb2/forum/config.php): failed to open stream: No such file or directory in /srv/www/htdocs/web21/html/phpbb2/recent.php on line 13
Warning: main(): Failed opening '/srv/www/htdocs/web21/html/phpbb2/forum/config.php' for inclusion (include_path='.:/usr/share/php') in /srv/www/htdocs/web21/html/phpbb2/recent.php on line 13
Warning: mysql_connect(): Access denied for user: 'wwwrun@localhost' (Using password: NO) in /srv/www/htdocs/web21/html/phpbb2/recent.php on line 14
Unable to select server.include($phpbb_root_path .'recent.'.$phpEx); {L_RECENT_TITLE}
{recent.NEWEST_IMG}{recent.TOPIC_TYPE}{recent.TOPIC_TITLE} {recent.GOTO_PAGE}
{recent.FIRST_TIME}{recent.FIRST_AUTHOR}
{recent.L_REPLIES}: {recent.REPLIES}
{recent.L_VIEWS}: {recent.VIEWS} {recent.FORUM_NAME} {recent.POST_TEXT}
{recent.LAST_URL} {recent.LAST_TIME} {recent.LAST_AUTHOR} Danke schonmal im vorraus!
MfG