Connecting a phpBB forum to another website

Discussion forum for Extension Writers regarding Extension Development.
Post Reply
elps
Registered User
Posts: 4
Joined: Sun Oct 04, 2015 12:44 pm

Connecting a phpBB forum to another website

Post by elps »

I am using a website build with Wysiwyg web builder 10. I would like to connect a phpBB forum to this site en use a single sign-on.So far I cannot get it working properly.
Is there somebody who already did this? Is there a php script available somewhere?
Last edited by Oyabun1 on Tue Nov 10, 2015 8:27 pm, edited 1 time in total.
Reason: Moved from 3.1.x Support forum
User avatar
Mick
Support Team Member
Support Team Member
Posts: 22761
Joined: Fri Aug 29, 2008 9:49 am
Location: Watching cricket probably.

Re: Connecting a phpBB forum to another website

Post by Mick »

You can't do that with standard phpBB, you should have a search of the extensions forums. If there's nothing that suits your purpose you can make an extension request.
"The more connected we get the more alone we become" - Kyle Broflovski©
Kigen
Registered User
Posts: 26
Joined: Wed Jun 15, 2005 7:17 am
Location: Behind you....
Contact:

Re: Connecting a phpBB forum to another website

Post by Kigen »

You'd need to custom code some PHP files to include phpBB then use its functions to determine user state.

For including phpBB from other PHP files you use this code:

Code: Select all

if (!defined('IN_PHPBB'))
{
	define('IN_PHPBB', true);
	define('PHPBB_ROOT_PATH', dirname('path/to/your/phpBB/common.php') . '/');
	$phpbb_root_path = (defined('PHPBB_ROOT_PATH')) ? PHPBB_ROOT_PATH : './';
	$phpEx = substr(strrchr(__FILE__, '.'), 1);
	include_once($phpbb_root_path . 'common.' . $phpEx);
	include_once($phpbb_root_path . 'includes/functions_display.' . $phpEx);

	$user->session_begin();
	$auth->acl($user->data);
}
Then use $user and $auth as appropriate.

https://area51.phpbb.com/docs/code/3.1. ... /user.html
https://area51.phpbb.com/docs/code/3.1. ... /auth.html

Note: If phpBB has an error it'll override your pages. Examples like database down and IP banned.
- Kigen, the Legendary Lone Marine.
Steamcast Music Directory - Radio Toolbox
Don't go here.
elps
Registered User
Posts: 4
Joined: Sun Oct 04, 2015 12:44 pm

Re: Connecting a phpBB forum to another website

Post by elps »

Thank's for these first elements. So far this has already been done. I end up on the forum, but I still get the message that I have to login to post a topic. I can only read topics
What do I miss?
User avatar
Lumpy Burgertushie
Registered User
Posts: 68124
Joined: Mon May 02, 2005 3:11 am
Contact:

Re: Connecting a phpBB forum to another website

Post by Lumpy Burgertushie »

we need to see your code.
a link to the site would help.
what php files have you created for this?
what html files have you created for this?

etc.

what are your cookie settings?


robert
I'm baaaaaccckkkk. still doing work on donation basis. PM your needs.

Premium phpBB 3.3 Styles by PlanetStyles.net

If nobody is in the forest, does a tree really fall?
elps
Registered User
Posts: 4
Joined: Sun Oct 04, 2015 12:44 pm

Re: Connecting a phpBB forum to another website

Post by elps »

Below is the code I used.
So when I login to the site I can access the forum en the posts, but it still requires a login to post a reply or a topic.

Code: Select all

<?php
if ($_SERVER['REQUEST_METHOD'] == 'POST' && $_POST['form_name'] == 'loginform')
{
   $success_page = './Ledenpagina.php';
   $error_page = './Fout_bij_het_inloggen.html';
   $mysql_server = 'localhost';
   $mysql_username = 'xxxxxxxxxxxx';
   $mysql_password = 'xxxxxxxx';
   $mysql_database = 'xxxxxxxxxxxxxxxxxxxxx';
   $mysql_table = 'users';
   $crypt_pass = md5($_POST['password']);
   $found = false;
   $fullname = '';
   $session_timeout = 600;
   $db = mysql_connect($mysql_server, $mysql_username, $mysql_password);
   if (!$db)
   {
      die('Failed to connect to database server!<br>'.mysql_error());
   }
   mysql_select_db($mysql_database, $db) or die('Failed to select database<br>'.mysql_error());
   $sql = "SELECT password, fullname, active FROM ".$mysql_table." WHERE username = '".mysql_real_escape_string($_POST['username'])."'";
   $result = mysql_query($sql, $db);
   if ($data = mysql_fetch_array($result))
   {
      if ($crypt_pass == $data['password'] && $data['active'] != 0)
      {
         $found = true;
         $fullname = $data['fullname'];
      }
   }
   mysql_close($db);
   if($found == false)
   {
      header('Location: '.$error_page);
      exit;
   }
   else
   {
      if (session_id() == "")
      {
         session_start();
      }
      $_SESSION['username'] = $_POST['username'];
      $_SESSION['fullname'] = $fullname;
      $_SESSION['expires_by'] = time() + $session_timeout;
      $_SESSION['expires_timeout'] = $session_timeout;
      $rememberme = isset($_POST['rememberme']) ? true : false;
      if ($rememberme)
      {
         setcookie('username', $_POST['username'], time() + 3600*24*30);
         setcookie('password', $_POST['password'], time() + 3600*24*30);
      }
      header('Location: '.$success_page);
      exit;
   }
}
$username = isset($_COOKIE['username']) ? $_COOKIE['username'] : '';
$password = isset($_COOKIE['password']) ? $_COOKIE['password'] : '';
if ($_SERVER['REQUEST_METHOD'] == 'POST' && $_POST['form_name'] == 'forgotpasswordform')
{
   $email = isset($_POST['email']) ? addslashes($_POST['email']) : '';
   $success_page = './Vereniging.php';
   $error_page = './Fout_bij_het_inloggen.html';
   $mysql_server = 'localhost';
   $mysql_username = 'xxxxxx';
   $mysql_password = 'xxxxxxxx';
   $mysql_database = 'xxxxxxxxxx';
   $mysql_table = 'users';
   $db = mysql_connect($mysql_server, $mysql_username, $mysql_password);
   if (!$db)
   {
      die('Failed to connect to database server!<br>'.mysql_error());
   }
   mysql_select_db($mysql_database, $db) or die('Failed to select database<br>'.mysql_error());
   $sql = "SELECT * FROM ".$mysql_table." WHERE email = '".mysql_real_escape_string($email)."'";
   $result = mysql_query($sql, $db);
   if ($data = mysql_fetch_array($result))
   {
      $alphanum = array('a','b','c','d','e','f','g','h','i','j','k','m','n','o','p','q','r','s','t','u','v','x','y','z','A','B','C','D','E','F','G','H','I','J','K','M','N','P','Q','R','S','T','U','V','W','X','Y','Z','2','3','4','5','6','7','8','9');
      $chars = sizeof($alphanum);
      $a = time();
      mt_srand($a);
      for ($i=0; $i < 6; $i++)
      {
         $randnum = intval(mt_rand(0,55));
         $newpassword .= $alphanum[$randnum];
      }
      $crypt_pass = md5($newpassword);
      $sql = "UPDATE `".$mysql_table."` SET `password` = '$crypt_pass' WHERE `email` = '$email'";
      mysql_query($sql, $db);
      $mailto = $_POST['email'];
      $subject = 'Nieuw wachtwoord';
      $message = 'Uw wachtwoord voor Carthago-en-Route is:';
      $message .= $newpassword;
      $header  = "From: informatie@carthago-en-route.nl"."\r\n";
      $header .= "Reply-To: informatie@carthago-en-route.nl"."\r\n";
      $header .= "MIME-Version: 1.0"."\r\n";
      $header .= "Content-Type: text/plain; charset=utf-8"."\r\n";
      $header .= "Content-Transfer-Encoding: 8bit"."\r\n";
      $header .= "X-Mailer: PHP v".phpversion();
      mail($mailto, $subject, $message, $header);
      header('Location: '.$success_page);
   }
   else
   {
      header('Location: '.$error_page);
   }
   mysql_close($db);
   exit;
}
?>

Code: Select all

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>Vereniging</title>
<meta name="generator" content="WYSIWYG Web Builder 10 - http://www.wysiwygwebbuilder.com">
<style type="text/css">
div#container
{
   width: 806px;
   position: relative;
   margin: 0 auto 0 auto;
   text-align: left;
}
body
{
   background-color: #DCDCDC;
   color: #000000;
   font-family: Arial;
   font-weight: normal;
   font-size: 13px;
   line-height: 1.1875;
   margin: 0;
   text-align: center;
}
a
{
   color: #0000FF;
   text-decoration: underline;
}
a:visited
{
   color: #800080;
}
a:active
{
   color: #FF0000;
}
a:hover
{
   color: #0000FF;
   text-decoration: underline;
}
a.Special_links
{
   color: #008000;
   background: #D8BFD8;
   font-weight: bold;
   text-decoration: underline;
}
a.Special_links:visited
{
   color: #800080;
   text-decoration: underline;
}
a.Special_links:active
{
   color: #FF0000;
   text-decoration: underline;
}
a.Special_links:hover
{
   color: #0000FF;
   text-decoration: underline;
}
#wb_Text4 
{
   background-color: #FFFFFF;
   border: 0px #000000 solid;
   padding: 0px 5px 0px 5px;
   margin: 0;
   text-align: left;
}
#wb_Text4 div
{
   text-align: left;
   white-space: nowrap;
}
#Image4
{
   border: 0px #000000 solid;
   left: 0;
   top: 0;
   width: 100%;
   height: 100%;
}
#Layer4
{
   background-color: #000000;
   background: -moz-linear-gradient(bottom,#000000 0%,#FF0000 100%);
   background: -webkit-linear-gradient(bottom,#000000 0%,#FF0000 100%);
   background: -o-linear-gradient(bottom,#000000 0%,#FF0000 100%);
   background: -ms-linear-gradient(bottom,#000000 0%,#FF0000 100%);
   background: linear-gradient(bottom,#000000 0%,#FF0000 100%);
}
#wb_Text11 
{
   background-color: transparent;
   border: 0px #000000 solid;
   padding: 0;
   margin: 0;
   text-align: center;
}
#wb_Text11 div
{
   text-align: center;
}
#Shape5
{
   border-width: 0;
}
#Layer2
{
   background-color: #696969;
}
#wb_CssMenu1
{
   border: 0px #DCDCDC solid;
   background-color: transparent;
}
#wb_CssMenu1 ul
{
   list-style-type: none;
   margin: 0;
   padding: 0;
   position: relative;
   display: inline-block;
}
#wb_CssMenu1 li
{
   float: left;
   margin: 0;
   padding: 0px 4px 0px 0px;
}
#wb_CssMenu1 a
{
   display: block;
   float: left;
   color: #FFFFFF;
   border: 0px #C0C0C0 solid;
   background-color: #FF0000;
   background: -moz-linear-gradient(top,#FF0000 0%,#1D1A2C 100%);
   background: -webkit-linear-gradient(top,#FF0000 0%,#1D1A2C 100%);
   background: -o-linear-gradient(top,#FF0000 0%,#1D1A2C 100%);
   background: -ms-linear-gradient(top,#FF0000 0%,#1D1A2C 100%);
   background: linear-gradient(top,#FF0000 0%,#1D1A2C 100%);
   font-family: Arial;
   font-weight: bold;
   font-size: 12px;
   font-style: normal;
   text-decoration: none;
   height: 32px;
   line-height: 32px;
   padding: 0px 5px 0px 5px;
   vertical-align: middle;
   text-align: center;
}
#wb_CssMenu1 li:hover a, #wb_CssMenu1 a:hover, #wb_CssMenu1 .active
{
   color: #FFFFFF;
   background-color: #999CC3;
   background: -moz-linear-gradient(top,#999CC3 0%,#4F5183 100%);
   background: -webkit-linear-gradient(top,#999CC3 0%,#4F5183 100%);
   background: -o-linear-gradient(top,#999CC3 0%,#4F5183 100%);
   background: -ms-linear-gradient(top,#999CC3 0%,#4F5183 100%);
   background: linear-gradient(top,#999CC3 0%,#4F5183 100%);
   border: 0px #C0C0C0 solid;
}
#wb_CssMenu1 li.firstmain
{
   padding-left: 0px;
}
#wb_CssMenu1 li.lastmain
{
   padding-right: 0px;
}
#wb_CssMenu1 br
{
   clear: both;
   font-size: 1px;
   height: 0;
   line-height: 0;
}
#Shape3
{
   border-width: 0;
}
#wb_Text1 
{
   background-color: transparent;
   border: 0px #000000 solid;
   padding: 0;
   margin: 0;
   text-align: left;
}
#wb_Text1 div
{
   text-align: left;
}
#wb_Text3 
{
   background-color: transparent;
   border: 0px #000000 solid;
   padding: 0;
   margin: 0;
   text-align: left;
}
#wb_Text3 div
{
   text-align: left;
}
#wb_Text6 
{
   background-color: transparent;
   border: 0px #000000 solid;
   padding: 0;
   margin: 0;
   text-align: left;
}
#wb_Text6 div
{
   text-align: left;
}
#Login1
{
   background-color: #A9A9A9;
   border-color:#878787;
   border-width:1px;
   border-style: solid;
   color: #000000;
   border-spacing: 4px;
   font-family: Arial;
   font-weight: normal;
   font-size: 13px;
   text-align: right;
   width: 242px;
   height: 141px;
}
.Login1_header
{
   background-color: #FF0000;
   color: #FFFFFF;
   text-align: center;
}
.Login1_input
{
   background-color: #FFFFFF;
   border-color: #878787;
   border-width: 1px;
   border-style: solid;
   color: #000000;
   font-family: Arial;
   font-weight: normal;
   font-size: 13px;
   width: 100px;
   height: 18px;
}
.Login1_button
{
   background-color: #FF0000;
   border-color: #878787;
   border-width: 1px;
   border-style: solid;
   color: #000000;
   font-family: Arial;
   font-weight: normal;
   font-size: 13px;
   width: 70px;
   height: 20px;
}
#wb_Text5 
{
   background-color: transparent;
   border: 0px #000000 solid;
   padding: 0;
   margin: 0;
   text-align: left;
}
#wb_Text5 div
{
   text-align: left;
}
#wb_Text7 
{
   background-color: transparent;
   border: 0px #000000 solid;
   padding: 0;
   margin: 0;
   text-align: left;
}
#wb_Text7 div
{
   text-align: left;
}
#PasswordRecovery1
{
   background-color: #A9A9A9;
   border-color:#878787;
   border-width:1px;
   border-style: solid;
   color: #000000;
   font-family: Arial;
   font-weight: normal;
   font-size: 13px;
   text-align: right;
   border-spacing: 4px;
   width: 242px;
   height: 82px;
}
.PasswordRecovery1_header
{
   background-color: #FF0000;
   color: #FFFFFF;
   text-align: center;
}
.PasswordRecovery1_input
{
   background-color: #FFFFFF;
   border-color: #878787;
   border-width: 1px;
   border-style: solid;
   color: #000000;
   font-family: Arial;
   font-weight: normal;
   font-size: 13px;
   width: 100px;
   height: 18px;
}
.PasswordRecovery1_button
{
   background-color: #FFFFFF;
   border-color: #878787;
   border-width: 1px;
   border-style: solid;
   color: #000000;
   font-family: Arial;
   font-weight: normal;
   font-size: 13px;
   width: 70px;
   height: 20px;
}
}
#Shape1
{
   border-width: 0;
}
#wb_Text2 
{
   background-color: transparent;
   border: 0px #000000 solid;
   padding: 0;
   margin: 0;
   text-align: left;
}
#wb_Text2 div
{
   text-align: left;
}
#wb_Text8 
{
   background-color: #A9A9A9;
   background: -moz-linear-gradient(bottom,#A9A9A9 0%,#FF0000 100%);
   background: -webkit-linear-gradient(bottom,#A9A9A9 0%,#FF0000 100%);
   background: -o-linear-gradient(bottom,#A9A9A9 0%,#FF0000 100%);
   background: -ms-linear-gradient(bottom,#A9A9A9 0%,#FF0000 100%);
   background: linear-gradient(bottom,#A9A9A9 0%,#FF0000 100%);
   border: 0px #000000 solid;
   padding: 0;
   margin: 0;
   text-align: left;
}
#wb_Text8 div
{
   text-align: left;
}
#wb_Text9 
{
   background-color: transparent;
   border: 0px #000000 solid;
   padding: 0;
   margin: 0;
   text-align: left;
}
#wb_Text9 div
{
   text-align: left;
}
#Layer1
{
   background-color: transparent;
}
#wb_Text12 
{
   background-color: transparent;
   border: 0px #000000 solid;
   padding: 0;
   margin: 0;
   text-align: left;
}
#wb_Text12 div
{
   text-align: left;
}
#Layer3
{
   background-color: #FFFFE0;
   background: -moz-linear-gradient(top,#FFFFE0 0%,#FF0000 100%);
   background: -webkit-linear-gradient(top,#FFFFE0 0%,#FF0000 100%);
   background: -o-linear-gradient(top,#FFFFE0 0%,#FF0000 100%);
   background: -ms-linear-gradient(top,#FFFFE0 0%,#FF0000 100%);
   background: linear-gradient(top,#FFFFE0 0%,#FF0000 100%);
}
#Image5
{
   border: 0px #000000 solid;
   left: 0;
   top: 0;
   width: 100%;
   height: 100%;
}
#SlideShow2 .image
{
   border-width: 0;
   left: 0;
   top: 0;
   width: 100%;
   height: 100%;
}
#Image6
{
   border: 0px #000000 solid;
   left: 0;
   top: 0;
   width: 100%;
   height: 100%;
}
#Image1
{
   border: 0px #000000 solid;
   left: 0;
   top: 0;
   width: 100%;
   height: 100%;
}
</style>
<script type="text/javascript" src="jquery-1.11.1.min.js"></script>
<script type="text/javascript" src="jquery.ui.effect.min.js"></script>
<script type="text/javascript" src="jquery.ui.effect-fade.min.js"></script>
<script type="text/javascript" src="jquery.ui.effect-slide.min.js"></script>
<script type="text/javascript" src="wb.slideshow.min.js"></script>
<script type="text/javascript">
$(document).ready(function()
{
   $("#SlideShow2").slideshow(
   {
      interval: 5000,
      type: 'random',
      effect: 'slide',
      direction: 'left',
      pagination: false,
      easing: 'swing',
      effectlength: 2000
   });
});
</script>
</head>
<body>
<div id="Layer2" style="position:absolute;text-align:center;left:7px;top:6px;width:99%;height:39px;z-index:5;">
<div id="Layer2_Container" style="width:800px;position:relative;margin-left:auto;margin-right:auto;text-align:left;">
</div>
</div>
<div id="container">
<div id="wb_Text4" style="position:absolute;left:8px;top:188px;width:540px;height:195px;z-index:6;text-align:left;">
<div style="position:absolute;left:5px;top:0px;width:540px;height:27px;"><span style="color:#000000;font-family:Arial;font-size:24px;">&nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;&nbsp; <br></span></div>
<div style="position:absolute;left:5px;top:34px;width:540px;height:16px;"><span style="color:#26292E;font-family:Arial;font-size:13px;">De vereniging "Carthago en Route" is opgericht om de leden in staat te stellen ervaringen uit </span></div>
<div style="position:absolute;left:5px;top:50px;width:540px;height:16px;"><span style="color:#26292E;font-family:Arial;font-size:13px;">te wisselen over het reizen met een Carthago camper. Dat gaat dan over het reizen met de </span></div>
<div style="position:absolute;left:5px;top:66px;width:540px;height:16px;"><span style="color:#26292E;font-family:Arial;font-size:13px;">camper zelf, maar ook&nbsp; waar u zoal bent geweest en waar bijpraten over van alles en nog wat </span></div>
<div style="position:absolute;left:5px;top:82px;width:540px;height:16px;"><span style="color:#26292E;font-family:Arial;font-size:13px;">de boventoon voeren.<br></span></div>
<div style="position:absolute;left:5px;top:98px;width:540px;height:16px;"><span style="color:#26292E;font-family:Arial;font-size:13px;"><br></span></div>
<div style="position:absolute;left:5px;top:114px;width:540px;height:16px;"><span style="color:#26292E;font-family:Arial;font-size:13px;">De vereniging organiseert reizen naar voor de leden interessante gebieden.<br></span></div>
<div style="position:absolute;left:5px;top:130px;width:540px;height:16px;"><span style="color:#26292E;font-family:Arial;font-size:13px;"><br></span></div>
<div style="position:absolute;left:5px;top:146px;width:540px;height:16px;"><span style="color:#26292E;font-family:Arial;font-size:13px;">Tenslotte willen we een "spreekbuis" zijn voor de leden bij veel of vaker voorkomende </span></div>
<div style="position:absolute;left:5px;top:162px;width:540px;height:16px;"><span style="color:#26292E;font-family:Arial;font-size:13px;">problemen aan de camper en deze aankaarten bij leveranciers, dealers en fabrikanten.</span></div>
</div>
<div id="wb_Image4" style="position:absolute;left:139px;top:46px;width:663px;height:129px;z-index:7;">
<img src="images/back_c-tourer_1600_650.jpg" id="Image4" alt=""></div>
<div id="wb_Shape5" style="position:absolute;left:5px;top:389px;width:409px;height:44px;z-index:8;">
<img src="images/img0008.gif" id="Shape5" alt="" style="width:409px;height:44px;"></div>
<div id="wb_CssMenu1" style="position:absolute;left:8px;top:9px;width:800px;height:46px;text-align:center;z-index:9;">
<ul>
<li class="firstmain"><a href="./index.php" target="_self" title="index">Startpagina</a>
</li>
<li><a class="active" href="./Vereniging.php" target="_self" title="Vereniging">Vereniging</a>
</li>
<li><a href="./Wat_doen_we_.php" target="_self" title="Wat doen we?">Wat&nbsp;doen&nbsp;we?</a>
</li>
<li><a href="./Ledenpagina.php" target="_self" title="Ledenpagina">Ledenpagina</a>
</li>
<li><a href="./Activiteiten.php" target="_self" title="Activiteiten">Activiteiten</a>
</li>
<li><a href="./Bestuur.php" target="_self" title="Bestuur">Bestuur</a>
</li>
<li><a href="./Contact.php" target="_self" title="Contact">Contact</a>
</li>
</ul>
<br>
</div>
<div id="wb_Shape3" style="position:absolute;left:5px;top:433px;width:412px;height:437px;z-index:10;">
<img src="images/img0010.gif" id="Shape3" alt="" style="width:412px;height:437px;"></div>
<div id="wb_Text1" style="position:absolute;left:7px;top:188px;width:120px;height:24px;z-index:11;text-align:left;">
<span style="color:#000000;font-family:'Trebuchet MS';font-size:19px;"><strong>Wie zijn we?</strong></span></div>
<div id="wb_Text3" style="position:absolute;left:32px;top:494px;width:93px;height:19px;z-index:12;text-align:left;">
<span style="color:#000000;font-family:Arial;font-size:16px;"><strong><a href="Statuten_Vereniging_Carthago_en_Route.pdf">Statuten</a></strong></span></div>
<div id="wb_Text6" style="position:absolute;left:33px;top:447px;width:185px;height:48px;z-index:13;text-align:left;">
<span style="color:#000000;font-family:Arial;font-size:13px;">Click op onderstaande link om onze statuten te raadplegen of te downloaden.</span></div>
<div id="wb_Login1" style="position:absolute;left:559px;top:188px;width:242px;height:141px;text-align:right;z-index:14;">
<form name="loginform" method="post" action="<?php echo basename(__FILE__); ?>" id="loginform">
<input type="hidden" name="form_name" value="loginform">
<table id="Login1">
<tr>
   <td class="Login1_header" colspan="2" style="height:20px;">Log In voor leden</td>
</tr>
<tr>
   <td style="height:20px;width:99px">User Name:</td>
   <td style="text-align:left"><input class="Login1_input" name="username" type="text" id="username" value="<?php echo $username; ?>"></td>
</tr>
<tr>
   <td style="height:20px">Password:</td>
   <td style="text-align:left"><input class="Login1_input" name="password" type="password" id="password" value="<?php echo $password; ?>"></td>
</tr>
<tr>
   <td>&nbsp;</td><td style="text-align:left;height:20px"><input id="rememberme" type="checkbox" name="rememberme">Remember me</td>
</tr>
<tr>
   <td>&nbsp;</td><td style="text-align:left;vertical-align:bottom"><input class="Login1_button" type="submit" name="login" value="Log In" id="login"></td>
</tr>
</table>
</form>
</div>
<div id="wb_Text5" style="position:absolute;left:32px;top:533px;width:120px;height:38px;z-index:15;text-align:left;">
<span style="color:#000000;font-family:Arial;font-size:16px;"><strong><a href="Huishoudelijk_Reglement_Vereniging_Carthago_en_Route.pdf">Huishoudelijk regelement</a></strong></span></div>
<div id="wb_Text7" style="position:absolute;left:32px;top:601px;width:239px;height:111px;z-index:16;text-align:left;">
<span style="color:#000000;font-family:Arial;font-size:16px;"><a href="http://www.carthago.com">Heeft u al de nieuwe modellen van Carthago of Malibu bewonderd?</a><br></span><span style="color:#000000;font-family:Arial;font-size:24px;"><br></span><span style="color:#26292E;font-family:Arial;font-size:13px;">Als u op deze link klikt kunt u op de site van Carthago alle actuele modellen van Carthago bekijken</span></div>
<div id="wb_PasswordRecovery1" style="position:absolute;left:559px;top:329px;width:242px;height:82px;text-align:right;z-index:17;">
<form name="forgotpasswordform" method="post" action="<?php echo basename(__FILE__); ?>" id="forgotpasswordform">
<input type="hidden" name="form_name" value="forgotpasswordform">
<table id="PasswordRecovery1">
<tr>
   <td class="PasswordRecovery1_header" colspan="2" style="height:20px;">Wachtwoord vergeten?</td>
</tr>
<tr>
   <td style="height:20px;width:83px">Email:</td>
   <td style="text-align:left"><input class="PasswordRecovery1_input" name="email" type="text" id="email"></td>
</tr>
<tr>
   <td>&nbsp;</td><td style="text-align:left;vertical-align:bottom"><input class="PasswordRecovery1_button" type="submit" name="submit" value="Verstuur" id="submit"></td>
</tr>
</table>
</form>
</div>
<div id="wb_Shape1" style="position:absolute;left:414px;top:433px;width:388px;height:437px;z-index:18;">
<img src="images/img0001.gif" id="Shape1" alt="" style="width:388px;height:437px;"></div>
<div id="wb_Text2" style="position:absolute;left:445px;top:479px;width:307px;height:144px;z-index:19;text-align:left;">
<span style="color:#000000;font-family:Arial;font-size:13px;">Wat houdt het lidmaatschap van de vereniging in? <br>Hoe werkt het?<br>Wat kost het? <br>Hoe wordt u lid?<br><br>Voor het antwoord op deze vragen kunt u op onderstaande link klikken. Dan komt u op een speciale pagina waar u het lidmaatschap kunt aanvragen.</span></div>
<div id="wb_Text8" style="position:absolute;left:445px;top:447px;width:259px;height:19px;z-index:20;text-align:left;">
<span style="color:#000000;font-family:Arial;font-size:17px;"><strong>Lid worden van de vereniging</strong></span></div>
<div id="wb_Text9" style="position:absolute;left:508px;top:641px;width:175px;height:19px;z-index:21;text-align:left;">
<span style="color:#000000;font-family:Arial;font-size:16px;"><strong><a href="./Lid_worden.php" class="Special_links">Ik geef me op als lid</a></strong></span></div>
<div id="wb_Text12" style="position:absolute;left:445px;top:698px;width:285px;height:128px;z-index:22;text-align:left;">
<span style="color:#000000;font-family:Arial;font-size:13px;">Onze vereniging heeft een forum voor de leden. Om daarvan gebruik te kunnen maken moet u eerst lid worden. Dan kunt u naar op de speciale ledenpagina gaan en van daaruit in loggen op het forum of de upload functie gebruiken als u b.v fotos zou willen door sturen naar de vereniging. Deze plaatsen we vervolgens op een galerie met allerlei fotos van leden.</span></div>
</div>
<div id="Layer4" style="position:absolute;text-align:center;left:1px;top:901px;width:99%;height:100px;z-index:23;">
<div id="Layer4_Container" style="width:800px;position:relative;margin-left:auto;margin-right:auto;text-align:left;">
<div id="wb_Text11" style="position:absolute;left:4px;top:37px;width:796px;height:16px;text-align:center;z-index:0;">
<span style="color:#D9DAE8;font-family:'Trebuchet MS';font-size:11px;">Copyright © 2015 by "Carthago en route"&nbsp; ·&nbsp; All Rights reserved&nbsp; ·&nbsp; E-Mail: informatie@carthago-en-route.nl</span></div>
</div>
</div>
<div id="Layer1" style="position:absolute;text-align:center;left:8px;top:45px;width:98%;height:130px;z-index:24;">
<div id="Layer1_Container" style="width:793px;position:relative;margin-left:auto;margin-right:auto;text-align:left;">
</div>
</div>
<div id="Layer3" style="position:absolute;text-align:center;left:5px;top:45px;width:99%;height:130px;z-index:25;">
<div id="Layer3_Container" style="width:803px;position:relative;margin-left:auto;margin-right:auto;text-align:left;">
<div id="wb_Image5" style="position:absolute;left:135px;top:0px;width:668px;height:130px;z-index:1;">
<img src="images/back_c-tourer_1600_650.jpg" id="Image5" alt=""></div>
<div id="SlideShow2" style="position:absolute;left:298px;top:35px;width:204px;height:95px;z-index:2;">
<img class="image" src="images/chicsplus.png" alt="" title="">
<img class="image" src="images/ctourer2.png" style="display:none;" alt="" title="">
<img class="image" src="images/e-line_seite_549_231.png" style="display:none;" alt="" title="">
<img class="image" src="images/highliner.png" style="display:none;" alt="" title="">
<img class="image" src="images/linerdeluxe.png" style="display:none;" alt="" title="">
</div>
<div id="wb_Image6" style="position:absolute;left:665px;top:8px;width:125px;height:52px;z-index:3;">
<a href="http://www.carthago.com"><img src="images/logo.png" id="Image6" alt=""></a></div>
<div id="wb_Image1" style="position:absolute;left:0px;top:0px;width:137px;height:130px;z-index:4;">
<a href="./index.php"><img src="images/ti2dsn28ap.jpg" id="Image1" alt=""></a></div>
</div>
</div>
</body>
</html>
Last edited by Oyabun1 on Tue Nov 10, 2015 8:27 pm, edited 1 time in total.
Reason: BBCode code tags added
User avatar
mrgoldy
Development Team Member
Development Team Member
Posts: 1392
Joined: Tue Oct 06, 2009 7:34 pm
Location: The Netherlands
Name: Gijs
Contact:

Re: Connecting a phpBB forum to another website

Post by mrgoldy »

So if I understand this correctly you want to use your Website's login on your phpBB forum?
Syncronise the user database from your website and your forum?
phpBB Studio / Member of the Studio

Contributing: You can do it too! Including testing Pull Requests (PR).
phpBB Development and Testing made easy.
elps
Registered User
Posts: 4
Joined: Sun Oct 04, 2015 12:44 pm

Re: Connecting a phpBB forum to another website

Post by elps »

That's right! Databses are synchronized. But it still does not work properly
Post Reply

Return to “Extension Writers Discussion”