Verfasst: 14.12.2002 12:35
Poste uns doch mal aus der Datei portal.php die Zeilen 162-164.Anonymous hat geschrieben:Parse error: parse error in /usr/www/users/nb2007/board/portal.php on line 163
phpBB.de - Die deutsche phpBB-Community
https://www.phpbb.de/community/
Poste uns doch mal aus der Datei portal.php die Zeilen 162-164.Anonymous hat geschrieben:Parse error: parse error in /usr/www/users/nb2007/board/portal.php on line 163
hoffe das sind sie aber denke mal schon//
// Fetch Poll
//
$poll_forum_id = 1; // Change this with yours
$fetchpoll = phpbb_fetch_poll($poll_forum_id);
if (!empty($fetchpoll))
{
$template->assign_vars(array(
'S_POLL_QUESTION' => $fetchpoll['vote_text'],
'S_POLL_ACTION' => append_sid('posting.'.$phpEx.'?'.POST_TOPIC_URL.'='.$fetchpoll['topic_id']),
'S_TOPIC_ID' => $fetchpoll['topic_id'],
'L_SUBMIT_VOTE' => $lang['Submit_vote'],
'L_LOGIN_TO_VOTE' => $lang['Login_to_vote']
)
);
for ($i = 0; $i < count($fetchpoll['options']); $i++)
{
$template->assign_block_vars('poll_option_row', array(
'OPTION_ID' => $fetchpoll['options'][$i]['vote_option_id'],
'OPTION_TEXT' => $fetchpoll['options'][$i]['vote_option_text'],
'VOTE_RESULT' => $fetchpoll['options'][$i]['vote_result'],
)
);
}
}
else
{
$template->assign_vars(array(
'S_POLL_QUESTION' => $lang['No_poll'],
'DISABLED' => 'disabled="disabled"'
)
);
}
//
// Generate the page
//
$template->pparse('body');
include($phpbb_root_path . 'includes/page_tail.'.$phpEx);
?>
da ich keine Lust auf suchen habeM@ster hat geschrieben: Poste uns doch mal aus der Datei portal.php die Zeilen 162-164.
Hi Simpson, ich hab das mal installiert und auch alles wie im file phpBB Portal.txt geändert und auf den server kopiert. aber wie mach ich es das er vom normalen forum zum portal rüber wechselt ???Simpson hat geschrieben:hold on
Geh mal besser, besser is das
http://phpbbhacks.com/viewhack.php?id=694
EDIT
oder direkt http://smartor.is-root.com