Integrating PHPBB2 Onto Main Website Problem

Discussion in 'PHP' started by scottlpool2003, Mar 18, 2009.

  1. #1
    Hi...

    What I need to do is add comments to my website.

    http://www.youronlinemovies.net/movie.php?id=31

    I want members from my phpBB2 forum to be able to comment on each individual movie, but I just haven't got a clue where to start.

    Could somebody point me in the right direction?

    Thanks,

    Scott
     
    scottlpool2003, Mar 18, 2009 IP
  2. Stylesofts

    Stylesofts Peon

    Messages:
    64
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Hello,

    Well to be able to add comments by the forum user only..you can do this by following way
    First if the user is the forum member then we guess that you have kept somekinda session_values which says he/she is the user of the website..

    Now on the row or column where you'd keep the add comment link
    check out like this

    if($_SESSION['session_values'])
    {
    echo("<a href='javascript:void(0);'>Add Comment</a>");
    }
    else
    {
    
    }
    Code (markup):

    This will do it..

    Regards,
    Stylesofts Developing Team
     
    Stylesofts, Mar 19, 2009 IP
  3. scottlpool2003

    scottlpool2003 Well-Known Member

    Messages:
    1,708
    Likes Received:
    49
    Best Answers:
    9
    Trophy Points:
    150
    #3
    That won't work where I want it to...

    I decided that it was not feasible to do it through the forum, but to do it via my own member system instead.

    I will have to email all of my members with a new password to login, but once i've completed it the members will be able to comment movies, profiles, add favourites, and have last 5 movies viewed in their user section. PHPBB2 is too complicated for me, and to achieve what I want, it's easier to start from scratch.

    Thanks to all who have viewed this.

    Scott.
     
    scottlpool2003, Mar 19, 2009 IP