| Author |
Message |
typeman
Joined: 17 Oct 2009 Posts: 91
|
|
|
|
@ 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? 
|
|
| Sun Jan 10, 2010 9:26 pm |
|
 |
Guest
|
|
|
Please login to hide the ads.
|
|
|
|
 |
DarkSlim

Joined: 06 Aug 2009 Posts: 239 Location: IL |
|
|
|
 |  | @ 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 
_________________ Portfolio: www.Yaniv.tk
Some of my Plugins and Mods and more in the CuteNewsRU Index!
Donations Accepted, Thank you |
|
| Mon Jan 11, 2010 9:24 am |
|
 |
typeman
Joined: 17 Oct 2009 Posts: 91
|
|
|
|
 |  |  |  | @ 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 
|
|
| Wed Jan 13, 2010 12:59 pm |
|
 |
eberswine

Joined: 26 Apr 2007 Posts: 243
|
|
|
|
I just installed this and did darks hack.. I had a question. Why would we want the two data-bases to talk to each other?
With this hack would sessions be spread throughout not only the forum,.. but the website as well -- so if you logged into the forum and then started to read some news articles (through CNR) could you leave a comment and it would translate the name and avatar and what not???
This is pretty neat. Great job guys!
|
|
| Thu Feb 04, 2010 10:51 pm |
|
 |
liketobemad
Joined: 06 Sep 2009 Posts: 31
|
|
Facebook and Google Connect |
|
This is really a promising hack, I would like to have a hand on it. And further improvement will be using facebook or Google connect so that users need not register for forums ( u see now a days no one is interested in registering for websites and if at all any one register they don't remember that they have registered.) this will automatically login them using OAuth, that way visitors can be more engaged.. I will try this and will let u know if I make any improvement!!!
_________________ My website : http://dilipkumar.in |
|
| Tue Feb 09, 2010 6:46 am |
|
 |
Goberg
Joined: 18 Jan 2007 Posts: 55
|
|
|
|
 |  | Great news! Someone from the official PHPBB forums was able to help me out with a fix. I'll post it up tomorrow when I have time  |
would you be so kind and post this please?
|
|
| Wed Feb 24, 2010 3:11 am |
|
 |
er0z
Joined: 24 Feb 2010 Posts: 5
|
|
|
|
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
 |  |
<?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;
?> |
|
|
| Wed Feb 24, 2010 6:01 pm |
|
 |
typeman
Joined: 17 Oct 2009 Posts: 91
|
|
|
|
 |  |  |  |  |  | @ 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  |
Did you get any further with looking into this? 
|
|
| Wed Feb 24, 2010 8:01 pm |
|
 |
Goberg
Joined: 18 Jan 2007 Posts: 55
|
|
|
|
 |  | 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
 |  |
<?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
|
|
| Thu Feb 25, 2010 5:03 am |
|
 |
DarkSlim

Joined: 06 Aug 2009 Posts: 239 Location: IL |
|
|
| Thu Feb 25, 2010 5:18 pm |
|
 |
er0z
Joined: 24 Feb 2010 Posts: 5
|
|
|
|
 |  |  |  | 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
 |  |
<?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 |
u include the head.php the same way
 |  | <?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;
?> |
|
|
| Thu Feb 25, 2010 6:47 pm |
|
 |
eberswine

Joined: 26 Apr 2007 Posts: 243
|
|
|
|
This will be a nice feature when done!
I would love for the forum and CNR db sessions can talk to each other!
Like,.. Log in to the forum and then browse some forum topics and then go back to the CNR news site and be able to comment using your "NAME" and "Avatar" be the same!
It would also be pretty neat to make some custom profile fields in phpbb and be able to capture some URL's in the CNR -- Sort of like having your FAVORITES in one place!
Great JOB!
|
|
| Sun Feb 28, 2010 3:19 am |
|
 |
liketobemad
Joined: 06 Sep 2009 Posts: 31
|
|
|
|
@er0z
Thanks a ton.. Your correction works like a charm .. Now I have Forums and Cutenews on same page and both are working together. I also integrated Facebook Connect to PHPBB . And a PHPBB login box on every page of the website. Now have to make PHPBB users also users of Cutenews Ru... that is the last step required... Thanks once again to all of You
You can have a look here of my home page -> http://dilipkumar.in
It has Cutenews Ru, PHPbb( on the bottom it displays recent topics of the forum) and a login box with Facebook Connect....
_________________ My website : http://dilipkumar.in |
|
| Tue Mar 09, 2010 11:39 am |
|
 |
Hawk

Joined: 29 Aug 2006 Posts: 99
|
|
|
| Tue Mar 09, 2010 12:37 pm |
|
 |
liketobemad
Joined: 06 Sep 2009 Posts: 31
|
|
|
|
@Hawk
Thanks a lot .. I fixed. Thanks for taking time 
_________________ My website : http://dilipkumar.in |
|
| Tue Mar 09, 2010 3:23 pm |
|
 |
|