Would it be possible to have it so that when the user logs into the PHPBB boards, they are automatically logged into the CNRU database?
typeman wrote:@ Darkslim.
Would it be possible to have it so that when the user logs into the PHPBB boards, they are automatically logged into the CNRU database?
DarkSlim wrote:typeman wrote:@ Darkslim.
Would it be possible to have it so that when the user logs into the PHPBB boards, they are automatically logged into the CNRU database?
Hmm yeah, I guess it is possible, and I might really wanna add it to my
website (I use phpbb 2 but it should'nt be hard to make it work in 3 too)
so I'll think of it when I'll have the time these days and if if I'll manage to
make anything I'll keep you updated
<?php
//Store phpBB data
$phpbb_template = $template;
$phpbb_user = $user;
$template = '';
//Show news
$number=5;
include("/ur news path/show_news.php");
//Restore phpBB data
$user = $phpbb_user;
$template = $phpbb_template;
?>typeman wrote:DarkSlim wrote:typeman wrote:@ Darkslim.
Would it be possible to have it so that when the user logs into the PHPBB boards, they are automatically logged into the CNRU database?
Hmm yeah, I guess it is possible, and I might really wanna add it to my
website (I use phpbb 2 but it should'nt be hard to make it work in 3 too)
so I'll think of it when I'll have the time these days and if if I'll manage to
make anything I'll keep you updated
Great!I look forward to it
er0z wrote:hello for all of u that are having problems with the phpbb3 site integration and cute news.. here is how to include cute news in ur site wo it wont be a problem to use it with the phpbb3 integration in the same page..
the way i included cute news on my site was like this
- Code: Select all
<?php
//Store phpBB data
$phpbb_template = $template;
$phpbb_user = $user;
$template = '';
//Show news
$number=5;
include("/ur news path/show_news.php");
//Restore phpBB data
$user = $phpbb_user;
$template = $phpbb_template;
?>
typeman wrote:
Did you get any further with looking into this?
Goberg wrote:er0z wrote:hello for all of u that are having problems with the phpbb3 site integration and cute news.. here is how to include cute news in ur site wo it wont be a problem to use it with the phpbb3 integration in the same page..
the way i included cute news on my site was like this
- Code: Select all
<?php
//Store phpBB data
$phpbb_template = $template;
$phpbb_user = $user;
$template = '';
//Show news
$number=5;
include("/ur news path/show_news.php");
//Restore phpBB data
$user = $phpbb_user;
$template = $phpbb_template;
?>
So are you not including head.php at the beginning of your page? and it didn't really work for me
<?php
//Store phpBB data
$phpbb_template = $template;
$phpbb_user = $user;
$template = '';
//Show news
include("/ur news path/head.php");
//Restore phpBB data
$user = $phpbb_user;
$template = $phpbb_template;
?>Return to Additional Downloads
Users browsing this forum: No registered users and 0 guests