
Wollt mal nachfragen wie das nun mit dem ordnen war, dass immer de aktuellen Beiträge oben sind....
Hat echt keiner das Prob, das er zwei Felder mit Antworten hat??
Code: Alles auswählen
case 'time':
$order_by = "t.topic_id $sort_order";
break;
Code: Alles auswählen
case 'quiz':
$order_by = "t.topic_quiz $sort_order";
break;
Code: Alles auswählen
$mode_types_text = array($lang['Post_Normal'],$lang['Topics'],$lang['Date'],$lang['Replies'],$lang['Author'],$lang['Views']);
$mode_types = array('default', 'topics', 'time', 'replies', 'author', 'views');
Code: Alles auswählen
$mode_types_text = array($lang['Post_Normal'],$lang['Topics'],$lang['Date'],$lang['Replies'],$lang['Author'],$lang['Views'], 'Quizstatus');
$mode_types = array('default', 'topics', 'time', 'replies', 'author', 'views', 'quiz');
was meinst du damit?Schwarzer-Schlumpf hat geschrieben:Hat echt keiner das Prob, das er zwei Felder mit Antworten hat??
Warning: Unable to access ./includes/constants.php in /srv/www/htdocs/kunden/web3/html/forum/common.php on line 119
Warning: Failed opening './includes/constants.php' for inclusion (include_path='.:/usr/share/php') in /srv/www/htdocs/kunden/web3/html/forum/common.php on line 119
Warning: Unable to access ./includes/template.php in /srv/www/htdocs/kunden/web3/html/forum/common.php on line 120
Warning: Failed opening './includes/template.php' for inclusion (include_path='.:/usr/share/php') in /srv/www/htdocs/kunden/web3/html/forum/common.php on line 120
Warning: Unable to access ./includes/sessions.php in /srv/www/htdocs/kunden/web3/html/forum/common.php on line 121
Warning: Failed opening './includes/sessions.php' for inclusion (include_path='.:/usr/share/php') in /srv/www/htdocs/kunden/web3/html/forum/common.php on line 121
Warning: Unable to access ./includes/auth.php in /srv/www/htdocs/kunden/web3/html/forum/common.php on line 122
Warning: Failed opening './includes/auth.php' for inclusion (include_path='.:/usr/share/php') in /srv/www/htdocs/kunden/web3/html/forum/common.php on line 122
Warning: Unable to access ./includes/functions.php in /srv/www/htdocs/kunden/web3/html/forum/common.php on line 123
Warning: Failed opening './includes/functions.php' for inclusion (include_path='.:/usr/share/php') in /srv/www/htdocs/kunden/web3/html/forum/common.php on line 123
Warning: Unable to access ./includes/db.php in /srv/www/htdocs/kunden/web3/html/forum/common.php on line 124
Warning: Failed opening './includes/db.php' for inclusion (include_path='.:/usr/share/php') in /srv/www/htdocs/kunden/web3/html/forum/common.php on line 124
Fatal error: Call to undefined function: encode_ip() in /srv/www/htdocs/kunden/web3/html/forum/common.php on line 155
Code: Alles auswählen
## MOD Title: Points System
## MOD Author: Napoleon <napoleon@inetangel.com> (Chris Moore) http://www.iNetAngel.com
## MOD Description: A points system to use for anything you want on your board.
## MOD Version: 2.0.9
Code: Alles auswählen
#
#-----[ FIND ]------------------------------------------
#
$meta = '<meta http-equiv="refresh" content="3;url=' . append_sid("viewtopic.$phpEx?" . POST_POST_URL . "=" . $post_id) . '#' . $post_id . '">';
$message = $lang['Stored'] . '<br /><br />' . sprintf($lang['Click_view_message'], '<a href="' . append_sid("viewtopic.$phpEx?" . POST_POST_URL . "=" . $post_id) . '#' . $post_id . '">', '</a>') . '<br /><br />' . sprintf($lang['Click_return_forum'], '<a href="' . append_sid("viewforum.$phpEx?" . POST_FORUM_URL . "=$forum_id") . '">', '</a>');
#
#-----[ BEFORE, ADD ]------------------------------------------
#
if ($board_config['points_post'] && !$post_info['points_disabled'] && (($mode == 'newtopic') || ($mode == 'reply')) )
{
$points = abs(($mode == 'newtopic') ? $board_config['points_topic'] : $board_config['points_reply']);
if (($userdata['user_id'] != ANONYMOUS) && ($userdata['admin_allow_points']))
{
add_points($userdata['user_id'], $points);
}
}
Und dieser Fehler führte bei mir dazu, daß man keinen Zugriff mehr auf die Foren, die Mitgliederliste und die Profile bekamFatal error: Call to undefined function: add_points() in /is/htdocs/49513/www.forum4winde.de/includes/functions_post.php on line 410
Code: Alles auswählen
#
#-----[ ÖFFNE ]------------------------------------------
#
includes/functions_post.php
#
#-----[ SUCHE ]------------------------------------------
#
if (($userdata['user_id'] != ANONYMOUS) && ($userdata['admin_allow_points']))
#
#-----[ ERSETZE MIT ]------------------------------------------
#
if (($userdata['user_id'] != ANONYMOUS) && ($userdata['user_id'] != BOT-ID) && ($userdata['admin_allow_points']))