and it looks like this
and i reinstalled the old files and it still looks that way
please help
It show when i achieve "Posts 20+ times per day ". Can someone help?[phpBB Debug] PHP Notice: in file /includes/functions_goals.php on line 273: Division by zero
[phpBB Debug] PHP Notice: in file /includes/functions_goals.php on line 274: Division by zero
[phpBB Debug] PHP Notice: in file /includes/functions_goals.php on line 275: Division by zero
[phpBB Debug] PHP Notice: in file /includes/functions_goals.php on line 273: Division by zero
[phpBB Debug] PHP Notice: in file /includes/functions_goals.php on line 274: Division by zero
[phpBB Debug] PHP Notice: in file /includes/functions_goals.php on line 275: Division by zero
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 3859: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3247)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 3861: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3247)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 3862: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3247)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 3863: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3247)
Code: Select all
$userdays = round((time() - $joindate) / 86400, 0);
Code: Select all
$userdays = round((time() - $joindate) / 86400, 4);
Code: Select all
'WWW' => 'Website',
Code: Select all
'ACHIEVE' => 'Benutzerleistungen',
'40_POSTS' => 'Erreichte 40 Beiträge',
'80_POSTS' => 'Erreichte 80 Beiträge',
'160_POSTS' => 'Erreichte 160 Beiträge',
'240_POSTS' => 'Erreichte 240 Beiträge',
'480_POSTS' => 'Erreichte 480 Beiträge',
'600_POSTS' => 'Erreichte 600 Beiträge',
'1000_POSTS' => 'Erreichte 1000 Beiträge',
'2000_POSTS' => 'Erreichte 2000 Beiträge',
'3000_POSTS' => 'Erreichte über 3000 Beiträge',
'TOPIC_VIEWS_500' => 'Machte ein Thema mit über 500 Sichtungen',
'TOPIC_VIEWS_1000' => 'Machte ein Thema mit über 1000 Sichtungen',
'TOPIC_VIEWS_10000' => 'Machte ein Thema mit über 10000 Sichtungen',
'TOPIC_REPLIES_25' => 'Machte ein Thema mit über 25 Antworten',
'TOPIC_REPLIES_50' => 'Machte ein Thema mit über 50 Antworten',
'TOPIC_REPLIES_100' => 'Machte ein Thema mit über 100 Antworten',
'TOPIC_REPLIES_500' => 'Machte ein Thema mit über 500 Antworten',
'HAS_ATTACHED' => 'Lud eine Datei hoch',
'HAS_POLL' => 'Machte eine Abstimmung',
'UP_AVATAR' => 'Besitzt einen Avatar',
'FRIEND_5' => 'Erreichte 5 Freunde',
'FRIEND_10' => 'Erreichte 10 Freunde',
'FRIEND_20' => 'Erreichte 20 Freunde',
'FRIEND_50' => 'Erreichte 50 Freunde',
'JOIN_30' => 'War mindestens für 30 Tag',
'JOIN_60' => 'War mindestens für 60 Tag',
'JOIN_365' => 'War mindestens für ein Jahr',
'POST_PER_DAY_5' => 'Postete 5+ mal am Tag',
'POST_PER_DAY_10' => 'Postete 10+ mal am Tag',
'POST_PER_DAY_20' => 'Postete 20+ mal am Tag',
'VOTED_POLL' => 'Wählte bei einer Abstimmung',
'CREATED_TOPIC_10' => 'Erstellte 10 Themen',
'CREATED_TOPIC_20' => 'Erstellte 20 Themen',
'CREATED_TOPIC_50' => 'Erstellte 50 Themen',
'TOTAL_REACH' => 'total erreicht',
'TROPHY' => 'Leistungstrophaen',
'TOTAL_POST_REACH' => 'Total Betragsziele erreicht :',
'TOPIC_CREATE' => 'Themen Erstellungsziele erreicht :',
'TOPIC_VIEW' => 'Themen Betrachtungsziele erreicht :',
'TOPIC_REPLIES' => 'Themen Antwortziele erreicht :',
'RANDOM_GOALS' => 'Total Wahlweiseziele erreicht :',
'MEMBER_GOALS' => 'Total Mitgliederziele erreicht :',
'FRIEND_GOALS' => 'Total Freundeziele erreicht :',
'JOIN_GOALS' => 'Total Beiträge pro Tag Ziele erreicht :',
'NONE_YET' => '<strong>Dieser Benutzer erreichte nicht das Minimum bei 10 Zielen um eine Trophae zu erreichen!</strong>',
lugsciath wrote:german translation
language/de/memberlist.php
search for
add afterCode: Select all
'WWW' => 'Website',
Code: Select all
'ACHIEVE' => 'Benutzerleistungen', '40_POSTS' => 'Erreichte 40 Beiträge', '80_POSTS' => 'Erreichte 80 Beiträge', '160_POSTS' => 'Erreichte 160 Beiträge', '240_POSTS' => 'Erreichte 240 Beiträge', '480_POSTS' => 'Erreichte 480 Beiträge', '600_POSTS' => 'Erreichte 600 Beiträge', '1000_POSTS' => 'Erreichte 1000 Beiträge', '2000_POSTS' => 'Erreichte 2000 Beiträge', '3000_POSTS' => 'Erreichte über 3000 Beiträge', 'TOPIC_VIEWS_500' => 'Machte ein Thema mit über 500 Sichtungen', 'TOPIC_VIEWS_1000' => 'Machte ein Thema mit über 1000 Sichtungen', 'TOPIC_VIEWS_10000' => 'Machte ein Thema mit über 10000 Sichtungen', 'TOPIC_REPLIES_25' => 'Machte ein Thema mit über 25 Antworten', 'TOPIC_REPLIES_50' => 'Machte ein Thema mit über 50 Antworten', 'TOPIC_REPLIES_100' => 'Machte ein Thema mit über 100 Antworten', 'TOPIC_REPLIES_500' => 'Machte ein Thema mit über 500 Antworten', 'HAS_ATTACHED' => 'Lud eine Datei hoch', 'HAS_POLL' => 'Machte eine Abstimmung', 'UP_AVATAR' => 'Besitzt einen Avatar', 'FRIEND_5' => 'Erreichte 5 Freunde', 'FRIEND_10' => 'Erreichte 10 Freunde', 'FRIEND_20' => 'Erreichte 20 Freunde', 'FRIEND_50' => 'Erreichte 50 Freunde', 'JOIN_30' => 'War mindestens für 30 Tag', 'JOIN_60' => 'War mindestens für 60 Tag', 'JOIN_365' => 'War mindestens für ein Jahr', 'POST_PER_DAY_5' => 'Postete 5+ mal am Tag', 'POST_PER_DAY_10' => 'Postete 10+ mal am Tag', 'POST_PER_DAY_20' => 'Postete 20+ mal am Tag', 'VOTED_POLL' => 'Wählte bei einer Abstimmung', 'CREATED_TOPIC_10' => 'Erstellte 10 Themen', 'CREATED_TOPIC_20' => 'Erstellte 20 Themen', 'CREATED_TOPIC_50' => 'Erstellte 50 Themen', 'TOTAL_REACH' => 'total erreicht', 'TROPHY' => 'Leistungstrophaen', 'TOTAL_POST_REACH' => 'Total Betragsziele erreicht :', 'TOPIC_CREATE' => 'Themen Erstellungsziele erreicht :', 'TOPIC_VIEW' => 'Themen Betrachtungsziele erreicht :', 'TOPIC_REPLIES' => 'Themen Antwortziele erreicht :', 'RANDOM_GOALS' => 'Total Wahlweiseziele erreicht :', 'MEMBER_GOALS' => 'Total Mitgliederziele erreicht :', 'FRIEND_GOALS' => 'Total Freundeziele erreicht :', 'JOIN_GOALS' => 'Total Beiträge pro Tag Ziele erreicht :', 'NONE_YET' => '<strong>Dieser Benutzer erreichte nicht das Minimum bei 10 Zielen um eine Trophae zu erreichen!</strong>',
Code: Select all
[phpBB Debug] PHP Notice: in file /includes/functions_goals.php on line 273: Division by zero
[phpBB Debug] PHP Notice: in file /includes/functions_goals.php on line 274: Division by zero
[phpBB Debug] PHP Notice: in file /includes/functions_goals.php on line 275: Division by zero
[phpBB Debug] PHP Notice: in file /includes/functions_goals.php on line 273: Division by zero
[phpBB Debug] PHP Notice: in file /includes/functions_goals.php on line 274: Division by zero
[phpBB Debug] PHP Notice: in file /includes/functions_goals.php on line 275: Division by zero
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4017: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3269)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4019: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3269)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4020: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3269)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4021: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3269)
Code: Select all
$per_day = total_join_days($user_id);
$post_per_day_5 = ($member['user_posts'] / $per_day >= 5) ? true : false;
$post_per_day_10 = ($member['user_posts'] / $per_day >= 10) ? true : false;
$post_per_day_20 = ($member['user_posts'] / $per_day >= 20) ? true : false;
$post_per_day_goal = $post_per_day_10 + $post_per_day_5 + $post_per_day_20
Code: Select all
$per_day = total_join_days($user_id);
$post_per_day_0 = ($member['user_posts'] / $per_day = 1) ? true : false;
$post_per_day_5 = ($member['user_posts'] / $per_day >= 5) ? true : false;
$post_per_day_10 = ($member['user_posts'] / $per_day >= 10) ? true : false;
$post_per_day_20 = ($member['user_posts'] / $per_day >= 20) ? true : false;
$post_per_day_goal = $post_per_day_10 + $post_per_day_5 + $post_per_day_20 - $post_per_day_0;
Code: Select all
open: includes/functions_goals.php
FIND:
$per_day = total_join_days($user_id);
$post_per_day_5 = ($member['user_posts'] / $per_day >= 5) ? true : false;
$post_per_day_10 = ($member['user_posts'] / $per_day >= 10) ? true : false;
$post_per_day_20 = ($member['user_posts'] / $per_day >= 20) ? true : false;
$post_per_day_goal = $post_per_day_10 + $post_per_day_5 + $post_per_day_20;
REPLACE WITH:
if($member['user_posts'] <= 0 || !$member['user_posts']){
$per_day = 0;
$post_per_day_5 = 0;
$post_per_day_10 = 0;
$post_per_day_20 = 0;
$post_per_day_goal = 0;
}else{
$per_day = total_join_days($user_id);
$post_per_day_5 = ($member['user_posts'] / $per_day >= 5) ? true : false;
$post_per_day_10 = ($member['user_posts'] / $per_day >= 10) ? true : false;
$post_per_day_20 = ($member['user_posts'] / $per_day >= 20) ? true : false;
$post_per_day_goal = $post_per_day_10 + $post_per_day_5 + $post_per_day_20;
}