Pagina 1 van 1
Login Integration Tutorial (Sessions) --> witte pagina
Geplaatst: 02 aug 2006, 19:54
door Kabokey
Support Template
- Wat is het probleem? Witte pagina op http://tv.kabokey.nl
Wanneer ontstond het probleem? nadat ik Login Integration Tutorial (Sessions) heb toegepast
Adres van je forum: http://tv.kabokey.nl/forum
Modifications op je forum: geen
Huidige stijl: standaard
phpBB versie: nieuwste
Waar is je forum gehost: webreus
Heb je onlangs iets verandert aan je forum? nee
Overige opmerkingen: geen
Geplaatst: 02 aug 2006, 19:55
door Paul
wat is de link naar die tut? En geef die pagina eens in een txt file?
Geplaatst: 02 aug 2006, 19:56
door Kabokey
Geplaatst: 02 aug 2006, 19:58
door Paul
Geef hem is even? Kan ik kijken of ik wel een fout krijg namelijk

Geplaatst: 02 aug 2006, 20:02
door Kabokey
Code: Selecteer alles
<?php
define('IN_PHPBB', true);
$phpbb_root_path = '../forum/';
include($phpbb_root_path . 'extension.inc');
include($phpbb_root_path . 'common.'.$phpEx);
//
// Start session management
//
$userdata = session_pagestart($user_ip, PAGE_INDEX);
init_userprefs($userdata);
//
// End session management
//
if( $userdata['session_logged_in'] )
{
[insert your HTML/PHP or whatever here]
}
else
{
echo('Please Login');
}
?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<link rel="STYLESHEET" type="text/css" href="style/styles.css">
<title>Kabokey</title>
<style type="text/css">
<!--
.style1 {font-size: 7pt}
-->
</style></head>
<body leftMargin="0" topMargin="0" marginheight="0" marginwidth="0" background="images/bg.gif" bgcolor="#515151">
<center>
<table border="0" width="922" cellspacing="0" cellpadding="0">
<tr>
<td width="15" background="images/border_l.gif"><img border="0" src="images/x.gif" width="1" height="1"></td>
<td width="892" bgcolor="#F7F7F7" align="center">
<table border="0" height="13" cellspacing="0" cellpadding="0">
<tr>
<td><img border="0" src="images/x.gif" width="1" height="1"></td>
</tr>
</table>
<table border="0" cellspacing="0" cellpadding="2" bgcolor="#999999">
<tr>
<td>
<table border="0" cellpadding="2" cellspacing="0">
<tr>
<td bgcolor="#F7F7F7">
<table border="0" cellspacing="0" cellpadding="2">
<tr>
<td background="images/bg_top.gif">
<table border="0" width="859" cellspacing="0" cellpadding="6" height="40">
<tr>
<td valign="bottom" align="right">
<img border="0" src="img/vlaggen/eng.gif" width="20" height="14"><br>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="10">
<?php
include ('menu.php');
?>
</td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
</table>
<table border="0" height="13" cellspacing="0" cellpadding="0">
<tr>
<td><img border="0" src="images/x.gif" width="1" height="1"></td>
</tr>
</table>
</td>
<td width="15" background="images/border_r.gif"><img border="0" src="images/x.gif" width="1" height="1"><img border="0" src="images/x.gif" width="1" height="1"></td>
</tr>
</table>
<table border="0" width="922" cellspacing="0" cellpadding="0">
<tr>
<td width="15" background="images/border_l.gif"><img border="0" src="images/x.gif" width="1" height="1"></td>
<td width="892" bgcolor="#F7F7F7" align="center">
<table border="0" cellspacing="0" cellpadding="2" bgcolor="#999999">
<tr>
<td><table border="0" bgcolor="#646464" cellspacing="0" cellpadding="0">
<tr>
<td><table border="0" cellspacing="0" cellpadding="0" bgcolor="#FFFFFF" width="867">
<tr>
<td width="100%"><img border="0" src="images/welcome.jpg" width="867" height="45"></td>
</tr>
<tr>
<td height="2"><img border="0" src="images/x.gif" width="1" height="1"></td>
</tr>
<tr>
<td height="2"><img border="0" src="images/x.gif" width="1" height="1"></td>
</tr>
<tr>
<td height="2"><img border="0" src="images/x.gif" width="1" height="1"></td>
</tr>
<tr>
<td width="100%">
<table border="0" bgcolor="#646464" cellspacing="0" cellpadding="0">
<tr>
<td>
<table border="0" cellspacing="0" cellpadding="0" bgcolor="#FFFFFF" width="867">
<tr>
<td width="100%">
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="153" valign="top" background="images/bg_left.gif"> </td>
<td valign="top" width="711">
<table border="0" width="100%" cellspacing="0" cellpadding="10">
<tr>
<td valign="top"><div align=left><b>Welkom bij Kabokey </b></div>
<p>
<div align="left">
<form method="POST">
<font color="#28313b" size="1" face="Verdana">hier komt nog wel een leuke tekst :-)<br><br>Oja dat nummer nieuwe nummer van dj falesco en Willen - <a href="http://video.jaggle.nl/20060720_bot.mp3" target="_self">Bot</a></font>
</form>
<br>
</div><p align="left">
<!--webbot bot="HTMLMarkup" startspan --><script language=JavaScript>
<!--
//Disable right click script
var message="";
///////////////////////////////////
function clickIE() {if (document.all) {(message);return false;}}
function clickNS(e) {if
(document.layers||(document.getElementById&&!document.all)) {
if (e.which==2||e.which==3) {(message);return false;}}}
if (document.layers)
{document.captureEvents(Event.MOUSEDOWN);document.onmousedown=clickNS;}
else{document.onmouseup=clickNS;document.oncontextmenu=clickIE;}
document.oncontextmenu=new Function("return false")
// -->
</script><!--webbot bot="HTMLMarkup" endspan --></td>
</tr>
</table> </td>
</tr>
</table> </td>
</tr>
<tr>
<td height="2"><img border="0" src="images/x.gif" width="1" height="1"></td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td height="2"><img border="0" src="images/x.gif" width="1" height="1"></td>
</tr>
</table></td>
</tr>
</table></td>
</tr>
</table>
<table border="0" height="13" cellspacing="0" cellpadding="0">
<tr>
<td><img border="0" src="images/x.gif" width="1" height="1"></td>
</tr>
</table>
</td>
<td width="15" background="images/border_r.gif"><img border="0" src="images/x.gif" width="1" height="1"><img border="0" src="images/x.gif" width="1" height="1"></td>
</tr>
</table>
<table border="0" width="922" cellspacing="0" cellpadding="0">
<tr>
<td width="15" background="images/border_l.gif"><img border="0" src="images/x.gif" width="1" height="1"></td>
<td width="892" bgcolor="#F7F7F7" align="center">
<table border="0" cellspacing="0" cellpadding="2" bgcolor="#999999">
<tr>
<td>
<table border="0" cellpadding="2" cellspacing="0">
<tr>
<td bgcolor="#F7F7F7">
<table border="0" align="left" cellpadding="0" cellspacing="0">
<tr>
<td>
<table width="859" border="0" align="left" cellpadding="0" cellspacing="0">
<tr>
<td width="120"> </td>
<td width="739" align="right">
<table border="0" cellspacing="0" cellpadding="0" bgcolor="#FFFFFF" height="13">
<tr>
<td bgcolor="#FFFFFF"><img border="0" src="images/x.gif" width="10" height="7"></td>
<td bgcolor="#FFFFFF"><font color="#C0C0C0">
<span style="font-size: 7pt">Alle rechten
voorbehouden. Kabokey ® 2006</span>.</font></td>
<td bgcolor="#FFFFFF"><img border="0" src="images/x.gif" width="10" height="7"></td>
</tr>
</table> </td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
</table>
<table border="0" height="13" cellspacing="0" cellpadding="0">
<tr>
<td><img border="0" src="images/x.gif" width="1" height="1"></td>
</tr>
</table>
</td>
<td width="15" background="images/border_r.gif"><img border="0" src="images/x.gif" width="1" height="1"><img border="0" src="images/x.gif" width="1" height="1"></td>
</tr>
</table>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td><img src="images/line_bottom.gif" width="922" height="15" alt="" border="0"></td>
</tr>
</table>
</center>
</body>
</html>
Geplaatst: 02 aug 2006, 20:04
door Paul
Code: Selecteer alles
if( $userdata['session_logged_in'] )
{
[insert your HTML/PHP or whatever here]
}
else
{
echo('Please Login');
}
Dat stukje is het probleem. je moet het weghalen, of iets ipv [insert ... here] zetten

Geplaatst: 02 aug 2006, 20:07
door Kabokey
nog steeds wit..
Geplaatst: 02 aug 2006, 20:13
door Paul
Heb je dat stuk weggehaalt? Zo nee, haal het eens weg?
Geplaatst: 02 aug 2006, 20:14
door Kabokey
paul schreef:Heb je dat stuk weggehaalt? Zo nee, haal het eens weg?
ik heb het al weggehaalt.
Geplaatst: 03 aug 2006, 14:59
door Kabokey
heeft iemand een idee??
Geplaatst: 12 aug 2006, 21:51
door Kabokey
Deze kan gesloten worden. Heb het anders gemaakt.
Geplaatst: 12 aug 2006, 23:04
door Raimon
Kabokey schreef:Deze kan gesloten worden. Heb het anders gemaakt.
hoe dan precies?
mischien is het intressant voor andere mensen
