Portal welkom probleem

Installatie lukt niet? Plotseling een foutmelding. Of weet je niet hoe iets werkt. Problemen met phpBB2 kun je in dit archief opzoeken.
Forumregels

Sinds 1 januari 2009 wordt phpBB2 niet meer ondersteund.
Onderstaande informatie is verouderd en dient uitsluitend als archief.
phpBB2.0.x
Gesloten
dubock2

Portal welkom probleem

Bericht door dubock2 » 18 mei 2003, 11:41

Ik heb een probleem met de welkomstekst op mn portal. Hoe kan ik dat verbeteren. Je ziet hier mn portal.php en mn welkomstekst. Maar als ik hem upload blijft er gewoon het orginele staan. Wat doe ik verkeerd?

Code: Selecteer alles

<?php
/*************************************************************************

**
 *                                portal.php
 *                            -------------------
 *   begin                : Dinsdag, 13 Augustus, 2002
 *   copyright            : (C) 2003 Smartor
 *   email                : smartor_xp@hotmail.com
 *	 vertaling		 	  : Admiral Rob
 *	 e-mail				  : admiralrob@phpbb-nl.com
 *
 *   $Id: portal.php,v 2.1.0 2002/9/27, 23:07:35 Smartor Exp $
 *
 

**************************************************************************

*/

/*************************************************************************

**
 *
 *   Dit programma is gratis software; je kunt het verdelenen/of aanpassen
 *   onder de regels van de GNU General Public License zoals gemaakt door
 *   de Free Software Foundation; of versie 2 van de lecentie of
 *   (bij uw optie) elke latere versie.
 *
 

**************************************************************************

*/

/*************************************************************************

**
 *
 *   Dezelfde code die ik geleend had van de originele index.phpindex.php, 

Welkom
 *   Avatar mod en andere...
 *
 

**************************************************************************

*/

//
// Stel configuratie voor ezPortal in
//

// Welkom tekst: pas op dat we in een .php bestand zijn, dus gebruik \' in 

plaats van ' en gebruik \\ in plaats van \ (HTML aan)
$CFG['welcome_text'] = '<b>Welcome on The Profi clan Website<\\b> On this site you can find information about the Profi clan.About the Profi clan:The Profi clan is playing the Real time Strategy game Age of Mythology. Weare only playing DeathMatch!';

// Hoeveelheid nieuws op portal
$CFG['number_of_news'] = '5';

// Lengte van nieuws
$CFG['news_length'] = '500';

// Nieuws bron forum ID: scheid met comma voor meerdere forums, bijv. '1,

2,5'
$CFG['news_forum'] = '1';

// Poll bron forum ID: scheid met comma voor meerdere forums, bijv. '3,8,

14'
$CFG['poll_forum'] = '1';

// Aantal recente OnderwerpenN (geen forum ID)
$CFG['number_recent_topics'] = '10';

// Bijzondere foprums voor Recente Onderwerpen, bijv. '2,4,10' (bericht: 

mijn recente onderwerpen script heeft zijn eigen permissie checking, zodat 

je deze variabel leeg kunt laten)
$CFG['exceptional_forums'] = '';

//
// BEEINDIG configuratie
// --------------------------------------------------------

define('IN_PHPBB', true);
$phpbb_root_path = './';
include($phpbb_root_path . 'extension.inc');
include($phpbb_root_path . 'common.'.$phpEx);
include($phpbb_root_path . 'fetchposts.'.$phpEx);

// Verander stijl
include($phpbb_root_path . 'includes/functions_selects.'.$phpEx);

//
// Start session management
//
$userdata = session_pagestart($user_ip, PAGE_INDEX);
init_userprefs($userdata);
//
// Beeindig session management
//

// 
// Welkom tekst MOD door Simon Dann 
// 

$sql = "SELECT * 
   FROM " . CONFIG_TABLE; 
if(!$result = $db->sql_query($sql)) 
{ 
   message_die(CRITICAL_ERROR, "Could not query config information in 

portal_board", "", __LINE__, __FILE__, $sql); 
} 
else 
{ 
   while( $row = $db->sql_fetchrow($result) ) 
   { 
      if ($row['config_name'] == 'portal_welcome_text') 
      { 
         $CFG['welcome_text'] = $row['config_value']; 
      }else{ 
         $CFG['welcome_text'] = '<b>Error<\\b>: De welkomstekst kon niet 

uit de database worden geladen'; 
      } 
   } 
} 

// 
// Einde van welkomstekst MOD 
// 

//
// Als je deze statistieken niet op index.php gebruikt, kun je overwegen 

ze te verwijderen
//
$total_posts = get_db_stat('postcount');
$total_users = get_db_stat('usercount');
$total_topics = get_db_stat('topiccount');
$newest_userdata = get_db_stat('newestuser');
$newest_user = $newest_userdata['username'];
$newest_uid = $newest_userdata['user_id'];

if( $total_posts == 0 )
{
	$l_total_post_s = $lang['Posted_articles_zero_total'];
}
else if( $total_posts == 1 )
{
	$l_total_post_s = $lang['Posted_article_total'];
}
else
{
	$l_total_post_s = $lang['Posted_articles_total'];
}

if( $total_users == 0 )
{
	$l_total_user_s = $lang['Registered_users_zero_total'];
}
else if( $total_users == 1 )
{
	$l_total_user_s = $lang['Registered_user_total'];
}
else
{
	$l_total_user_s = $lang['Registered_users_total'];
}

//
// Recente onderwerpen
//
$sql = "SELECT * FROM ". FORUMS_TABLE . " ORDER BY forum_id";
if (!$result = $db->sql_query($sql))
{
	message_die(GENERAL_ERROR, 'Could not query forums information', 

'', __LINE__, __FILE__, $sql);
}
$forum_data = array();
while( $row = $db->sql_fetchrow($result) )
{
	$forum_data[] = $row;
}

$is_auth_ary = array();
$is_auth_ary = auth(AUTH_ALL, AUTH_LIST_ALL, $userdata, $forum_data);

if( $CFG['exceptional_forums'] == '' )
{
	$except_forum_id = '\'start\'';
}
else
{
	$except_forum_id = $CFG['exceptional_forums'];
}

for ($i = 0; $i < count($forum_data); $i++)
{
	if ((!$is_auth_ary[$forum_data[$i]['forum_id']]['auth_read']) or 

(!$is_auth_ary[$forum_data[$i]['forum_id']]['auth_view']))
	{
		if ($except_forum_id == '\'start\'')
		{
			$except_forum_id = $forum_data[$i]['forum_id'];
		}
		else
		{
			$except_forum_id .= ',' . $forum_data[$i][

'forum_id'];
		}
	}
}
$sql = "SELECT t.topic_id, t.topic_title, t.topic_last_post_id, t.

forum_id, p.post_id, p.poster_id, p.post_time, u.user_id, u.username
		FROM " . TOPICS_TABLE . " AS t, " . POSTS_TABLE . " AS p, 

" . USERS_TABLE . " AS u
		WHERE t.forum_id NOT IN (" . $except_forum_id . ")
			AND t.topic_status <> 2
			AND p.post_id = t.topic_last_post_id
			AND p.poster_id = u.user_id
		ORDER BY p.post_id DESC
		LIMIT " . $CFG['number_recent_topics'];
if (!$result = $db->sql_query($sql))
{
	message_die(GENERAL_ERROR, 'Could not query recent topics 

information', '', __LINE__, __FILE__, $sql);
}
$number_recent_topics = $db->sql_numrows($result);
$recent_topic_row = array();
while ($row = $db->sql_fetchrow($result))
{
	$recent_topic_row[] = $row;
}
for ($i = 0; $i < $number_recent_topics; $i++)
{
	$template->assign_block_vars('recent_topic_row', array(
		'U_TITLE' => append_sid("viewtopic.$phpEx?" . 

POST_POST_URL . '=' . $recent_topic_row[$i]['post_id']) . '#' .

$recent_topic_row[$i]['post_id'],
		'L_TITLE' => $recent_topic_row[$i]['topic_title'],
		'U_POSTER' => append_sid("profile.$phpEx?mode=

viewprofile&" . POST_USERS_URL . "=" . $recent_topic_row[$i][

'user_id']),
		'S_POSTER' => $recent_topic_row[$i]['username'],
		'S_POSTTIME' => create_date($board_config[

'default_dateformat'], $recent_topic_row[$i]['post_time'], $board_config[

'board_timezone'])
		)
	);
}
//
// BEEINDIG - Recente onderwerpen
//

if( $userdata['session_logged_in'] )
{
	$sql = "SELECT COUNT(post_id) as total
			FROM " . POSTS_TABLE . "
			WHERE post_time >= " . $userdata['user_lastvisit'

];
	$result = $db->sql_query($sql);
	if( $result )
	{
		$row = $db->sql_fetchrow($result);
		$lang['Search_new'] = $lang['Search_new'] . "&nbsp;(" . 

$row['total'] . ")";
	}
}

// Verjaardag mod, Laat gebruikers met een verjaardag zien
$sql = "SELECT user_id, username, user_birthday,user_level FROM " . 

USERS_TABLE. " WHERE user_birthday!=999999 ORDER BY username";
if($result = $db->sql_query($sql))
{
$birthdayrow = $db->sql_fetchrowset($result);
if (!empty($birthdayrow))
{
	$year=create_date('Y', time(), $board_config['board_timezone']);
	$date_today = create_date('Ymd', time(), $board_config[

'board_timezone']);
	$date_forward = create_date('Ymd', time()+($board_config[

'birthday_check_day']*86400), $board_config['board_timezone']);
	for($i = 0; $i < count($birthdayrow); $i++)
	{
		$user_birthday=realdate("md",$birthdayrow[$i][

'user_birthday']);
		$user_birthday2=(($year.$user_birthday<$date_today)? 

$year+1:$year).$user_birthday;
		if ($user_birthday2==$date_today)
		{
			//gebruikers die vandaag hun verjaardag hebben
			$user_age=$year- realdate ('Y',$birthdayrow[$i][

'user_birthday']); 
			$style_color = ($birthdayrow[$i]['user_level'] == 

ADMIN )?'style="color:#' . $theme['fontcolor3'] . '"':(( $birthdayrow[$i]

['user_level'] == MOD )?'style="color:#' . $theme['fontcolor2'] . '"':''); 
			$birthday_today_list .= ' <a href="' . append_sid

("profile.$phpEx?mode=viewprofile&" . POST_USERS_URL . "=" . 

$birthdayrow[$i]['user_id']) . '"' . $style_color .'><b>' . $birthdayrow[

$i]['username'] . ' ('.$user_age.')</b></a>'; 
		}
		else if ($user_birthday2>$date_today  && $user_birthday2<

=$date_forward)
		{
			// gebruikers die hun verjaardag hebben binnen de 

komende dagen
			$user_age=($year.$user_birthday<$date_today)?

$year- realdate('Y',$birthdayrow[$i]['user_birthday']) + 1 : $year- 

realdate('Y',$birthdayrow[$i]['user_birthday']); 
			$style_color = ($birthdayrow[$i]['user_level'] == 

ADMIN )?'style="color:#' . $theme['fontcolor3'] . '"':(( $birthdayrow[$i]

['user_level'] == MOD )?'style="color:#' . $theme['fontcolor2'] . '"':'');
			$birthday_week_list .= ' <a href="' . append_sid

("profile.$phpEx?mode=viewprofile&" . POST_USERS_URL . "=" . 

$birthdayrow[$i]['user_id']) . '"' . $style_color .'><b>' . $birthdayrow[

$i]['username'] . ' ('.$user_age.')</b></a>';
		}
	}
}
}
$db->sql_freeresult($result);

//
// Start pagina output
//
define('SHOW_ONLINE', true);
$page_title = $lang['Home'];
include($phpbb_root_path . 'includes/page_header.'.$phpEx);

$template->set_filenames(array(
	'body' => 'portal_body.tpl')
);

//
// Avatar op index mod
//
$avatar_img = '';
if ( $userdata['user_avatar_type'] && $userdata['user_allowavatar'] )
{
	switch( $userdata['user_avatar_type'] )
	{
		case USER_AVATAR_UPLOAD:
			$avatar_img = ( $board_config[

'allow_avatar_upload'] ) ? '<img src="' . $board_config['avatar_path'] . 

'/' . $userdata['user_avatar'] . '" alt="" border="0" />' : '';
			break;
		case USER_AVATAR_REMOTE:
			$avatar_img = ( $board_config[

'allow_avatar_remote'] ) ? '<img src="' . $userdata['user_avatar'] . '" 

alt="" border="0" />' : '';
			break;
		case USER_AVATAR_GALLERY:
			$avatar_img = ( $board_config[

'allow_avatar_local'] ) ? '<img src="' . $board_config[

'avatar_gallery_path'] . '/' . $userdata['user_avatar'] . '" alt="" 

border="0" />' : '';
			break;
	}
}
// Zoek naar anonieme gebruikers
if ($userdata['user_id'] != '-1')
{
	$name_link = '<a href="' . append_sid("profile.$phpEx?mode=

editprofile&" . $userdata['user_id']) . '">' . $userdata['username'] . 

'</a>';
}
else
{
	$name_link = $lang['Guest'];
}
//
// BEEINDIG: Avatar op index mod
//

// Change Style
$fpage_style = $userdata['user_style'];
if(isset($HTTP_POST_VARS['fpage_theme']))
{
	$fpage_theme = intval($HTTP_POST_VARS['fpage_theme']);
	$fpuser_id = $userdata['user_id'];
	$fp_sql = "UPDATE " . USERS_TABLE . " SET user_style = 

'$fpage_theme' WHERE user_id = $fpuser_id";
	if ( !($fp_result = $db->sql_query($fp_sql)) )
	{
		message_die(GENERAL_ERROR, 'Could not update users table ' 

. "$user_id $fpage_theme", '', __LINE__, __FILE__, $sql);
	}
	else
	{
		$fp_message = $lang['Profile_updated'] . '<br /><br />' . 

sprintf($lang['Click_return_index'],  '<a href="' . append_sid("index.

$phpEx") . '">', '</a>');
		message_die(GENERAL_MESSAGE, $fp_message);
	}
}

$template->assign_vars(array(
	'WELCOME_TEXT' => $CFG['welcome_text'],
	'TOTAL_POSTS' => sprintf($l_total_post_s, $total_posts),
	'TOTAL_USERS' => sprintf($l_total_user_s, $total_users),
	'TOTAL_TOPICS' => sprintf($lang['total_topics'], $total_topics),
	'NEWEST_USER' => sprintf($lang['Newest_user'], '<a href="' . 

append_sid("profile.$phpEx?mode=viewprofile&" . POST_USERS_URL . "=

$newest_uid") . '">', $newest_user, '</a>'),
	'L_FORUM' => $lang['Forum'],
	'L_BOARD_NAVIGATION' => $lang['Board_navigation'],
	'L_STATISTICS' => $lang['Statistics'],	
	'L_ANNOUNCEMENT' => $lang['Post_Announcement'],
	'L_POSTED' => $lang['Posted'],
	'L_COMMENTS' => $lang['Comments'],
	'L_VIEW_COMMENTS' => $lang['View_comments'],
	'L_POST_COMMENT' => $lang['Post_your_comment'],
	'L_SEND_PASSWORD' => $lang['Forgotten_password'],
	'U_SEND_PASSWORD' => append_sid("profile.$phpEx?mode=sendpassword

"),
	'L_REGISTER_NEW_ACCOUNT' => sprintf($lang['Register_new_account'], 

'<a href="' . append_sid("profile.$phpEx?mode=register") . '">', '</a>'),
	'L_REMEMBER_ME' => $lang['Remember_me'],
	'L_VIEW_COMPLETE_LIST' => $lang['View_complete_list'],
	'L_POLL' => $lang['Poll'],
	'L_VOTE_BUTTON' => $lang['Vote'],
	// verjaardag mod
	'L_WHOSBIRTHDAY_WEEK' => sprintf((($birthday_week_list)? $lang [

'Birthday_week'].$birthday_week_list:$lang ['Nobirthday_week'])

,$board_config['birthday_check_day']),
	'L_WHOSBIRTHDAY_TODAY' =>($birthday_today_list&&$board_config[

'birthday_check_day'])? $lang ['Birthday_today'].$birthday_today_list:

$lang ['Nobirthday_today'],
	'L_BIRTHDAY' => $lang['Birthday'],
	// Verander stijl
	'TEMPLATE_SELECT' => style_select($board_config['default_style'], 

'template'),
	'L_SELECT_STYLE' => $lang['Change_style'],
	'L_CHANGE_NOW' => $lang['Go'],
	'FPAGE_STYLE' => style_select($fpage_style, 'fpage_theme'),
	// Zoek
	'L_SEARCH_AT' => $lang['Search_at'],
	'L_ADVANCED_SEARCH' => $lang['Advanced_search'],
	// Recente Onderwerpen
	'L_RECENT_TOPICS' => $lang['Recent_topics'],

	// Welkom avatar
	'L_NAME_WELCOME' => $lang['Welcome'],
	'U_NAME_LINK' => $name_link,
	'AVATAR_IMG' => $avatar_img)
);

//
// Haal berichten van mededeling forum op
//
if(!isset($HTTP_GET_VARS['article']))
{
	$template->assign_block_vars('welcome_text', array());

	$fetchposts = phpbb_fetch_posts($CFG['news_forum'], $CFG[

'number_of_news'], $CFG['news_length']);

	for ($i = 0; $i < count($fetchposts); $i++)
	{
		if( $fetchposts[$i]['striped'] == 1 )
		{
			$open_bracket = '[ ';
			$close_bracket = ' ]';
			$read_full = $lang['Read_Full'];
		}
		else
		{
			$open_bracket = '';
			$close_bracket = '';
			$read_full = '';
		}

		$template->assign_block_vars('fetchpost_row', array(
			'TITLE' => $fetchposts[$i]['topic_title'],
			'POSTER' => $fetchposts[$i]['username'],
			'TIME' => $fetchposts[$i]['topic_time'],
			'TEXT' => $fetchposts[$i]['post_text'],
			'REPLIES' => $fetchposts[$i]['topic_replies'],
			'U_VIEW_COMMENTS' => append_sid('viewtopic.' . 

$phpEx . '?t=' . $fetchposts[$i]['topic_id']),
			'U_POST_COMMENT' => append_sid('posting.' . $phpEx 

. '?mode=reply&t=' . $fetchposts[$i]['topic_id']),
			'U_READ_FULL' => append_sid('portal.' . $phpEx . 

'?article=' . $i),
			'L_READ_FULL' => $read_full,
			'OPEN' => $open_bracket,
			'CLOSE' => $close_bracket)
		);
	}
}
else
{
	$fetchposts = phpbb_fetch_posts($CFG['news_forum'], $CFG[

'number_of_news'], 0);

	$i = intval($HTTP_GET_VARS['article']);

	$template->assign_block_vars('fetchpost_row', array(
		'TITLE' => $fetchposts[$i]['topic_title'],
		'POSTER' => $fetchposts[$i]['username'],
		'TIME' => $fetchposts[$i]['topic_time'],
		'TEXT' => $fetchposts[$i]['post_text'],
		'REPLIES' => $fetchposts[$i]['topic_replies'],
		'U_VIEW_COMMENTS' => append_sid('viewtopic.' . $phpEx . 

'?t=' . $fetchposts[$i]['topic_id']),
		'U_POST_COMMENT' => append_sid('posting.' . $phpEx . '?

mode=reply&t=' . $fetchposts[$i]['topic_id'])
		)
	);
}
//
// BEEINDIG: Haal mededelingen op
//

//
// Haal poll op
//
$fetchpoll = phpbb_fetch_poll($CFG['poll_forum']);

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"'
		)
	);
}

//
// Maak de pagina
//
$template->pparse('body');

include($phpbb_root_path . 'includes/page_tail.'.$phpEx);

?>

Gebruikersavatar
FlorisD
Berichten: 1595
Lid geworden op: 12 nov 2002, 21:06
Locatie: Vijfhuizen
Contacteer:

Bericht door FlorisD » 18 mei 2003, 11:46

Misschien kan je even een ram op CTRL+F5 drukken, want misschien staat de originele tekst nog in je cache.

Of het is in templates/<templatenaam>/portal_body.tpl geprogrammeerd, maar dat denk ik niet.
MessageBoard.nl, gratis phpBB forum hosting

dubock2

Bericht door dubock2 » 18 mei 2003, 13:16

Het werkt echt niet. Nog een andere oplossing

Gebruikersavatar
SuperNova
Berichten: 1293
Lid geworden op: 27 apr 2003, 00:23
Locatie: Barendrecht
Contacteer:

Bericht door SuperNova » 18 mei 2003, 13:26

voor de duidelijkheid, het gaat om dit stuk

Code: Selecteer alles

// 
// Welkom tekst MOD door Simon Dann 
// 

$sql = "SELECT * 
   FROM " . CONFIG_TABLE; 
if(!$result = $db->sql_query($sql)) 
{ 
   message_die(CRITICAL_ERROR, "Could not query config information in 

portal_board", "", __LINE__, __FILE__, $sql); 
} 
else 
{ 
   while( $row = $db->sql_fetchrow($result) ) 
   { 
      if ($row['config_name'] == 'portal_welcome_text') 
      { 
         $CFG['welcome_text'] = $row['config_value']; 
      }else{ 
         $CFG['welcome_text'] = '<b>Error<\\b>: De welkomstekst kon niet 

uit de database worden geladen'; 
      } 
   } 
} 

// 
// Einde van welkomstekst MOD 
het ziet er kloppend uit, ligt denk ik aan de template,
of de invoer is niet goed
waar voer je die welkomtekst in?
-sorry, ik heb geen tijd meer voor phpBB-

dubock2

Bericht door dubock2 » 18 mei 2003, 13:54

gewoon in portal.php

Gebruikersavatar
SuperNova
Berichten: 1293
Lid geworden op: 27 apr 2003, 00:23
Locatie: Barendrecht
Contacteer:

Bericht door SuperNova » 18 mei 2003, 15:31

:/ volgens de code in de php file hoort het uit de database gehaald te worden
invoeren in de php file zelf is niet echt de bedoeling
-sorry, ik heb geen tijd meer voor phpBB-

Gebruikersavatar
MaFKeeZ
Berichten: 353
Lid geworden op: 27 mar 2003, 11:11

Bericht door MaFKeeZ » 18 mei 2003, 15:51

SuperNova schreef::/ volgens de code in de php file hoort het uit de database gehaald te worden
invoeren in de php file zelf is niet echt de bedoeling
jawel hoor... ik schrijf het ook in portal.php :?

maar ik zie een <//b> staan die klopt niet, kan het daaraan liggen?

Gebruikersavatar
SuperNova
Berichten: 1293
Lid geworden op: 27 apr 2003, 00:23
Locatie: Barendrecht
Contacteer:

Bericht door SuperNova » 18 mei 2003, 16:12

gekke mensen dat schrijf je toch niet in de php file !?!?
je kan het simpel naar de database leiden,
en dan ff een invoer maken bij admin en klaar
kan je misschien wel zelf als je een beetje afkijkt bij andere dingen zoals de forum omschrijving
-sorry, ik heb geen tijd meer voor phpBB-

Gebruikersavatar
Leipo
Berichten: 4693
Lid geworden op: 22 feb 2003, 12:29
Contacteer:

Bericht door Leipo » 18 mei 2003, 16:28

Gekke mensen hebben wel gelijk..
Zo staat het ook in de tutorial van portal's..
Maar </b> klopt inderdaad niet..
[+] Isento at DeviantArt

Gebruikersavatar
SuperNova
Berichten: 1293
Lid geworden op: 27 apr 2003, 00:23
Locatie: Barendrecht
Contacteer:

Bericht door SuperNova » 18 mei 2003, 16:30

:? vreemde mod je kan het op een simpele manier aan de database koppelen
-sorry, ik heb geen tijd meer voor phpBB-

Gebruikersavatar
Leipo
Berichten: 4693
Lid geworden op: 22 feb 2003, 12:29
Contacteer:

Bericht door Leipo » 18 mei 2003, 16:31

Post je portal.php eens..
[+] Isento at DeviantArt

Gebruikersavatar
SuperNova
Berichten: 1293
Lid geworden op: 27 apr 2003, 00:23
Locatie: Barendrecht
Contacteer:

Bericht door SuperNova » 18 mei 2003, 16:32

ikke? die heb ik niet want ik heb geen portal :P
je zal t ook vast niet tegen mij gehad hebben maargoed :lol:
-sorry, ik heb geen tijd meer voor phpBB-

dubock2

Bericht door dubock2 » 18 mei 2003, 20:36

Hij doet het nog steeds niet. Wel raar. Het kan aan mn template liggen maar lijkt me sterk of niet. waarom dan aan mn template?

Code: Selecteer alles


<?php
/*************************************************************************

**
 *                                portal.php
 *                            -------------------
 *   begin                : Dinsdag, 13 Augustus, 2002
 *   copyright            : (C) 2003 Smartor
 *   email                : smartor_xp@hotmail.com
 *	 vertaling		 	  : Admiral Rob
 *	 e-mail				  : admiralrob@phpbb-nl.com
 *
 *   $Id: portal.php,v 2.1.0 2002/9/27, 23:07:35 Smartor Exp $
 *
 

**************************************************************************

*/

/*************************************************************************

**
 *
 *   Dit programma is gratis software; je kunt het verdelenen/of aanpassen
 *   onder de regels van de GNU General Public License zoals gemaakt door
 *   de Free Software Foundation; of versie 2 van de lecentie of
 *   (bij uw optie) elke latere versie.
 *
 

**************************************************************************

*/

/*************************************************************************

**
 *
 *   Dezelfde code die ik geleend had van de originele index.phpindex.php, 

Welkom
 *   Avatar mod en andere...
 *
 

**************************************************************************

*/

//
// Stel configuratie voor ezPortal in
//

// Welkom tekst: pas op dat we in een .php bestand zijn, dus gebruik \' in 

plaats van ' en gebruik \\ in plaats van \ (HTML aan)
$CFG['welcome_text'] = '<b>Error<\b>: De welkomsttekst kon niet uit de 

database worden geladen';

// Hoeveelheid nieuws op portal
$CFG['number_of_news'] = '5';

// Lengte van nieuws
$CFG['news_length'] = '500';

// Nieuws bron forum ID: scheid met comma voor meerdere forums, bijv. '1,

2,5'
$CFG['news_forum'] = '1';

// Poll bron forum ID: scheid met comma voor meerdere forums, bijv. '3,8,

14'
$CFG['poll_forum'] = '1';

// Aantal recente OnderwerpenN (geen forum ID)
$CFG['number_recent_topics'] = '10';

// Bijzondere foprums voor Recente Onderwerpen, bijv. '2,4,10' (bericht: 

mijn recente onderwerpen script heeft zijn eigen permissie checking, zodat 

je deze variabel leeg kunt laten)
$CFG['exceptional_forums'] = '';

//
// BEEINDIG configuratie
// --------------------------------------------------------

define('IN_PHPBB', true);
$phpbb_root_path = './';
include($phpbb_root_path . 'extension.inc');
include($phpbb_root_path . 'common.'.$phpEx);
include($phpbb_root_path . 'fetchposts.'.$phpEx);

// Verander stijl
include($phpbb_root_path . 'includes/functions_selects.'.$phpEx);

//
// Start session management
//
$userdata = session_pagestart($user_ip, PAGE_INDEX);
init_userprefs($userdata);
//
// Beeindig session management
//

// 
// Welkom tekst MOD door Simon Dann 
// 

$sql = "SELECT * 
   FROM " . CONFIG_TABLE; 
if(!$result = $db->sql_query($sql)) 
{ 
   message_die(CRITICAL_ERROR, "Could not query config information in 

portal_board", "", __LINE__, __FILE__, $sql); 
} 
else 
{ 
   while( $row = $db->sql_fetchrow($result) ) 
   { 
      if ($row['config_name'] == 'portal_welcome_text') 
      { 
         $CFG['welcome_text'] = $row['config_value']; 
      }else{ 
         $CFG['welcome_text'] = '<b>Error<\b>: De welkomstekst kon niet 

uit de database worden geladen'; 
      } 
   } 
} 

// 
// Einde van welkomstekst MOD 
// 

//
// Als je deze statistieken niet op index.php gebruikt, kun je overwegen 

ze te verwijderen
//
$total_posts = get_db_stat('postcount');
$total_users = get_db_stat('usercount');
$total_topics = get_db_stat('topiccount');
$newest_userdata = get_db_stat('newestuser');
$newest_user = $newest_userdata['username'];
$newest_uid = $newest_userdata['user_id'];

if( $total_posts == 0 )
{
	$l_total_post_s = $lang['Posted_articles_zero_total'];
}
else if( $total_posts == 1 )
{
	$l_total_post_s = $lang['Posted_article_total'];
}
else
{
	$l_total_post_s = $lang['Posted_articles_total'];
}

if( $total_users == 0 )
{
	$l_total_user_s = $lang['Registered_users_zero_total'];
}
else if( $total_users == 1 )
{
	$l_total_user_s = $lang['Registered_user_total'];
}
else
{
	$l_total_user_s = $lang['Registered_users_total'];
}

//
// Recente onderwerpen
//
$sql = "SELECT * FROM ". FORUMS_TABLE . " ORDER BY forum_id";
if (!$result = $db->sql_query($sql))
{
	message_die(GENERAL_ERROR, 'Could not query forums information', 

'', __LINE__, __FILE__, $sql);
}
$forum_data = array();
while( $row = $db->sql_fetchrow($result) )
{
	$forum_data[] = $row;
}

$is_auth_ary = array();
$is_auth_ary = auth(AUTH_ALL, AUTH_LIST_ALL, $userdata, $forum_data);

if( $CFG['exceptional_forums'] == '' )
{
	$except_forum_id = '\'start\'';
}
else
{
	$except_forum_id = $CFG['exceptional_forums'];
}

for ($i = 0; $i < count($forum_data); $i++)
{
	if ((!$is_auth_ary[$forum_data[$i]['forum_id']]['auth_read']) or 

(!$is_auth_ary[$forum_data[$i]['forum_id']]['auth_view']))
	{
		if ($except_forum_id == '\'start\'')
		{
			$except_forum_id = $forum_data[$i]['forum_id'];
		}
		else
		{
			$except_forum_id .= ',' . $forum_data[$i][

'forum_id'];
		}
	}
}
$sql = "SELECT t.topic_id, t.topic_title, t.topic_last_post_id, t.

forum_id, p.post_id, p.poster_id, p.post_time, u.user_id, u.username
		FROM " . TOPICS_TABLE . " AS t, " . POSTS_TABLE . " AS p, 

" . USERS_TABLE . " AS u
		WHERE t.forum_id NOT IN (" . $except_forum_id . ")
			AND t.topic_status <> 2
			AND p.post_id = t.topic_last_post_id
			AND p.poster_id = u.user_id
		ORDER BY p.post_id DESC
		LIMIT " . $CFG['number_recent_topics'];
if (!$result = $db->sql_query($sql))
{
	message_die(GENERAL_ERROR, 'Could not query recent topics 

information', '', __LINE__, __FILE__, $sql);
}
$number_recent_topics = $db->sql_numrows($result);
$recent_topic_row = array();
while ($row = $db->sql_fetchrow($result))
{
	$recent_topic_row[] = $row;
}
for ($i = 0; $i < $number_recent_topics; $i++)
{
	$template->assign_block_vars('recent_topic_row', array(
		'U_TITLE' => append_sid("viewtopic.$phpEx?" . 

POST_POST_URL . '=' . $recent_topic_row[$i]['post_id']) . '#' .

$recent_topic_row[$i]['post_id'],
		'L_TITLE' => $recent_topic_row[$i]['topic_title'],
		'U_POSTER' => append_sid("profile.$phpEx?mode=

viewprofile&" . POST_USERS_URL . "=" . $recent_topic_row[$i][

'user_id']),
		'S_POSTER' => $recent_topic_row[$i]['username'],
		'S_POSTTIME' => create_date($board_config[

'default_dateformat'], $recent_topic_row[$i]['post_time'], $board_config[

'board_timezone'])
		)
	);
}
//
// BEEINDIG - Recente onderwerpen
//

if( $userdata['session_logged_in'] )
{
	$sql = "SELECT COUNT(post_id) as total
			FROM " . POSTS_TABLE . "
			WHERE post_time >= " . $userdata['user_lastvisit'

];
	$result = $db->sql_query($sql);
	if( $result )
	{
		$row = $db->sql_fetchrow($result);
		$lang['Search_new'] = $lang['Search_new'] . "&nbsp;(" . 

$row['total'] . ")";
	}
}

// Verjaardag mod, Laat gebruikers met een verjaardag zien
$sql = "SELECT user_id, username, user_birthday,user_level FROM " . 

USERS_TABLE. " WHERE user_birthday!=999999 ORDER BY username";
if($result = $db->sql_query($sql))
{
$birthdayrow = $db->sql_fetchrowset($result);
if (!empty($birthdayrow))
{
	$year=create_date('Y', time(), $board_config['board_timezone']);
	$date_today = create_date('Ymd', time(), $board_config[

'board_timezone']);
	$date_forward = create_date('Ymd', time()+($board_config[

'birthday_check_day']*86400), $board_config['board_timezone']);
	for($i = 0; $i < count($birthdayrow); $i++)
	{
		$user_birthday=realdate("md",$birthdayrow[$i][

'user_birthday']);
		$user_birthday2=(($year.$user_birthday<$date_today)? 

$year+1:$year).$user_birthday;
		if ($user_birthday2==$date_today)
		{
			//gebruikers die vandaag hun verjaardag hebben
			$user_age=$year- realdate ('Y',$birthdayrow[$i][

'user_birthday']); 
			$style_color = ($birthdayrow[$i]['user_level'] == 

ADMIN )?'style="color:#' . $theme['fontcolor3'] . '"':(( $birthdayrow[$i]

['user_level'] == MOD )?'style="color:#' . $theme['fontcolor2'] . '"':''); 
			$birthday_today_list .= ' <a href="' . append_sid

("profile.$phpEx?mode=viewprofile&" . POST_USERS_URL . "=" . 

$birthdayrow[$i]['user_id']) . '"' . $style_color .'><b>' . $birthdayrow[

$i]['username'] . ' ('.$user_age.')</b></a>'; 
		}
		else if ($user_birthday2>$date_today  && $user_birthday2<

=$date_forward)
		{
			// gebruikers die hun verjaardag hebben binnen de 

komende dagen
			$user_age=($year.$user_birthday<$date_today)?

$year- realdate('Y',$birthdayrow[$i]['user_birthday']) + 1 : $year- 

realdate('Y',$birthdayrow[$i]['user_birthday']); 
			$style_color = ($birthdayrow[$i]['user_level'] == 

ADMIN )?'style="color:#' . $theme['fontcolor3'] . '"':(( $birthdayrow[$i]

['user_level'] == MOD )?'style="color:#' . $theme['fontcolor2'] . '"':'');
			$birthday_week_list .= ' <a href="' . append_sid

("profile.$phpEx?mode=viewprofile&" . POST_USERS_URL . "=" . 

$birthdayrow[$i]['user_id']) . '"' . $style_color .'><b>' . $birthdayrow[

$i]['username'] . ' ('.$user_age.')</b></a>';
		}
	}
}
}
$db->sql_freeresult($result);

//
// Start pagina output
//
define('SHOW_ONLINE', true);
$page_title = $lang['Home'];
include($phpbb_root_path . 'includes/page_header.'.$phpEx);

$template->set_filenames(array(
	'body' => 'portal_body.tpl')
);

//
// Avatar op index mod
//
$avatar_img = '';
if ( $userdata['user_avatar_type'] && $userdata['user_allowavatar'] )
{
	switch( $userdata['user_avatar_type'] )
	{
		case USER_AVATAR_UPLOAD:
			$avatar_img = ( $board_config[

'allow_avatar_upload'] ) ? '<img src="' . $board_config['avatar_path'] . 

'/' . $userdata['user_avatar'] . '" alt="" border="0" />' : '';
			break;
		case USER_AVATAR_REMOTE:
			$avatar_img = ( $board_config[

'allow_avatar_remote'] ) ? '<img src="' . $userdata['user_avatar'] . '" 

alt="" border="0" />' : '';
			break;
		case USER_AVATAR_GALLERY:
			$avatar_img = ( $board_config[

'allow_avatar_local'] ) ? '<img src="' . $board_config[

'avatar_gallery_path'] . '/' . $userdata['user_avatar'] . '" alt="" 

border="0" />' : '';
			break;
	}
}
// Zoek naar anonieme gebruikers
if ($userdata['user_id'] != '-1')
{
	$name_link = '<a href="' . append_sid("profile.$phpEx?mode=

editprofile&" . $userdata['user_id']) . '">' . $userdata['username'] . 

'</a>';
}
else
{
	$name_link = $lang['Guest'];
}
//
// BEEINDIG: Avatar op index mod
//

// Change Style
$fpage_style = $userdata['user_style'];
if(isset($HTTP_POST_VARS['fpage_theme']))
{
	$fpage_theme = intval($HTTP_POST_VARS['fpage_theme']);
	$fpuser_id = $userdata['user_id'];
	$fp_sql = "UPDATE " . USERS_TABLE . " SET user_style = 

'$fpage_theme' WHERE user_id = $fpuser_id";
	if ( !($fp_result = $db->sql_query($fp_sql)) )
	{
		message_die(GENERAL_ERROR, 'Could not update users table ' 

. "$user_id $fpage_theme", '', __LINE__, __FILE__, $sql);
	}
	else
	{
		$fp_message = $lang['Profile_updated'] . '<br /><br />' . 

sprintf($lang['Click_return_index'],  '<a href="' . append_sid("index.

$phpEx") . '">', '</a>');
		message_die(GENERAL_MESSAGE, $fp_message);
	}
}

$template->assign_vars(array(
	'WELCOME_TEXT' => $CFG['welcome_text'],
	'TOTAL_POSTS' => sprintf($l_total_post_s, $total_posts),
	'TOTAL_USERS' => sprintf($l_total_user_s, $total_users),
	'TOTAL_TOPICS' => sprintf($lang['total_topics'], $total_topics),
	'NEWEST_USER' => sprintf($lang['Newest_user'], '<a href="' . 

append_sid("profile.$phpEx?mode=viewprofile&" . POST_USERS_URL . "=

$newest_uid") . '">', $newest_user, '</a>'),
	'L_FORUM' => $lang['Forum'],
	'L_BOARD_NAVIGATION' => $lang['Board_navigation'],
	'L_STATISTICS' => $lang['Statistics'],	
	'L_ANNOUNCEMENT' => $lang['Post_Announcement'],
	'L_POSTED' => $lang['Posted'],
	'L_COMMENTS' => $lang['Comments'],
	'L_VIEW_COMMENTS' => $lang['View_comments'],
	'L_POST_COMMENT' => $lang['Post_your_comment'],
	'L_SEND_PASSWORD' => $lang['Forgotten_password'],
	'U_SEND_PASSWORD' => append_sid("profile.$phpEx?mode=sendpassword

"),
	'L_REGISTER_NEW_ACCOUNT' => sprintf($lang['Register_new_account'], 

'<a href="' . append_sid("profile.$phpEx?mode=register") . '">', '</a>'),
	'L_REMEMBER_ME' => $lang['Remember_me'],
	'L_VIEW_COMPLETE_LIST' => $lang['View_complete_list'],
	'L_POLL' => $lang['Poll'],
	'L_VOTE_BUTTON' => $lang['Vote'],
	// verjaardag mod
	'L_WHOSBIRTHDAY_WEEK' => sprintf((($birthday_week_list)? $lang [

'Birthday_week'].$birthday_week_list:$lang ['Nobirthday_week'])

,$board_config['birthday_check_day']),
	'L_WHOSBIRTHDAY_TODAY' =>($birthday_today_list&&$board_config[

'birthday_check_day'])? $lang ['Birthday_today'].$birthday_today_list:

$lang ['Nobirthday_today'],
	'L_BIRTHDAY' => $lang['Birthday'],
	// Verander stijl
	'TEMPLATE_SELECT' => style_select($board_config['default_style'], 

'template'),
	'L_SELECT_STYLE' => $lang['Change_style'],
	'L_CHANGE_NOW' => $lang['Go'],
	'FPAGE_STYLE' => style_select($fpage_style, 'fpage_theme'),
	// Zoek
	'L_SEARCH_AT' => $lang['Search_at'],
	'L_ADVANCED_SEARCH' => $lang['Advanced_search'],
	// Recente Onderwerpen
	'L_RECENT_TOPICS' => $lang['Recent_topics'],

	// Welkom avatar
	'L_NAME_WELCOME' => $lang['Welcome'],
	'U_NAME_LINK' => $name_link,
	'AVATAR_IMG' => $avatar_img)
);

//
// Haal berichten van mededeling forum op
//
if(!isset($HTTP_GET_VARS['article']))
{
	$template->assign_block_vars('welcome_text', array());

	$fetchposts = phpbb_fetch_posts($CFG['news_forum'], $CFG[

'number_of_news'], $CFG['news_length']);

	for ($i = 0; $i < count($fetchposts); $i++)
	{
		if( $fetchposts[$i]['striped'] == 1 )
		{
			$open_bracket = '[ ';
			$close_bracket = ' ]';
			$read_full = $lang['Read_Full'];
		}
		else
		{
			$open_bracket = '';
			$close_bracket = '';
			$read_full = '';
		}

		$template->assign_block_vars('fetchpost_row', array(
			'TITLE' => $fetchposts[$i]['topic_title'],
			'POSTER' => $fetchposts[$i]['username'],
			'TIME' => $fetchposts[$i]['topic_time'],
			'TEXT' => $fetchposts[$i]['post_text'],
			'REPLIES' => $fetchposts[$i]['topic_replies'],
			'U_VIEW_COMMENTS' => append_sid('viewtopic.' . 

$phpEx . '?t=' . $fetchposts[$i]['topic_id']),
			'U_POST_COMMENT' => append_sid('posting.' . $phpEx 

. '?mode=reply&t=' . $fetchposts[$i]['topic_id']),
			'U_READ_FULL' => append_sid('portal.' . $phpEx . 

'?article=' . $i),
			'L_READ_FULL' => $read_full,
			'OPEN' => $open_bracket,
			'CLOSE' => $close_bracket)
		);
	}
}
else
{
	$fetchposts = phpbb_fetch_posts($CFG['news_forum'], $CFG[

'number_of_news'], 0);

	$i = intval($HTTP_GET_VARS['article']);

	$template->assign_block_vars('fetchpost_row', array(
		'TITLE' => $fetchposts[$i]['topic_title'],
		'POSTER' => $fetchposts[$i]['username'],
		'TIME' => $fetchposts[$i]['topic_time'],
		'TEXT' => $fetchposts[$i]['post_text'],
		'REPLIES' => $fetchposts[$i]['topic_replies'],
		'U_VIEW_COMMENTS' => append_sid('viewtopic.' . $phpEx . 

'?t=' . $fetchposts[$i]['topic_id']),
		'U_POST_COMMENT' => append_sid('posting.' . $phpEx . '?

mode=reply&t=' . $fetchposts[$i]['topic_id'])
		)
	);
}
//
// BEEINDIG: Haal mededelingen op
//

//
// Haal poll op
//
$fetchpoll = phpbb_fetch_poll($CFG['poll_forum']);

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"'
		)
	);
}

//
// Maak de pagina
//
$template->pparse('body');

include($phpbb_root_path . 'includes/page_tail.'.$phpEx);

?>

Gebruikersavatar
SuperNova
Berichten: 1293
Lid geworden op: 27 apr 2003, 00:23
Locatie: Barendrecht
Contacteer:

Bericht door SuperNova » 18 mei 2003, 20:40

hiero gaat het om

Code: Selecteer alles

// 
// Welkom tekst MOD door Simon Dann 
// 

$sql = "SELECT * 
   FROM " . CONFIG_TABLE; 
if(!$result = $db->sql_query($sql)) 
{ 
   message_die(CRITICAL_ERROR, "Could not query config information in 

portal_board", "", __LINE__, __FILE__, $sql); 
} 
else 
{ 
   while( $row = $db->sql_fetchrow($result) ) 
   { 
      if ($row['config_name'] == 'portal_welcome_text') 
      { 
         $CFG['welcome_text'] = $row['config_value']; 
      }else{ 
         $CFG['welcome_text'] = '<b>Error<\b>: De welkomstekst kon niet 

uit de database worden geladen'; 
      } 
   } 
} 

// 
// Einde van welkomstekst MOD 
// 
en hier wordt die tekst gedefineert

Code: Selecteer alles

// Welkom tekst: pas op dat we in een .php bestand zijn, dus gebruik \' in 

plaats van ' en gebruik \\ in plaats van \ (HTML aan) 
$CFG['welcome_text'] = '<b>Welcome on The Profi clan Website<\\b> On this site you can find information about the Profi clan.About the Profi clan:The Profi clan is playing the Real time Strategy game Age of Mythology. Weare only playing DeathMatch!'; 
wat je nu zou kunnen doen is in plaats van het direct in de php in te vullen een verwijzing naar de database te geven
op die manier is het veel makkelijker
en in de admin panel maak je dan een functie erbij om dat in de database aan te passen

een gewone forumposting voer je toch ook op die manier in en niet in de php file :?
-sorry, ik heb geen tijd meer voor phpBB-

Gebruikersavatar
Leipo
Berichten: 4693
Lid geworden op: 22 feb 2003, 12:29
Contacteer:

Bericht door Leipo » 18 mei 2003, 21:16

Ja maar toch easy..


// Welkom tekst: pas op dat we in een .php bestand zijn, dus gebruik \' in

plaats van ' en gebruik \\ in plaats van \ (HTML aan)
$CFG['welcome_text'] = '<b>Welcome on The Profi clan Website<\\b> On this site you can find information about the Profi clan.About the Profi clan:The Profi clan is playing the Real time Strategy game Age of Mythology. Weare only playing DeathMatch!';

Check het dikgerukte..
[+] Isento at DeviantArt

Gebruikersavatar
MaFKeeZ
Berichten: 353
Lid geworden op: 27 mar 2003, 11:11

Bericht door MaFKeeZ » 19 mei 2003, 07:56

hij zei dat ie dat al veranderd heeft en dat dat niet de oplossing was.. dus heb ik hem voorgesteld zijn portal.php opnieuw te uploaden.. had ook geen zin.. toen heb ik hem maar voorgesteld om EZportal opnieuw te installeren, maar denk niet dat ie daar zin in had :roll:

wouter1980
Berichten: 122
Lid geworden op: 21 jan 2003, 22:53

Bericht door wouter1980 » 19 mei 2003, 10:24

Leipo schreef:
Check het dikgerukte..
lol :lol: :roll:

Gebruikersavatar
MaFKeeZ
Berichten: 353
Lid geworden op: 27 mar 2003, 11:11

Bericht door MaFKeeZ » 19 mei 2003, 12:57

hahahaha was me nog niet eens opgevallen joh :lol: :lol:

dubock2

Bericht door dubock2 » 20 mei 2003, 08:16

het werkt hoor. het lag neit aan dat streepje!! Ik moest het niet bovenin maar onderin bij de mod invoeren. :shock:

Gebruikersavatar
MaFKeeZ
Berichten: 353
Lid geworden op: 27 mar 2003, 11:11

Bericht door MaFKeeZ » 20 mei 2003, 08:27

laat eens zien dan waar je dat nu ingevoerd hebt, want het komt mij niet echt bekend voor ofzo?!?!

Gesloten