Forum Index
RegisterSearchFAQMemberlistUsergroupsLog in
CuteNewsRU PHPBB3 Integration V1.0
Goto page Previous  1, 2
 
Reply to topic    Forum Index » Additional Downloads View previous topic
View next topic
CuteNewsRU PHPBB3 Integration V1.0
Author Message
typeman



Joined: 17 Oct 2009
Posts: 91

Post Reply with quote
@ 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? Smile
Sun Jan 10, 2010 9:26 pm View user's profile Send private message
Guest








Please login to hide the ads.

DarkSlim



Joined: 06 Aug 2009
Posts: 239
Location: IL

Post Reply with quote
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? Smile


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 Smile

_________________
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 View user's profile Send private message Visit poster's website
typeman



Joined: 17 Oct 2009
Posts: 91

Post Reply with quote
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? Smile


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 Smile


Great! Smile I look forward to it Smile
Wed Jan 13, 2010 12:59 pm View user's profile Send private message
eberswine



Joined: 26 Apr 2007
Posts: 243

Post Reply with quote
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 View user's profile Send private message Visit poster's website
liketobemad



Joined: 06 Sep 2009
Posts: 31

Post Facebook and Google Connect Reply with quote
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 View user's profile Send private message Visit poster's website
Goberg



Joined: 18 Jan 2007
Posts: 55

Post Reply with quote
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 Smile


would you be so kind and post this please?
Wed Feb 24, 2010 3:11 am View user's profile Send private message
er0z



Joined: 24 Feb 2010
Posts: 5

Post Reply with quote
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:

    <?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 View user's profile Send private message
typeman



Joined: 17 Oct 2009
Posts: 91

Post Reply with quote
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? Smile


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 Smile


Great! Smile I look forward to it Smile


Did you get any further with looking into this? Smile
Wed Feb 24, 2010 8:01 pm View user's profile Send private message
Goberg



Joined: 18 Jan 2007
Posts: 55

Post Reply with quote
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:

    <?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 View user's profile Send private message
DarkSlim



Joined: 06 Aug 2009
Posts: 239
Location: IL

Post Reply with quote
typeman wrote:


Did you get any further with looking into this? Smile


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 Smile

_________________
Portfolio: www.Yaniv.tk

Some of my Plugins and Mods and more in the CuteNewsRU Index!

Donations Accepted, Thank you
Thu Feb 25, 2010 5:18 pm View user's profile Send private message Visit poster's website
er0z



Joined: 24 Feb 2010
Posts: 5

Post Reply with quote
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:

    <?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:
<?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 View user's profile Send private message
eberswine



Joined: 26 Apr 2007
Posts: 243

Post Reply with quote
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 View user's profile Send private message Visit poster's website
liketobemad



Joined: 06 Sep 2009
Posts: 31

Post Reply with quote
@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 Smile

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 View user's profile Send private message Visit poster's website
Hawk



Joined: 29 Aug 2006
Posts: 99

Post Reply with quote
You got a linking problem with your forum box, it leads to http://dilipkumar.in/home/dilipku/public_html/forum/viewtopic.php?f=***&t=***&sid=**** which leads to error page. Surplus in link is home/dilipku/public_html

_________________
Oo
Tue Mar 09, 2010 12:37 pm View user's profile Send private message Visit poster's website
liketobemad



Joined: 06 Sep 2009
Posts: 31

Post Reply with quote
@Hawk
Thanks a lot .. I fixed. Thanks for taking time Very Happy

_________________
My website : http://dilipkumar.in
Tue Mar 09, 2010 3:23 pm View user's profile Send private message Visit poster's website
Display posts from previous:    
Reply to topic    Forum Index » Additional Downloads All times are GMT + 1 Hour
Goto page Previous  1, 2
Page 2 of 2

 
Jump to: 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum



Powered by phpBB © 2001, 2005 phpBB Group
Design by Freestyle XL / Music Lyrics.