CuteNewsRU PHPBB3 Integration V1.0

Download plugins, language packs and stuff.

Postby typeman » Sun Jan 10, 2010 9:26 pm

@ 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? :)
typeman
 
Posts: 102
Joined: Sat Oct 17, 2009 7:38 am

Postby DarkSlim » Mon Jan 11, 2010 9:24 am

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 :)
User avatar
DarkSlim
 
Posts: 296
Joined: Thu Aug 06, 2009 4:18 pm
Location: IL

Postby typeman » Wed Jan 13, 2010 12:59 pm

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 :)
typeman
 
Posts: 102
Joined: Sat Oct 17, 2009 7:38 am

Postby eberswine » Thu Feb 04, 2010 10:51 pm

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!
User avatar
eberswine
 
Posts: 281
Joined: Thu Apr 26, 2007 7:23 pm

Facebook and Google Connect

Postby liketobemad » Tue Feb 09, 2010 6:46 am

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!!!
liketobemad
 
Posts: 36
Joined: Sun Sep 06, 2009 4:39 pm

Postby Goberg » Wed Feb 24, 2010 3:11 am

typeman wrote: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?
Goberg
 
Posts: 79
Joined: Thu Jan 18, 2007 2:31 pm

Postby er0z » Wed Feb 24, 2010 6:01 pm

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;

        ?>
er0z
 
Posts: 5
Joined: Wed Feb 24, 2010 5:58 pm

Postby typeman » Wed Feb 24, 2010 8:01 pm

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 :)


Did you get any further with looking into this? :)
typeman
 
Posts: 102
Joined: Sat Oct 17, 2009 7:38 am

Postby Goberg » Thu Feb 25, 2010 5:03 am

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
Goberg
 
Posts: 79
Joined: Thu Jan 18, 2007 2:31 pm

Postby DarkSlim » Thu Feb 25, 2010 5:18 pm

typeman wrote:
Did you get any further with looking into this? :)


Not yet, I still need to finish some data inserting into my
website before I start working on the forum, but I will try
doing this soon :)
User avatar
DarkSlim
 
Posts: 296
Joined: Thu Aug 06, 2009 4:18 pm
Location: IL

Postby er0z » Thu Feb 25, 2010 6:47 pm

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


u include the head.php the same way

Code: Select all
<?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;

        ?>
er0z
 
Posts: 5
Joined: Wed Feb 24, 2010 5:58 pm

Postby eberswine » Sun Feb 28, 2010 3:19 am

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!
User avatar
eberswine
 
Posts: 281
Joined: Thu Apr 26, 2007 7:23 pm

Postby liketobemad » Tue Mar 09, 2010 11:39 am

@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....
liketobemad
 
Posts: 36
Joined: Sun Sep 06, 2009 4:39 pm

Postby Hawk » Tue Mar 09, 2010 12:37 pm

You got a linking problem with your forum box, it leads to http://dilipkumar.in/home/dilipku/publi ... *&sid=**** which leads to error page. Surplus in link is home/dilipku/public_html
User avatar
Hawk
 
Posts: 248
Joined: Tue Aug 29, 2006 9:00 pm

Postby liketobemad » Tue Mar 09, 2010 3:23 pm

@Hawk
Thanks a lot .. I fixed. Thanks for taking time :D
liketobemad
 
Posts: 36
Joined: Sun Sep 06, 2009 4:39 pm

PreviousNext

Return to Additional Downloads



Who is online

Users browsing this forum: No registered users and 0 guests

cron